/* Visual tokens only. styles.css must reference these custom properties and
   never hard-code a color, font, radius, or shadow, so a rebrand only
   touches this file. */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

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

  --max-content-width: 760px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);

  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;

  --color-text: #0f172a;
  --color-text-muted: #52606f;
  --color-text-faint: #94a3b8;

  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-accent-contrast: #ffffff;

  --color-success: #16a34a;
  --color-success-bg: #f0fdf4;
  --color-danger: #dc2626;
  --color-danger-bg: #fef2f2;
  --color-warning: #b45309;
  --color-warning-bg: #fffbeb;

  --color-focus-ring: #2563eb;

  --transition-fast: 120ms ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0b1120;
    --color-surface: #131b2e;
    --color-surface-raised: #1a2338;
    --color-border: #263049;
    --color-border-strong: #33405f;

    --color-text: #e6ebf5;
    --color-text-muted: #a3adc2;
    --color-text-faint: #6b7690;

    --color-accent: #5b8def;
    --color-accent-hover: #7ea3f2;
    --color-accent-contrast: #08101f;

    --color-success: #4ade80;
    --color-success-bg: #10261a;
    --color-danger: #f87171;
    --color-danger-bg: #2a1414;
    --color-warning: #fbbf24;
    --color-warning-bg: #2a2010;

    --color-focus-ring: #7ea3f2;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  }
}
