/* tokens.css — single source of truth for the design tokens.
   Linked by every page in product/static/ (no inline :root blocks — the old
   hand-copied blocks are how #17181C vs #14161B drifted).
   Ruling: PALETTE_DECISION.md (2026-08-10) — THE PROOF × PREPRINT, retune YES.
   :root                    = Chalkline warm dark — the app's instrument face.
   :root[data-theme=light]  = Preprint paper — marketing surfaces + app light mode. */

/* design-1 [D4]: self-hosted brand type, served from /static/fonts —
   no Google round-trip, no FOUT on stadium wifi, CSP locked to 'self'.
   Space Grotesk is the variable face (300–700 in one 22KB file); IBM
   Plex Mono ships the three weights the pages actually use. The staged
   TTFs in content/fonts/ remain the source-of-record copies. */
@font-face{font-family:'Space Grotesk';
  src:url('/static/fonts/SpaceGrotesk-var.woff2') format('woff2');
  font-weight:300 700;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Mono';
  src:url('/static/fonts/IBMPlexMono-400.woff2') format('woff2');
  font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Mono';
  src:url('/static/fonts/IBMPlexMono-500.woff2') format('woff2');
  font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Mono';
  src:url('/static/fonts/IBMPlexMono-600.woff2') format('woff2');
  font-weight:600;font-style:normal;font-display:swap}

:root{
  --bg:#121318; --card:#1C1D23; --surface:#24252B; --wash:#17181D;
  --ink:#D9D7CF; --ink-2:#E5E3DB; --numeral:#F2F1EC;
  --dim:#918F86; --muted:#787670; --empty:#787670; --line:#2A2B31;
  --go:#5FD4A3; --go-bg:#1D2A24;
  --stop:#F08878; --stop-bg:#2B201F;
  --check:#8A97FF; --check-bg:#232741;
  --warn:#E5B567;
  --cta:#FF5A3C; --cta-ink:#14161B;
  --mark-dot:#FF5A3C; --mark-line:#F2F1EC;
  --brand:#FF5A3C;
  --display:'Space Grotesk',-apple-system,'SF Pro Display','Segoe UI',sans-serif;
  --serif:Georgia,'Times New Roman',serif;
  --body:'Space Grotesk',-apple-system,'SF Pro Text','Segoe UI',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,'SF Mono','Cascadia Mono',Menlo,monospace;
  --r:12px;
  --sp-1:8px; --sp-2:14px; --sp-3:22px; --sp-4:34px;
}
:root[data-theme="light"]{
  --bg:#FDFCF8; --card:#F6F4EC; --surface:#EFEDE3; --wash:#F9F7F0;
  --ink:#1B1B1F; --ink-2:#111114; --numeral:#111114;
  --dim:#6A6A66; --muted:#8B8B85; --empty:#8B8B85; --line:#E2E0D8;
  --go:#157A52; --go-bg:#E7F2EB;
  --stop:#B34530; --stop-bg:#F9EAE5;
  --check:#4A55C8; --check-bg:#E8EAF9;
  --warn:#8A5E0B;
  --cta:#111114; --cta-ink:#FDFCF8;
  --mark-dot:#FF4D2E; --mark-line:#14161B;
  --brand:#FF4D2E;
}
