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

* {
    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;
}

a:focus-visible,
.button:focus-visible {
    outline: 3px solid rgba(21, 89, 183, 0.35);
    outline-offset: 3px;
}

.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: block;
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

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

nav a:hover {
    color: var(--ink);
}

.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: 4.8rem;
}

h2 {
    font-size: 2.55rem;
}

.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;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

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

.button.secondary {
    background: #fff;
}

.button.small {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.92rem;
}

.button.disabled {
    color: #7d8796;
    background: #f2f4f8;
    border-color: #dfe5ee;
    cursor: not-allowed;
    transform: none;
}

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

.hero-panel h2 {
    font-size: 1.65rem;
}

.hero-panel p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

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

.status-grid div {
    padding: 18px;
    background: #f9fbff;
    border: 1px solid #e8edf5;
    border-radius: 6px;
}

.status-grid strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.status-grid span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
}

.status-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    color: var(--blue);
    font-weight: 850;
    background: var(--soft-blue);
    border-radius: 6px;
}

.status-link:hover {
    background: #dceaff;
}

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

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

.section-heading p:not(.eyebrow) {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

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

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

.program-card.is-live {
    border-top: 5px solid var(--green);
}

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

.program-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

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

.program-jurisdiction {
    margin: 6px 0 0;
    color: var(--muted);
    font-weight: 700;
}

.status-pill {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: var(--green);
    background: #e9f7ef;
    border: 1px solid #c9ead8;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 850;
}

.program-url {
    margin: 18px 0 0;
    color: var(--blue);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

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

.program-card ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--ink);
    line-height: 1.45;
}

.program-card li::marker {
    color: var(--teal);
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
}

.decision-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: center;
    padding: 56px 6vw;
    color: #fff;
    background: var(--ink);
}

.decision-band .eyebrow {
    color: #8be0dd;
}

.decision-band h2 {
    font-size: 2rem;
}

.decision-band p:last-child {
    margin: 0;
    color: #d5dbe6;
    font-size: 1.05rem;
    line-height: 1.7;
}

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

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

    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 2.25rem;
    }

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

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

    nav {
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 56px;
    }

    h1 {
        font-size: 2.65rem;
    }

    h2 {
        font-size: 2rem;
    }

    .button {
        width: 100%;
    }

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

    .program-card-header,
    .card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .status-pill {
        width: fit-content;
    }
}
