/* public/src/css/tokens.css
   One palette. Every value here was measured before it shipped - the table
   lives in DESIGN.md and `npm run contrast` re-measures it on every run.

   Day Edition is gone (DECISIONS D37). Late Edition's justification was dark
   adaptation - this site is read at a window immediately before looking for a
   faint moving dot - and that argument survives the redesign. Day Edition only
   existed because the newspaper metaphor implied a printed daytime paper, and
   that metaphor has moved to the printer. */

:root{
  --void:        #0A0E1A;   /* page ground                                  */
  --panel:       #161E33;   /* card ground                                  */
  --panel-lift:  #1F2947;   /* raised card, hover                           */

  /* Two border tokens, and the split is deliberate. WCAG 1.4.11 covers
     boundaries that identify UI components AND THEIR STATES - not decorative
     outlines on containers. --edge is decoration and carries no floor;
     forcing it to 3:1 needs #5c71a3, which wireframes every panel.
     --edge-strong carries state and IS gated. Never swap one for the other. */
  --edge:        #39456B;   /* decorative card outline    1.77 on panel     */
  --edge-strong: #6277A7;   /* focus, active nav, selected 3.72 on panel    */

  --ink:         #F2F5FF;   /* primary text              15.21 on panel     */
  --ink-dim:     #9AA6C4;   /* secondary, labels          6.80 on panel     */
  --signal:      #A3E635;   /* accent, CTA, live         10.99 on panel     */
  --on-signal:   #0A0E1A;   /* text ON a lime fill        12.8 on signal    */

  /* Object classes. Measured twice - as text on --panel, and as graphics. */
  --iris:        #A78BFA;   /* starlink                   6.09 on panel     */
  --amber:       #F5A524;   /* rocket bodies              8.12 on panel     */
  --rose:        #F0568C;   /* unknown, debris            5.06 on panel     */
  --sky:         #6FB2FF;   /* payloads                   7.48 on panel     */

  /* The printed insert (D39), and /mum/'s print output. The ONLY place these
     appear on screen is insert.css. */
  --paper:       #F2EFE7;
  --paper-ink:   #15140F;   /* 16.05 on paper */
  --paper-dim:   #4A463C;   /*  8.19 on paper */

  /* Type scale, carried over intact. */
  --step--1:.82rem; --step-0:1rem;   --step-1:1.25rem; --step-2:1.6rem;
  --step-3:2.1rem;  --step-4:2.9rem; --step-5:clamp(2.6rem,7vw,4.2rem);

  --f-head:'Bricolage Grotesque',system-ui,sans-serif;
  --f-body:ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --f-data:'IBM Plex Mono',ui-monospace,monospace;
  --f-hand:'Caveat',cursive;
  /* Newsreader is a newspaper serif. It belongs ONLY inside the printed
     insert and on /mum/'s print output - never on the dark UI. */
  --f-paper:'Newsreader',Georgia,serif;

  --measure:65ch;
  --radius:14px;
}
