/*
 * Hot Lap: design tokens
 * A loud, cinematic dark look that feels like the start screen of a game. Pure black pages,
 * full-bleed hero art that fades into the black, wide all-caps display type, and small
 * tracked mono labels that read like a heads-up display. Buttons are hard white rectangles
 * with mono uppercase text. Color lives in the art: volt lime, signal orange, sky blue and
 * gold, with checkerboards and target rings as the recurring motifs.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Unbounded:wght@600;700;800&family=Instrument+Sans:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: black first, everything else steps up from it */
  --hl-black: #050506;       /* page background */
  --hl-coal: #0f1013;        /* cards, panels, sections that need a lift */
  --hl-graphite: #1b1c21;    /* inputs, raised cards, chips */
  --hl-steel: #2a2c33;       /* hover on raised things, track lines */

  /* Lines */
  --hl-line: rgba(255, 255, 255, .12);
  --hl-line-strong: rgba(255, 255, 255, .28);
  --hl-rule: rgba(255, 255, 255, .7);     /* the thin white rule over a hero eyebrow */

  /* Text */
  --hl-bone: #f3f2ec;        /* headlines, primary text, the primary button fill */
  --hl-gray: #a3a4ab;        /* body and leads */
  --hl-mute: #62646c;        /* labels, metadata, inactive progress dashes */

  /* Accents: loud, but they live in art, badges and one highlight per block */
  --hl-volt: #d4f24c;        /* the hero accent: live, winning, the featured plan */
  --hl-volt-soft: rgba(212, 242, 76, .14);
  --hl-signal: #ff5b38;      /* HUD brackets, alerts, "now racing" */
  --hl-signal-soft: rgba(255, 91, 56, .14);
  --hl-sky: #4a82ff;         /* links inside prose, info, art */
  --hl-sky-soft: rgba(74, 130, 255, .14);
  --hl-gold: #f3c233;        /* rings, podium, art */

  /* Art helpers */
  --hl-check: repeating-conic-gradient(var(--hl-bone) 0 25%, var(--hl-black) 0 50%);
  --hl-check-volt: repeating-conic-gradient(var(--hl-volt) 0 25%, #4b2bb8 0 50%);
  --hl-stage-fade: linear-gradient(180deg, transparent 35%, rgba(5, 5, 6, .55) 62%, var(--hl-black) 92%);
  --hl-stage-side: linear-gradient(90deg, rgba(5, 5, 6, .75), transparent 60%);

  /* Type */
  --hl-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --hl-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hl-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --hl-text-hero: clamp(36px, 5.4vw, 78px);
  --hl-text-h1: clamp(34px, 4.8vw, 64px);
  --hl-text-h2: clamp(26px, 3.4vw, 44px);
  --hl-text-h3: 19px;
  --hl-text-lead: 18px;
  --hl-text-body: 16px;
  --hl-text-small: 14px;
  --hl-text-label: 12px;

  --hl-tracking-display: -.01em;
  --hl-tracking-label: .16em;
  --hl-leading-display: .98;

  /* Shape: hard corners on buttons and frames, a little round on cards, pills on toggles */
  --hl-radius-0: 0;
  --hl-radius-sm: 4px;
  --hl-radius: 10px;
  --hl-radius-lg: 18px;
  --hl-radius-pill: 999px;
  --hl-border: 1px solid var(--hl-line);
  --hl-border-strong: 1px solid var(--hl-line-strong);
  --hl-shadow-device: 0 40px 80px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
  --hl-glow-volt: 0 0 0 1px var(--hl-volt), 0 0 40px -6px rgba(212, 242, 76, .45);

  /* Space */
  --hl-space-1: 4px;
  --hl-space-2: 8px;
  --hl-space-3: 16px;
  --hl-space-4: 24px;
  --hl-space-5: 40px;
  --hl-space-6: 72px;
  --hl-section: clamp(80px, 10vw, 150px);
  --hl-container: 1180px;
  --hl-measure: 680px;

  /* Motion */
  --hl-fast: .15s ease;
  --hl-slide: .6s cubic-bezier(.2, .7, .2, 1);
}
