:root {
    /* Semantic roles reference the approved palette; brand values stay in colors.css. */
    --surface-brand: var(--brand-green-800);
    --text-on-brand: var(--brand-green-100);
    --paper: var(--brand-gray-50);
    --surface-raised: #FFFFFF;
    --ink: var(--brand-gray-900);
    --muted: var(--brand-gray-600);
    --line: var(--brand-gray-200);
    --brand: var(--surface-brand);
    --link: var(--brand-blue-700);
    --accent: var(--brand-orange-500);
    --accent-ink: var(--brand-orange-800);
    --focus: var(--brand-blue-700);

    --font-editorial: 'Montserrat', system-ui, sans-serif;
    --font-code: ui-monospace, monospace;
    --type-display: clamp(2.25rem, 4.4vw, 3.5rem);
    --type-title: clamp(2rem, 4vw, 3.5rem);
    --type-reading: clamp(1rem, .96rem + .18vw, 1.125rem);
    --type-ui: .875rem;
    --type-caption: .75rem;
    --type-label: .6875rem;
    --line-reading: 1.75;
    --line-ui: 1.6;

    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4.5rem;
    --space-9: 7rem;
    --gutter-page: 3rem;
    --width-page: 76.25rem;
    --width-reading: 70ch;
    --grid-gap: clamp(1rem, 1.7vw, 1.75rem);

    --radius-small: 4px;
    --radius-control: 6px;
    --radius-panel: 12px;
    --radius-pill: 999px;
    --target-min: 44px;
    --layer-backdrop: 60;
    --layer-drawer: 70;
    --layer-header: 40;
    --height-header: 76px;

    --duration-fast: 140ms;
    --duration-ui: 200ms;
    --duration-enter: 230ms;
    --duration-drawer: 260ms;
    --duration-editorial: 420ms;
    --duration-page: 320ms;
    --duration-nav-line: 900ms;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-standard: cubic-bezier(.2, .8, .2, 1);
    --ease-drawer: cubic-bezier(.22, 1.08, .36, 1);
}
