/*
 * GENERATED by scripts/build-tokens.mjs — edit system/system.json or skins/<name>/skin.json
 * Skin "aquia" 0.5.0: palette, font stacks, radius, edges, focus.
 * Load after system/system.css. Imagery brief: docs/5-imagery.md
 */
:root {
  /* ── Colour: ground ── */
  --paper: #f5e7d9; /* the page: the real page colour of the source publication, matched to the plate art. Never white */
  --paper-2: #ecdccb; /* inset surfaces: figure grounds, table stripes, code */
  --paper-raised: #faf1e6; /* controls and popovers that sit above the page */

  /* ── Colour: ink ── */
  --ink: #1c1a16; /* text and primary lines */
  --ash: #676257; /* secondary text, captions, axes. The source's #6f6a5e fails AA on this paper */
  --rule: rgba(28, 26, 22, 0.14); /* structural hairline */
  --rule-strong: rgba(28, 26, 22, 0.28); /* table head rule, leader lines */

  /* ── Colour: the one accent ── */
  --accent: #1b3a5c; /* ink-blue. Links, primary control, the active thing */
  --accent-soft: #2d5277; /* hover */
  --accent-rule: rgba(27, 58, 92, 0.22); /* construction geometry */
  --accent-wash: rgba(27, 58, 92, 0.06); /* selected row, highlighted band. Flat, never a gradient */

  /* ── Colour: the point of light ── */
  --gold: #a8863d; /* marks only: you-are-here, the one point that matters. NEVER text */
  --gold-text: #765c25; /* the only gold allowed on text-sized elements */
  --gold-wash: rgba(168, 134, 61, 0.14);

  /* ── Colour: signal (use rarely) ── */
  --signal: #9c3d2e; /* error, loss, the refuted. Muted seal red */
  --signal-wash: rgba(156, 61, 46, 0.08);

  /* ── Colour: the dark band (exception surface, one per page at most) ── */
  --dark: #211f1a;
  --on-dark: #efe7d3;
  --on-dark-soft: rgba(239, 231, 211, 0.7);
  --rule-on-dark: rgba(239, 231, 211, 0.22);
  --accent-on-dark: #7ea6c9;
  --gold-on-dark: #c9a75a; /* text allowed on dark; also the focus ring on the dark band */

  /* ── Colour: data (figures only; see docs/6-figures.md) ── */
  --data-1: var(--accent); /* the series the sentence is about */
  --data-2: var(--gold); /* the comparison */
  --data-3: #5f7a66; /* sage: a third series, if unavoidable */
  --data-4: var(--signal); /* the bad outcome */
  --data-muted: #b9b2a0; /* context series, everything else */
  --data-seq-1: #dfe3e3; /* sequential ramp, light to accent */
  --data-seq-2: #a9b8c4;
  --data-seq-3: #6f8aa3;
  --data-seq-4: #3f6183;
  --data-seq-5: var(--accent);

  /* ── Claim status (evidence level of a statement or figure) ── */
  --claim-built: var(--accent); /* solid accent */
  --claim-measured: var(--ink); /* solid ink */
  --claim-hypothesis: var(--accent-rule); /* accent outline, paper fill */
  --claim-open: var(--rule-strong); /* dashed ash outline, paper fill */

  /* ── Evidence status (C-11: a form plus a word, never colour alone; text on paper and paper-2) ── */
  --evidence-observed: var(--ink); /* ink: the record speaks plainly. Never the accent, which says act here (C-11) */
  --evidence-tested: #4e6955; /* the data-3 sage, darkened until it holds AA on paper-2 */
  --evidence-asserted: var(--ash); /* ash */
  --evidence-inferred: #6b4c72; /* muted plum, a hue no other role uses. Never gold, which is the one you-are-here state (C-6) */
  --evidence-self-declared: #765e45; /* warm brown, darkened until it holds AA on paper-2 */
  --evidence-unknown: #626262; /* true neutral grey. A warm grey darkened to AA on paper-2 lands on ash */

  /* ── Type: families (three, no more) ── */
  --font-display: 'Newsreader Variable', Newsreader, Charter, Georgia, serif;
  --font-text: 'Source Sans 3 Variable', 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ── Shape, edge and focus ── */
  --radius: 2px; /* barely softened. Never a pill, never a circle-button */
  --edge: 0 2px 0 0 var(--ink); /* the lower edge that gives a control depth */
  --edge-hover: 0 3px 0 0 var(--ink);
  --edge-gold: 0 2px 0 0 var(--gold); /* on the dark band only */
  --shadow-float: 0 1px 2px rgba(28, 26, 22, 0.06), 0 8px 24px rgba(28, 26, 22, 0.1); /* popovers only */
  --focus: var(--accent); /* keyboard focus ring on paper; --gold-on-dark on the dark band */
  --focus-ring: 2px solid var(--focus);
  --focus-offset: 3px;
}
