:root {
  /* Color system */
  --color-dark: #0b1720;
  --color-dark-secondary: #17242d;
  --color-dark-elevated: #1f2f3a;

  --color-primary: #002d72;
  --color-primary-hover: #00245b;
  --color-primary-soft: #e6ecf5;
  --color-accent-hover: #ffed00;

  --color-background: #f6f7f8;
  --color-surface: #ffffff;

  --color-text: #111827;
  --color-text-muted: #667085;
  --color-text-inverse: #f6f7f8;
  --color-text-inverse-muted: #9fb0b8;

  --color-border: #e4e7ea;
  --color-border-dark: #2a3a44;

  --color-success: #16a34a;
  --color-success-soft: #e9f8ee;
  --color-warning: #f59e0b;
  --color-error: #dc2626;
  --color-error-soft: #fdecec;

  /* Typography */
  --font-base: "Inter", Arial, Helvetica, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  --fs-3xl: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
  --fs-4xl: clamp(2.75rem, 2rem + 3vw, 4.25rem);

  --lh-tight: 1.15;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;

  /* Layout */
  --content-max: 1240px;
  --content-padding: clamp(1.25rem, 4vw, 3rem);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 23, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 23, 32, 0.08);
  --shadow-lg: 0 20px 48px rgba(11, 23, 32, 0.14);
  --shadow-focus: 0 0 0 3px rgba(0, 45, 114, 0.25);

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0.6, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 220ms;
  --duration-slow: 320ms;

  /* Z-index scale */
  --z-header: 100;
  --z-drawer: 200;
  --z-modal: 300;
  --z-toast: 400;
}

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