/* AXXA Agent — site
   Spec sheet: white paper, true ink, hairline rules, a 12-column grid.
   One signal colour (international orange) for actions and links.
   Purple appears only as the small Obsidian reference chip. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --paper: #ffffff;
  --ink: #111111;
  --ink-2: #454545;    /* 9.7:1 on paper */
  --ink-3: #6a6a6a;    /* 5.4:1 on paper */
  --rule: #111111;     /* section rules */
  --rule-2: #d9d9d9;   /* hairlines inside sections */
  --plate: #f1f1f1;    /* figure plates */
  --plate-edge: #dedede;
  --bar-2: #cbcbcb;
  --code-bg: #f1f1f1;
  --shot-filter: none;

  --signal: #ff4f00;   /* international orange: actions and links */
  --on-signal: #111111;
  --obsidian: #7f6df2; /* reference to Obsidian only */

  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4.45vw, 64px);
  --gap: clamp(16px, 1.67vw, 24px);
  --sec-space: clamp(80px, 8.4vw, 128px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141414;
    --ink: #ecece9;
    --ink-2: #b4b4af;  /* 9.0:1 */
    --ink-3: #8f8f8a;  /* 5.6:1 */
    --rule: #6f6f6a;
    --rule-2: #2e2e2c;
    --plate: #1e1e1d;
    --plate-edge: #2f2f2d;
    --bar-2: #3d3d3a;
    --code-bg: #232322;
    --shot-filter: brightness(.86);

    --signal: #ff5f1f;
    --on-signal: #111111;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
b { font-weight: 600; }

.mono { font-family: var(--mono); }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Links: ink text, orange rule underneath; the rule fills on hover. */
a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--signal), var(--signal));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .14s ease-out, color .14s ease-out;
}
a:hover {
  background-size: 100% 100%;
  color: var(--on-signal);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  background-image: none;
  font-size: 15px;
}
.skip:focus { top: 12px; }

code {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--code-bg);
  padding: .12em .38em;
  border-radius: 2px;
  white-space: nowrap;
}

/* A wikilink, set the way Obsidian source mode shows it. */
.wl {
  font-family: var(--mono);
  font-size: .9em;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(1312px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */
.site-head {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--rule);
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .28em;
  padding: 6px 0;
  background: none;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -.005em;
}
.wordmark:hover { color: inherit; }
.wm-name { font-weight: 700; letter-spacing: .07em; }
.wm-prod { font-weight: 400; }
.wm-by {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--rule-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0;
}

.head-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}
.head-nav a {
  display: inline-block;
  padding: 8px 0;
  white-space: nowrap;
  background: none;
  font-size: 15px;
  line-height: 1.2;
}
.head-nav a:hover,
.head-nav a[aria-current="page"] {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.head-nav .lang {
  padding-left: clamp(16px, 2vw, 30px);
  border-left: 1px solid var(--rule-2);
}

/* Phone menu: a plain <details>, no script. */
.menu { display: none; }
.menu > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 44px;
  min-height: 44px;
  margin-right: -6px;
  padding: 0 6px;
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: 14px;
  user-select: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu-icon {
  position: relative;
  width: 18px;
  height: 12px;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .14s ease-out, top .14s ease-out;
}
.menu-icon::before { top: 0; }
.menu-icon::after { top: 10px; }
.menu[open] .menu-icon::before { top: 5px; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 5px; transform: rotate(-45deg); }
.menu > nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.menu > nav ul { padding: 0 var(--gutter) 12px; }
.menu > nav li + li { border-top: 1px solid var(--rule-2); }
.menu > nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  background: none;
  font-size: 18px;
}
.menu > nav a:hover { color: inherit; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(64px, 6.7vw, 96px);
}
.hero-top { grid-column: 1 / span 7; }
.hero-fig { grid-column: 8 / span 5; }

.kicker {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.obsidian-chip {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  background: var(--obsidian);
  transform: rotate(45deg) translateY(-1px);
}

h1 {
  font-size: clamp(40px, 5.2vw + 4px, 82px);
  line-height: .98;
  letter-spacing: -.032em;
  font-weight: 600;
  text-wrap: balance;
}

.lede {
  margin-top: clamp(20px, 2.2vw, 32px);
  font-size: clamp(19px, .6vw + 13px, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 30em;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-top .ctas { margin-top: clamp(28px, 2.8vw, 40px); }
.sec-main .ctas { margin-top: 36px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  background-image: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.003em;
  white-space: nowrap;
  transition: background-color .14s ease-out, color .14s ease-out, border-color .14s ease-out;
}
.btn .arr { flex: none; transition: transform .14s ease-out; }
.btn-primary {
  background-color: var(--signal);
  border-color: var(--signal);
  color: var(--on-signal);
}
.btn-primary:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn-primary:hover .arr { transform: translateX(3px); }
.btn-line {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-line:hover {
  background-color: var(--ink);
  color: var(--paper);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: clamp(44px, 4.4vw, 64px);
  font-size: 13px;
  line-height: 1.45;
}
.hero-facts li {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.hero-facts b { display: block; color: var(--ink); }
.hero-facts span { display: block; color: var(--ink-3); }

/* ---------- Figures ---------- */
.plate {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(20px, 2.8vw, 40px);
  background: var(--plate);
}
.shot {
  width: 100%;
  max-width: 360px;
  outline: 1px solid var(--plate-edge);
  background: #fff;
  filter: var(--shot-filter);
}
.plate > picture {
  display: block;
  width: 100%;
  max-width: 360px;
}
.plate-hero { padding-top: clamp(24px, 3.6vw, 52px); padding-bottom: clamp(24px, 3.6vw, 52px); }

.fig figcaption,
.chart figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
}
.fig-n {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  color: var(--ink);
  margin-right: 8px;
  white-space: nowrap;
}

/* ---------- Sections ---------- */
.sec { padding-bottom: var(--sec-space); }

.sec-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.sec-label {
  grid-column: 1 / span 3;
  align-self: start;
  position: sticky;
  top: 24px;
  padding-top: 9px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}
.sec-label .n { color: var(--ink); font-weight: 600; margin-right: 10px; }
.sec-main { grid-column: 4 / span 9; min-width: 0; }

h2 {
  font-size: clamp(30px, 2.4vw + 16px, 52px);
  line-height: 1.04;
  letter-spacing: -.024em;
  font-weight: 600;
  max-width: 17em;
  text-wrap: balance;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.006em;
  font-weight: 600;
}

.body-l {
  margin-top: 20px;
  font-size: clamp(18px, .4vw + 14px, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
}

/* Spec table, in the shape of Obsidian's Properties */
.spec {
  width: 100%;
  margin-top: clamp(36px, 3.4vw, 52px);
  border-collapse: collapse;
  border-bottom: 1px solid var(--rule-2);
}
.spec th,
.spec td {
  padding: 13px 0;
  border-top: 1px solid var(--rule-2);
  text-align: left;
  vertical-align: baseline;
}
.spec th {
  width: 22.8%;
  padding-right: var(--gap);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-3);
}
.spec .v {
  width: 22.8%;
  padding-right: var(--gap);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.spec .n {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}
.spec .v .obsidian-chip { margin-right: 9px; }

/* Modes triptych */
.modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: var(--gap);
  margin-top: clamp(44px, 4.4vw, 64px);
}
.mode {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-content: start;
  border-top: 1px solid var(--rule-2);
  padding-top: 16px;
}
.mode h3 { font-size: 22px; }
.mode-text > p {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 32em;
}
.mode .fig { padding-top: 32px; }

/* Three ways the vault search ranks a note */
.how {
  margin-top: 18px;
  border-top: 1px solid var(--rule-2);
}
.how > div {
  display: grid;
  grid-template-columns: 9ch minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-2);
}
.how dt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}
.how dd {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* A labelled row inside a section, on the section's own grid */
.sub {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: clamp(64px, 6vw, 96px);
}
.sub-label {
  grid-column: 1 / span 3;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-2);
}
.sub .facts { grid-column: 4 / span 9; margin-top: 0; }

/* Facts: three short statements on hairlines */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 28px;
  margin-top: clamp(36px, 3.4vw, 52px);
}
.facts li {
  border-top: 1px solid var(--rule-2);
  padding-top: 16px;
}
.facts h3 { font-size: 19px; }
.facts p {
  margin-top: 6px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.note {
  margin-top: 36px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 44em;
}

/* Text + figure */
.split {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}
.split-text { grid-column: 1 / span 5; }
.split-fig { grid-column: 6 / span 4; }

.provider-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: 40px;
  border-top: 1px solid var(--rule-2);
  font-size: 15px;
}
.provider-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-2);
}
.file-list { grid-template-columns: 1fr; }
.file-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tag {
  margin-left: 8px;
  font-size: 12px;
  color: var(--ink-3);
}

/* Size chart */
.measure { max-width: 30em; }
.chart { margin-top: clamp(40px, 3.6vw, 56px); }
.bars { display: grid; row-gap: 22px; }
.bar-head {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.bar-head b {
  color: var(--ink);
  margin-right: 10px;
}
.bar-track {
  display: block;
  height: 26px;
}
.bar-fill { display: block; height: 100%; }
.fill-axxa { width: 11.6%; background: var(--ink); }      /* 0.46 MB on a 4 MB scale */
.fill-median { width: 95%; background: var(--bar-2); }    /* 3.8 MB on a 4 MB scale */
.axis {
  position: relative;
  height: 30px;
  margin-top: -6px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-3);
}
.axis span {
  position: absolute;
  top: 11px;
  white-space: nowrap;
}
.axis span::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 1px;
  height: 6px;
  background: var(--rule);
}
.axis span:nth-child(1)::before { left: 0; }
.axis span:nth-child(5)::before { left: auto; right: 0; }
.axis span:nth-child(1) { left: 0; }
.axis span:nth-child(2) { left: 25%; transform: translateX(-50%); }
.axis span:nth-child(3) { left: 50%; transform: translateX(-50%); }
.axis span:nth-child(4) { left: 75%; transform: translateX(-50%); }
.axis span:nth-child(5) { right: 0; }

/* Steps: the order is real, so they are numbered */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 36px;
  margin-top: clamp(36px, 3.4vw, 52px);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  border-top: 1px solid var(--rule-2);
  padding-top: 14px;
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.02em;
}
.steps p {
  margin-top: 8px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.steps b { color: var(--ink); }

.free {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: clamp(56px, 5vw, 80px);
}
.free h3 { grid-column: 1 / span 3; grid-row: 1; }
.free-sub {
  grid-column: 1 / span 3;
  grid-row: 2;
  margin-top: 4px;
  font-size: 16px;
  color: var(--ink-2);
}
.free dl {
  grid-column: 4 / span 6;
  grid-row: 1 / span 3;
  border-bottom: 1px solid var(--rule-2);
}
.free dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: var(--gap);
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--rule-2);
}
.free dt {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
}
.free dd {
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* FAQ */
.faq {
  margin-top: clamp(32px, 3vw, 44px);
  border-top: 1px solid var(--rule-2);
}
.faq details { border-bottom: 1px solid var(--rule-2); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(18px, .4vw + 14px, 20px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.006em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 1ch;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  text-align: center;
}
.faq details[open] > summary::after { content: "\2212"; }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.faq details p {
  padding: 0 0 24px;
  max-width: 40em;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Closing */
.end-title {
  font-size: clamp(36px, 3.6vw + 12px, 64px);
  line-height: 1;
  letter-spacing: -.03em;
}

/* ---------- Documents (privacy policy, 404) ---------- */
.doc { padding-top: clamp(40px, 5vw, 72px); padding-bottom: var(--sec-space); }
.doc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.doc-side {
  grid-column: 1 / span 3;
  align-self: start;
  position: sticky;
  top: 24px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
.doc-side dl > div { padding: 10px 0; border-top: 1px solid var(--rule-2); }
.doc-side dl > div:first-child { border-top-color: var(--rule); }
.doc-side dt { color: var(--ink-3); }
.doc-side dd { color: var(--ink); }
.doc-body { grid-column: 4 / span 7; min-width: 0; }
.doc-body h1 { font-size: clamp(40px, 3.6vw + 16px, 68px); }
.doc-lede {
  margin-top: 28px;
  font-size: clamp(19px, .6vw + 13px, 22px);
  line-height: 1.45;
  color: var(--ink-2);
}
.doc-body h2 {
  max-width: none;
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-top: clamp(48px, 4.4vw, 64px);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: clamp(24px, 1vw + 16px, 30px);
  line-height: 1.15;
  letter-spacing: -.016em;
}
.doc-body h2 .n {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-3);
}
.doc-body p,
.doc-body li {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.doc-body h2 + p, .doc-body h2 + ul { margin-top: 16px; }
.doc-body p + p { margin-top: 14px; }
.doc-body ul { margin-top: 16px; border-top: 1px solid var(--rule-2); }
.doc-body li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--rule-2);
}
.doc-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.35em;
  width: 9px;
  height: 1px;
  background: var(--ink);
}
.doc-body b { color: var(--ink); }

.nf {
  min-height: 52vh;
  display: grid;
  align-content: center;
}
.nf .nf-code {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(72px, 12vw, 168px);
  line-height: .9;
  letter-spacing: -.04em;
}
.nf h1 { margin-top: 28px; font-size: clamp(28px, 2vw + 16px, 44px); line-height: 1.1; letter-spacing: -.02em; }
.nf p { margin-top: 12px; font-size: 18px; color: var(--ink-2); }
.nf .ctas { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-foot {
  border-top: 1px solid var(--rule);
  padding: 28px 0 56px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 28px;
}
.foot-id { grid-column: 1 / span 5; }
.foot-mark {
  margin-bottom: 12px;
  font-size: 17px;
  color: var(--ink);
}
.foot-nav {
  grid-column: 7 / span 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap);
}
.foot-nav li { padding: 3px 0; }
.foot-nav a { background-size: 100% 1px; }
.foot-nav a:hover { background-size: 100% 100%; }

/* ---------- Narrow desktop ---------- */
@media (max-width: 1199px) {
  .hero-facts { grid-template-columns: 1fr; row-gap: 0; }
  .hero-facts li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 16px; padding: 10px 0; border-top-color: var(--rule-2); }
  .hero-facts li:first-child { border-top-color: var(--rule); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .hero { align-items: start; }
  .hero-top { grid-column: 1 / -1; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
  .hero-facts li { display: block; padding: 12px 0 0; border-top-color: var(--rule); }
  .hero-fig { grid-column: 3 / span 8; margin-top: 56px; }

  .sec-grid { display: block; }
  .sec-label { position: static; margin-bottom: 14px; padding-top: 0; }

  .sub { display: block; }
  .sub-label { padding-top: 0; margin-bottom: 14px; }

  .split-text { grid-column: 1 / span 5; }
  .split-fig { grid-column: 6 / span 4; }

  .free h3, .free-sub { grid-column: 1 / -1; }
  .free dl { grid-column: 1 / -1; grid-row: 3; margin-top: 20px; }

  .doc-grid { display: block; }
  .doc-side { position: static; margin-bottom: 40px; }
  .doc-side dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
  .doc-side dl > div { border-top-color: var(--rule); }

  .foot-id { grid-column: 1 / span 6; }
  .wm-by { display: none; }
  .foot-nav { grid-column: 7 / span 6; }
}

/* ---------- Phone ---------- */
@media (max-width: 719px) {
  body { font-size: 17px; }

  .head-nav { display: none; }
  .menu { display: block; }
  .head-row { min-height: 60px; }

  .hero { display: block; }
  .kicker { margin-bottom: 20px; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 40px; }
  .hero-facts li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 16px; padding: 10px 0; border-top-color: var(--rule-2); }
  .hero-facts li:first-child { border-top-color: var(--rule); }
  .hero-fig { margin-top: 48px; }

  .ctas { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  .spec tr {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    column-gap: 16px;
    border-top: 1px solid var(--rule-2);
    padding: 12px 0;
  }
  .spec th, .spec td { border-top: 0; padding: 0; width: auto; }
  .spec .n { grid-column: 1 / -1; margin-top: 4px; font-size: 15.5px; }

  .modes { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 56px; }
  .mode { grid-row: auto; grid-template-rows: none; }
  .mode .fig { padding-top: 24px; }

  .facts, .steps { grid-template-columns: 1fr; }
  .steps { row-gap: 28px; }
  .steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; font-size: 28px; }
  .steps li > * { grid-column: 2; }

  .split { display: block; }
  .split-fig { margin-top: 40px; }

  .provider-list { margin-top: 32px; }

  .free { display: block; }
  .free dl { margin-top: 20px; }
  .free dl > div { grid-template-columns: 1fr; row-gap: 2px; }

  .doc-side dl { grid-template-columns: 1fr; }
  .doc-side dl > div { border-top-color: var(--rule-2); }
  .doc-side dl > div:first-child { border-top-color: var(--rule); }
  .doc-body li { padding-left: 22px; }

  .foot-grid { display: block; }
  .foot-nav { margin-top: 28px; row-gap: 0; }
}

@media (max-width: 380px) {
  .foot-nav { grid-template-columns: 1fr; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
