:root {
    color-scheme: light;

    --color-bg: #FFFFFB;
    --color-bg-soft: #FAFAF7;
    --color-surface: #FAFAF7;
    --color-surface-strong: #FFFFFF;
    --color-text: #1A1A18;
    --color-text-body: #505C57;
    --color-text-muted: #717A76;
    --color-border: #E5E5E5;
    --color-border-strong: #D4D4D4;
    --color-accent: #CA3A18;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #DC2626;
    --color-info: #3B82F6;

    --font-base: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: Georgia, "Times New Roman", serif;

    --font-size-display: clamp(3.5rem, 7vw, 4.5rem);
    --font-size-h1: clamp(3rem, 7vw, 4.5rem);
    --font-size-h2: clamp(1.75rem, 3vw, 2rem);
    --font-size-h3: clamp(1.125rem, 2vw, 1.25rem);
    --font-size-body: 1rem;
    --font-size-caption: 0.8125rem;
    --font-size-eyebrow: 0.6875rem;

    --line-height-display: 1;
    --line-height-h1: 1.05;
    --line-height-h2: 1.15;
    --line-height-h3: 1.25;
    --line-height-body: 1.65;
    --line-height-caption: 1.4;

    --font-weight-regular: 400;
    --font-weight-medium: 500;

    --letter-spacing-h1: -1.5px;
    --letter-spacing-eyebrow: 1.2px;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    --container-xl: 1200px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --shadow-soft: 0 12px 32px rgba(26, 26, 24, 0.08);
    --shadow-card: 0 18px 48px rgba(26, 26, 24, 0.12);
}

html.theme-dark,
body.theme-dark {
    color-scheme: dark;

    --color-bg: #0A1420;
    --color-bg-soft: #112236;
    --color-surface: #112236;
    --color-surface-strong: #1A2F4A;
    --color-text: #F5F9FC;
    --color-text-body: #B8C9DC;
    --color-text-muted: #8A9BAA;
    --color-border: rgba(255, 255, 255, 0.10);
    --color-border-strong: rgba(255, 255, 255, 0.16);
    --color-accent: #38CBD9;
    --color-success: #30D08D;
    --color-warning: #F2C94C;
    --color-danger: #FF6B7A;
    --color-info: #65A9EA;

    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.28);
    --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.36);
}
