:root {
  /* Color palette */
  --color-bg: #f6f7fb;
  --color-surface: #ffffff;
  --color-surface-alt: #f1f5f9;
  --color-border: #d8e0ec;
  --color-border-strong: #cbd5e1;
  --color-primary: #2563eb;
  --color-primary-strong: #1d4ed8;
  --color-primary-soft: #e8edfb;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #0ea5e9;
  --color-ghost: #eef2f7;
  --color-focus: #94b9ff;

  /* Typography */
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.9rem;
  --line-tight: 1.2;
  --line-snug: 1.35;
  --line-relaxed: 1.6;
  --letter-wide: 0.08em;

  /* Spacing (8px grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 2px 6px rgba(15, 26, 44, 0.06);
  --shadow-sm: 0 8px 18px rgba(15, 26, 44, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 26, 44, 0.12);
  --shadow-lg: 0 18px 40px rgba(15, 26, 44, 0.14);

  /* Borders */
  --border-width: 1px;
  --border-style: solid;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-padding: 1.25rem;
  --sidebar-width: 240px;

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 260ms ease;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}
