:root {
  --color-primary: #2F6FB3;
  --color-primary-dark: #1D4F86;
  --color-primary-light: #6EA7DA;
  --color-secondary: #7A4E2D;
  --color-secondary-dark: #4F311D;
  --color-accent: #FFB84A;
  --color-accent-soft: #FFE2A6;

  --color-bg: #FBF7EF;
  --color-bg-alt: #EAF4FF;
  --color-bg-card: #FFFFFF;
  --color-surface: #FFFFFF;

  --color-text: #1A1A2E;
  --color-text-soft: #4A4A5E;
  --color-text-muted: #7A7A8E;
  --color-border: #E5D9CB;
  --color-border-strong: #CDBA9F;

  --color-success: #2DBE6C;
  --color-error: #E74C3C;
  --color-warning: #F39C12;

  --grad-primary: linear-gradient(135deg, #2F6FB3 0%, #72B8E8 100%);
  --grad-secondary: linear-gradient(135deg, #7A4E2D 0%, #C5864D 100%);
  --grad-warm: linear-gradient(135deg, #DCECFB 0%, #FFF0C4 52%, #C5864D 100%);
  --grad-cool: linear-gradient(135deg, #EAF4FF 0%, #D4E9F8 100%);
  --grad-radial: radial-gradient(circle at top right, #72B8E833, transparent 70%);

  --shadow-sm: 0 2px 6px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 20px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(26, 26, 46, 0.12);
  --shadow-xl: 0 24px 60px rgba(26, 26, 46, 0.16);
  --shadow-glow: 0 0 40px rgba(47, 111, 179, 0.28);
  --shadow-inner: inset 0 2px 6px rgba(26, 26, 46, 0.05);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 4rem;
  --fs-5xl: 5.5rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --container-max: 1200px;
  --container-narrow: 880px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.18s var(--ease-out);
  --transition-base: 0.32s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --color-bg: #14131C;
    --color-bg-alt: #1C1B27;
    --color-bg-card: #1F1E2A;
    --color-surface: #25243A;
    --color-text: #F5F1E8;
    --color-text-soft: #C8C2B5;
    --color-text-muted: #8A8499;
    --color-border: #2D2C3F;
    --color-border-strong: #3D3C50;
  }
}

:root[data-theme="dark"] {
  --color-bg: #14131C;
  --color-bg-alt: #1C1B27;
  --color-bg-card: #1F1E2A;
  --color-surface: #25243A;
  --color-text: #F5F1E8;
  --color-text-soft: #C8C2B5;
  --color-text-muted: #8A8499;
  --color-border: #2D2C3F;
  --color-border-strong: #3D3C50;
}
