@font-face{font-family:"Archivo";font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo.woff2) format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/plex-sans-400.woff2) format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/plex-sans-500.woff2) format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/plex-sans-600.woff2) format("woff2");}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/plex-mono-400.woff2) format("woff2");}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/plex-mono-500.woff2) format("woff2");}
/* Examen Studio "Blueprint" tokens. Change a token, never a hex value in a component.
   Hi-vis lime = the one action colour (buttons, focus, "next up").
   Low-side blue = covered/correct. High-side red = missed. Amber = unclear.
   Graphite bands carry the technical drawings; light bands carry reading. */
:root {
  --bg: #f2f3f0;
  --bg-2: #e7e9e4;
  --surface: #fbfbf9;
  --ink: #0c0f13;
  --ink-2: #3b4148;
  --ink-3: #6a7178;
  --line: #d4d7d1;
  --line-2: #b6bbb4;

  /* Dark band (hero, feature sections). Always dark, in both themes. */
  --night: #0b0e12;
  --night-2: #131820;
  --night-line: #232b36;
  --night-line-2: #34404e;
  --night-ink: #eef1f4;
  --night-ink-2: #a3adb8;
  --night-ink-3: #6f7a86;

  --hivis: #d4ff3a;
  --hivis-ink: #0c0f13;
  --hivis-deep: #5c7a00; /* hi-vis used as text on light backgrounds */

  --low: #1f6fd1;
  --low-bright: #57b6ff;
  --low-tint: #e1ecfa;
  --high: #c9362b;
  --high-bright: #ff6a57;
  --high-tint: #fae3e0;
  --warn: #9a6a00;
  --warn-tint: #fbefcf;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --t-mega: clamp(52px, 9.2vw, 148px);
  --t-title: clamp(38px, 5.6vw, 76px);
  --t-h2: clamp(30px, 3.8vw, 52px);
  --t-h3: 21px;
  --t-body: 17px;
  --t-small: 14px;
  --t-label: 11.5px;

  --r-1: 2px;
  --r-2: 3px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --measure: 68ch;
  --wide: 1320px;
  --section-y: clamp(64px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .1, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1116;
    --bg-2: #151a21;
    --surface: #161b22;
    --ink: #eef1f4;
    --ink-2: #b7c0c9;
    --ink-3: #87919b;
    --line: #262e38;
    --line-2: #384350;
    --hivis-deep: #d4ff3a;
    --low: #57b6ff;
    --low-tint: #10243a;
    --high: #ff6a57;
    --high-tint: #3a1814;
    --warn: #f3c24a;
    --warn-tint: #33280b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1116;
  --bg-2: #151a21;
  --surface: #161b22;
  --ink: #eef1f4;
  --ink-2: #b7c0c9;
  --ink-3: #87919b;
  --line: #262e38;
  --line-2: #384350;
  --hivis-deep: #d4ff3a;
  --low: #57b6ff;
  --low-tint: #10243a;
  --high: #ff6a57;
  --high-tint: #3a1814;
  --warn: #f3c24a;
  --warn-tint: #33280b;
  color-scheme: dark;
}

/* Shared components for the static site and the app. Depends on tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--t-body) / 1.6 var(--f-text);
  font-feature-settings: "kern", "liga";
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--hivis); outline-offset: 3px; box-shadow: 0 0 0 5px var(--ink); border-radius: var(--r-1); }
::selection { background: var(--hivis); color: var(--hivis-ink); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; font-stretch: 88%; line-height: 1; letter-spacing: -0.025em; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: var(--t-title); letter-spacing: -0.035em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.01em; font-stretch: 95%; }
p { margin: 0 0 1em; text-wrap: pretty; }
code, kbd, .mono { font-family: var(--f-mono); font-size: 0.92em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--hivis); color: var(--hivis-ink); padding: 8px 12px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); }

/* Micro labels: mono caps, the "callout" voice of the drawings. */
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 var(--t-label) / 1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.eyebrow .idx { color: var(--ink); }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; }
.eyebrow.plain::before { display: none; }
.code { font: 500 12.5px / 1 var(--f-mono); letter-spacing: 0.02em; }
.muted { color: var(--ink-3); }
.small { font-size: var(--t-small); }

/* ---- Buttons: hi-vis primary, outlined secondary. Verdict colours are never buttons. ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  font: 600 15px / 1.1 var(--f-text); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  background: var(--hivis); color: var(--hivis-ink); border: 1px solid var(--ink); border-radius: var(--r-2);
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s var(--ease);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: 3px 3px 0 var(--ink); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn.secondary:hover { background: var(--ink); color: var(--bg); transform: none; }
.btn.secondary[disabled]:hover { background: transparent; color: var(--ink); }
.btn.quiet { background: transparent; color: var(--ink); border-color: transparent; box-shadow: none; padding-inline: 4px; text-decoration: underline; text-decoration-color: var(--line-2); min-height: 40px; }
.btn.quiet:hover { transform: none; text-decoration-color: currentColor; }
.btn.small { min-height: 38px; padding: 8px 14px; font-size: 14px; box-shadow: 2px 2px 0 var(--ink); }
.btn.small.secondary { box-shadow: none; }
.btn.block { width: 100%; }
.btn .arrow { font-family: var(--f-mono); transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.on-night .btn { border-color: var(--hivis); box-shadow: none; }
.on-night .btn:hover { box-shadow: 0 0 0 4px rgba(212, 255, 58, .18); transform: none; }
.on-night .btn.secondary { color: var(--night-ink); border-color: var(--night-line-2); }
.on-night .btn.secondary:hover { background: var(--night-ink); color: var(--night); }

/* ---- Plate: a hairline panel with a spec-sheet header. ---- */
.plate { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-2); position: relative; }
.plate-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 11px 16px; border-bottom: 1px solid var(--line-2);
  font: 500 var(--t-label) / 1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}
.plate-body { padding: 18px 16px; }
.plate-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.plate-row:last-child { border-bottom: 0; }
.plate-row dt { color: var(--ink-2); font-size: 14px; }
.plate-row dd { margin: 0; font: 500 14px / 1.4 var(--f-mono); text-align: right; }
.plate dl { margin: 0; }
.plate-foot { padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ---- Verdict marks: glyph + word + colour, never colour alone. ---- */
.mark { display: inline-flex; align-items: center; gap: 7px; font: 600 13px / 1.2 var(--f-text); white-space: nowrap; }
.mark::before { font: 700 12px / 1 var(--f-mono); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; }
.mark.ok { color: var(--low); }
.mark.ok::before { content: "✓"; background: var(--low-tint); }
.mark.miss { color: var(--high); }
.mark.miss::before { content: "✗"; background: var(--high-tint); }
.mark.unsure { color: var(--warn); }
.mark.unsure::before { content: "?"; background: var(--warn-tint); }
.mark.none { color: var(--ink-3); }
.mark.none::before { content: "–"; background: var(--bg-2); }

/* ---- Meter: segmented like a gauge scale, denominator always shown. ---- */
.meter { display: grid; gap: 7px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.meter-name { font-weight: 600; font-size: 15px; }
.meter-val { font: 500 13px / 1 var(--f-mono); color: var(--ink-2); white-space: nowrap; }
.meter-bar { display: block; height: 8px; background: var(--bg-2); position: relative; overflow: hidden; border-radius: 1px; }
.meter-bar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), var(--surface) calc(10% - 2px) 10%); pointer-events: none; }
.meter-fill { position: absolute; inset: 0 auto 0 0; background: var(--ink); transition: width .6s var(--ease); }
.meter-bar.thin { height: 4px; }
.meter-bar.thin::after { display: none; }
.meter-fill.thin-fill { background: var(--line-2); }

/* ---- Notices ---- */
.notice { border: 1px solid var(--ink); background: var(--surface); color: var(--ink); padding: 12px 16px; border-radius: var(--r-2); font-size: 15px; box-shadow: inset 4px 0 0 var(--hivis); }
.notice strong { font-weight: 600; }
.notice.plain { border-color: var(--line-2); box-shadow: inset 4px 0 0 var(--line-2); }
.notice.error { border-color: var(--high); box-shadow: inset 4px 0 0 var(--high); }

.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px / 1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 7px; border: 1px solid var(--line-2); border-radius: var(--r-1); color: var(--ink-2); background: var(--surface); vertical-align: middle; }
.tag.draft { border-color: var(--ink); background: var(--hivis); color: var(--hivis-ink); }

/* ---- Forms ---- */
label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.hint { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  font: 400 16px / 1.4 var(--f-text); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-2);
  transition: border-color .15s;
}
input:hover, textarea:hover { border-color: var(--ink-3); }
textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--hivis); outline-offset: 0; box-shadow: 0 0 0 4px var(--ink); border-color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }

/* ---- Answer options ---- */
.options { display: grid; gap: 8px; margin: 22px 0; padding: 0; list-style: none; }
.option {
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; width: 100%;
  text-align: left; padding: 15px 16px; min-height: 56px;
  font: 400 16.5px / 1.5 var(--f-text); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-2); cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .15s var(--ease);
}
.option:hover:not([disabled]) { border-color: var(--ink); transform: translateX(2px); }
.option .key { font: 600 12.5px / 1 var(--f-mono); width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r-1); text-transform: uppercase; margin-top: -3px; transition: all .15s; }
.option[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option[aria-checked="true"] .key { background: var(--hivis); color: var(--hivis-ink); border-color: var(--ink); }
.option.is-correct { border-color: var(--low); box-shadow: inset 0 0 0 1px var(--low); background: var(--low-tint); }
.option.is-correct .key { background: var(--low); color: #fff; border-color: var(--low); }
.option.is-wrong { border-color: var(--high); box-shadow: inset 0 0 0 1px var(--high); background: var(--high-tint); }
.option.is-wrong .key { background: var(--high); color: #fff; border-color: var(--high); }
.option[disabled] { cursor: default; }
.rationale { font-size: 15px; color: var(--ink-2); margin: 6px 0 10px 48px; }

/* ---- Sources ---- */
.sources { list-style: none; padding: 0; margin: 12px 0 0; font-size: 14px; counter-reset: src; }
.sources li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line); position: relative; counter-increment: src; }
.sources li::before { content: counter(src, decimal-leading-zero); position: absolute; left: 0; top: 11px; font: 500 11px var(--f-mono); color: var(--ink-3); }
.sources .loc { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); display: block; margin-top: 2px; }

/* Scroll reveal (site.js adds .in). Content is visible without JS and with reduced motion. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Static pages. Depends on tokens.css + base.css. */

/* ---- Night band: the dark, drawing-carrying surface ---- */
.on-night { background: var(--night); color: var(--night-ink); --line: var(--night-line); --line-2: var(--night-line-2); --ink: var(--night-ink); --ink-2: var(--night-ink-2); --ink-3: var(--night-ink-3); --surface: var(--night-2); --bg-2: var(--night-2); }
.on-night a { text-decoration-color: var(--night-line-2); }

/* ---- Header ---- */
.site-header { background: var(--night); color: var(--night-ink); border-bottom: 1px solid var(--night-line); position: sticky; top: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 700 19px / 1 var(--f-display); font-stretch: 92%; letter-spacing: -0.015em; white-space: nowrap; color: inherit; }
.brand svg { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a { text-decoration: none; font: 500 12.5px / 1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 12px; border-radius: var(--r-1); color: var(--night-ink-2); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--night-ink); background: var(--night-2); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--hivis); }
.site-nav .btn { margin-left: 10px; color: var(--hivis-ink); font: 600 14px / 1 var(--f-text); text-transform: none; letter-spacing: 0; padding: 11px 16px; border-color: var(--hivis); box-shadow: none; }
.site-nav .btn:hover { background: var(--hivis); color: var(--hivis-ink); box-shadow: 0 0 0 4px rgba(212, 255, 58, .2); transform: none; }
.menu-toggle { display: none; margin-left: auto; }
.site-header .menu-toggle { color: var(--night-ink); border-color: var(--night-line-2); }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px var(--gutter) 20px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 4px; border-bottom: 1px solid var(--night-line); border-radius: 0; font-size: 13px; }
  .site-nav .btn { margin: 16px 0 0; justify-content: center; }
}

.preview-bar { background: var(--night-2); color: var(--night-ink-2); border-bottom: 1px solid var(--night-line); font-size: 13.5px; }
.preview-bar .wrap { padding-block: 9px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.preview-bar a { color: var(--night-ink); font-weight: 600; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; min-height: min(900px, calc(100svh - 64px)); display: flex; border-bottom: 1px solid var(--night-line); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--night-line) 1px, transparent 1px); background-size: 24px 24px; opacity: .7; }
.hero-drawing { position: absolute; top: 3%; right: -2%; width: min(62%, 860px); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(40px, 8vh, 96px); padding-bottom: clamp(32px, 5vw, 64px); }
.mega { font-size: var(--t-mega); font-weight: 800; font-stretch: 78%; line-height: .93; letter-spacing: -0.04em; margin: 0 0 clamp(24px, 4vw, 48px); max-width: 11ch; }
.mega em { font-style: normal; color: var(--hivis); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; border-top: 1px solid var(--night-line); padding-top: 28px; }
.hero .lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--night-ink-2); max-width: 50ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--night-line); margin: 0; }
.spec div { padding: 16px; border-right: 1px solid var(--night-line); }
.spec div:last-child { border-right: 0; }
.spec dt { font: 500 10.5px / 1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--night-ink-3); margin-bottom: 10px; }
.spec dd { margin: 0; font: 800 clamp(30px, 3.4vw, 46px) / 1 var(--f-display); font-stretch: 80%; letter-spacing: -0.03em; }
@media (max-width: 900px) {
  .hero { min-height: auto; flex-direction: column; }
  .hero-drawing { position: relative; top: 0; right: 0; width: calc(100% + 24px); margin: 16px -12px -8px; }
  .hero-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .spec dd { font-size: 26px; } .spec div { padding: 12px 10px; } }

/* Circuit drawing */
.circuit { width: 100%; height: auto; overflow: visible; display: block; }
.circuit .part { fill: none; stroke: var(--night-ink-2); stroke-width: 1.4; }
.circuit .part-fill { fill: var(--night); stroke: var(--night-ink-2); stroke-width: 1.4; }
.circuit .fin { stroke: var(--night-line-2); stroke-width: 1; }
.circuit .pipe { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.circuit .hi { stroke: var(--high-bright); }
.circuit .lo { stroke: var(--low-bright); }
.circuit .flow { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 16; animation: flow 1.6s linear infinite; }
.circuit .flow.hi { stroke: #ffd9d2; }
.circuit .flow.lo { stroke: #dcf0ff; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.circuit .leader { stroke: var(--night-ink-3); stroke-width: 1; fill: none; stroke-dasharray: 3 3; }
.circuit .node { fill: var(--hivis); }
.circuit text { font: 500 11px var(--f-mono); letter-spacing: .08em; fill: var(--night-ink-2); text-transform: uppercase; }
.circuit .t-strong { fill: var(--night-ink); }
.circuit .t-read { font: 800 26px var(--f-display); letter-spacing: -.02em; text-transform: none; }
.circuit .t-read.lo { fill: var(--low-bright); }
.circuit .t-read.hi { fill: var(--high-bright); }
.circuit .fan { transform-box: fill-box; transform-origin: center; animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.circuit .draw { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.6s var(--ease) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---- Marquee ---- */
.ticker { background: var(--hivis); color: var(--hivis-ink); border-bottom: 1px solid #0c0f13; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; padding: 14px 0; animation: ticker 52s linear infinite; }
.ticker span { font: 700 18px / 1 var(--f-display); font-stretch: 85%; letter-spacing: -0.01em; text-transform: uppercase; padding: 0 22px; display: inline-flex; align-items: center; gap: 22px; }
.ticker span::after { content: ""; width: 8px; height: 8px; background: var(--hivis-ink); transform: rotate(45deg); }
.ticker b { font-family: var(--f-mono); font-weight: 500; font-size: 14px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- Sections ---- */
.section { padding: var(--section-y) 0; border-bottom: 1px solid var(--line); }
.section.on-night { border-bottom-color: var(--night-line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 64px; margin-bottom: clamp(36px, 5vw, 64px); align-items: end; }
.section-head h2 { margin: 0; max-width: 14ch; }
.section-head p { color: var(--ink-2); margin: 0; max-width: 52ch; font-size: 17.5px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* Hairline grid: cells share borders, like a drawing title block. */
.cells { display: grid; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.cells > * { border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: clamp(18px, 2.4vw, 32px); min-width: 0; }
.cells.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cells.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cells.c3, .cells.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cells.c3, .cells.c4, .cells.c2 { grid-template-columns: 1fr; } }

.area-cell { display: flex; flex-direction: column; gap: 10px; transition: background-color .25s; }
.area-cell:hover { background: var(--surface); }
.area-top { display: flex; justify-content: space-between; align-items: flex-start; }
.area-code { font: 600 13px / 1 var(--f-mono); letter-spacing: .08em; padding: 6px 8px; border: 1px solid var(--ink); }
.area-pct { font: 800 clamp(64px, 7vw, 104px) / .8 var(--f-display); font-stretch: 75%; letter-spacing: -0.05em; }
.area-pct small { font-size: .36em; letter-spacing: 0; margin-left: 2px; }
.area-cell h3 { font-size: 23px; margin: 18px 0 0; }
.area-cell .official { font: 500 11px / 1.4 var(--f-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.area-tasks { list-style: none; margin: auto 0 0; padding: 14px 0 0; font-size: 13.5px; color: var(--ink-2); }
.area-tasks li { display: grid; grid-template-columns: 46px 1fr auto; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); line-height: 1.35; }
.area-tasks .code { color: var(--ink); padding-top: 2px; }
.area-tasks .w { font: 500 12px var(--f-mono); color: var(--ink-3); padding-top: 1px; }
.area-bar { height: 6px; background: var(--bg-2); margin-top: 4px; }
.area-bar svg { display: block; width: 100%; height: 100%; }
.area-bar rect { fill: var(--ink); }
.source-line { margin-top: 20px; }

.step-cell .n { font: 800 72px / .8 var(--f-display); font-stretch: 75%; letter-spacing: -0.04em; color: var(--line-2); display: block; margin-bottom: 26px; transition: color .3s; }
.step-cell:hover .n { color: var(--ink); }
.step-cell h3 { font-size: 24px; }
.step-cell p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .product-grid { grid-template-columns: 1fr; } }
.product-copy p { color: var(--ink-2); font-size: 17.5px; max-width: 50ch; }
.product-copy .cells { margin-top: 32px; }

.report-plate { box-shadow: 10px 10px 0 var(--ink); }
.report-plate .plate-body > dl { margin-bottom: 18px; }
.report-meters { display: grid; gap: 15px; padding-top: 4px; }
.report-plate .next { margin: 20px 0 0; padding: 14px 16px; background: var(--hivis); color: var(--hivis-ink); font-size: 15px; font-weight: 500; }
.report-plate .next .eyebrow { color: var(--hivis-ink); margin-bottom: 6px; }
.meter-bar svg { display: block; width: 100%; height: 100%; position: relative; }
.meter-bar rect { fill: var(--ink); }
.meter-bar rect.thin { fill: var(--line-2); }

/* Voice section */
.voice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 960px) { .voice-grid { grid-template-columns: 1fr; } }
.voice-grid h2 { max-width: 12ch; }
.voice-grid p { color: var(--night-ink-2); max-width: 52ch; }
.wave { display: flex; align-items: center; gap: 3px; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--night-line); }
.wave i { flex: 1; background: var(--hivis); border-radius: 2px; animation: wave 1.3s ease-in-out infinite; }
@keyframes wave { 50% { transform: scaleY(.3); } }
.transcript { font-size: 15.5px; padding: 16px; margin: 0; color: var(--night-ink); border-bottom: 1px solid var(--night-line); }
.transcript q { quotes: none; background: rgba(87, 182, 255, .16); box-shadow: inset 0 -2px 0 var(--low-bright); padding: 0 2px; }
.rubric { list-style: none; padding: 0; margin: 0; }
.rubric li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: start; }
.rubric li:last-child { border-bottom: 0; }
.on-night .mark.ok { color: var(--low-bright); }
.on-night .mark.ok::before { background: rgba(87, 182, 255, .18); }
.on-night .mark.miss { color: var(--high-bright); }
.on-night .mark.miss::before { background: rgba(255, 106, 87, .18); }
.on-night .mark.unsure { color: #f3c24a; }
.on-night .mark.unsure::before { background: rgba(243, 194, 74, .18); }

.wont-cell .x { font: 600 12px var(--f-mono); color: var(--high); letter-spacing: .1em; text-transform: uppercase; }
.wont-cell strong { display: block; font: 700 27px / 1.02 var(--f-display); font-stretch: 85%; letter-spacing: -0.02em; margin: 22px 0 12px; }
.wont-cell span { color: var(--ink-2); font-size: 15.5px; }

.post-cell { text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: background-color .25s; }
.post-cell:hover { background: var(--surface); }
.post-cell h3 { font-size: 26px; font-stretch: 85%; line-height: 1.02; letter-spacing: -0.02em; margin: 8px 0 4px; }
.post-cell p { font-size: 15px; color: var(--ink-2); margin: 0; }
.post-cell .more { margin-top: auto; padding-top: 18px; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.post-cell:hover .more { color: var(--hivis-deep); }

.cta-band { background: var(--hivis); color: var(--hivis-ink); padding: var(--section-y) 0; border-bottom: 1px solid #0c0f13; --ink: #0c0f13; }
.cta-band h2 { font-size: var(--t-mega); font-weight: 800; font-stretch: 75%; line-height: .86; letter-spacing: -0.045em; max-width: 12ch; margin-bottom: 36px; }
.cta-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; border-top: 1px solid #0c0f13; padding-top: 24px; }
.cta-row p { max-width: 46ch; margin: 0; font-size: 18px; }
.cta-band .btn { background: #0c0f13; color: var(--hivis); border-color: #0c0f13; box-shadow: none; min-height: 58px; padding: 16px 28px; font-size: 16px; }
.cta-band .btn:hover { box-shadow: 5px 5px 0 rgba(12, 15, 19, .3); transform: translate(-2px, -2px); }

/* ---- Inner pages ---- */
.page-head { padding: clamp(48px, 8vw, 112px) 0 clamp(36px, 5vw, 64px); background: var(--night); color: var(--night-ink); border-bottom: 1px solid var(--night-line); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--night-line) 1px, transparent 1px); background-size: 24px 24px; opacity: .6; }
.page-head .wrap { position: relative; }
.page-head h1 { max-width: 18ch; font-size: clamp(40px, 6.4vw, 92px); font-weight: 800; font-stretch: 80%; letter-spacing: -0.04em; line-height: .92; }
.page-head .lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--night-ink-2); max-width: 60ch; margin-bottom: 0; }
.page-head .eyebrow { color: var(--night-ink-3); }
.page-head .muted { color: var(--night-ink-2); }
.crumbs { font: 500 12px / 1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-ink-3); margin-bottom: 28px; }
.crumbs a { color: var(--night-ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--hivis); }
.byline { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 500 12px / 1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-ink-3); margin-top: 28px; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 6vw, 80px); padding-bottom: var(--section-y); align-items: start; }
.article-grid aside { position: sticky; top: 96px; font-size: 14px; }
@media (max-width: 1000px) { .article-grid { grid-template-columns: 1fr; } .article-grid aside { position: static; } }

.prose { max-width: var(--measure); font-size: 18px; line-height: 1.72; }
.prose > p:first-child { font-size: 20px; line-height: 1.6; }
.prose h2 { margin-top: 2.2em; font-size: clamp(28px, 3vw, 40px); font-weight: 800; font-stretch: 82%; letter-spacing: -0.03em; scroll-margin-top: 96px; padding-top: 18px; border-top: 1px solid var(--ink); }
.prose h3 { margin-top: 1.8em; scroll-margin-top: 96px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--ink-3); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.6em 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 11px / 1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--ink); }
.prose strong { font-weight: 600; }
.prose figure { margin: 2.2em 0; background: var(--night); border-radius: var(--r-2); padding: clamp(16px, 3vw, 28px); }
.prose figcaption { font-size: 14px; color: var(--night-ink-2); margin-top: 12px; }
.prose a[href^="/glossary/"] { text-decoration-style: dotted; text-decoration-color: var(--ink-3); }
.prose .notice { font-size: 16px; }

.toc { border-top: 1px solid var(--ink); padding-top: 14px; }
.toc ol { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 28px 1fr; padding: 8px 0; text-decoration: none; color: var(--ink-2); border-bottom: 1px solid var(--line); line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 500 11px/1.8 var(--f-mono); color: var(--ink-3); }
.toc a:hover { color: var(--ink); }

.term-def { font: 600 clamp(22px, 2.4vw, 28px) / 1.3 var(--f-display); font-stretch: 92%; letter-spacing: -0.01em; max-width: 34ch; border-left: 6px solid var(--hivis); padding-left: 20px; margin: 0 0 28px; }
.glossary-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.glossary-index li { border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.glossary-index a { display: block; padding: 18px 20px; text-decoration: none; height: 100%; transition: background-color .2s; }
.glossary-index a:hover { background: var(--surface); }
.glossary-index strong { display: block; font: 700 20px / 1.1 var(--f-display); font-stretch: 88%; letter-spacing: -0.01em; margin-bottom: 6px; }
.glossary-index span { display: block; font-size: 14px; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 900px) { .glossary-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .glossary-index { grid-template-columns: 1fr; } }
.letter { font: 800 44px / 1 var(--f-display); font-stretch: 75%; margin: 44px 0 14px; }
.letter:first-child { margin-top: 0; }

.related { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 44px; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.related a { display: inline-block; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-2); text-decoration: none; font-size: 14.5px; background: var(--surface); transition: all .15s; }
.related a:hover { border-color: #0c0f13; background: var(--hivis); color: var(--hivis-ink); }

.aside-cta { margin-top: 28px; }
.aside-cta .plate-body p { margin-bottom: 12px; }

.price { font: 800 clamp(64px, 8vw, 112px) / .85 var(--f-display); font-stretch: 75%; letter-spacing: -0.045em; margin-bottom: 12px; }
.price small { font: 500 15px / 1 var(--f-mono); color: var(--ink-3); letter-spacing: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 11px; font: 700 14px / 1.6 var(--f-mono); color: var(--low); }

.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; font: 700 clamp(20px, 2vw, 26px) / 1.2 var(--f-display); font-stretch: 88%; letter-spacing: -0.015em; padding: 22px 52px 22px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ink); font: 500 18px / 1 var(--f-mono); transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--hivis); color: var(--hivis-ink); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: var(--measure); font-size: 17px; }

/* ---- Footer ---- */
.site-footer { background: var(--night); color: var(--night-ink-2); padding: clamp(56px, 8vw, 96px) 0 40px; font-size: 14px; overflow: hidden; }
.footer-word { font: 800 clamp(52px, 12.5vw, 196px) / .8 var(--f-display); font-stretch: 72%; letter-spacing: -0.05em; color: var(--night-ink); margin: 0 0 clamp(40px, 6vw, 72px); white-space: nowrap; }
.footer-word span { color: var(--hivis); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--night-line); padding-top: 32px; }
.site-footer h2 { font: 500 11px / 1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--night-ink-3); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; color: var(--night-ink); }
.site-footer a:hover { color: var(--hivis); }
.footer-about { max-width: 42ch; margin: 0; }
.disclaimer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: 12.5px; color: var(--night-ink-3); max-width: 100ch; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

.try-wrap { padding-top: 40px; padding-bottom: var(--section-y); }

.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.hero-top .hero-drawing { position: static; width: 100%; }
.hero-copy .mega { margin-bottom: 0; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } .hero-top .hero-drawing { order: -1; margin: 0 -8px; width: calc(100% + 16px); } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.diagram .dome { fill: none; stroke: var(--night-ink-3); stroke-width: 1.5; }
.diagram .cycle { fill: none; stroke: var(--night-ink); stroke-width: 2.25; stroke-linejoin: round; }
.diagram .sh { stroke: var(--low-bright); stroke-width: 5; }
.diagram .sc { stroke: var(--high-bright); stroke-width: 5; }
.diagram text { font: 500 12px var(--f-mono); fill: var(--night-ink-2); }
.diagram .lbl { font: 600 13px var(--f-text); fill: var(--night-ink); }
.diagram .axis { stroke: var(--night-ink-3); stroke-width: 1; fill: none; }
.diagram .dot { fill: var(--hivis); stroke: none; }
.wave i:nth-child(3n) { animation-delay: -.3s; height: 70%; }
.wave i:nth-child(3n+1) { animation-delay: -.7s; height: 45%; }
.wave i:nth-child(3n+2) { animation-delay: -1s; height: 90%; }
.wave i:nth-child(5n) { height: 30%; animation-delay: -.5s; }
.wave i:nth-child(7n) { height: 100%; }
.wave i { height: 60%; }
.hero-actions .btn.secondary { color: var(--night-ink); }
