﻿:root {
    /* -------------------------------------------------
       Brand colours
       ------------------------------------------------- */

    --color-brand-navy-950: #172056;
    --color-brand-navy-900: #202866;
    --color-brand-navy-800: #26357d;
    --color-brand-blue-700: #3156aa;
    --color-brand-blue-600: #3e6fc2;
    --color-brand-blue-500: #4e91d0;
    --color-brand-blue-400: #6aa7dc;
    --color-brand-blue-300: #9bc6e9;
    --color-brand-blue-200: #cfe3f4;
    --color-brand-blue-100: #eaf2fb;
    --color-brand-blue-50: #f5f9fd;
    /* -------------------------------------------------
       Neutral colours
       ------------------------------------------------- */

    --color-white: #ffffff;
    --color-slate-950: #111827;
    --color-slate-900: #182033;
    --color-slate-800: #253047;
    --color-slate-700: #3e4a61;
    --color-slate-600: #5d667d;
    --color-slate-500: #7a8498;
    --color-slate-400: #9ba4b5;
    --color-slate-300: #c5ccd8;
    --color-slate-200: #dfe5ef;
    --color-slate-100: #edf1f6;
    --color-slate-50: #f7f9fc;
    /* -------------------------------------------------
       Semantic colours
       ------------------------------------------------- */

    --color-text: var(--color-brand-navy-950);
    --color-text-strong: var(--color-brand-navy-950);
    --color-text-muted: var(--color-slate-600);
    --color-text-subtle: var(--color-slate-500);
    --color-link: var(--color-brand-blue-700);
    --color-link-hover: var(--color-brand-navy-900);
    --color-background: var(--color-white);
    --color-background-muted: var(--color-slate-50);
    --color-background-soft: var(--color-brand-blue-50);
    --color-surface: var(--color-white);
    --color-surface-elevated: var(--color-white);
    --color-border: var(--color-slate-200);
    --color-border-strong: var(--color-slate-300);
    --color-success: #2f7d58;
    --color-success-soft: #e9f5ef;
    --color-warning: #9a681d;
    --color-warning-soft: #fff6df;
    --color-danger: #ad3948;
    --color-danger-soft: #fcecef;
    /* -------------------------------------------------
       Brand gradients
       ------------------------------------------------- */

    --gradient-brand: linear-gradient( 135deg, var(--color-brand-blue-500) 0%, var(--color-brand-blue-700) 48%, var(--color-brand-navy-900) 100% );
    --gradient-brand-soft: linear-gradient( 135deg, var(--color-brand-blue-50) 0%, var(--color-white) 55%, #f2f5fb 100% );
    --gradient-dark: linear-gradient( 135deg, var(--color-brand-navy-950) 0%, var(--color-brand-navy-800) 100% );
    /* -------------------------------------------------
       Typography
       ------------------------------------------------- */

    --font-family-sans: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-family-heading: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-size-2xs: 0.75rem;
    --font-size-xs: 0.8125rem;
    --font-size-sm: 0.9375rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.75rem;
    --font-size-4xl: 3.5rem;
    --font-size-5xl: 4.5rem;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-tight: 1.05;
    --line-height-heading: 1.15;
    --line-height-snug: 1.35;
    --line-height-body: 1.65;
    --letter-spacing-tight: -0.035em;
    --letter-spacing-heading: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.08em;
    /* -------------------------------------------------
       Spacing
       ------------------------------------------------- */

    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-7: 1.75rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-14: 3.5rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-28: 7rem;
    --space-32: 8rem;
    /* -------------------------------------------------
       Layout
       ------------------------------------------------- */

    --container-width: 75rem;
    --container-width-narrow: 52rem;
    --container-padding: 1.5rem;
    --header-height: 5.25rem;
    --section-spacing: 7rem;
    --section-spacing-small: 5rem;
    /* -------------------------------------------------
       Border radius
       ------------------------------------------------- */

    --radius-xs: 0.375rem;
    --radius-sm: 0.625rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-2xl: 2.5rem;
    --radius-pill: 999px;
    /* -------------------------------------------------
       Shadows
       ------------------------------------------------- */

    --shadow-xs: 0 1px 2px rgba(23, 32, 86, 0.06);
    --shadow-sm: 0 6px 18px rgba(23, 32, 86, 0.08);
    --shadow-md: 0 16px 40px rgba(23, 32, 86, 0.1);
    --shadow-lg: 0 28px 70px rgba(23, 32, 86, 0.14);
    --shadow-brand: 0 24px 60px rgba(49, 86, 170, 0.22);
    /* -------------------------------------------------
       Borders
       ------------------------------------------------- */

    --border-width: 1px;
    --border-standard: var(--border-width) solid var(--color-border);
    --border-strong: var(--border-width) solid var(--color-border-strong);
    /* -------------------------------------------------
       Motion
       ------------------------------------------------- */

    --transition-fast: 140ms ease;
    --transition-base: 220ms ease;
    --transition-slow: 360ms ease;
    /* -------------------------------------------------
       Layering
       ------------------------------------------------- */

    --z-base: 1;
    --z-header: 100;
    --z-overlay: 500;
    --z-modal: 1000;
}

@media (max-width: 64rem) {
    :root {
        --container-padding: 1.25rem;
        --section-spacing: 5.5rem;
        --section-spacing-small: 4rem;
        --header-height: 4.75rem;
    }
}

@media (max-width: 48rem) {
    :root {
        --container-padding: 1rem;
        --section-spacing: 4.5rem;
        --section-spacing-small: 3.5rem;
        --font-size-3xl: 2.25rem;
        --font-size-4xl: 2.75rem;
        --font-size-5xl: 3.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-fast: 0ms;
        --transition-base: 0ms;
        --transition-slow: 0ms;
    }
}
