:root {
    --primary-50: #e9eefb;
    --primary-50-rgb: 233, 238, 251;
    --primary-100: #d3ddf8;
    --primary-100-rgb: 211, 221, 248;
    --primary-200: #a8bbf0;
    --primary-200-rgb: 168, 187, 240;
    --primary-300: #7c99e9;
    --primary-300-rgb: 124, 153, 233;
    --primary-400: #5077e2;
    --primary-400-rgb: 80, 119, 226;
    --primary-500: #1e46b4;
    --primary-500-rgb: 30, 70, 180;
    --primary-600: #193b99;
    --primary-600-rgb: 25, 59, 153;
    --primary-700: #15317e;
    --primary-700-rgb: 21, 49, 126;
    --primary-800: #102663;
    --primary-800-rgb: 16, 38, 99;
    --primary-900: #0c1c48;
    --primary-900-rgb: 12, 28, 72;
    --secondary-50: #fbeaee;
    --secondary-50-rgb: 251, 234, 238;
    --secondary-100: #f7d4dc;
    --secondary-100-rgb: 247, 212, 220;
    --secondary-200: #eeaaba;
    --secondary-200-rgb: 238, 170, 186;
    --secondary-300: #e67f97;
    --secondary-300-rgb: 230, 127, 151;
    --secondary-400: #de5475;
    --secondary-400-rgb: 222, 84, 117;
    --secondary-500: #c2264b;
    --secondary-500-rgb: 194, 38, 75;
    --secondary-600: #a52040;
    --secondary-600-rgb: 165, 32, 64;
    --secondary-700: #881b34;
    --secondary-700-rgb: 136, 27, 52;
    --secondary-800: #6b1529;
    --secondary-800-rgb: 107, 21, 41;
    --secondary-900: #4e0f1e;
    --secondary-900-rgb: 78, 15, 30;
    --wood-50: #e9eefb;
    --wood-50-rgb: 233, 238, 251;
    --wood-100: #d3ddf8;
    --wood-100-rgb: 211, 221, 248;
    --wood-200: #a8bbf0;
    --wood-200-rgb: 168, 187, 240;
    --wood-300: #7c99e9;
    --wood-300-rgb: 124, 153, 233;
    --wood-400: #5077e2;
    --wood-400-rgb: 80, 119, 226;
    --wood-500: #1e46b4;
    --wood-500-rgb: 30, 70, 180;
    --wood-600: #193b99;
    --wood-600-rgb: 25, 59, 153;
    --wood-700: #15317e;
    --wood-700-rgb: 21, 49, 126;
    --wood-800: #102663;
    --wood-800-rgb: 16, 38, 99;
    --wood-900: #0c1c48;
    --wood-900-rgb: 12, 28, 72;
    --brand-primary: #1E46B4;
    --primary-color: #1E46B4;
    --secondary-color: #C2264B;
    --background-color: #e9eefb;
    --text-color: #0c1c48;
    --border-color: #a8bbf0;
    --muted-color: #5077e2;
    --btn-primary: #1e46b4;
    --btn-primary-hover: #193b99;
    --btn-secondary: #c2264b;
    --btn-secondary-hover: #a52040;
    --accent-color: #c2264b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;

    /* Spacing Variables - Mobile First */
    --section-padding-y: 1.25rem;
    --section-padding-x: 0.75rem;
    --card-padding: 1rem;
    --container-max-width: 1280px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(67, 48, 43, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(67, 48, 43, 0.1), 0 2px 4px -1px rgba(67, 48, 43, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(67, 48, 43, 0.1), 0 4px 6px -2px rgba(67, 48, 43, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(67, 48, 43, 0.1), 0 10px 10px -5px rgba(67, 48, 43, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(67, 48, 43, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

/* Responsive spacing adjustments */
@media (min-width: 640px) {
    :root {
        --section-padding-y: 2rem;
        --section-padding-x: 1rem;
        --card-padding: 1.25rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --section-padding-y: 3rem;
        --section-padding-x: 1.5rem;
        --card-padding: 1.5rem;
    }
}

/* Role colours, light and dark */
:root{color-scheme:light;--c-page:#fdfdff;--c-surface:#eff4fe;--c-surface-2:#e2e8f4;--c-line:#dae0ec;--c-line-strong:#b5bed0;--c-text:#1e2637;--c-text-muted:#525b6c;--c-accent:#2b498e;--c-accent-hover:#1e3b7e;--c-on-accent:#ffffff;--c-accent-soft:#dde8ff;--c-focus:#486dc3;--c-inverse:#1e2638;--c-on-inverse:#eff2f8;--c-on-inverse-muted:#b7becc;--c-inverse-line:#353d4d;--c-secondary:#8b3341;--c-success:#197037;--c-success-soft:#e4f8e7;--c-made:#815206;--c-made-soft:#feefde;--c-danger:#963e35;--c-danger-soft:#ffedea;--c-overlay:rgba(30,20,15,.45);}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--c-page:#0f1218;--c-surface:#161b23;--c-surface-2:#222630;--c-line:#2e333c;--c-line-strong:#4b5362;--c-text:#e8ebf1;--c-text-muted:#a8b1c5;--c-accent:#94b6ff;--c-accent-hover:#aec7fc;--c-on-accent:#111621;--c-accent-soft:#232d43;--c-focus:#78a2fc;--c-inverse:#030818;--c-on-inverse:#eff2f8;--c-on-inverse-muted:#b7becc;--c-inverse-line:#181f2e;--c-secondary:#fa96a0;--c-success:#83d494;--c-success-soft:#15291a;--c-made:#efb062;--c-made-soft:#30200d;--c-danger:#fda296;--c-danger-soft:#351c19;--c-overlay:rgba(0,0,0,.6);}}
:root[data-theme=dark]{color-scheme:dark;--c-page:#0f1218;--c-surface:#161b23;--c-surface-2:#222630;--c-line:#2e333c;--c-line-strong:#4b5362;--c-text:#e8ebf1;--c-text-muted:#a8b1c5;--c-accent:#94b6ff;--c-accent-hover:#aec7fc;--c-on-accent:#111621;--c-accent-soft:#232d43;--c-focus:#78a2fc;--c-inverse:#030818;--c-on-inverse:#eff2f8;--c-on-inverse-muted:#b7becc;--c-inverse-line:#181f2e;--c-secondary:#fa96a0;--c-success:#83d494;--c-success-soft:#15291a;--c-made:#efb062;--c-made-soft:#30200d;--c-danger:#fda296;--c-danger-soft:#351c19;--c-overlay:rgba(0,0,0,.6);}
