/* Jarvis design tokens. Source of truth: design/tokens.json */

:root {
  color-scheme: dark;

  --bg-base: #0A0E14;
  --bg-surface: #111820;
  --bg-elevated: #18212C;
  --border: #1F2C3A;
  --text-primary: #E6EDF3;
  --text-muted: #8B98A5;
  --accent: #22D3EE;
  --accent-strong: #0EA5E9;
  --accent-contrast: #04121A;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --glow: 0 0 24px rgba(34, 211, 238, 0.25);

  --radius: 12px;
  --radius-sm: 8px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  --font-ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

  --bg-base: #F6F8FA;
  --bg-surface: #FFFFFF;
  --bg-elevated: #EEF2F6;
  --border: #D8DEE6;
  --text-primary: #0F172A;
  --text-muted: #5B6878;
  --accent: #0E7490;
  --accent-strong: #075985;
  --accent-contrast: #FFFFFF;
  /* Accessible text colors on white/light surfaces (WCAG AA normal text). */
  --success: #166534;
  --warning: #92400E;
  --danger: #B91C1C;
  --glow: none;
}
