/* Voyagerroc design tokens — the only place colour literals live. Loaded before every other stylesheet.
   System: "the written scope" (docs/REDESIGN-2026-11-17.md). The accent family comes from the logo:
   wing #C82A3A, crest #8E1624, wordmark #1F0A0E. Contrast (WCAG 2.x) is noted against the surface each token is meant for. */
:root{
  color-scheme:light;
  /* Colour roles */
  --ink:#1F0A0E;            /* text and the one dark band — 18.95:1 on paper */
  --ink-2:#4A3A3D;          /* secondary text — 10.69:1 on paper */
  --ink-3:#6B5A5D;          /* captions, labels, control boundaries — 6.47:1 on paper, 5.66:1 on sheet */
  --paper:#FFFFFF;
  --sheet:#F2EFEF;          /* the "document" surface — ink 16.58:1 */
  --sheet-2:#E7E1E1;        /* label band on a sheet — ink 14.6:1 */
  --rule:#CDBFC1;           /* decorative hairlines only (1.78:1); never a control boundary */
  --accent:#A52D3A;         /* links, emphasis, focus — 6.92:1 on paper, 6.05:1 on sheet */
  --accent-deep:#8E1624;    /* hover — 9.17:1 on paper */
  --mark:#C82A3A;           /* graphic marks only (rules, dots, numerals 24px+); never body text */
  --on-ink:#F3ECEC;         /* 16.26:1 on ink */
  --on-ink-2:#B9A9AC;       /* 8.42:1 on ink */
  --accent-on-ink:#F2909B;  /* 8.34:1 on ink */
  --rule-ink:#4A3A3D;       /* hairlines on the dark band */
  --draft:#756669;          /* pencil draft: an answer on the home sheet that is not inked yet — 4.76:1 on sheet */
  --shade:31 10 14;         /* the ink colour as an RGB triplet, for shadows: rgb(var(--shade) / .2) */
  --glass:255 255 255;      /* the glass sheen over the phone screen */
  /* States: never colour alone — always with a text label. */
  --success-text:#14532D;--success-bg:#E8F5EE;
  --danger:#B42318;--danger-bg:#FEF3F2;

  /* Type: two OFL families and the monospace of the field labels (VT Mono, a subset of the OFL Liberation Mono), all in /assets/fonts. */
  --sans:Manrope,'Manrope Fallback',Arial,sans-serif;
  --display:Space,'Space Fallback',Manrope,'Manrope Fallback',Arial,sans-serif;
  --mono:'VT Mono','VT Mono Fallback',ui-monospace,'Cascadia Mono','SF Mono',Consolas,'Liberation Mono',monospace;
  /* Fluid between 390 and 1440 */
  --t-hero:clamp(2.2rem,1.5rem + 3.4vw,4.5rem);
  --t-page:clamp(2rem,1.45rem + 2.6vw,3.6rem);
  --t-h2:clamp(1.7rem,1.33rem + 1.7vw,2.85rem);
  --t-h2-inner:clamp(1.55rem,1.25rem + 1.2vw,2.25rem);
  --t-h3:clamp(1.25rem,1.12rem + .5vw,1.6rem);
  --t-lede:clamp(1.125rem,1.05rem + .35vw,1.35rem);
  --t-body:1.0625rem;       /* 17px */
  --t-small:.9375rem;       /* 15px */
  --t-label:.8125rem;       /* 13px mono */

  /* Space: 4px base */
  --s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--s7:48px;--s8:72px;--s9:112px;
  --gutter:16px;
  --max:1200px;
  --measure:66ch;
  --radius:2px;

  /* Names used by the consent dialog and older page styles; they resolve to the roles above. */
  --brand:var(--accent);--brand-strong:var(--accent-deep);--brand-vivid:var(--mark);--brand-tint:var(--sheet);--brand-muted:var(--ink-3);
  --text:var(--ink);--text-2:var(--ink-2);--text-3:var(--ink-3);
  --surface:var(--paper);--surface-2:var(--sheet);
  --border:var(--rule);--border-mid:var(--rule);--border-strong:var(--ink-3);
  --focus:var(--accent);--on-brand:#FFFFFF;
}
@media (min-width:768px){:root{--gutter:32px}}
@media (min-width:1200px){:root{--gutter:48px}}
