/* NEAGON design tokens, generated from tokens.json (palette "Gettone").
 * Source of truth: the NEAGON design system artifact; do not edit values here by hand.
 * Themes: night (default) and day. Day applies with [data-theme="day"], or automatically
 * with prefers-color-scheme: light unless the page forces [data-theme="night"]. */

:root, [data-theme="night"] {
  --bg: #0b0a1f;
  --surface: #15132e;
  --surface-raised: #1f1c40;
  --line: #39346a;
  --line-strong: #7a73b4;
  --ink: #f4f1ff;
  --ink-muted: #b1abd6;
  --brand: #ff3fa4;
  --brand-strong: #ff6bb9;
  --on-brand: #0b0a1f;
  --brand-soft: #3a1440;
  --accent: #ffb627;
  --on-accent: #0b0a1f;
  --accent-soft: #3a2a0c;
  --hot: #3fd6ff;
  --on-hot: #0b0a1f;
  --success: #2fd3c4;
  --warning: #ffd84a;
  --danger: #ff6b4a;
  --info: #8fb4ff;
  --focus: #ffd84a;
  --overlay: rgba(5,4,15,0.76);
  --crt-black: #000000;
  --elev-1: 0 1px 0 0 #39346a;
  --elev-2: 0 8px 24px 0 rgba(0,0,0,0.5);
  --glow-brand: 0 0 0 1px #ff3fa4, 0 0 24px 0 rgba(255,63,164,0.45);
  --glow-accent: 0 0 0 1px #ffb627, 0 0 24px 0 rgba(255,182,39,0.45);
}

[data-theme="day"] {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-raised: #efece5;
  --line: #d6d0c2;
  --line-strong: #8a8478;
  --ink: #16142b;
  --ink-muted: #57526e;
  --brand: #c4127a;
  --brand-strong: #a10e64;
  --on-brand: #ffffff;
  --brand-soft: #fbe3ef;
  --accent: #9a5b00;
  --on-accent: #ffffff;
  --accent-soft: #fff1d1;
  --hot: #00729e;
  --on-hot: #ffffff;
  --success: #00756b;
  --warning: #7a5a00;
  --danger: #c0341a;
  --info: #2d55b8;
  --focus: #2d55b8;
  --overlay: rgba(22,20,43,0.5);
  --crt-black: #000000;
  --elev-1: 0 1px 2px 0 rgba(22,20,43,0.12);
  --elev-2: 0 8px 24px 0 rgba(22,20,43,0.16);
  --glow-brand: 0 0 0 1px #c4127a;
  --glow-accent: 0 0 0 1px #9a5b00;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="night"]) {
    --bg: #f7f5f0;
    --surface: #ffffff;
    --surface-raised: #efece5;
    --line: #d6d0c2;
    --line-strong: #8a8478;
    --ink: #16142b;
    --ink-muted: #57526e;
    --brand: #c4127a;
    --brand-strong: #a10e64;
    --on-brand: #ffffff;
    --brand-soft: #fbe3ef;
    --accent: #9a5b00;
    --on-accent: #ffffff;
    --accent-soft: #fff1d1;
    --hot: #00729e;
    --on-hot: #ffffff;
    --success: #00756b;
    --warning: #7a5a00;
    --danger: #c0341a;
    --info: #2d55b8;
    --focus: #2d55b8;
    --overlay: rgba(22,20,43,0.5);
    --crt-black: #000000;
    --elev-1: 0 1px 2px 0 rgba(22,20,43,0.12);
    --elev-2: 0 8px 24px 0 rgba(22,20,43,0.16);
    --glow-brand: 0 0 0 1px #c4127a;
    --glow-accent: 0 0 0 1px #9a5b00;
  }
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-0: 0;
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-pill: 999px;
  --cut-sm: 6px;
  --cut-md: 12px;
  --cut-lg: 20px;
  --scanline-opacity: 0.16;
  --scanline-pitch: 3px;
  --glow-blur: 24px;
  --dur-instant: 80ms;
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-attract: 400ms;
  --z-nav: 100;
  --z-toast: 300;
  --z-modal: 400;
  --z-banner: 500;
  --container: 1200px;
  --container-text: 720px;
  --nav-height: 64px;
  --tap-min: 44px;
  --font-display: "Saira", "Arial Narrow", sans-serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "DejaVu Sans Mono", monospace;
}

.display-xl { font-family: var(--font-display); font-size: 88px; line-height: 0.92; font-weight: 900; letter-spacing: -0.01em; font-style: italic; }
.display-l { font-family: var(--font-display); font-size: 56px; line-height: 0.95; font-weight: 900; letter-spacing: 0; font-style: italic; }
.heading-1 { font-family: var(--font-display); font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: 0; }
.heading-2 { font-family: var(--font-display); font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: 0; }
.heading-3 { font-family: var(--font-display); font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: 0.01em; }
.marquee { font-family: var(--font-display); font-size: 14px; line-height: 1.2; font-weight: 800; letter-spacing: 0.12em; }
.body-l { font-family: var(--font-sans); font-size: 18px; line-height: 1.6; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 1.55; font-weight: 400; }
.body-s { font-family: var(--font-sans); font-size: 14px; line-height: 1.45; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 14px; line-height: 1.3; font-weight: 600; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 1.35; font-weight: 500; letter-spacing: 0.02em; }
.score-xl { font-family: var(--font-mono); font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: 0.02em; }
.score { font-family: var(--font-mono); font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: 0.02em; }
.hud { font-family: var(--font-mono); font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: 0.06em; }
.initials { font-family: var(--font-mono); font-size: 24px; line-height: 1; font-weight: 700; letter-spacing: 0.2em; }
.display-xl, .display-l { font-stretch: 125%; text-transform: uppercase; }
.heading-1, .heading-2, .heading-3, .marquee { font-stretch: 112%; }
.marquee { text-transform: uppercase; }
.score-xl, .score, .hud, .initials { font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .display-xl { font-size: 48px; line-height: 0.95; }
  .display-l { font-size: 40px; line-height: 0.95; }
  .heading-1 { font-size: 32px; }
  .heading-2 { font-size: 24px; }
}
