/* =================================================================
   PREMIUM ACADEMIC EDITORIAL · Light cream canvas, oxford blue,
   tenant warm accent, editorial serif display.
   Reference: Brilliant · Multiverse · Stripe · Open University · Pearson
   ================================================================= */

:root {
    /* Canvas - warm ivory cream, like a fine book page */
    --bg-canvas: #FAF8F2;
    --bg-elevated: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(33, 36, 44, 0.04);
    --bg-glass-strong: rgba(33, 36, 44, 0.07);
    --bg-deep: #21242C;          /* Khan Dark - dark sections + footer */

    /* Borders */
    --border: rgba(33, 36, 44, 0.10);
    --border-strong: rgba(33, 36, 44, 0.18);
    --border-accent: color-mix(in srgb, var(--accent) 45%, transparent);

    /* Text - Khan Dark for warmth + academic authority */
    --text-primary: #21242C;
    --text-secondary: rgba(33, 36, 44, 0.74);
    --text-tertiary: rgba(33, 36, 44, 0.56);
    --text-disabled: rgba(33, 36, 44, 0.36);
    --text-on-accent: #FFFFFF;
    --text-on-deep: #FAF8F2;

    /* Tenant-driven accent (from tenants.json theme.accentColor)
       Default = Khan Blue */
    --primary: #21242C;
    --accent: #1865F2;
    --accent-glow: color-mix(in srgb, var(--accent) 30%, transparent);
    --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
    --accent-faint: color-mix(in srgb, var(--accent) 7%, transparent);

    /* Semantic */
    --success: #15803D;
    --success-soft: rgba(21, 128, 61, 0.10);
    --danger: #B91C1C;
    --warning: #C2410C;

    /* Typography */
    --font-display: 'Fraunces', 'Source Serif 4', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Effects (paper-style soft shadows) */
    --shadow-sm: 0 1px 2px rgba(33, 36, 44, 0.05);
    --shadow-md: 0 6px 20px rgba(33, 36, 44, 0.08);
    --shadow-lg: 0 18px 48px rgba(33, 36, 44, 0.12);
    --shadow-xl: 0 28px 80px rgba(33, 36, 44, 0.18);
    --shadow-glow: 0 0 0 1px var(--border-accent), 0 8px 32px var(--accent-glow);
    --shadow-card: 0 1px 2px rgba(33, 36, 44, 0.04), 0 8px 24px rgba(33, 36, 44, 0.05);

    /* Geometry */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 200ms var(--ease-out);
    --t-base: 320ms var(--ease-out);
    --t-slow: 600ms var(--ease-out);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg-canvas); }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* Soft cream-on-cream gradients - no harsh edges */
    background-image:
        radial-gradient(60rem 30rem at 90% -10%, var(--accent-faint), transparent 60%),
        radial-gradient(50rem 30rem at -10% 110%, color-mix(in srgb, var(--bg-deep) 3%, transparent), transparent 60%);
    background-attachment: fixed;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--text-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: color-mix(in srgb, var(--accent) 65%, var(--text-primary)); }
ul { list-style: none; }
button { font-family: inherit; }
::selection { background: var(--accent); color: var(--text-on-accent); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-canvas); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    font-variation-settings: "opsz" 144;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-secondary); }

/* ===== LAYOUT ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 40px; } }
main { min-height: 60vh; }

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, white));
    z-index: 1000;
    transition: width 80ms linear;
}

/* ===== TOP ANNOUNCEMENT MARQUEE ===== */
.announcement-bar {
    background: var(--bg-deep);
    color: var(--text-on-deep);
    padding: 9px 0;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.announcement-bar .marquee { display: inline-block; white-space: nowrap; animation: marquee 36s linear infinite; }
.announcement-bar .marquee span { display: inline-block; padding: 0 28px; }
.announcement-bar .marquee span::before { content: '★'; margin-right: 12px; color: var(--accent); }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 242, 0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-base), background var(--t-base);
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(250, 248, 242, 0.96); }

.header-top { display: none; }
.header-top-content { display: none; }
.header-badge { display: none; }

.header-main { padding: 16px 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 38px !important; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
/* Plain nav links - exclude .btn so the Start Now CTA keeps its own colours */
.nav-links > li > a:not(.btn) {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: all var(--t-fast);
    display: inline-block;
}
.nav-links > li > a:not(.btn):hover { color: var(--text-primary); background: var(--bg-glass); }

.has-dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px;
    box-shadow: var(--shadow-lg);
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li { display: block; }
.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    transition: all var(--t-fast);
}
.dropdown-menu a:hover { background: var(--bg-glass-strong); color: var(--text-primary); }

.mobile-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: 0.3s; border-radius: 999px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.1px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* Primary CTA - tenant accent */
.btn-gold {
    background: var(--accent);
    color: var(--text-on-accent);
    box-shadow: 0 8px 22px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-gold:hover {
    color: var(--text-on-accent);
    background: color-mix(in srgb, var(--accent) 90%, black);
    box-shadow: 0 14px 36px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.30);
}
/* Secondary CTA - oxford blue */
.btn-navy {
    background: var(--bg-deep);
    color: var(--text-on-deep);
    box-shadow: 0 8px 22px rgba(33, 36, 44, 0.22);
}
.btn-navy:hover {
    background: var(--accent);
    color: var(--text-on-accent);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--bg-glass-strong); border-color: var(--text-primary); color: var(--text-primary); }

.btn-pulse { position: relative; }
.btn-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--accent);
    opacity: 0;
    animation: pulse 2.4s var(--ease-out) infinite;
    pointer-events: none;
}
@keyframes pulse {
    0% { transform: scale(0.96); opacity: 0.6; }
    100% { transform: scale(1.18); opacity: 0; }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 96px 0 80px;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 110%;
    background:
        radial-gradient(60% 60% at 25% 25%, var(--accent-soft) 0%, transparent 60%),
        radial-gradient(50% 50% at 80% 35%, color-mix(in srgb, var(--bg-deep) 8%, transparent) 0%, transparent 65%);
    z-index: -2;
    animation: meshDrift 22s ease-in-out infinite alternate;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, var(--bg-canvas) 100%);
    z-index: -1;
    pointer-events: none;
}
@keyframes meshDrift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-3%, 2%) scale(1.05); }
}
.hero-content { max-width: 920px; }
.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.hero-subtitle::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
    flex-shrink: 0;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 span {
    font-style: italic;
    color: color-mix(in srgb, var(--accent) 80%, var(--text-primary));
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-desc {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 32px;
}
.hero-urgency {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.hero-urgency .dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--success-soft);
    animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.trust-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-tertiary);
    font-size: 12.5px;
    font-weight: 500;
    transition: all var(--t-fast);
    box-shadow: var(--shadow-sm);
}
.trust-badge:hover { border-color: var(--accent); color: var(--text-primary); transform: translateY(-1px); }
.trust-badge strong { color: var(--accent); font-weight: 700; }

/* ===== SOCIAL PROOF BAR ===== */
.social-proof-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
    padding: 36px 0;
}
.proof-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
}
.proof-item .proof-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
    font-variation-settings: "opsz" 144;
}
.proof-item .proof-label {
    margin-top: 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

/* ===== AS FEATURED IN ===== */
.featured-strip {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
    background: var(--bg-canvas);
}
.featured-strip .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-tertiary);
    margin-bottom: 22px;
    font-weight: 600;
}
.featured-strip .logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.65;
    transition: opacity var(--t-base);
}
.featured-strip:hover .logos { opacity: 0.95; }
.featured-strip .logos span {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    font-variation-settings: "opsz" 144;
}

/* ===== SECTIONS ===== */
section[class^="section-"], .section-light, .section-alt, .section-gold {
    padding: 96px 0;
    position: relative;
}
.section-light { background: var(--bg-canvas); }
.section-alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-gold {
    background: var(--bg-deep);
    color: var(--text-on-deep);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.section-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 50% 0%, var(--accent-soft) 0%, transparent 60%),
        radial-gradient(40% 40% at 50% 100%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 70%);
    pointer-events: none;
}
.section-gold > * { position: relative; z-index: 1; }
.section-gold h2, .section-gold h3 { color: var(--text-on-deep); }
.section-gold p { color: rgba(250, 248, 242, 0.8); }

.section-header {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; line-height: 1.6; color: var(--text-secondary); }
.section-gold .section-header p { color: rgba(250, 248, 242, 0.78); }

/* ===== EYEBROW ===== */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 14px;
}

/* ===== CARDS ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}
.benefit-icon {
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius);
    font-size: 22px;
    margin-bottom: 18px;
    border: 1px solid var(--border-accent);
}
.benefit-card h3 { color: var(--text-primary); margin-bottom: 10px; }
.benefit-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }

/* ===== TABLES ===== */
.table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    overflow-x: auto;
    box-shadow: var(--shadow-card);
}
table { width: 100%; border-collapse: collapse; }
thead th {
    background: var(--bg-canvas);
    color: var(--text-tertiary);
    text-align: left;
    padding: 14px 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}
tbody td {
    padding: 16px 20px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--bg-glass); color: var(--text-primary); }
tbody td strong { color: var(--text-primary); font-weight: 600; }
.credits-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 10px;
    background: var(--accent-soft);
    color: color-mix(in srgb, var(--accent) 75%, var(--text-primary));
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--border-accent);
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    text-align: center;
    transition: all var(--t-base);
    position: relative;
    box-shadow: var(--shadow-card);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
    background: var(--bg-card);
    border: 1.5px solid var(--accent);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}
.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--text-on-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.pricing-duration {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    font-weight: 600;
}
.pricing-amount {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
    font-variation-settings: "opsz" 144;
}
.pricing-savings {
    color: var(--success);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.pricing-features {
    text-align: left;
    margin: 0 0 28px;
}
.pricing-features li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14.5px;
    border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: 0; }
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--accent);
    font-weight: 800;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--t-base);
    box-shadow: var(--shadow-card);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--accent);
    opacity: 0.18;
    line-height: 1;
}
.testimonial-card:hover { border-color: var(--border-accent); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.testimonial-stars { color: var(--accent); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { color: var(--text-primary); font-size: 15px; line-height: 1.65; margin-bottom: 18px; font-family: var(--font-display); font-weight: 400; font-style: italic; }
.testimonial-author { color: var(--text-primary); font-weight: 600; font-size: 14px; }
.testimonial-role { color: var(--text-tertiary); font-size: 13px; margin-top: 2px; }

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--t-base);
    box-shadow: var(--shadow-card);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.active { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}
.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--text-tertiary);
    transition: transform var(--t-base), color var(--t-base);
    flex-shrink: 0;
    line-height: 1;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base) var(--ease-out);
}
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer p {
    padding: 0 24px 22px;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.65;
}

/* ===== ENTRY REQUIREMENTS LIST ===== */
.requirements-list {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}
.requirements-list li {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all var(--t-fast);
    box-shadow: var(--shadow-sm);
}
.requirements-list li:hover { border-color: var(--border-accent); color: var(--text-primary); }
.req-check {
    width: 24px; height: 24px;
    flex-shrink: 0;
    background: var(--accent-soft);
    color: color-mix(in srgb, var(--accent) 75%, var(--text-primary));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid var(--border-accent);
}
.requirements-list strong { color: var(--text-primary); }

/* ===== HOW IT WORKS (3 steps) ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    counter-reset: step;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    counter-increment: step;
    position: relative;
    transition: all var(--t-base);
    box-shadow: var(--shadow-card);
}
.step-card::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--font-display);
    font-size: 60px;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
    display: block;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
    font-variation-settings: "opsz" 144;
    opacity: 0.85;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.step-card h3 { color: var(--text-primary); margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }

/* ===== COMPARISON TABLE (us vs uni) ===== */
.compare-table { max-width: 920px; margin: 0 auto; }
.compare-table th:nth-child(2), .compare-table td:nth-child(2) {
    background: var(--accent-faint);
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}
.compare-table th:nth-child(3), .compare-table td:nth-child(3) {
    text-align: center;
    color: var(--text-tertiary);
}
.compare-table th:nth-child(2) { border-top: 2px solid var(--accent); }
.compare-yes { color: var(--success); font-weight: 700; font-size: 18px; }
.compare-no { color: var(--danger); font-size: 18px; }

/* ===== GUARANTEE BANNER ===== */
.guarantee-banner {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 56px 0;
}
.guarantee-banner .container {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.guarantee-seal {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--bg-canvas);
    border: 2px dashed var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--accent) 70%, var(--text-primary));
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.15;
    text-align: center;
    flex-shrink: 0;
    padding: 8px;
    box-shadow: var(--shadow-sm);
}
.guarantee-text { max-width: 540px; }
.guarantee-text h3 { color: var(--text-primary); margin-bottom: 6px; }
.guarantee-text p { color: var(--text-secondary); font-size: 14.5px; }

/* ===== CTA SECTION ===== */
.cta-section { max-width: 720px; margin: 0 auto; }
.cta-section h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.cta-section p { font-size: 1.05rem; }

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--t-base);
    box-shadow: var(--shadow-card);
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.blog-card-body { padding: 28px; }
.blog-date { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-tertiary); margin-bottom: 12px; font-weight: 600; }
.blog-card h3 { margin-bottom: 10px; }
.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }

.breadcrumbs {
    padding: 24px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-tertiary);
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs span { margin: 0 8px; color: var(--text-disabled); }

.article-content { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.article-content h1 { margin-bottom: 16px; font-size: clamp(2rem, 4.5vw, 3.5rem); }
.article-content h2 { margin: 36px 0 16px; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.article-content h3 { margin: 28px 0 12px; }
.article-content p, .article-content li { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.75; font-size: 16px; }
.article-content ul, .article-content ol { margin: 0 0 20px 22px; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content a { color: color-mix(in srgb, var(--accent) 75%, var(--text-primary)); border-bottom: 1px solid var(--border-accent); }
.article-content a:hover { color: var(--text-primary); border-color: var(--accent); }
.article-content strong { color: var(--text-primary); }
.article-content table { margin: 24px 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.article-meta {
    color: var(--text-tertiary);
    font-size: 14px;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.article-meta strong { color: var(--text-primary); }

/* ===== FOOTER (oxford blue, like a wax-seal close) ===== */
.site-footer {
    background: var(--bg-deep);
    color: rgba(250, 248, 242, 0.65);
    padding: 80px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
}
@media (max-width: 768px) {
    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
.site-footer h3 { color: var(--text-on-deep); font-family: var(--font-display); font-size: 16px; margin-bottom: 16px; letter-spacing: -0.01em; font-weight: 600; }
.site-footer p { color: rgba(250, 248, 242, 0.65); font-size: 14px; line-height: 1.65; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer ul a {
    color: rgba(250, 248, 242, 0.65);
    font-size: 14px;
    transition: color var(--t-fast);
}
.site-footer ul a:hover { color: var(--accent); }
.footer-qual { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.10); font-size: 12px !important; color: rgba(250, 248, 242, 0.45) !important; }
.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.10);
    font-size: 12px;
    color: rgba(250, 248, 242, 0.50);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: rgba(250, 248, 242, 0.70); }
.footer-bottom a:hover { color: var(--accent); }
.footer-accreditation { color: rgba(250, 248, 242, 0.45) !important; }

/* ===== STICKY CTA MOBILE ===== */
.sticky-cta-mobile {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(250, 248, 242, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    z-index: 99;
    display: none;
    box-shadow: 0 -8px 24px rgba(33, 36, 44, 0.06);
}
@media (max-width: 768px) {
    .sticky-cta-mobile { display: block; }
    body { padding-bottom: 70px; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-links.open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--bg-elevated);
        padding: 16px;
        gap: 8px;
        border-bottom: 1px solid var(--border);
    }
    .has-dropdown .dropdown-menu { position: static; transform: none; min-width: 0; box-shadow: none; }
    .hero { padding: 56px 0 56px; }
    section[class^="section-"], .section-light, .section-alt, .section-gold { padding: 64px 0; }
    .section-header { margin-bottom: 36px; }
    .pricing-card.featured { transform: none; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-tertiary); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
