:root {
    --font-body: 'Source Sans 3', sans-serif;
    --font-heading: 'Manrope', sans-serif;
    --bg-surface: rgb(255 255 255);
    --bg-page: rgb(248 247 243);
    --bg-brand: rgb(23 52 49);
    --bg-muted: rgb(239 243 240);
    --text-primary: rgb(27 45 42);
    --text-secondary: rgb(85 103 98);
    --text-on-brand: rgb(245 247 239);
    --text-brand-muted: rgb(184 205 194);
    --accent: rgb(27 100 79);
    --accent-hover: rgb(20 77 61);
    --border: rgb(206 215 208);
    --border-brand: rgb(66 93 82);
    --focus-ring: rgb(179 207 189);
    --error: rgb(163 43 43);
    --bg-danger: rgb(251 237 235);
    --text-danger: rgb(163 43 43);
    --bg-warning: rgb(250 243 223);
    --text-warning: rgb(132 85 18);
    --bg-success: rgb(231 243 234);
    --text-success: rgb(35 104 67);
    --bg-info: rgb(232 241 246);
    --text-info: rgb(40 90 115);
    --bg-selected: rgb(227 239 231);
    --text-disabled: rgb(120 134 128);
    --bg-overlay: rgb(16 32 27 / .46);
    --shadow-color: rgb(16 32 27 / .08);
    --shadow-raised: 0 8px 28px var(--shadow-color);
    --shadow-panel: 0 2px 8px var(--shadow-color);
    --border-focus: rgb(27 100 79);
    --radius-control: 8px;
    --radius-panel: 12px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 24px;
    --text-2xl: 30px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg-page); color: var(--text-primary); font-family: var(--font-body); font-size: 16px; }
button, input { font: inherit; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
button, input, select, textarea { font-family: var(--font-body); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
