/* Counted: teal on paper, type first. */
:root {
  --bg: #f7f9f8;
  --surface: #ebf0ee;
  --surface-2: #dde6e3;
  --ink: #06525c;
  --ink-strong: #033b42;
  --muted: #2f737d;
  --accent: #06525c;
  --accent-ink: #f7f9f8;
  --field: #06525c;
  --field-ink: #f7f9f8;
  --field-soft: #cfe1de;
  --warn: #8a4b08;
  --warn-bg: #f6ead9;

  --display: "Red Hat Display", system-ui, sans-serif;
  --text: "Red Hat Text", system-ui, sans-serif;
  --code: ui-monospace, "Cascadia Code", Consolas, monospace; /* taste-skill-ignore: code blocks only */

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.75rem, 0.9rem + 5vw, 5.5rem);
  --step-hero: clamp(2.3rem, 0.2rem + 10.4vw, 11.5rem);

  --margin: clamp(20px, 3.4vw, 48px);
  --axis: 42vw;
  --gap-section: clamp(120px, 14vw, 220px);
  --radius: 0px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--muted) var(--surface); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: var(--step-body); line-height: 1.55;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.field :focus-visible { outline-color: var(--field-ink); }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; line-height: 0.95; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-head); text-transform: uppercase; }
h3 { font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.15; }
strong { font-weight: 500; }
.wrap { padding-inline: var(--margin); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  font: 500 var(--step-body)/1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.btn:hover { background: var(--ink-strong); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.btn.ghost { background: transparent; color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }
.btn.ghost:hover { background: var(--surface); }
.field .btn { background: var(--field-ink); color: var(--field); }
.field .btn:hover { background: var(--field-soft); }
.link { font-weight: 500; }

/* Info button: a drawn "i", opens a plain-language explanation on hover, focus or tap. */
.i {
  display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 0.15em; padding: 0;
  vertical-align: 0.1em; border: 0; border-radius: 50%; cursor: help;
  background: var(--surface-2); color: var(--ink);
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.i svg { width: 14px; height: 14px; }
.i:hover, .i[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
.i:active { transform: scale(0.92); }
.field .i { background: rgba(247, 249, 248, 0.22); color: var(--field-ink); }
.field .i:hover, .field .i[aria-expanded="true"] { background: var(--field-ink); color: var(--field); }
h2 .i, h3 .i { vertical-align: 0.35em; }

.tip {
  position: fixed; z-index: 60; max-width: min(340px, calc(100vw - 32px));
  padding: 14px 16px; background: var(--ink-strong); color: var(--bg);
  font: 400 15px/1.5 var(--text); letter-spacing: 0; text-transform: none;
  box-shadow: 0 12px 32px -12px rgba(3, 59, 66, 0.55); /* taste-skill-ignore: tooltip floats */
  opacity: 0; transform: scale(0.97) translateY(4px); transform-origin: var(--origin, top left);
  transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out); pointer-events: none;
}
.tip.on { opacity: 1; transform: none; pointer-events: auto; }
.tip.instant { transition-duration: 0ms; }
.tip b { display: block; font-weight: 500; margin-bottom: 4px; }
.tip a { color: var(--bg); }

/* ---------------------------------------------------------------- top row + hero */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 36px var(--margin) 0;
}
.wordmark { font: 900 22px/1 var(--display); letter-spacing: -0.02em; text-transform: uppercase; text-decoration: none; }
.top nav { position: absolute; left: var(--axis); top: 36px; display: flex; gap: 28px; align-items: center; height: 48px; }
.top nav a { text-decoration: none; font-weight: 500; }
.top nav a:hover { text-decoration: underline; }
.top .btn { min-height: 44px; }
.top .btn.ghost:hover { background: var(--surface); }

.hero { min-height: 100svh; display: grid; align-content: end; padding: 140px var(--margin) clamp(40px, 6vh, 72px); position: relative; }
.hero h1 { font-size: var(--step-hero); line-height: 0.88; text-transform: uppercase; letter-spacing: -0.035em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero h1 .line > span { display: block; }
.hero h1 .small { font-size: 0.46em; letter-spacing: -0.02em; display: block; margin-top: 0.18em; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(28px, 4vh, 48px); }
.hero-foot p { font-size: var(--step-lead); line-height: 1.4; max-width: 40ch; margin: 0; color: var(--ink); }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.hero-source { margin-top: 28px; font-size: var(--step-small); color: var(--muted); }

/* ---------------------------------------------------------------- staircase on teal */
.field { background: var(--field); color: var(--field-ink); }
.stairs { min-height: 100svh; display: grid; grid-template-columns: 1fr 22vw; gap: 4vw; align-items: center; padding: 120px var(--margin); }
.stairs p.statement { font: 900 clamp(24px, 2.6vw, 36px)/1.12 var(--display); letter-spacing: -0.02em; margin: 0; max-width: none; }
.stairs .statement span { display: block; }
.stairs .statement span:nth-child(2) { padding-left: 6vw; }
.stairs .statement span:nth-child(3) { padding-left: 12vw; color: var(--field-soft); }
.stairs .statement span:nth-child(4) { padding-left: 18vw; }
.stairs .statement span:nth-child(5) { padding-left: 24vw; color: var(--field-soft); }
.stairs figure { margin: 0; display: grid; gap: 16px; align-self: start; }
.stairs figure img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.stairs figcaption { font-size: var(--step-small); color: var(--field-soft); }
.stairs .note { grid-column: 1 / -1; font-size: 15px; color: var(--field-soft); max-width: 60ch; margin-top: 24px; }

/* ---------------------------------------------------------------- numerals */
.numbers { padding: var(--gap-section) var(--margin) 0; }
.num-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 4vw; margin-top: 72px; }
.num b { display: block; font: 900 clamp(56px, 8vw, 132px)/0.9 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.num p { margin-top: 18px; max-width: 30ch; }
.num .src { color: var(--muted); }
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 4vw; margin-top: 112px; align-items: start; }
.voices h3 { grid-column: 1 / -1; font: 800 var(--step-lead)/1.2 var(--display); }
.voice { margin: 0; }
.voice .v-num { font: 900 clamp(40px, 4.6vw, 72px)/0.95 var(--display); letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; margin: 0 0 14px; }
.voice .v-num span { font-weight: 500; font-size: 0.5em; letter-spacing: 0; }
.voice blockquote { margin: 0; }
.voice blockquote p { font-size: var(--step-lead); line-height: 1.4; margin: 0; }
.voice figcaption { margin-top: 14px; color: var(--muted); font-size: var(--step-small); }

/* ---------------------------------------------------------------- lights compare */
.lights { padding: var(--gap-section) var(--margin) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 4vw; align-items: end; }
.lights > h2 { grid-column: 1 / -1; }
.lights .copy p { font-size: var(--step-lead); line-height: 1.45; }
.compare { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0f10; touch-action: pan-y; cursor: ew-resize; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--split, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 3px; margin-left: -1.5px; background: var(--bg); }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--bg); }
.compare .tag { position: absolute; bottom: 14px; padding: 6px 10px; background: rgba(3, 59, 66, 0.82); color: var(--bg); font-size: 14px; }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.lights figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 10px; }

/* ---------------------------------------------------------------- capability list */
.does { padding: var(--gap-section) var(--margin) 0; }
.does ol { list-style: none; margin: 56px 0 0; padding: 0; }
.does li { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4vw; align-items: baseline; padding: 28px 0; }
.does .verb { font: 900 clamp(44px, 6vw, 104px)/0.9 var(--display); letter-spacing: -0.035em; text-transform: uppercase; }
.does .what { font-size: var(--step-body); }
.does .what strong { display: block; font-size: var(--step-lead); line-height: 1.3; margin-bottom: 6px; }
.does .tech { color: var(--muted); font-size: 16px; margin: 6px 0 0; }

/* ---------------------------------------------------------------- live demo (app fragment) */
.demo { padding: var(--gap-section) 0 0; }
.demo-head { padding-inline: var(--margin); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4vw; align-items: end; }
.demo-head p { font-size: var(--step-lead); line-height: 1.4; margin: 0; }
[data-ui] { font-size: 16px; line-height: 1.5; }
.app { margin: 48px var(--margin) 0; background: var(--surface); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 720px; }
.app-left { padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); }
.app-right { padding: 24px; background: var(--bg); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.casefile { position: relative; max-height: min(86vh, 1100px); overflow-y: auto; scrollbar-gutter: stable; }
.casefile:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.modes { display: flex; gap: 0; background: var(--surface-2); padding: 4px; width: max-content; }
.modes button { border: 0; background: transparent; padding: 10px 16px; font: 500 15px/1 var(--text); color: var(--ink); cursor: pointer; transition: background-color 160ms ease; }
.modes button[aria-selected="true"] { background: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; background: var(--bg); color: var(--ink); padding: 10px 12px; text-align: left; cursor: pointer; font: 500 14px/1.25 var(--text); transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.chip small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.chip:hover { background: var(--surface-2); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] small { color: var(--field-soft); }
textarea, input[type="text"], input[type="email"] {
  width: 100%; border: 2px solid var(--surface-2); border-radius: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--text); padding: 12px 14px; resize: vertical;
}
textarea:focus, input:focus { outline: none; border-color: var(--ink); }
textarea { min-height: 220px; flex: 1; }
label.lbl { font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 4px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.status { font-size: 15px; color: var(--muted); min-height: 1.5em; }
.status.err { color: var(--warn); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.consent input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; }

.chat { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; max-height: 520px; padding-right: 4px; }
.msg { max-width: 88%; padding: 12px 14px; white-space: pre-wrap; }
.msg.agent { background: var(--bg); align-self: flex-start; }
.msg.user { background: var(--ink); color: var(--bg); align-self: flex-end; }
.msg.sys { background: transparent; color: var(--muted); font-size: 14px; padding: 4px 0; }

.casefile .step-h { font-size: 15px; font-family: var(--text); font-weight: 500; letter-spacing: 0; display: flex; align-items: center; gap: 4px; margin-bottom: 8px; color: var(--muted); }
.step { opacity: 0.38; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.step.done { opacity: 1; }
.step.reveal { animation: rise 420ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.facts { display: grid; gap: 8px; }
.quote { background: var(--surface); padding: 10px 12px; }
.quote q { font-weight: 500; }
.quote span { display: block; font-size: 14px; color: var(--muted); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-variant-numeric: tabular-nums; }
.seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.seat { background: var(--surface); padding: 12px; min-height: 104px; display: flex; flex-direction: column; gap: 6px; }
.seat .who { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 2px; }
.seat .lab { font: 900 20px/1 var(--display); text-transform: uppercase; letter-spacing: -0.01em; }
.seat.skip .lab { font: 400 14px/1.3 var(--text); text-transform: none; color: var(--muted); }
.seat .conf { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.verdict { background: var(--field); color: var(--field-ink); padding: 20px 22px; }
.verdict .big { font: 900 clamp(34px, 3.6vw, 56px)/0.95 var(--display); text-transform: uppercase; letter-spacing: -0.03em; }
.verdict .chain { margin: 12px 0 0; max-width: none; }
.verdict .item43 { margin-top: 12px; padding: 10px 12px; background: rgba(247, 249, 248, 0.12); font-size: 15px; }
.verdict.not_related, .verdict.possible { background: var(--surface-2); color: var(--ink); }
.verdict.not_related .item43, .verdict.possible .item43 { background: var(--bg); }
.docs-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.docs-tabs button { border: 0; padding: 10px 14px; background: var(--surface); color: var(--ink); font: 500 14px/1 var(--text); cursor: pointer; transition: background-color 160ms ease; }
.docs-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.doc { background: var(--surface); padding: 18px 20px; max-height: 420px; overflow: auto; font-size: 15px; }
.doc .d-h1, .doc .d-h2 { font: 900 22px/1.1 var(--display); text-transform: none; letter-spacing: -0.01em; margin: 0 0 10px; }
.doc .d-h2 { font-size: 17px; margin-top: 16px; }
.doc table { border-collapse: collapse; width: 100%; margin: 8px 0; font-size: 14px; }
.doc td, .doc th { border: 1px solid var(--surface-2); padding: 6px 8px; text-align: left; vertical-align: top; }
.doc blockquote { margin: 8px 0; padding: 8px 12px; background: var(--bg); }
.doc pre { white-space: pre-wrap; font: 13px/1.5 var(--code); }
.recorded { background: var(--warn-bg); color: var(--warn); padding: 8px 12px; font-size: 14px; }

/* ---------------------------------------------------------------- evidence */
.evidence { padding: var(--gap-section) var(--margin) 0; }
.evidence-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 4vw; align-items: end; }
.evidence-head p { font-size: var(--step-lead); line-height: 1.4; margin: 0; max-width: 46ch; }
.headline-result { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4vw; align-items: center; }
.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 170px minmax(0, 1fr) 72px; gap: 14px; align-items: center; font-size: 15px; }
.bar .track { height: 34px; background: var(--surface); position: relative; }
.bar .fill { position: absolute; inset: 0 auto 0 0; background: var(--ink); transform-origin: left; transition: transform 900ms var(--ease-out); }
.bar.base .fill { background: var(--muted); }
.bar .val { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.result-say { font-size: var(--step-lead); line-height: 1.4; }
.result-say b { font: 900 1.6em/1 var(--display); letter-spacing: -0.02em; }
.sets { margin-top: 72px; overflow-x: auto; }
table.res { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; min-width: 760px; }
table.res th, table.res td { padding: 12px 14px; text-align: left; vertical-align: top; }
table.res thead th { font-weight: 500; color: var(--muted); background: var(--surface); }
table.res tbody tr:nth-child(even) { background: var(--surface); }
table.res td.best { font-weight: 500; }
.limits { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4vw; }
.limits ul { margin: 0; padding-left: 1.1em; }
.limits li { margin-bottom: 10px; max-width: 64ch; }

/* ---------------------------------------------------------------- guarantees */
.never { padding: clamp(96px, 10vw, 150px) var(--margin); margin-top: clamp(96px, 10vw, 150px); }
.never-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4vw; margin-top: 48px; }
.never p.big { font: 900 clamp(22px, 2.4vw, 34px)/1.15 var(--display); letter-spacing: -0.01em; max-width: 24ch; }
.never dl { margin: 0; display: grid; gap: 22px; }
.never dt { font-weight: 500; font-size: var(--step-lead); }
.never dd { margin: 4px 0 0; color: var(--field-soft); max-width: 60ch; }

/* ---------------------------------------------------------------- API */
.api { padding: clamp(96px, 10vw, 150px) var(--margin) 0; }
.api-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4vw; margin-top: 56px; }
.api-steps { display: grid; gap: 28px; align-content: start; }
.api-steps h3 { margin-bottom: 8px; }
.keybox { background: var(--surface); padding: 18px; display: grid; gap: 12px; }
.keyout { font: 15px/1.4 var(--code); word-break: break-all; background: var(--bg); padding: 10px 12px; }
.code-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 0; }
.code-tabs button { border: 0; padding: 10px 14px; background: var(--surface); color: var(--ink); font: 500 14px/1 var(--text); cursor: pointer; }
.code-tabs button[aria-selected="true"] { background: var(--ink-strong); color: var(--bg); }
pre.code { margin: 0; background: var(--ink-strong); color: #e6f0ee; padding: 20px; overflow-x: auto; font: 14px/1.6 var(--code); min-height: 320px; }
.endpoints { margin-top: 24px; display: grid; gap: 6px; font-size: 15px; }
.endpoints code { font: 14px/1.4 var(--code); background: var(--surface); padding: 2px 6px; }

/* ---------------------------------------------------------------- built with */
.stack { padding: var(--gap-section) var(--margin) 0; }
.stack-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4vw; margin-top: 48px; }
.stack-grid p { font-size: var(--step-lead); line-height: 1.4; }
table.stk { width: 100%; border-collapse: collapse; font-size: 15px; }
table.stk th, table.stk td { padding: 12px 14px; text-align: left; vertical-align: top; }
table.stk tbody tr:nth-child(odd) { background: var(--surface); }
table.stk th { color: var(--muted); font-weight: 500; }
table.stk td:first-child { font-weight: 500; white-space: nowrap; }

/* ---------------------------------------------------------------- faq + close */
.faq { padding: var(--gap-section) var(--margin) 0; }
.faq > div { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; align-items: start; }
.faq details { padding: 18px 20px; background: var(--surface); margin-bottom: 8px; }
.faq summary { cursor: pointer; font: 500 var(--step-lead)/1.3 var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 900 28px/1 var(--display); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; }
footer { margin-top: var(--gap-section); padding: 72px var(--margin) 40px; }
footer .name { font: 900 clamp(64px, 18.6vw, 340px)/0.8 var(--display); letter-spacing: -0.05em; text-transform: uppercase; margin: 0 0 40px -0.04em; }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4vw; font-size: 15px; }
.foot-grid h3 { font: 500 15px/1.3 var(--text); letter-spacing: 0; color: var(--field-soft); margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.credits { font-size: 13px; color: var(--field-soft); margin-top: 40px; max-width: none; }

/* ---------------------------------------------------------------- motion */
.js .in:not(.seen) { opacity: 0; transform: translateY(22px); }
.in.seen { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.hero h1 .line > span { transform: translateY(105%); animation: lineup 900ms var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 110ms; }
.hero h1 .line:nth-child(3) > span { animation-delay: 220ms; }
.hero-foot, .hero-source { opacity: 0; animation: fadeup 700ms var(--ease-out) 420ms forwards; }
@keyframes lineup { to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.stairs .statement span { transition: transform 900ms var(--ease-out), opacity 900ms var(--ease-out); }
.js .stairs:not(.seen) .statement span { opacity: 0; transform: translateX(-3vw); }
.stairs.seen .statement span:nth-child(2) { transition-delay: 90ms; }
.stairs.seen .statement span:nth-child(3) { transition-delay: 180ms; }
.stairs.seen .statement span:nth-child(4) { transition-delay: 270ms; }
.stairs.seen .statement span:nth-child(5) { transition-delay: 360ms; }
.drift { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-2%); } }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--surface-2); border-top-color: var(--ink); animation: spin 700ms linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .in:not(.seen), .in.seen, .js .stairs:not(.seen) .statement span { opacity: 1; transform: none; transition: opacity 200ms ease; }
  .hero h1 .line > span, .hero-foot, .hero-source { animation: none; transform: none; opacity: 1; }
  .drift, .step.reveal { animation: none; }
  .bar .fill { transition: none; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 900px) {
  :root { --axis: var(--margin); }
  .top nav { display: none; }
  .hero { padding-top: 48svh; }
  .hero h1 { font-size: 11.4vw; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot p { font-size: 17px; }
  .hero-actions { justify-content: flex-start; }
  .stairs { grid-template-columns: minmax(0, 1fr); }
  .stairs p.statement { font-size: clamp(20px, 6vw, 24px); }
  .stairs .statement span:nth-child(2) { padding-left: 5vw; } .stairs .statement span:nth-child(3) { padding-left: 10vw; }
  .stairs .statement span:nth-child(4) { padding-left: 15vw; } .stairs .statement span:nth-child(5) { padding-left: 20vw; }
  .stairs figure { grid-template-columns: 1fr 1fr; }
  .num-grid, .voices, .lights, .demo-head, .headline-result, .limits, .never-grid, .api-grid, .stack-grid, .faq > div, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .does li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .app { grid-template-columns: minmax(0, 1fr); margin-inline: 0; }
  .seats { grid-template-columns: 1fr 1fr; }
  .evidence-head { grid-template-columns: minmax(0, 1fr); }
  .numbers, .lights, .does, .evidence, .api, .stack, .faq { padding-top: 96px; }
  .demo { padding-top: 96px; }
  footer { margin-top: 96px; }
  .docs-tabs, .code-tabs, .modes { flex-wrap: wrap; width: auto; }
  .bar { grid-template-columns: 110px minmax(0, 1fr) 56px; font-size: 14px; }
  table.stk td:first-child { white-space: normal; }
}
