@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* COLOR PALETTE - Primary (Deep Navy - authority, trust) */
    --color-primary: #374254;
    --color-primary-dark: #0e1424;
    --color-primary-hover: #2a3344;

    /* Secondary (Blue-lavender - technology, subtlety) */
    --color-secondary: #8a8fa3;
    --color-secondary-light: #adbbc6;

    /* Accent (Steel Blue - clarity, calm) */
    --color-accent: #adbbc6;

    /* Neutrals */
    --color-bg: #f9f9fb;
    --color-bg-section: #ececec;
    --color-bg-alt: #f2f4f6;
    --color-white: #FFFFFF;
    --color-text-primary: #0e1424;
    --color-text-secondary: #374254;
    --color-text-muted: #8a8fa3;
    --color-border: #d6dde3;

    /* Dark sections / Footer */
    --color-dark-bg: #0e1424;
    --color-dark-secondary: #374254;
    --color-dark-text: #adbbc6;
    --color-dark-text-muted: #8a8fa3;

    /* Highlight line (section dividers under headings) */
    --color-divider: #adbbc6;

    /* TYPOGRAPHY */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Scale */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */
    --text-6xl: 3.75rem;
    /* 60px */

    /* SPACING */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    --spacing-section: 6rem;

    --container-max: 1200px;
    --container-padding: 1.5rem;

    /* BORDERS & RADIUS */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-full: 9999px;

    /* SHADOWS (using primary dark for depth) */
    --shadow-card: 0 4px 24px rgba(14, 20, 36, 0.07);
    --shadow-card-hover: 0 10px 40px rgba(14, 20, 36, 0.13);
    --shadow-hero: 0 24px 64px rgba(14, 20, 36, 0.10);
    --shadow-button: 0 4px 16px rgba(55, 66, 84, 0.25);
    --shadow-lg: 0 16px 48px rgba(14, 20, 36, 0.12), 0 4px 12px rgba(14, 20, 36, 0.06);
}

/* BASE RESET & ACCESSIBILITY */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-base);
    /* Minimum 16px reached */
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    line-height: 1.75;
    /* patient priority (40+) */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY ELEMENTS */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.2;
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.25s ease;
}

/* ACCESSIBILITY: Visible focus rings */
:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
}

/* COMPONENT STYLE GUIDE */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Cards */
.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-lg);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

/* Primary CTA Button */
.btn-primary {
    display: inline-block;
    background: var(--color-primary);
    color: #FFFFFF;
    border-radius: var(--radius-full);
    padding: 0.9rem 2.25rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--text-base);
    letter-spacing: 0.04em;
    border: none;
    box-shadow: var(--shadow-button);
    transition: background 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
}

/* Secondary / Ghost Button */
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-full);
    padding: 0.9rem 2.25rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--text-base);
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: center;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}

/* Section label (eyebrow text above headings) */
.section-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--text-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-secondary);
    display: block;
    margin-bottom: var(--spacing-xs);
}

/* Section divider line (under headings) */
.section-divider {
    width: 56px;
    height: 3px;
    background: var(--color-divider);
    border-radius: 2px;
    margin-top: 0.75rem;
}

/* Layout Utilities */
.section {
    padding: var(--spacing-section) 0;
}

.section.dark {
    background-color: var(--color-dark-bg);
    color: var(--color-dark-text);
}

.section.dark h2 {
    color: var(--color-white);
}

.bg-alt {
    background-color: var(--color-bg-alt);
}