:root {
    --primary-50: #ecebf9;
    --primary-50-rgb: 236, 235, 249;
    --primary-100: #d9d7f4;
    --primary-100-rgb: 217, 215, 244;
    --primary-200: #b3afe9;
    --primary-200-rgb: 179, 175, 233;
    --primary-300: #8e88dd;
    --primary-300-rgb: 142, 136, 221;
    --primary-400: #6860d2;
    --primary-400-rgb: 104, 96, 210;
    --primary-500: #3d34b8;
    --primary-500-rgb: 61, 52, 184;
    --primary-600: #342c9c;
    --primary-600-rgb: 52, 44, 156;
    --primary-700: #2b2481;
    --primary-700-rgb: 43, 36, 129;
    --primary-800: #221d65;
    --primary-800-rgb: 34, 29, 101;
    --primary-900: #18154a;
    --primary-900-rgb: 24, 21, 74;
    --secondary-50: #f9ecf1;
    --secondary-50-rgb: 249, 236, 241;
    --secondary-100: #f3d8e4;
    --secondary-100-rgb: 243, 216, 228;
    --secondary-200: #e7b1c9;
    --secondary-200-rgb: 231, 177, 201;
    --secondary-300: #db8aae;
    --secondary-300-rgb: 219, 138, 174;
    --secondary-400: #cf6392;
    --secondary-400-rgb: 207, 99, 146;
    --secondary-500: #c4407a;
    --secondary-500-rgb: 196, 64, 122;
    --secondary-600: #a93467;
    --secondary-600-rgb: 169, 52, 103;
    --secondary-700: #8b2b55;
    --secondary-700-rgb: 139, 43, 85;
    --secondary-800: #6d2243;
    --secondary-800-rgb: 109, 34, 67;
    --secondary-900: #4f1931;
    --secondary-900-rgb: 79, 25, 49;
    --wood-50: #ecebf9;
    --wood-50-rgb: 236, 235, 249;
    --wood-100: #d9d7f4;
    --wood-100-rgb: 217, 215, 244;
    --wood-200: #b3afe9;
    --wood-200-rgb: 179, 175, 233;
    --wood-300: #8e88dd;
    --wood-300-rgb: 142, 136, 221;
    --wood-400: #6860d2;
    --wood-400-rgb: 104, 96, 210;
    --wood-500: #3d34b8;
    --wood-500-rgb: 61, 52, 184;
    --wood-600: #342c9c;
    --wood-600-rgb: 52, 44, 156;
    --wood-700: #2b2481;
    --wood-700-rgb: 43, 36, 129;
    --wood-800: #221d65;
    --wood-800-rgb: 34, 29, 101;
    --wood-900: #18154a;
    --wood-900-rgb: 24, 21, 74;
    --brand-primary: #3D34B8;
    --primary-color: #3D34B8;
    --secondary-color: #C4407A;
    --background-color: #ecebf9;
    --text-color: #18154a;
    --border-color: #b3afe9;
    --muted-color: #6860d2;
    --btn-primary: #3d34b8;
    --btn-primary-hover: #342c9c;
    --btn-secondary: #c4407a;
    --btn-secondary-hover: #a93467;
    --accent-color: #c4407a;
    --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:#f1f3fe;--c-surface-2:#e4e7f4;--c-line:#dcdfec;--c-line-strong:#b9bdd0;--c-text:#222537;--c-text-muted:#565a6c;--c-accent:#3e438d;--c-accent-hover:#32357d;--c-on-accent:#ffffff;--c-accent-soft:#e2e6fe;--c-focus:#5f66c2;--c-inverse:#222538;--c-on-inverse:#f0f1f8;--c-on-inverse-muted:#babdcc;--c-inverse-line:#393c4d;--c-secondary:#873356;--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:#101117;--c-surface:#181a23;--c-surface-2:#242630;--c-line:#30323c;--c-line-strong:#4e5162;--c-text:#e9ebf1;--c-text-muted:#acb0c5;--c-accent:#a5b1fe;--c-accent-hover:#bac3fb;--c-on-accent:#131521;--c-accent-soft:#282c43;--c-focus:#8f9bfb;--c-inverse:#060718;--c-on-inverse:#f0f1f8;--c-on-inverse-muted:#babdcc;--c-inverse-line:#1c1e2d;--c-secondary:#f596b8;--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:#101117;--c-surface:#181a23;--c-surface-2:#242630;--c-line:#30323c;--c-line-strong:#4e5162;--c-text:#e9ebf1;--c-text-muted:#acb0c5;--c-accent:#a5b1fe;--c-accent-hover:#bac3fb;--c-on-accent:#131521;--c-accent-soft:#282c43;--c-focus:#8f9bfb;--c-inverse:#060718;--c-on-inverse:#f0f1f8;--c-on-inverse-muted:#babdcc;--c-inverse-line:#1c1e2d;--c-secondary:#f596b8;--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);}
