:root {
    --bg: #fbfaf7;
    --ink: #1e211e;
    --muted: #596057;
    --line: #dcdacf;
    --green: #1f6e4f;
    --soft: #f2f1eb;
    --max: 820px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.8 'IBM Plex Mono', ui-monospace, monospace;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

main {
    flex: 1
}

.wrap {
    max-width: var(--max);
    margin: auto;
    padding: 0 14px
}

a {
    color: var(--green);
    text-decoration: none;
    border-bottom: 1px solid #b7d0c0
}

a:hover {
    border-color: var(--green)
}

.nav {
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
    font-size: 12px
}

.nav .wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start
}

.brand {
    font-weight: 700;
    color: var(--ink);
    border: 0
}

.brand b {
    color: var(--green)
}

.links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.links a {
    border: 0;
    color: var(--muted)
}

.links a.active,
.links a:hover {
    color: var(--green)
}

header {
    padding: 40px 0 28px;
    border-bottom: 1px solid var(--line)
}

.subhead {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--green);
    margin: 0 0 17px
}

header.hero h1 {
    margin-bottom: 6px
}

.eyebrow {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 12px
}

h1,
h2,
h3 {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    line-height: 1.35;
    letter-spacing: -.035em
}

h1 {
    font-size: clamp(28px, 5vw, 42px);
    margin: 0 0 17px;
    max-width: 30ch
}

h2 {
    font-size: 20px;
    margin: 0 0 13px
}

h3 {
    font-size: 14px;
    margin: 0 0 5px
}

.lead {
    font-size: 15.5px;
    color: var(--muted);
    margin: 0
}

section {
    padding: 15px 0;
    border-bottom: 1px solid var(--line)
}

section:last-child {
    border-bottom: 0
}

.intro {
    margin: 0 0 20px;
    color: var(--muted)
}

.choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
    row-gap: 24px
}

.choice {
    display: block;
    color: var(--ink);
    padding: 0;
    border: 0
}

.choice:nth-child(odd) {
    padding-right: 22px
}

.choice:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid var(--line)
}

.choices-home {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 14px;
    row-gap: 14px
}

.choices-home .choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 26px 20px
}

.choices-home .choice h3 {
    font-size: 16px;
    margin-bottom: 10px
}

.choices-courses {
    row-gap: 24px;
    column-gap: 24px
}

.choices-courses .choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 36px 24px
}

.choices-engage {
    row-gap: 0
}

.choices-engage .choice {
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 24px 22px
}

.choices-engage .choice h3 {
    font-size: 12px;
    margin: 8px 0 8px;
}

/* .choices-engage .choice .sub {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 8px
} */

.choices-courses .choice:hover,
.choices-engage .choice:hover,
.choices-home .choice:hover {
    border-color: var(--green)
}

.choices-courses .choice h3 {
    font-size: 16px;
    margin-bottom: 10px
}

.choices-courses .choice p {
    line-height: 1.7;
    margin-bottom: 22px
}

.choices-courses.curriculum .choice {
    padding: 20px 18px
}

.choices-courses.curriculum .choice p {
    margin-bottom: 0
}

.choices-courses.curriculum .choice p+p {
    margin-top: 6px
}

.choices-courses.curriculum .label {
    color: var(--green);
    font-weight: 600
}

.choices-courses .btn {
    margin-top: auto;
    align-self: flex-end;
    border: 1px solid var(--green);
    background: var(--green);
    color: #fff;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em
}

.choices-courses .btn:hover {
    background: #18583e;
    border-color: #18583e
}

.choice:hover h3 {
    color: var(--green)
}

.choice p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0
}

.tag {
    font-size: 11px;
    color: var(--green);
    font-weight: 600;
    margin: 0 0 6px
}

.list {
    padding: 0;
    margin: 0;
    list-style: none
}

.list li {
    padding: 5px 0;
    font-size: 13.5px
}

.list li:before {
    content: '— ';
    color: var(--green)
}

.facts {
    margin: 0
}

.facts div {
    display: grid;
    grid-template-columns: 175px 1fr;
    padding: 6px 0;
    font-size: 13px
}

.facts dt {
    color: var(--muted)
}

.facts dd {
    margin: 0
}

.detail {
    padding: 12px 0
}

.detail h3 {
    margin: 0 0 5px
}

.detail p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.note {
    border-left: 2px solid var(--green);
    padding: 3px 0 3px 17px;
    color: var(--muted)
}

.note-plain {
    border-left: 0;
    padding-left: 0
}

.btn {
    display: inline-block;
    border: 1px solid var(--green);
    background: var(--green);
    color: #fff;
    padding: 9px 18px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em
}

.btn:hover {
    background: #18583e;
    border-color: #18583e
}

.box {
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 22px 20px;
    margin-bottom: 18px
}

.box h3 {
    font-size: 22px;
    margin: 6px 0 10px
}

.box .tag {
    margin: 0 0 6px
}

.box .old {
    color: var(--muted);
    font-size: 15px;
    font-weight: 400;
    text-decoration: line-through
}

.box .note {
    margin-bottom: 0
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 13px 0
}

.faq details:first-child {
    padding-top: 0
}

.faq summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 13.5px;
    display: flex;
    justify-content: space-between;
    gap: 12px
}

.faq summary::-webkit-details-marker {
    display: none
}

.faq summary::after {
    content: '+';
    color: var(--muted);
    flex-shrink: 0
}

.faq details[open] summary::after {
    content: '–'
}

.faq .a {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7
}

.enroll-form {
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 22px 20px;
    margin-bottom: 18px
}

.enroll-form .field {
    display: block;
    margin-bottom: 14px
}

.enroll-form .field span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px
}

.enroll-form .field input,
.enroll-form .field select,
.enroll-form .field textarea {
    width: 100%;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 13.5px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px 10px;
    box-sizing: border-box
}

.enroll-form .field .row {
    display: flex
}

.enroll-form .field .row .prefix {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-right: 0;
    padding: 8px 10px;
    font-size: 13.5px;
    color: var(--muted)
}

.enroll-form .field .row input {
    flex: 1;
    border-left: 0
}

.enroll-form .field input:focus,
.enroll-form .field select:focus,
.enroll-form .field textarea:focus {
    outline: none;
    border-color: var(--green)
}

.enroll-form .field textarea {
    resize: vertical
}

.enroll-form .btn {
    margin-top: 2px
}

.enroll-form .hp {
    display: none
}

.enroll-status {
    font-size: 13px;
    color: var(--muted);
    margin: 10px 0 0;
    min-height: 1.4em
}

.enroll-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 14px;
    z-index: 50;
    overflow-y: auto
}

.enroll-overlay[hidden] {
    display: none
}

.enroll-modal {
    background: var(--bg);
    border: 1px solid var(--line);
    max-width: 480px;
    width: 100%;
    padding: 26px 22px 22px;
    position: relative;
    margin: auto 0
}

.enroll-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: 0;
    font-size: 18px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    padding: 4px 6px
}

.enroll-close:hover {
    color: var(--ink)
}

.enroll-modal h3 {
    font-size: 18px;
    margin: 0 0 4px
}

.enroll-modal .enroll-sub {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 16px
}

.enroll-modal .enroll-note {
    font-size: 12px;
    color: var(--muted);
    margin: -4px 0 16px
}

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

.stat {
    padding: 17px 0
}

.stat:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid var(--line)
}

.stat:nth-child(n+3) {
    border-top: 1px solid var(--line)
}

.stat .num {
    display: block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -.03em;
    color: var(--green);
    margin: 0 0 4px
}

.stat p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0
}

footer {
    border-top: 1px solid var(--line);
    padding: 17px 0;
    font-size: 12px
}

footer .wrap {
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap
}

@media(max-width:580px) {
    .nav .wrap {
        display: block
    }

    .links {
        justify-content: flex-start;
        margin-top: 8px
    }

    .choices {
        grid-template-columns: 1fr
    }

    .choice:nth-child(n) {
        padding: 16px 0;
        border-left: 0
    }

    .choices-courses .choice {
        padding: 20px 18px;
        border: 1px solid var(--line)
    }

    .choices-engage .choice {
        padding: 20px 18px;
        border: 1px solid var(--line)
    }

    .choices-home .choice {
        padding: 20px 18px
    }

    .stats {
        grid-template-columns: 1fr
    }

    .stat:nth-child(n+2) {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line)
    }

    .facts div {
        grid-template-columns: 1fr;
        gap: 1px
    }

    header {
        padding: 26px 0 24px
    }

    .wrap {
        padding: 0 14px
    }
}