/* Hallmark · genre: modern-minimal · macrostructure: Split Studio · theme: custom (anomalY app tokens)
 * vibe: "instrument panel for filings, quiet, exact" · paper oklch(15.5% 0.008 260) · accent oklch(83% 0.14 78) amber
 * display + body: Geist · data: Geist Mono · nav: N9 Edge-aligned · footer: Ft2 Inline single line · enrichment: none (HTML specimens)
 * axes: dark / grotesk-sans / warm
 */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-latin.woff2") format("woff2-variations");
  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: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-mono-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-mono-latin.woff2") format("woff2-variations");
  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;
}

/* Dark first, like the app. The light values follow the viewer's system setting. */
:root {
  --color-paper: oklch(15.5% 0.008 260);
  --color-paper-2: oklch(18.5% 0.009 260);
  --color-paper-3: oklch(22.5% 0.011 260);
  --color-rule: oklch(100% 0 0 / 0.09);
  --color-rule-strong: oklch(100% 0 0 / 0.17);
  --color-ink: oklch(95.5% 0.004 260);
  --color-ink-2: oklch(73% 0.012 260);
  --color-ink-3: oklch(60% 0.012 260);
  --color-accent: oklch(83% 0.14 78);
  --color-accent-wash: oklch(83% 0.14 78 / 0.13);
  --color-accent-line: oklch(83% 0.14 78 / 0.45);
  --color-up: oklch(76% 0.16 152);
  --color-up-wash: oklch(76% 0.16 152 / 0.12);
  --color-down: oklch(70% 0.18 22);
  --color-down-wash: oklch(70% 0.18 22 / 0.12);
  --color-on-ink: oklch(15.5% 0.008 260);
  --color-shadow: oklch(0% 0 0 / 0.5);
  color-scheme: dark;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --text-2xs: 0.6875rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.5rem, 1.2vw + 1.1rem, 2rem);
  --text-3xl: clamp(1.875rem, 2.2vw + 1.1rem, 2.75rem);
  --text-display: clamp(2.5rem, 4.4vw + 1rem, 4.75rem);

  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 7rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --rule-hair: 1px solid var(--color-rule);
  --rule-strong: 1px solid var(--color-rule-strong);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 140ms;

  --measure: 64ch;
  --page: 74rem;
}

@media (prefers-color-scheme: light) {
  :root {
    --color-paper: oklch(98.6% 0.003 260);
    --color-paper-2: oklch(100% 0 0);
    --color-paper-3: oklch(95.6% 0.005 260);
    --color-rule: oklch(25% 0.02 260 / 0.11);
    --color-rule-strong: oklch(25% 0.02 260 / 0.2);
    --color-ink: oklch(20% 0.012 260);
    --color-ink-2: oklch(45% 0.014 260);
    --color-ink-3: oklch(53% 0.012 260);
    --color-accent: oklch(52% 0.13 62);
    --color-accent-wash: oklch(72% 0.15 72 / 0.18);
    --color-accent-line: oklch(60% 0.15 66 / 0.5);
    --color-up: oklch(47% 0.13 152);
    --color-up-wash: oklch(60% 0.14 152 / 0.12);
    --color-down: oklch(51% 0.19 25);
    --color-down-wash: oklch(60% 0.19 25 / 0.1);
    --color-on-ink: oklch(98.6% 0.003 260);
    --color-shadow: oklch(30% 0.03 260 / 0.18);
    color-scheme: light;
  }
}

/* Page styles. Every colour and font comes from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
h1, h2, h3 { margin: 0; font-weight: 620; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: anywhere; min-width: 0; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--color-rule-strong); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--color-accent); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: var(--color-accent-wash); }
.mono, .num, .ticker { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: var(--space-md); top: -10rem; z-index: 10; padding: var(--space-xs) var(--space-sm); background: var(--color-ink); color: var(--color-on-ink); border-radius: var(--radius-sm); }
.skip:focus { top: var(--space-md); }

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

/* Nav · N9 edge-aligned: the wordmark left, one action right. */
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-lg); }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); text-decoration: none; font-weight: 640; font-size: var(--text-lg); letter-spacing: -0.03em; white-space: nowrap; }
.brand__mark { width: 1.6rem; height: 1.6rem; border-radius: 7px; display: grid; place-items: center; background: var(--color-ink); color: var(--color-on-ink); font-size: var(--text-sm); font-weight: 720; letter-spacing: 0; }
.brand__y { color: var(--color-accent); }
.brand-row { display: inline-flex; align-items: center; gap: var(--space-sm); min-width: 0; }
.pill-beta { font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: 560; letter-spacing: 0.08em; text-transform: uppercase; padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-pill); color: var(--color-accent); background: var(--color-accent-wash); border: 1px solid var(--color-accent-line); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 2.75rem; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 560; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.btn--primary { background: var(--color-ink); color: var(--color-on-ink); border: 1px solid var(--color-ink); }
.btn--primary:hover { background: var(--color-ink-2); border-color: var(--color-ink-2); }
.btn--ghost { border: var(--rule-strong); color: var(--color-ink); background: transparent; min-height: 2.5rem; padding: 0 var(--space-md); }
.btn--ghost:hover { border-color: var(--color-ink-3); background: var(--color-paper-2); }
.btn:active { transform: translateY(1px); }
.link-arrow { font-size: var(--text-sm); font-weight: 520; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 2.75rem; }
.link-arrow:hover { color: var(--color-ink); }
.link-arrow span { transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover span { transform: translateX(3px); }

/* Hero · H2 split diptych */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: center; padding-block: var(--space-3xl) var(--space-4xl); }
.hero h1 { font-size: var(--text-display); line-height: 1.02; letter-spacing: -0.04em; font-weight: 640; max-width: 12ch; }
.hero__copy { display: flex; flex-direction: column; gap: var(--space-lg); min-width: 0; }
.lede { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 46ch; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); padding-top: var(--space-xs); }
.hero__note { font-size: var(--text-sm); color: var(--color-ink-3); max-width: 46ch; }

/* Specimens: the product's own vocabulary, drawn in HTML with an example company. */
.spec { background: var(--color-paper-2); border: var(--rule-hair); border-radius: var(--radius-lg); padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; box-shadow: 0 30px 60px -40px var(--color-shadow); }
.spec__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2xs) var(--space-sm); }
.spec__name { color: var(--color-ink-2); font-size: var(--text-sm); }
.ticker { font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.02em; color: var(--color-ink); }
.tag { margin-left: auto; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-3); border: var(--rule-hair); border-radius: var(--radius-pill); padding: 0 var(--space-xs); }
.spec__cap { font-size: var(--text-xs); color: var(--color-ink-3); border-top: var(--rule-hair); padding-top: var(--space-sm); }

.figure { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-2xs) var(--space-md); padding-block: var(--space-xs) var(--space-sm); border-bottom: var(--rule-hair); }
.figure__label { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-ink-2); }
.figure__value { display: inline-flex; align-items: baseline; gap: 0.12em; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(2.25rem, 3vw + 1.2rem, 3.25rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.figure__value .unit { font-family: var(--font-sans); font-size: 0.5em; font-weight: 500; letter-spacing: -0.01em; color: var(--color-ink-2); }
.delta { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--text-sm); padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-sm); white-space: nowrap; }
.delta--up, .up { color: var(--color-up); }
.delta--up { background: var(--color-up-wash); }
.down { color: var(--color-down); }

/* The trail of one figure: a real sequence, so it is an ordered list. */
.trail { list-style: none; display: flex; flex-direction: column; }
.trail li { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr) auto; gap: var(--space-sm); align-items: baseline; padding-block: var(--space-sm); position: relative; font-size: var(--text-sm); }
.trail li + li { border-top: 1px dashed var(--color-rule-strong); }
.trail__k { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.trail__k::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; border-radius: 50%; border: 1px solid var(--color-ink-3); margin-right: var(--space-xs); vertical-align: 0.05em; }
.trail li.is-now .trail__k { color: var(--color-accent); }
.trail li.is-now .trail__k::before { background: var(--color-accent); border-color: var(--color-accent); }
.trail__v { color: var(--color-ink); min-width: 0; }
.trail__t { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-3); white-space: nowrap; }

/* Split studio blocks: copy on one side, a specimen on the other, alternating. */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-3xl); align-items: center; padding-block: var(--space-3xl); border-top: var(--rule-hair); }
.split--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.split--flip .split__copy { order: 2; }
.split__copy { display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; }
.split h2, .apps h2, .more h2, .closing h2 { font-size: var(--text-3xl); line-height: 1.1; }
.split p { color: var(--color-ink-2); max-width: 46ch; }
.points { list-style: none; display: flex; flex-direction: column; gap: var(--space-xs); padding-top: var(--space-xs); }
.points li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); }
.points li::before { content: ""; width: 0.375rem; height: 1px; background: var(--color-ink-3); margin-top: 0.7em; }

/* Two specimens side by side, copy rows aligned with subgrid. */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl) var(--space-3xl); padding-block: var(--space-3xl); border-top: var(--rule-hair); }
.pair__item { display: grid; grid-row: span 2; grid-template-rows: subgrid; gap: var(--space-xl); min-width: 0; }
.pair__copy { display: flex; flex-direction: column; gap: var(--space-sm); }
.pair h2 { font-size: var(--text-2xl); line-height: 1.15; }
.pair p { color: var(--color-ink-2); max-width: 46ch; }
.pair .spec { align-self: start; }

/* Small tables inside specimens */
.scroll-x { overflow-x: auto; }
.mini { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.mini th, .mini td { padding: var(--space-xs) var(--space-sm); border-bottom: var(--rule-hair); text-align: left; white-space: nowrap; }
.mini thead th { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-2xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-3); }
.mini tbody th { font-weight: 500; color: var(--color-ink-2); }
.mini tfoot th, .mini tfoot td { border-bottom: 0; font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--color-ink-3); letter-spacing: 0.04em; }
.mini .num { text-align: right; }
.mini tr > :first-child { padding-left: 0; }
.mini tr > :last-child { padding-right: 0; }
.co { display: inline-flex; gap: var(--space-xs); align-items: baseline; }
.co__name { color: var(--color-ink-2); font-size: var(--text-sm); }
.score { display: inline-block; min-width: 2.25rem; text-align: center; padding: 0 var(--space-xs); border-radius: var(--radius-sm); background: var(--color-paper-3); }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip { font-size: var(--text-xs); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); border: var(--rule-strong); color: var(--color-ink); white-space: nowrap; }
.chip--add { border-style: dashed; color: var(--color-ink-3); }
.spec__bar { display: flex; justify-content: space-between; gap: var(--space-sm); flex-wrap: wrap; font-size: var(--text-xs); color: var(--color-ink-3); font-family: var(--font-mono); }

.badge { display: inline-block; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.04em; padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-sm); white-space: nowrap; }
.badge--flag { color: var(--color-accent); background: var(--color-accent-wash); border: 1px solid var(--color-accent-line); }
.badge--ok { color: var(--color-up); background: var(--color-up-wash); }
.cell-flag { box-shadow: inset 0 -2px 0 var(--color-accent); }
.note { font-size: var(--text-sm); color: var(--color-ink-2); display: flex; gap: var(--space-xs); align-items: baseline; flex-wrap: wrap; }

/* Guidance range: axis 20% to 35%; the band is 25% to 30%; the mark is the first-half result, 27%. */
.guide { display: grid; gap: var(--space-sm); }
.guide > div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0 var(--space-sm); }
.guide dt { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-ink-3); padding-top: 0.2em; }
.guide dd { grid-column: 2; }
.guide dd.meta { font-size: var(--text-xs); color: var(--color-ink-3); font-family: var(--font-mono); }
.range { position: relative; height: 0.625rem; border-radius: var(--radius-pill); background: var(--color-paper-3); margin-top: var(--space-xs); }
.range__band { position: absolute; top: 0; bottom: 0; left: 33.333%; width: 33.333%; border-radius: var(--radius-pill); background: var(--color-up-wash); box-shadow: inset 0 0 0 1px var(--color-up); }
.range__mark { position: absolute; top: -0.3125rem; width: 2px; height: 1.25rem; left: 46.667%; background: var(--color-ink); border-radius: 1px; }
.range__scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--color-ink-3); }

/* Summary with its citation audit */
.summary { font-size: var(--text-base); line-height: 1.65; }
.cite { background: none; color: inherit; font-family: var(--font-mono); font-size: 0.92em; padding: 0 0.15em; border-radius: 3px; }
.cite--ok { box-shadow: inset 0 -2px 0 var(--color-up); }
.cite--bad { box-shadow: inset 0 -2px 0 var(--color-accent); }
.audit { list-style: none; display: flex; flex-direction: column; gap: var(--space-2xs); font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-2); border-top: var(--rule-hair); padding-top: var(--space-sm); }
.audit li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); }
.audit .ok > span:first-child { color: var(--color-up); }
.audit .bad > span:first-child { color: var(--color-accent); }

/* More in anomalY · F3 tabular spec sheet */
.more { padding-block: var(--space-3xl); border-top: var(--rule-hair); display: flex; flex-direction: column; gap: var(--space-xl); }
.more__head { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 52ch; }
.more__head p { color: var(--color-ink-2); }
.sheet { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { text-align: left; vertical-align: baseline; padding: var(--space-md) 0; border-top: var(--rule-hair); }
.sheet tr:last-child > * { border-bottom: var(--rule-hair); }
.sheet th { width: 14rem; font-weight: 560; padding-right: var(--space-lg); }
.sheet td { color: var(--color-ink-2); }
.sheet td.where { width: 8rem; text-align: right; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-3); white-space: nowrap; padding-left: var(--space-lg); }

/* Apps */
.apps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: start; padding-block: var(--space-3xl); border-top: var(--rule-hair); }
.apps__copy { display: flex; flex-direction: column; gap: var(--space-md); }
.apps__copy p { color: var(--color-ink-2); max-width: 46ch; }
.soon { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); border: var(--rule-strong); font-size: var(--text-sm); }
.soon svg { width: 1.125rem; height: 1.125rem; color: var(--color-accent); flex: none; }
.soon b { font-weight: 600; }
.devices { display: grid; gap: 0; border: var(--rule-hair); border-radius: var(--radius-lg); background: var(--color-paper-2); }
.devices > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--space-md); padding: var(--space-lg); }
.devices > div + div { border-top: var(--rule-hair); }
.devices dt { font-weight: 600; }
.devices dd { color: var(--color-ink-2); font-size: var(--text-sm); }

/* Closing band */
.closing { padding-block: var(--space-3xl) var(--space-4xl); border-top: var(--rule-hair); display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: var(--space-xl); align-items: end; }
.closing__copy { display: flex; flex-direction: column; gap: var(--space-md); }
.closing p { color: var(--color-ink-2); max-width: 52ch; }

/* Footer · Ft2 inline single line */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-xl); padding-block: var(--space-lg) var(--space-2xl); border-top: var(--rule-hair); font-size: var(--text-xs); color: var(--color-ink-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); }
.foot a { text-decoration: none; white-space: nowrap; }
.foot a:hover { color: var(--color-ink); }
.foot .lang { margin-left: auto; }

/* Legal pages */
.doc { padding-block: var(--space-2xl) var(--space-4xl); display: flex; flex-direction: column; gap: var(--space-lg); }
.doc > * { max-width: var(--measure); }
.crumbs { font-size: var(--text-sm); color: var(--color-ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--color-ink); }
.doc h1 { font-size: var(--text-3xl); line-height: 1.1; }
.doc__meta { font-size: var(--text-sm); color: var(--color-ink-3); display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); }
.doc__body { display: flex; flex-direction: column; gap: var(--space-xl); padding-top: var(--space-md); }
.doc__body section { display: flex; flex-direction: column; gap: var(--space-sm); }
.doc__body h2 { font-size: var(--text-xl); line-height: 1.25; letter-spacing: -0.015em; }
.doc__body p, .doc__body li { color: var(--color-ink-2); }
.doc__body ul { padding-left: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-2xs); }
.doc__body a { color: var(--color-ink); }
.doc-index { list-style: none; display: flex; flex-direction: column; border-top: var(--rule-hair); }
.doc-index li { border-bottom: var(--rule-hair); }
.doc-index a { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: var(--space-2xs) var(--space-lg); padding-block: var(--space-md); text-decoration: none; }
.doc-index a:hover b { text-decoration: underline; text-decoration-color: var(--color-accent); }
.doc-index b { font-weight: 560; }
.doc-index span { color: var(--color-ink-2); font-size: var(--text-sm); }

@media (max-width: 60rem) {
  .hero, .split, .split--flip, .apps, .closing, .pair { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .pair__item { grid-row: auto; grid-template-rows: auto; }
  .split--flip .split__copy { order: 0; }
  .hero { padding-block: var(--space-xl) var(--space-3xl); }
  .closing { align-items: start; }
  .closing .btn { justify-self: start; }
}
@media (max-width: 40rem) {
  .spec { padding: var(--space-md); }
  .trail li { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .trail__t { grid-column: 2; }
  .sheet th, .sheet td { display: block; width: auto; padding: 0; border: 0; text-align: left; }
  .sheet tr { display: grid; gap: var(--space-2xs); padding-block: var(--space-md); border-top: var(--rule-hair); }
  .sheet tr:last-child > * { border-bottom: 0; }
  .sheet tr:last-child { border-bottom: var(--rule-hair); }
  .sheet td.where { width: auto; text-align: left; padding: 0; }
  .devices > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .doc-index a { grid-template-columns: minmax(0, 1fr); }
  .foot .lang { margin-left: 0; }
  .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
