/*
  Tall Order: design tokens
  Feel: a launch broadcast at midnight. Pure black pages dusted with tiny drawn
  stars, towering condensed capitals stacked three or four lines high (the first
  word hollow, an outlined stroke), one electric yellow for the action and the
  numbers that matter, and four signal colors (yellow, mint, sky, iris) that each
  own a card's top rule. Stat tiles sit in tight hairline grids, and a single
  glowing curve climbs off the chart. Loud, exact and a little showy.

  Fonts (free, Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;700;800;900&family=Figtree:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet">
*/
:root {
  /* Surfaces, darkest first */
  --to-void: #050506;        /* the page */
  --to-deep: #0e0e12;        /* cards, tiles, panels */
  --to-raise: #17171d;       /* hover, inputs, code */
  --to-line: #2a2a33;        /* every hairline */
  --to-line-bright: #44444f; /* ghost button borders, focus rings at rest */

  /* Text */
  --to-ink: #f3f1ea;         /* headlines and body */
  --to-mute: #a5a4ad;        /* secondary text */
  --to-faint: #6c6b75;       /* captions, axis labels, placeholders */

  /* The accent: electric yellow. Main action, kicker words, the curve */
  --to-volt: #f5dd3d;
  --to-volt-ink: #14130a;    /* text on yellow */
  --to-volt-soft: rgba(245, 221, 61, .14);

  /* Signal colors: one per card rule, never for buttons */
  --to-mint: #5fe3a1;
  --to-sky: #71b0ff;
  --to-iris: #b48dff;

  /* Flare: the warm glow behind the hero object, and errors */
  --to-flare: #ff6b4a;
  --to-flare-glow: radial-gradient(closest-side, rgba(255, 107, 74, .55), rgba(255, 107, 74, .18) 55%, rgba(255, 107, 74, 0) 100%);

  /* The starfield: layered dots, used as a background-image */
  --to-stars:
    radial-gradient(circle at 12% 18%, rgba(243, 241, 234, .75) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 34% 62%, rgba(243, 241, 234, .45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 58% 12%, rgba(243, 241, 234, .55) 0 1.4px, transparent 2px),
    radial-gradient(circle at 76% 44%, rgba(243, 241, 234, .35) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 82%, rgba(243, 241, 234, .6) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 22% 88%, rgba(243, 241, 234, .3) 0 .9px, transparent 1.4px),
    radial-gradient(circle at 48% 36%, rgba(243, 241, 234, .25) 0 .8px, transparent 1.2px),
    radial-gradient(circle at 66% 74%, rgba(243, 241, 234, .4) 0 1px, transparent 1.6px);
  --to-stars-size: 420px 380px;

  /* Fonts */
  --to-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --to-font: "Figtree", system-ui, sans-serif;
  --to-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Type scale */
  --to-text-hero: clamp(60px, 8.8vw, 128px);
  --to-text-kicker: clamp(30px, 4vw, 58px);
  --to-text-h2: clamp(40px, 5.4vw, 76px);
  --to-text-h3: 22px;
  --to-text-stat: clamp(36px, 4vw, 52px);
  --to-text-lead: 19px;
  --to-text-body: 16px;
  --to-text-small: 14px;
  --to-text-label: 12px;

  /* Shape */
  --to-radius-sm: 5px;       /* buttons, inputs, chips */
  --to-radius: 8px;          /* cards, tiles, panels */
  --to-rule: 3px;            /* the colored top rule on cards */
  --to-border: 1px solid var(--to-line);
  --to-shadow-tile: inset 0 1px 0 rgba(255, 255, 255, .05);
  --to-shadow-pop: 0 30px 80px rgba(0, 0, 0, .6);
  --to-glow-volt: 0 0 18px rgba(245, 221, 61, .45);

  /* Space */
  --to-space-1: 4px;
  --to-space-2: 8px;
  --to-space-3: 12px;
  --to-space-4: 16px;
  --to-space-5: 24px;
  --to-space-6: 32px;
  --to-space-7: 48px;
  --to-space-8: 72px;
  --to-space-9: 128px;
  --to-container: 1200px;
  --to-measure: 700px;
}
