:root {
    color-scheme: light;
    --ink: #17202a;
    --muted: #5d6b78;
    --line: #d8e1e8;
    --surface: #f7fafc;
    --white: #ffffff;
    --blue: #1769aa;
    --teal: #0f8a83;
    --green: #2f7d32;
    --amber: #a66300;
    --shadow: 0 20px 55px rgba(16, 35, 52, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

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

.hero {
    min-height: 92vh;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(7, 24, 38, 0.86) 0%, rgba(7, 24, 38, 0.58) 42%, rgba(7, 24, 38, 0.18) 100%),
        url("/assets/education-ai-hero.png") center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px clamp(18px, 4vw, 64px) 76px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.86);
}

.hero-copy {
    width: min(760px, 100%);
    padding-top: 10vh;
}

.eyebrow {
    margin: 0 0 12px;
    color: #78d6cf;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(2.8rem, 8vw, 6.4rem);
    line-height: 0.95;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.12rem;
}

.lead {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 800;
}

.button.primary {
    background: var(--white);
    color: #123047;
}

.button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.status-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

.status-band div {
    background: var(--white);
    padding: 28px clamp(18px, 4vw, 48px);
}

.metric {
    display: block;
    color: var(--blue);
    font-size: 1.5rem;
    font-weight: 850;
}

.label {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.section {
    padding: clamp(54px, 8vw, 108px) clamp(18px, 4vw, 64px);
}

.section-heading {
    width: min(820px, 100%);
    margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.08rem;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.module {
    min-height: 212px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(24, 45, 62, 0.06);
}

.module span {
    display: inline-block;
    margin-bottom: 26px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.module p,
.stack-list p,
.control-list p {
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
    background: var(--white);
}

.alternate {
    background: #edf6f3;
}

.timeline {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline li,
.stack-list div,
.control-list p {
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.timeline strong {
    display: block;
    color: var(--amber);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.timeline span {
    color: #2e3c48;
}

.stack-list {
    display: grid;
    gap: 14px;
}

.stack-list div {
    background: var(--white);
}

.stack-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--teal);
    text-transform: capitalize;
}

.control-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.control-list p {
    margin: 0;
    background: var(--white);
    border-left: 4px solid var(--blue);
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px clamp(18px, 4vw, 64px);
    color: #53616d;
    background: #e6edf2;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .hero {
        min-height: 88vh;
        background:
            linear-gradient(180deg, rgba(7, 24, 38, 0.9) 0%, rgba(7, 24, 38, 0.64) 58%, rgba(7, 24, 38, 0.34) 100%),
            url("/assets/education-ai-hero.png") center / cover no-repeat;
    }

    .status-band,
    .module-grid,
    .split,
    .control-list {
        grid-template-columns: 1fr;
    }

    .nav-actions {
        display: none;
    }
}

@media (max-width: 520px) {
    .hero {
        padding-bottom: 44px;
    }

    .button {
        width: 100%;
    }

    footer {
        flex-direction: column;
    }
}
