/* Theme Variables - Design tokens */

:root {
    /* Colors - Updated from Figma node-id=216-4 */
    --primary-color: #126CB8;              /* Primary/Denim/300 */
    --primary-hover: #0f5a9a;              /* Darker shade for hover */
    --secondary-color: #6c757d;
    --accent-color: #126CB8;
    --text-color: #1f2931;                /* Typography/Limed Spruce 500 */
    --text-secondary: #2C3943;            /* Neutral/Limed Spruce 600 */
    --text-muted: #8C959E;                /* Type/Limed Spruce/Placeholder */
    --background-color: #ffffff;          /* Neutral/Nero 000 */
    --background-secondary: #f2f2f2;      /* Neutral/Concrete 200 */
    --border-color: #E0E0E0;              /* Neutral/Alto 300 */
    --border-light: #E0E0E0;
    --error-color: #D70015;              /* Core/Error */
    --success-color: #28a745;
    --warning-color: #ffc107;
    
    /* Typography */
    --font-family-primary: 'ProximaNova', 'Open Sans', sans-serif;
    --font-family-heading: 'ProximaNova', 'Open Sans', sans-serif;
    
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;               /* 16px - Body/Large */
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;            /* 24px for Body/Large (16px * 1.5) */
    --line-height-relaxed: 1.75;
    --line-height-medium: 1.4286;          /* 20px for Body/Medium (14px * 1.4286) */
    --line-height-cta: 1.1429;            /* 16px for CTA/Medium (14px * 1.1429) */
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-pill: 50px;
    --border-radius-round: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Base styles */
body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--text-color);
    background-color: var(--background-color);  /* #FFFFFF - White background */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-light);
    color: var(--text-color);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-md);
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-normal);
}

/* Focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
