/* ── design tokens ───────────────────────────────────────────────
   Palette is built from a CRT's three phosphor guns rather than a
   single accent: red carries identity, amber carries pending state,
   cyan carries confirmed state. Paper is the game-manual page.
   ──────────────────────────────────────────────────────────────── */

:root {
  /* surfaces */
  --void:        #08050A;
  --cabinet:     #120A0E;
  --cabinet-hi:  #1F1218;
  --bezel-edge:  #2C1A20;

  /* phosphors */
  --red:         #FF2D3C;
  --red-deep:    #B3121D;
  --red-ink:     #7A0C14;
  --amber:       #FFB02E;
  --cyan:        #3FE0D0;

  /* text */
  --paper:       #EFE6D6;
  --paper-dim:   #A2968A;
  --paper-faint: #857A70; /* lightened to clear 4.5:1 on the cabinet */

  /* type */
  --font-marquee: 'Bungee', 'Impact', sans-serif;
  --font-pixel:   'Silkscreen', 'Courier New', monospace;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  --t-marquee: clamp(1.5rem, 0.9rem + 2.6vw, 2.75rem);
  --t-screen:  clamp(2.25rem, 0.6rem + 7.4vw, 6.5rem);
  --t-section: clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem);
  --t-data:    clamp(1rem, 0.86rem + 0.7vw, 1.375rem);
  --t-body:    clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --t-hud:     clamp(0.5625rem, 0.52rem + 0.2vw, 0.6875rem);

  /* rhythm — deliberately uneven: the screen breathes, the data packs tight */
  --space-section: clamp(4.5rem, 3rem + 6vw, 9.5rem);
  --space-block:   clamp(1.75rem, 1.2rem + 2vw, 3rem);
  --space-tight:   0.75rem;
  --shell:         min(100% - 2.5rem, 68rem);

  /* motion */
  --dur-fast:   140ms;
  --dur-normal: 320ms;
  --dur-boot:   680ms;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap:  cubic-bezier(0.2, 0.9, 0.1, 1);

  /* screen dressing */
  --scanline: rgba(0, 0, 0, 0.3);
  --bloom-red: 0 0 12px rgba(255, 45, 60, 0.55), 0 0 34px rgba(255, 45, 60, 0.22);
}
