/* Rebel Racerz: brand tokens. Colours sampled from the REAL logo (brand-source/rebel-racerz-wordmark-full.png), see docs/BRAND.md.
   Layer 1 = raw logo colours. Layer 2 = semantic tokens (the SAME names exist in lzlabz/static/css/tokens.css, so family.css works on both).
   Change colours here only; run `python3 tools/check-contrast.py` after every change. */
:root{
  /* 1. logo palette (k-means on the wordmark; share of pixels in docs/BRAND.md) */
  --rr-ink:#02020b;      /* night sky behind the lettering */
  --rr-night:#121341;    /* deep indigo */
  --rr-navy:#101a88;
  --rr-royal:#222ecf;    /* electric blue */
  --rr-azure:#1d7ddb;
  --rr-cyan:#25daf1;     /* crown outline, "REBEL" glow, neon cyan */
  --rr-violet:#8219df;
  --rr-magenta:#d822f0;  /* "RACERZ" end of the gradient, pink-magenta swoosh */
  --rr-white:#f3f5fa;    /* brush white lettering, chequered flag */
  --rr-ice:#adc5ee;      /* pale blue highlights */
  --rr-steel:#7c8ad6;
  --rr-slate:#4a4d75;
  /* derived (not sampled): a panel step between night and royal, and a UI line colour that passes 3:1 */
  --rr-panel2:#1a1c5a;
  --rr-line:#525acb;
  --rr-warn:#ffd60a;     /* placeholder chips and the draft strip ONLY. Not a brand colour. */

  /* 2. semantic tokens (shared names across the family) */
  --bg:var(--rr-ink);
  --surface:var(--rr-night);
  --surface-2:var(--rr-panel2);
  --line:var(--rr-line);            /* decorative borders (non-text) */
  --text:var(--rr-white);
  --text-muted:var(--rr-ice);
  --link:var(--rr-cyan);
  --link-hover:#ffffff;
  --accent:var(--rr-cyan);          /* primary button background */
  --on-accent:var(--rr-ink);        /* text on the primary button */
  --accent-2:var(--rr-magenta);     /* secondary accent: kickers, shadows, rules */
  --highlight:var(--rr-violet);     /* decorative blocks, large UI */
  --focus:#ffffff;
  --warn:var(--rr-warn);
  --on-warn:#1a1400;
  --brand-gradient:linear-gradient(95deg,var(--rr-white) 0%,var(--rr-cyan) 28%,var(--rr-azure) 50%,var(--rr-violet) 72%,var(--rr-magenta) 100%);

  /* 3. typography feel: heavy, slanted, brush-lettered capitals (the game itself uses Bangers as its nearest Roblox font) */
  --font-display:"Bangers","Arial Black","Avenir Next Condensed",Impact,system-ui,sans-serif; /* self-hosted from static/fonts/ (see @font-face in site.css); the rest are fallbacks */
  --font-body:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --display-style:italic;
  --display-case:uppercase;
  --display-tracking:.01em;
  --display-skew:-8deg;
}
