
:root {
    --bg: #eff3ff;
    --surface: #ffffff;
    --text: #17233d;
    --muted: #54607a;
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent: #7c3aed;
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fbff 0%, #eef3ff 100%);
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
}

.topbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.container {
    width: min(1140px, calc(100% - 2rem));
    margin: 0 auto;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-dark);
}

.nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav a {
    color: var(--muted);
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--primary-dark);
}

.menu-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.75rem;
    padding: 0.45rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    margin-bottom: 5px;
    background: var(--text);
    border-radius: 999px;
}

.hero-section {
    padding: 4.5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.5rem, 4vw, 4.75rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-copy p {
    max-width: 44rem;
    margin: 1.5rem 0 2rem;
    color: var(--muted);
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

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

.btn-outline {
    background: white;
    color: var(--primary-dark);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.btn-large {
    width: max-content;
}

.hero-panel {
    display: grid;
    gap: 1.5rem;
}

.stats-card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.stats-card .label {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.stats-card h2 {
    margin: 0 0 0.85rem;
    font-size: 2.5rem;
    color: var(--text);
}

.stats-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.overview-card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.overview-card strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    color: var(--primary-dark);
}

.overview-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1.05;
}

.cards-grid,
.subject-grid,
.process-grid {
    display: grid;
    gap: 1.5rem;
}

.cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.feature-card h3,
.subject-card h3,
.process-step h3,
.cta-card h2 {
    margin-top: 0;
}

.card p,
.process-step p {
    color: var(--muted);
    line-height: 1.8;
}

.subject-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subject-card {
    min-height: 170px;
}

.process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step {
    display: grid;
    gap: 1rem;
    border-radius: 28px;
    padding: 1.75rem;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow);
}

.step-number {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-weight: 700;
}

.section-cta {
    padding-top: 0;
}

.cta-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 32px;
    padding: 2rem;
}

.cta-card h2,
.cta-card p {
    margin: 0;
}

.cta-card p {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.88);
}

.footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer h3 {
    margin: 0 0 0.75rem;
    color: white;
}

.footer a {
    color: #a5b4fc;
}

.footer-note {
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .hero-grid,
    .cards-grid,
    .subject-grid,
    .process-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .cta-card {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .nav {
        flex-direction: column;
        gap: 0.75rem;
        display: none;
    }

    .nav.nav-open {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100%, calc(100% - 1.5rem));
    }

    .hero-section {
        padding-top: 3.5rem;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 10vw, 3.25rem);
    }

    .overview-cards {
        grid-template-columns: 1fr;
    }

    .subject-grid {
        gap: 1rem;
    }
}

