:root {
    --ink: #15181e;
    --muted: #5c6575;
    --line: #d8dee8;
    --panel: #ffffff;
    --wash: #f3f6fb;
    --blue: #1559b7;
    --teal: #0f8b8d;
    --gold: #c0822e;
}

* {
    box-sizing: border-box;
}

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

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

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 0 6vw;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
}

.brand,
nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand {
    font-weight: 800;
    font-size: 1.08rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: var(--blue);
    border-radius: 8px;
}

nav a {
    color: var(--muted);
    font-weight: 650;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
    min-height: calc(100vh - 156px);
    padding: 8vh 6vw 5vh;
    background:
        linear-gradient(135deg, rgba(21, 89, 183, 0.12), rgba(15, 139, 141, 0.09)),
        var(--wash);
}

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

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    line-height: 1.04;
}

h1 {
    max-width: 760px;
    font-size: clamp(2.45rem, 5vw, 5.8rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.8rem);
}

.lede {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.7;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    font-weight: 800;
}

.button.primary {
    color: #fff;
    background: var(--ink);
}

.button.secondary {
    background: #fff;
}

.hero-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(36, 48, 70, 0.12);
}

.panel-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    background: #f9fbff;
    border: 1px solid #e8edf5;
    border-radius: 6px;
}

.panel-row.active {
    border-left: 5px solid var(--gold);
}

.panel-row span {
    color: var(--muted);
}

.panel-meter {
    height: 12px;
    overflow: hidden;
    background: #e7ecf4;
    border-radius: 999px;
}

.panel-meter span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--teal));
}

.programs {
    padding: 72px 6vw 92px;
    background: #fff;
}

.section-heading {
    display: grid;
    gap: 4px;
    margin-bottom: 28px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.program-card {
    min-height: 188px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.program-card:hover {
    border-color: var(--blue);
}

.program-card span {
    display: block;
    font-size: 1.18rem;
    font-weight: 850;
}

.program-card p {
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 6vw;
    color: var(--muted);
    background: #fff;
    border-top: 1px solid var(--line);
}

.environment {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

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

@media (max-width: 620px) {
    .site-header,
    footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }
}
