/* Design tokens. Change these first: every other stylesheet reads from them. */
:root {
  color-scheme: light dark;

  --color-bg: #f7f9fc;
  --color-surface: #ffffff;
  --color-text: #14213d;
  --color-muted: #51607a;
  --color-border: #d9e1ec;
  --color-primary: #1f5fbf;
  --color-primary-contrast: #ffffff;
  --color-accent: #11a3a3;
  --color-focus: #f2a541;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-body);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --line-height: 1.6;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;

  --radius: 0.5rem;
  --shadow: 0 1px 2px rgb(20 33 61 / 0.06), 0 4px 12px rgb(20 33 61 / 0.06);
  --container: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0e1524;
    --color-surface: #16203a;
    --color-text: #e6ecf5;
    --color-muted: #a3b1c8;
    --color-border: #2a3756;
    --color-primary: #6ea8ff;
    --color-primary-contrast: #0e1524;
    --color-accent: #4fd1c5;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 4px 12px rgb(0 0 0 / 0.25);
  }
}
