/*
  Tape Glow: tokens
  A late-night VHS look. Deep plum night, pixel-terminal headlines with a
  pink and cyan chroma split, rounded CRT bezels with scanlines and a soft
  glow, and VCR on-screen display chips (PLAY, REC, timecodes) in sodium amber.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=VT323&family=Figtree:wght@400;500;600;700&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --tg-night: #0E0A1A;      /* page */
  --tg-plum: #18112B;       /* sections, cards */
  --tg-dusk: #261C40;       /* raised, inputs */
  --tg-bezel: #352A55;      /* bezel rims, strong borders */
  --tg-line: rgba(233, 226, 245, 0.12);
  --tg-line-strong: rgba(233, 226, 245, 0.26);

  /* Text */
  --tg-mist: #EDE6F7;       /* headlines, primary text */
  --tg-haze: #A99FC2;       /* body copy */
  --tg-dim: #6F6590;        /* captions, placeholders */

  /* Accents */
  --tg-neon: #FF5FB4;       /* primary action, neon signs */
  --tg-neon-deep: #D93A91;  /* hover */
  --tg-sodium: #FFB84D;     /* OSD text, timecodes, window lights */
  --tg-cyan: #63DCE4;       /* chroma split and the odd cold light */
  --tg-ink: #1B0F24;        /* text on neon */

  /* Glows */
  --tg-glow-neon: 0 0 18px rgba(255, 95, 180, 0.55), 0 0 2px rgba(255, 95, 180, 0.9);
  --tg-glow-sodium: 0 0 14px rgba(255, 184, 77, 0.45);
  --tg-glow-screen: 0 0 0 1px var(--tg-bezel), 0 0 60px rgba(255, 95, 180, 0.12), inset 0 0 80px rgba(0, 0, 0, 0.65);
  --tg-chroma: -1.5px 0 0 rgba(255, 95, 180, 0.75), 1.5px 0 0 rgba(99, 220, 228, 0.7);

  /* Fonts */
  --tg-font-display: "VT323", "Courier New", monospace;
  --tg-font-body: "Figtree", system-ui, sans-serif;

  /* Type scale (VT323 runs small, so display sizes are large) */
  --tg-text-mega: clamp(56px, 10vw, 148px);
  --tg-text-hero: clamp(48px, 7vw, 104px);
  --tg-text-h1: clamp(42px, 5.4vw, 80px);
  --tg-text-h2: clamp(36px, 4vw, 58px);
  --tg-text-h3: 30px;
  --tg-text-osd: 20px;
  --tg-text-lead: clamp(18px, 1.6vw, 21px);
  --tg-text-body: 16px;
  --tg-text-small: 14px;
  --tg-text-micro: 12px;

  /* Shape */
  --tg-radius-screen: 28px;
  --tg-radius-card: 18px;
  --tg-radius-input: 12px;
  --tg-radius-pill: 999px;

  /* Space */
  --tg-space-1: 4px;
  --tg-space-2: 8px;
  --tg-space-3: 12px;
  --tg-space-4: 16px;
  --tg-space-5: 24px;
  --tg-space-6: 32px;
  --tg-space-7: 48px;
  --tg-space-8: 72px;
  --tg-space-9: 112px;
  --tg-container: 1240px;
  --tg-narrow: 700px;
}
