/* Public landing page, the Stage register (docs/brand/SYSTEM.md). Colours appear only in the generated token block. Fonts are self-hosted (SIL OFL 1.1, licences in /fonts/). */
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  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: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2");
  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: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2") format("woff2");
  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: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-mono-latin-ext-wght-normal.woff2") format("woff2");
  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; }
/* tokens:begin. Generated from docs/brand/tokens.json by scripts/build-tokens.mjs. Do not edit by hand. */
:root {
  color-scheme: light dark;
  --bg: #f5f5f3; --card: #ffffff; --elev: #ffffff; --fill: #ecece8; --field: #ffffff; --ink: #1c1f23;
  --ink-2: #3f4349; --muted: #5e6268; --faint: #65696f; --line: #e2e2de; --line-strong: #cbcbc6; --control: #8c8f94;
  --teal: #0b7a68; --teal-ink: #0a6b5c; --teal-soft: #e4f3ef; --teal-bright: #43d6bc; --amber: #8a5300;
  --amber-soft: #fdf1dc; --red: #b3261e; --red-soft: #fcebe9; --info: #6a4c93; --info-soft: #f1ecf6;
  --accent: var(--teal-ink); --accent-hover: #085c4f; --accent-fill: var(--ink); --accent-fill-hover: #33373d;
  --accent-ink: #ffffff; --accent-soft: rgb(11 122 104 / 10%); --ok: var(--teal-ink); --ok-bg: var(--teal-soft);
  --bad: var(--red); --bad-bg: var(--red-soft); --flag: var(--amber); --flag-bg: var(--amber-soft); --focus: #0b7a68;
  --press: rgb(0 0 0 / 5%); --scrim: rgb(0 0 0 / 3%); --hl: rgb(0 0 0 / 7%); --knob: #ffffff; --st-ontrack: #5e6268;
  --st-notstarted: #cbcbc6;
  --st-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5.1 8.3 9 4.2' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ramp-0: #e2e2de; --ramp-1: #b9ddd5; --ramp-2: #6fbcac; --ramp-3: #1f8c79; --ramp-4: #0b5e50; --viz-1: #6a4c93;
  --viz-2: #0b7a68; --viz-3: #9a6212; --viz-4: #a23e64; --viz-5: #6b6e73; --viz-grid: #e7e7e3; --stage: #1c1f23;
  --stage-ink: #f5f5f3; --stage-muted: #a3a6ab; --stage-line: rgb(255 255 255 / 10%); --mark-tile: #1c1f23;
  --mark-edge: #3a3d41; --mark-tick: #43d6bc; --cobrand-chip-light: #f5f5f3; --cobrand-chip: transparent;
  --photo-mask: rgb(245 245 243 / 62%); --shadow-raised: 0 1px 2px rgb(28 31 35 / 6%), 0 8px 24px rgb(28 31 35 / 8%);
  --shadow-overlay: 0 2px 6px rgb(28 31 35 / 8%), 0 24px 64px rgb(28 31 35 / 18%);
  --space-0: 2px; --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --space-7: 48px; --space-8: 64px; --space-9: 96px; --radius-xs: 6px; --radius-s: 8px; --radius-m: 12px;
  --radius-pill: 999px; --tap: 44px; --stroke: 1px; --stroke-2: 2px; --measure: 40em; --page: 880px;
  --page-wide: 1200px; --dim: 0.45;
  --font: "Atkinson Hyperlegible Next", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; --fs-xs: 12px;
  --fs-label: 13px; --fs-s: 14px; --fs-base: 16px; --fs-read: 17px; --fs-m: 18px; --fs-lead: 19px; --fs-l: 21px;
  --fs-sec: 24px; --fs-xl: 28px; --fs-2xl: 34px; --fs-hero-s: 36px; --fs-score: 48px; --fs-hero: 54px;
  --lh-tight: 1.2; --lh: 1.47; --lh-sec: 1.25; --track-tight: -0.02em; --track-display: -0.025em;
  --track-caps: 0.06em; --w-regular: 400; --w-semibold: 600; --w-bold: 700; --dur-1: 120ms; --dur-2: 200ms;
  --dur-3: 320ms; --dur-4: 560ms; --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease-settle: linear(0, 0.38 9%, 0.74 19%, 0.95 31%, 1.03 44%, 1.04 52%, 1.01 68%, 1); --stagger: 40ms;
  --rise: 8px; --press-y: 1px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121314; --card: #24272b; --elev: #2e3135; --fill: #0c0d0e; --field: #1b1d20; --ink: #ecedee;
    --ink-2: #cdcfd2; --muted: #b6b9be; --faint: #a3a6ab; --line: #45494f; --line-strong: #5a5e65; --control: #7d8187;
    --teal: #43d6bc; --teal-ink: #43d6bc; --teal-soft: #0f2a2a; --amber: #f2b54a; --amber-soft: #2a2418;
    --red: #ff8a80; --red-soft: #2c1d22; --info: #c3a6e8; --info-soft: #251e2e; --accent-hover: #6be2cc;
    --accent-fill-hover: #ffffff; --accent-ink: #121314; --accent-soft: rgb(67 214 188 / 16%); --focus: #43d6bc;
    --press: rgb(255 255 255 / 8%); --scrim: rgb(255 255 255 / 4%); --hl: rgb(255 255 255 / 12%);
    --st-ontrack: #a3a6ab; --st-notstarted: #5a5e65;
    --st-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5.1 8.3 9 4.2' fill='none' stroke='%23121314' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --ramp-0: #2c2e31; --ramp-1: #1d4b48; --ramp-2: #22786a; --ramp-3: #2fae97; --ramp-4: #6be2cc; --viz-1: #c3a6e8;
    --viz-2: #43d6bc; --viz-3: #e6a94a; --viz-4: #e58aae; --viz-5: #a3a6ab; --viz-grid: #26282b; --mark-edge: #4a4d52;
    --cobrand-chip: var(--cobrand-chip-light); --photo-mask: rgb(18 19 20 / 62%);
    --shadow-raised: 0 0 0 1px rgb(255 255 255 / 5%), 0 8px 24px rgb(0 0 0 / 40%);
    --shadow-overlay: 0 0 0 1px rgb(255 255 255 / 7%), 0 24px 64px rgb(0 0 0 / 60%);
  }
}
/* The footer switch (appearance/appearance.js) can choose Dark on a light device: the same values. */
:root[data-theme="dark"] {
    --bg: #121314; --card: #24272b; --elev: #2e3135; --fill: #0c0d0e; --field: #1b1d20; --ink: #ecedee;
    --ink-2: #cdcfd2; --muted: #b6b9be; --faint: #a3a6ab; --line: #45494f; --line-strong: #5a5e65; --control: #7d8187;
    --teal: #43d6bc; --teal-ink: #43d6bc; --teal-soft: #0f2a2a; --amber: #f2b54a; --amber-soft: #2a2418;
    --red: #ff8a80; --red-soft: #2c1d22; --info: #c3a6e8; --info-soft: #251e2e; --accent-hover: #6be2cc;
    --accent-fill-hover: #ffffff; --accent-ink: #121314; --accent-soft: rgb(67 214 188 / 16%); --focus: #43d6bc;
    --press: rgb(255 255 255 / 8%); --scrim: rgb(255 255 255 / 4%); --hl: rgb(255 255 255 / 12%);
    --st-ontrack: #a3a6ab; --st-notstarted: #5a5e65;
    --st-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5.1 8.3 9 4.2' fill='none' stroke='%23121314' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --ramp-0: #2c2e31; --ramp-1: #1d4b48; --ramp-2: #22786a; --ramp-3: #2fae97; --ramp-4: #6be2cc; --viz-1: #c3a6e8;
    --viz-2: #43d6bc; --viz-3: #e6a94a; --viz-4: #e58aae; --viz-5: #a3a6ab; --viz-grid: #26282b; --mark-edge: #4a4d52;
    --cobrand-chip: var(--cobrand-chip-light); --photo-mask: rgb(18 19 20 / 62%);
    --shadow-raised: 0 0 0 1px rgb(255 255 255 / 5%), 0 8px 24px rgb(0 0 0 / 40%);
    --shadow-overlay: 0 0 0 1px rgb(255 255 255 / 7%), 0 24px 64px rgb(0 0 0 / 60%);
}
@media (prefers-reduced-motion: reduce) {
  :root { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; --dur-4: 0ms; --stagger: 0ms; --rise: 0px; --press-y: 0px; }
}
/* tokens:end */
:root {
  /* Sizes of this page only. Foundations live in the generated block above. */
  --top-h: 64px; --tap-s: 36px; --btn-l: 48px; --measure-s: 31em; --dist-w: 150px; --dot: 10px; --dot-check: 12px; --key: 28px; --rule: 3px;
  --loop-gap: 640ms; --node: 28px; --sketch-h: 104px; --sk-dot: 14px; --sk-line: 6px; --sk-key: 22px; --pace-h: 8px; --tick-over: 4px; --field-min: 14em;
}
@media (prefers-reduced-motion: reduce) { :root { --loop-gap: 0ms; } }
* { box-sizing: border-box; }
/* The hidden attribute always wins over component display rules (the contact form's "Message received" box). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + var(--space-4)); }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--fs-base)/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
a { color: var(--teal-ink); text-underline-offset: 0.15em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { --gutter: var(--space-6); max-width: var(--page-wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: var(--fs-s); }
.cap { font-size: var(--fs-xs); color: var(--faint); }
.h3 { font-size: var(--fs-base); font-weight: var(--w-semibold); }
.skip { position: absolute; left: var(--space-4); top: calc(-1 * var(--space-8)); background: var(--card); padding: var(--space-2) var(--space-3); border-radius: var(--radius-s); z-index: 3; }
.skip:focus { top: var(--space-2); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: var(--space-5); min-height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); text-decoration: none; font-size: var(--fs-base); white-space: nowrap; }
.brand img { border-radius: var(--radius-s); flex: none; }
.brand b { font-weight: var(--w-bold); }
.links { display: flex; gap: var(--space-1); }
.links a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-3); border-radius: var(--radius-s); color: var(--muted); font-size: var(--fs-s); font-weight: var(--w-semibold); text-decoration: none; white-space: nowrap; }
.links a:hover { color: var(--ink); background: var(--fill); }
.right { margin-left: auto; display: flex; gap: var(--space-2); align-items: center; }

/* Buttons: one outlined design; the main action has the stronger outline (docs/brand/SYSTEM.md). */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 var(--space-4); border-radius: var(--radius-s); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: inherit; font-weight: var(--w-semibold); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-1), transform var(--dur-1) var(--ease-standard); }
.btn:active, .q-opt:active:not([disabled]) { transform: translateY(var(--press-y)); }
.btn:hover { background: var(--press); }
.btn.primary { background: transparent; border-color: var(--ink-2); color: var(--ink); }
.btn.primary:hover { background: var(--press); border-color: var(--ink); }
.btn.quiet { border-color: transparent; background: transparent; }
.btn.quiet:hover { background: var(--press); }
.btn.l { min-height: var(--btn-l); padding: 0 var(--space-5); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; padding-top: var(--space-8); padding-bottom: var(--space-7); }
.hero-copy { display: grid; gap: var(--space-5); }
.hero h1 { font-size: var(--fs-hero); line-height: 1.06; letter-spacing: var(--track-display); font-weight: var(--w-bold); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: var(--measure-s); }
.cta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); }
.panel.pad { padding: var(--space-6); display: grid; gap: var(--space-3); justify-items: start; }
.demo { margin: 0; box-shadow: var(--shadow-raised); overflow: hidden; }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.demo-row { display: grid; grid-template-columns: minmax(0, 1fr) var(--dist-w); gap: var(--space-2) var(--space-4); align-items: center; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.demo-row .name { font-size: var(--fs-s); font-weight: var(--w-semibold); }
.states { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.demo-foot { padding: var(--space-4) var(--space-5); background: var(--fill); }
.illus { padding: var(--space-2) var(--space-5) var(--space-3); background: var(--fill); }

/* State labels: shape + word + colour (never colour alone) */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-label); font-weight: var(--w-semibold); color: var(--ink-2); white-space: nowrap; }
.st::before { content: ""; flex: none; width: var(--dot); height: var(--dot); border-radius: 50%; box-sizing: border-box; }
.st.passed { color: var(--teal-ink); }
.st.passed::before { width: var(--dot-check); height: var(--dot-check); background: var(--teal) var(--st-check) center / var(--dot-check) no-repeat; }
.st.ontrack::before { background: var(--st-ontrack); }
.st.behind { color: var(--amber); }
.st.behind::before { background: linear-gradient(90deg, var(--amber) 50%, transparent 50%); border: 2px solid var(--amber); }
.st.notstarted { color: var(--muted); }
.st.notstarted::before { border: 2px solid var(--control); }
.dist { display: flex; gap: var(--space-0); height: var(--dot); border-radius: 3px; overflow: hidden; }
.dist span { display: block; }
.dist .passed { background: var(--teal); } .dist .ontrack { background: var(--st-ontrack); } .dist .behind { background: var(--amber); } .dist .notstarted { background: var(--st-notstarted); }

/* Figures, bands, sections */
/* The divider spans the content column only, aligned with the text above and below it, not the padding. */
.figs { position: relative; display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-7); padding-top: var(--space-5); padding-bottom: var(--space-7); }
.figs::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.fig { display: grid; gap: var(--space-0); }
.fig b { font-size: var(--fs-xl); line-height: 1.15; font-weight: var(--w-bold); letter-spacing: var(--track-tight); font-variant-numeric: tabular-nums; }
.fig span { font-size: var(--fs-label); color: var(--muted); }
/* Bands are set apart by their tone alone: no full-width rules across the window. */
.band { background: var(--card); }
.band .wrap { padding-top: var(--space-7); padding-bottom: var(--space-7); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); align-items: start; }
.three > div, .two > div { display: grid; gap: var(--space-3); align-content: start; }
h2 { font-size: var(--fs-xl); line-height: 1.2; letter-spacing: var(--track-tight); font-weight: var(--w-bold); }
h3 { font-size: var(--fs-base); font-weight: var(--w-semibold); }
.section { padding-top: var(--space-7); padding-bottom: var(--space-7); display: grid; gap: var(--space-4); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: var(--fs-s); }
.ticks li { position: relative; padding-left: var(--space-5); }
/* A list mark is a neutral dash: the teal tick is kept for what has been proven (docs/brand/SYSTEM.md, The tick). */
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; border-radius: 1px; background: var(--faint); }
.ticks.private li::before { background: var(--ink-2); }
/* A tick list in two columns (learner features under How it works, the trust list in the privacy band). */
.ticks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-6); }
.extra { display: grid; gap: var(--space-3); margin-top: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--line); }
/* Privacy band, second row: where the data lives. Same first column as the row above it. */
.band .wrap.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-6); padding-top: 0; }
.trust > div { display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-5); border-top: 1px solid var(--line); }
.trust > .ticks { padding-top: var(--space-5); border-top: 1px solid var(--line); }
.catalogue { display: grid; gap: var(--space-2); max-width: var(--measure-s); font-size: var(--fs-s); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-4); border-top: 2px solid var(--ink); }
.steps li h3::before { content: counter(s) ". "; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps p { font-size: var(--fs-s); }
.table-wrap { overflow-x: auto; }
.ut { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.ut th, .ut td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); white-space: nowrap; }
.ut thead th { font-size: var(--fs-xs); font-weight: var(--w-semibold); color: var(--muted); background: var(--fill); border-bottom-color: var(--line-strong); }
.ut tr:last-child td { border-bottom: 0; }
.ut .nm { font-weight: var(--w-semibold); white-space: normal; }
.code { font-family: var(--mono); font-size: var(--fs-xs); font-weight: var(--w-semibold); color: var(--ink-2); background: var(--fill); border-radius: var(--radius-xs); padding: 1px 6px; white-space: nowrap; }
.pilot .panel { max-width: 46em; }
/* Sample question (signature moment): the explanation for every option, as in the course. */
.sample { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-7); align-items: start; }
.sample-intro { display: grid; gap: var(--space-3); position: sticky; top: calc(var(--top-h) + var(--space-5)); }
.eyebrow { font-size: var(--fs-label); font-weight: var(--w-semibold); color: var(--teal-ink); }
.q-sample { margin: 0; padding: var(--space-6); display: grid; gap: var(--space-4); box-shadow: var(--shadow-raised); }
.q-scn { color: var(--ink-2); }
.q-ask { font-size: var(--fs-l); font-weight: var(--w-semibold); letter-spacing: var(--track-tight); }
.q-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.q-opt { width: 100%; min-height: var(--tap); display: grid; grid-template-columns: var(--key) 1fr; gap: var(--space-3); align-items: start; text-align: left;
  font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius-s); padding: var(--space-3) var(--space-4); cursor: pointer;
  transition: border-color var(--dur-1), background-color var(--dur-1), transform var(--dur-1) var(--ease-standard); }
.q-opt:hover { border-color: var(--control); }
.q-opt .key { width: var(--key); height: var(--key); display: grid; place-items: center; border-radius: var(--radius-pill); border: 1px solid var(--control); font-size: var(--fs-label); font-weight: var(--w-semibold); }
.q-o { display: block; }
.q-why { display: block; margin-top: var(--space-1); font-size: var(--fs-s); color: var(--muted); }
.q-sample.ready:not(.done) .q-why, .q-sample.ready:not(.done) .q-explain { display: none; }
.q-sample.done .q-opt { cursor: default; }
.q-opt.right { border-color: var(--teal); background: var(--teal-soft); }
.q-opt.right .key { background: var(--teal); border-color: var(--teal); color: var(--card); }
.q-opt.wrong { border-color: var(--red); background: var(--red-soft); }
.q-opt.wrong .key { background: var(--red); border-color: var(--red); color: var(--card); }
.q-result:empty { display: none; }
.q-result { font-weight: var(--w-semibold); }
.q-explain { position: relative; display: grid; gap: var(--space-2); padding-left: calc(var(--space-4) + var(--rule)); }
/* The teal rule is its own layer, so motion.js can draw it from top to bottom after the reasons appear. */
.q-explain::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--rule); background: var(--teal); }
.q-again { margin: 0; }

/* Contact form (contact.js): two columns of fields on wide screens, one on phones. The honeypot is off-screen. */
.contact .panel { max-width: 46em; }
.cform { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--field-min), 1fr)); gap: var(--space-3) var(--space-4); width: 100%; }
.cform label { display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--fs-s); font-weight: var(--w-semibold); color: var(--ink-2); }
.cform .wide { grid-column: 1 / -1; }
.cform input, .cform select, .cform textarea { font: inherit; font-weight: var(--w-regular); color: var(--ink); background: var(--bg); min-height: var(--tap); padding: var(--space-2) var(--space-3); border: var(--stroke) solid var(--line-strong); border-radius: var(--radius-s); }
.cform textarea { resize: vertical; line-height: 1.47; }
.cform .cap { font-weight: var(--w-regular); }
.cform .hp { position: absolute; left: -100vw; width: var(--stroke); height: var(--stroke); overflow: hidden; }
.cform .err { margin: 0; color: var(--red); font-weight: var(--w-semibold); }
.note-line { margin: 0; padding: var(--space-2) var(--space-3); border-radius: var(--radius-s); background: var(--teal-soft); color: var(--ink); font-size: var(--fs-s); }
.contact .done { display: grid; gap: var(--space-3); justify-items: start; padding: var(--space-4); border-radius: var(--radius-s); background: var(--teal-soft); width: 100%; }
.contact .done p { margin: 0; }
.contact .ref { white-space: nowrap; font-family: var(--mono); }

/* Footer, shared by every public page. Three columns: the brand (and, on the landing page, one line about the
   academy), the legal links as a column, then language and appearance, each as wide as its content, with the free
   space shared evenly between them. The disclaimer is fine print below them.
   Phones stack the columns in that order. */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; grid-template-areas: "brand nav prefs" "note note note";
  column-gap: var(--space-8); row-gap: 0; align-items: start; padding-top: var(--space-7); padding-bottom: var(--space-6); }
.foot-in > .brand, .foot-brand { grid-area: brand; }
.foot-brand { display: grid; gap: var(--space-3); align-content: start; }
.foot-tag { max-width: 24em; font-size: var(--fs-s); line-height: 1.5; color: var(--muted); }
.foot-in > nav { grid-area: nav; }
.legal-links { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-size: var(--fs-s); }
.legal-links a { display: inline-flex; align-items: center; min-height: var(--tap-s); color: var(--ink-2); text-decoration: none; }
.legal-links a:hover { color: var(--teal-ink); text-decoration: underline; }
.prefs { grid-area: prefs; display: grid; justify-items: start; gap: var(--space-3); }
.disclaimer { grid-area: note; margin-top: var(--space-7); max-width: 72em; font-size: var(--fs-xs); line-height: 1.6; color: var(--faint); }
@media (max-width: 899px) {
  .foot-in { grid-template-columns: minmax(0, 1fr) auto; justify-content: stretch; grid-template-areas: "brand prefs" "nav prefs" "note note"; row-gap: var(--space-5); column-gap: var(--space-6); }
  .legal-links { grid-auto-flow: row; }
}
@media (max-width: 599px) {
  .foot-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "nav" "prefs" "note"; }
  .disclaimer { margin-top: 0; }
  .legal-links a { min-height: var(--tap); }
}
.small-brand { font-size: var(--fs-label); }
.lang { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-label); color: var(--muted); }
.lang select { font: inherit; min-height: var(--tap); padding: 0 var(--space-2); border: 1px solid var(--control); border-radius: var(--radius-s); background: var(--card); color: var(--ink); }

@media (max-width: 1099px) { .links { display: none; } }
@media (max-width: 899px) {
  .sample { grid-template-columns: 1fr; gap: var(--space-5); } .sample-intro { position: static; }
  .wrap { --gutter: var(--space-4); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); padding-top: var(--space-6); }
  .hero h1 { font-size: var(--fs-hero-s); }
  .three, .two, .steps, .ticks.cols, .band .wrap.trust { grid-template-columns: minmax(0, 1fr); }
  .trust > .ticks { padding-top: 0; border-top: 0; }
}
@media (max-width: 599px) {
  .hide-s { display: none; }
  .demo-row { grid-template-columns: minmax(0, 1fr); }
  .fig b { font-size: var(--fs-l); }
}
/* Distribution proportions as classes: the page's CSP allows no inline styles. */
.dist .f1 { flex: 1; } .dist .f3 { flex: 3; } .dist .f5 { flex: 5; } .dist .f7 { flex: 7; } .dist .f11 { flex: 11; } .dist .f12 { flex: 12; }

/* Footer: language and the appearance switch (appearance/appearance.css reads the --ap-* tokens). */
:root { --ap-gap: var(--space-2); --ap-pad: 3px; --ap-pill: var(--radius-pill); --ap-h: 32px; --ap-h-touch: var(--tap); --ap-x: var(--space-3); --ap-icon: 14px; --ap-icon-gap: 6px; --ap-fs: var(--fs-label); --ap-w: var(--w-semibold); --ap-dur: var(--dur-1);
  --ap-track: var(--fill); --ap-thumb: var(--card); --ap-ink: var(--ink); --ap-muted: var(--muted); --ap-line: var(--line); --ap-line-strong: var(--line-strong); --ap-ring: var(--teal-soft); }

/* ---------- Motion (landing.js, motion.js; docs/experience/MOTION.md) ---------- */
/* Hero: the dashboard reads in order once on arrival: each row's distribution sweeps in, its labels follow, then the
   conclusion. landing.js adds .pre before the first paint it can reach and removes it a frame later. */
.demo-row + .demo-row { --at: var(--dur-3); }
.demo .dist { transition: clip-path var(--dur-4) var(--ease-standard) var(--at, 0ms); }
.demo .states .st { transition: opacity var(--dur-2) var(--ease-standard), transform var(--dur-2) var(--ease-standard); transition-delay: calc(var(--at, 0ms) + var(--dur-3)); }
.demo .states .st:nth-child(2) { transition-delay: calc(var(--at, 0ms) + var(--dur-3) + var(--stagger)); }
.demo .states .st:nth-child(3) { transition-delay: calc(var(--at, 0ms) + var(--dur-3) + 2 * var(--stagger)); }
.demo .states .st:nth-child(4) { transition-delay: calc(var(--at, 0ms) + var(--dur-3) + 3 * var(--stagger)); }
.demo .demo-foot b { display: inline-block; transition: opacity var(--dur-3) var(--ease-standard), transform var(--dur-3) var(--ease-standard); transition-delay: calc(2 * var(--dur-3) + var(--dur-4)); }
.demo.pre .dist { clip-path: inset(0 100% 0 0); }
.demo.pre .states .st { opacity: 0; transform: translateY(var(--space-1)); }
.demo.pre .demo-foot b { opacity: 0; transform: translateY(var(--rise)); }

/* How it works: one path. A rule runs under the three numbered nodes; each node lights, the rule fills towards the
   next step and the step's sketch plays (assign, study, ready). Without scripts or with reduced motion the path is
   shown complete. Steps start --loop-gap apart. */
.loop { gap: var(--space-5); }
.loop .step { position: relative; grid-template-rows: auto auto 1fr; align-content: stretch; border-top: 0; padding-top: calc(var(--node) + var(--space-4)); }
/* The sketches line up at the foot of each step, whatever the length of the text above them. */
.loop .sketch { align-self: end; }
.loop .step h3::before { content: none; }
.loop .s1 { --at: 0ms; } .loop .s2 { --at: var(--loop-gap); } .loop .s3 { --at: calc(2 * var(--loop-gap)); }
.loop .step::before, .loop .step::after { content: ""; position: absolute; top: calc(var(--node) / 2 - 1px); left: 0; right: calc(-1 * var(--space-5)); height: 2px; }
.loop .step:last-child::before, .loop .step:last-child::after { right: 0; }
.loop .step::before { background: var(--line-strong); }
.loop .step::after { background: var(--ink); transition: clip-path var(--dur-4) var(--ease-standard) calc(var(--at) + var(--dur-2)); }
.loop .s3::after { background: var(--teal); }
.loop .node { position: absolute; z-index: 1; top: 0; left: 0; width: var(--node); height: var(--node); display: grid; place-items: center; border-radius: var(--radius-pill);
  background: var(--ink); color: var(--bg); font-size: var(--fs-label); font-weight: var(--w-bold); font-variant-numeric: tabular-nums;
  transition: transform var(--dur-3) var(--ease-settle) var(--at), background-color var(--dur-2) var(--ease-standard) var(--at), color var(--dur-2) var(--ease-standard) var(--at); }
.loop .s3 .node { background: var(--teal); color: var(--card); }
.loop.pre .step::after { clip-path: inset(0 100% 0 0); }
.loop.pre .node { transform: scale(0.6); background: var(--line-strong); color: var(--line-strong); }

.sketch { display: grid; align-content: center; gap: var(--space-3); min-height: var(--sketch-h); margin-top: var(--space-2); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--card); }
.sketch * { transition-timing-function: var(--ease-standard); }
.sk-chip { justify-self: start; display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--node); padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--fill); font-size: var(--fs-label); font-weight: var(--w-semibold); color: var(--ink-2);
  transition: opacity var(--dur-2), transform var(--dur-2); transition-delay: calc(var(--at) + var(--dur-2)); }
.sk-cal { width: var(--space-3); height: var(--space-3); border: 2px solid var(--ink-2); border-top-width: 4px; border-radius: 3px; }
.sk-people { display: flex; gap: var(--space-2); }
.sk-people span { width: var(--sk-dot); height: var(--sk-dot); border-radius: 50%; border: 2px solid var(--ink-2); background: var(--ink-2); transition: background-color var(--dur-2), border-color var(--dur-2); transition-delay: calc(var(--at) + var(--dur-3)); }
.sk-people span:nth-child(2) { transition-delay: calc(var(--at) + var(--dur-3) + var(--stagger)); }
.sk-people span:nth-child(3) { transition-delay: calc(var(--at) + var(--dur-3) + 2 * var(--stagger)); }
.sk-people span:nth-child(4) { transition-delay: calc(var(--at) + var(--dur-3) + 3 * var(--stagger)); }
.sk-people span:nth-child(5) { transition-delay: calc(var(--at) + var(--dur-3) + 4 * var(--stagger)); }
.sk-people span:nth-child(6) { transition-delay: calc(var(--at) + var(--dur-3) + 5 * var(--stagger)); }
.loop.pre .sk-chip { opacity: 0; transform: translateY(var(--space-1)); }
.loop.pre .sk-people span { background: transparent; border-color: var(--control); }

.sk-opt { display: grid; grid-template-columns: var(--sk-key) 1fr; gap: var(--space-3); align-items: center; padding: var(--space-2) var(--space-3); border: 1px solid var(--teal); border-radius: var(--radius-s); background: var(--teal-soft);
  transition: border-color var(--dur-2), background-color var(--dur-2); transition-delay: calc(var(--at) + var(--dur-2)); }
.sk-key { width: var(--sk-key); height: var(--sk-key); display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--teal); color: var(--card); font-size: var(--fs-xs); font-weight: var(--w-bold);
  transition: transform var(--dur-3) var(--ease-settle), background-color var(--dur-2), color var(--dur-2); transition-delay: calc(var(--at) + var(--dur-2)); }
.sk-lines, .sk-why { display: grid; gap: var(--space-1); }
.sk-lines i, .sk-why i { display: block; height: var(--sk-line); border-radius: var(--radius-pill); background: var(--line-strong); }
.sk-lines i:last-child { width: 60%; }
.sk-why { position: relative; padding-left: calc(var(--space-3) + var(--rule)); transition: clip-path var(--dur-4); transition-delay: calc(var(--at) + var(--dur-3) + var(--dur-2)); }
.sk-why::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--rule); border-radius: 2px; background: var(--teal); }
.sk-why i { background: var(--line); } .sk-why i:last-child { width: 80%; }
.loop.pre .sk-opt { border-color: var(--line-strong); background: var(--card); }
.loop.pre .sk-key { transform: scale(0.7); background: var(--fill); color: var(--muted); }
.loop.pre .sk-why { clip-path: inset(0 100% 0 0); }

.sk-pace { position: relative; height: var(--pace-h); border-radius: var(--radius-pill); background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
.sk-pace b { position: absolute; inset: 0 auto 0 0; width: 64%; border-radius: inherit; background: var(--teal); transition: width var(--dur-4) var(--ease-standard) calc(var(--at) + var(--dur-2)); }
.sk-pace i { position: absolute; top: calc(-1 * var(--tick-over)); bottom: calc(-1 * var(--tick-over)); left: 58%; width: 2px; border-radius: 1px; background: var(--ink); transition: opacity var(--dur-2) calc(var(--at) + var(--dur-2)); }
.sk-ready .st { justify-self: start; transition: opacity var(--dur-2), transform var(--dur-2); transition-delay: calc(var(--at) + var(--dur-2) + var(--dur-4)); }
.loop.pre .sk-pace b { width: 0; }
.loop.pre .sk-pace i { opacity: 0; }
.loop.pre .sk-ready .st { opacity: 0; transform: translateY(var(--space-1)); }

/* One column: the path runs down the left edge instead of across. */
@media (max-width: 899px) {
  .loop .step { padding-top: 0; padding-left: calc(var(--node) + var(--space-4)); }
  .loop .step::before, .loop .step::after { top: 0; bottom: calc(-1 * var(--space-5)); left: calc(var(--node) / 2 - 1px); right: auto; width: 2px; height: auto; }
  .loop .step:last-child::before, .loop .step:last-child::after { bottom: 0; }
  .loop.pre .step::after { clip-path: inset(0 0 100% 0); }
}
