:root {
    /* ---- Spacing scale (8px rhythm) ---- */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;

    /* ---- Neutral gray scale (cool gray) ---- */
    --gray-25: #FCFCFD;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* ---- Brand / semantic aliases ---- */
    --color-primary: #123A5C;
    --color-primary-dark: #0D2C46;

    --color-accent: #128F82;
    --color-accent-hover: #0F756A;
    --color-accent-light: #17B7A6;
    --color-accent-subtle: rgba(23, 183, 166, 0.08);
    --color-accent-subtle-strong: rgba(23, 183, 166, 0.16);
    --color-focus-ring: rgba(18, 143, 130, 0.35);

    --color-bg-page: var(--gray-50);
    --color-surface: #FFFFFF;
    --color-text: var(--gray-800);
    --color-text-secondary: var(--gray-500);
    --color-text-tertiary: var(--gray-400);
    --color-border: var(--gray-200);
    --color-border-strong: var(--gray-300);

    /* ---- Semantic status colors ---- */
    --color-success: #067647;
    --color-success-bg: #ECFDF3;
    --color-success-border: #ABEFC6;

    --color-danger: #B42318;
    --color-danger-bg: #FEF3F2;
    --color-danger-border: #FECDCA;

    --color-warning: #B54708;
    --color-warning-bg: #FFFAEB;
    --color-warning-border: #FEDF89;

    /* ---- Typography ---- */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, "Courier New", monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.8125rem;
    --text-base: 0.9375rem;
    --text-md: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.25rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;

    /* ---- Radius scale ---- */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 999px;

    /* ---- Shadows ---- */
    --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.04);
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
    --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.08), 0 2px 4px -2px rgba(16, 24, 40, 0.04);
    --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);

    /* ---- Transitions ---- */
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms var(--ease-standard);
    --transition-base: 200ms var(--ease-standard);
    --transition-slow: 250ms var(--ease-standard);
}

body {
    background-color: var(--color-bg-page);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}
