/* NovaStrataAI design tokens — generated from the NovaStrataAI Design System (tokens.json), 2026-11-14.
   Light is the default. Dark applies when the visitor's system is dark and they have not chosen light,
   or when they choose dark with the header toggle (html[data-theme="dark"]). */

:root {
  color-scheme: light dark;
  --paper: #faf8f3;
  --surface: #ffffff;
  --surface-sunk: #f1eee6;
  --hairline: #e2ded4;
  --ink: #1b2233;
  --ink-muted: #5a6275;
  --accent-text: #1a3a8f;
  --blue: #1a3a8f;
  --blue-bright: #2f57b8;
  --gold: #d4a12a;
  --gold-bright: #f0c452;
  --action: #d4a12a;
  --on-action: #1b2233;
  --focus: #1a3a8f;
  --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-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font-sans: Epilogue, -apple-system, system-ui, sans-serif;
  --type-display-size: 56px; --type-display-line: 60px; --type-display-weight: 700; --type-display-tracking: -0.02em;
  --type-h1-size: 44px; --type-h1-line: 50px; --type-h1-weight: 700; --type-h1-tracking: -0.015em;
  --type-h2-size: 32px; --type-h2-line: 40px; --type-h2-weight: 700; --type-h2-tracking: -0.01em;
  --type-h3-size: 22px; --type-h3-line: 30px; --type-h3-weight: 600;
  --type-lead-size: 20px; --type-lead-line: 32px; --type-lead-weight: 400;
  --type-body-size: 17px; --type-body-line: 28px; --type-body-weight: 400;
  --type-label-size: 15px; --type-label-line: 20px; --type-label-weight: 600;
  --type-caption-size: 13px; --type-caption-line: 18px; --type-caption-weight: 400;
}

/* Visitor chose dark with the toggle */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0c1222;
  --surface: #151c2f;
  --surface-sunk: #0a0f1c;
  --hairline: #26304a;
  --ink: #f2eee4;
  --ink-muted: #a3a9b8;
  --accent-text: #e8b84a;
  --blue: #3d66d1;
  --blue-bright: #6088e6;
  --gold: #d9a82e;
  --gold-bright: #f2c760;
  --action: #e8b84a;
  --on-action: #0c1222;
  --focus: #e8b84a;
}

/* No choice made: follow the system setting */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0c1222;
    --surface: #151c2f;
    --surface-sunk: #0a0f1c;
    --hairline: #26304a;
    --ink: #f2eee4;
    --ink-muted: #a3a9b8;
    --accent-text: #e8b84a;
    --blue: #3d66d1;
    --blue-bright: #6088e6;
    --gold: #d9a82e;
    --gold-bright: #f2c760;
    --action: #e8b84a;
    --on-action: #0c1222;
    --focus: #e8b84a;
  }
}

html[data-theme="light"] { color-scheme: light; }
