:root {
    --ink: #101816;
    --ink-soft: #52605a;
    --paper: #f5f3eb;
    --white: #fff;
    --line: rgba(16, 24, 22, .14);
    --lime: #c8ff68;
    --mint: #b9f6cf;
    --yellow: #ffdc68;
    --course-accent: #c8ff68;
    --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { color: inherit; font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: .7rem 1rem;
    border-radius: 10px;
    background: var(--lime);
    color: var(--ink);
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.course-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: rgba(16, 24, 22, .92);
    color: #fff;
    backdrop-filter: blur(18px);
}
.course-nav {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
}
.brand img { width: 38px; height: 38px; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand small { color: #9aaba3; font-size: .64rem; }
.course-nav nav { display: flex; gap: 1.3rem; }
.course-nav nav a { color: #bdc8c3; font-size: .76rem; font-weight: 750; text-decoration: none; }
.nav-cta {
    padding: .62rem .9rem;
    border-radius: 999px;
    background: var(--lime);
    color: var(--ink) !important;
}

.course-hero {
    position: relative;
    overflow: hidden;
    padding: 6.5rem 0 5.5rem;
    background:
        radial-gradient(circle at 82% 16%, color-mix(in srgb, var(--course-accent) 22%, transparent), transparent 24%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        var(--ink);
    background-size: auto, 48px 48px, 48px 48px, auto;
    color: #fff;
}
.breadcrumbs { margin: 0 0 2rem; color: #91a199; font-size: .7rem; }
.breadcrumbs a { text-decoration: none; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
}
.eyebrow {
    margin: 0 0 1rem;
    color: var(--course-accent);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.course-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(3.4rem, 6.5vw, 6.4rem);
    font-weight: 830;
    letter-spacing: -.072em;
    line-height: .92;
}
.hero-description { max-width: 720px; margin: 1.6rem 0 0; color: #b2beb8; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 820;
    text-decoration: none;
}
.button-primary { background: var(--course-accent); color: var(--ink); }
.button-secondary { border-color: rgba(255, 255, 255, .2); background: transparent; color: #fff; }
.hero-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}
.course-mark {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border-radius: 18px;
    background: var(--course-accent);
    color: var(--ink);
    font-weight: 900;
}
.hero-card dl { display: grid; gap: .8rem; margin: 1.4rem 0; }
.hero-card dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: .7rem; }
.hero-card dt { color: #92a199; font-size: .68rem; }
.hero-card dd { margin: 0; font-size: .72rem; font-weight: 750; text-align: right; }
.hero-card p { margin: 0; color: #c2ccc7; font-size: .75rem; }

.proof-strip { background: var(--course-accent); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid div { padding: 1.2rem 1.4rem; border-left: 1px solid rgba(16,24,22,.15); }
.proof-grid div:last-child { border-right: 1px solid rgba(16,24,22,.15); }
.proof-grid strong { display: block; font-size: .8rem; }
.proof-grid span { color: #45524c; font-size: .66rem; }

.section { padding: 6.5rem 0; }
.section-heading { max-width: 790px; margin-bottom: 2.3rem; }
.section-heading span { color: #387b56; font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.section-heading h2 { margin: .5rem 0; font-size: clamp(2.5rem, 4.5vw, 4.4rem); letter-spacing: -.06em; line-height: .98; }
.section-heading p { color: var(--ink-soft); }
.mission-section { background: #fff; }
.mission-list { display: grid; gap: 1rem; padding: 0; list-style: none; }
.mission {
    display: grid;
    grid-template-columns: auto 50px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fafaf6;
}
.mission.is-complete { border-color: #78b890; background: #eef9f1; }
.mission input { width: 22px; height: 22px; margin-top: .3rem; accent-color: #28784a; }
.mission-number { color: #43805b; font-family: Georgia, serif; font-size: 1.35rem; font-style: italic; }
.mission h3 { margin: 0; font-size: 1.08rem; }
.mission p { margin: .35rem 0; color: #5d6963; font-size: .8rem; }
.mission small { color: #76817b; font-size: .68rem; }
.progress-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .7rem 1.2rem;
    align-items: center;
    margin-top: 1.3rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
}
.progress-panel strong { font-size: .78rem; }
.progress-panel span { color: #aebbb5; font-size: .7rem; }
.progress-track { grid-column: 1 / -1; height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
.progress-track i { display: block; width: 0; height: 100%; background: var(--course-accent); transition: width .25s ease; }

.outcome-section { background: var(--paper); }
.outcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.outcome-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.72);
}
.outcome-card span { color: #3e8059; font-size: .64rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.outcome-card h2 { margin: .6rem 0; font-size: 1.6rem; letter-spacing: -.04em; }
.outcome-card p { color: var(--ink-soft); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.tag-list li { padding: .3rem .55rem; border-radius: 999px; background: #e4e8e2; font-size: .64rem; font-weight: 720; }

.reference-section { background: var(--ink); color: #fff; }
.reference-section .section-heading p { color: #9eada6; }
.reference-section .section-heading span { color: var(--course-accent); }
.reference-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.reference-card {
    min-height: 170px;
    padding: 1.2rem;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    background: rgba(255,255,255,.055);
    text-decoration: none;
}
.reference-card small { color: var(--course-accent); }
.reference-card strong { display: block; margin: 2.6rem 0 .4rem; }
.reference-card span { color: #91a19a; font-size: .7rem; }

.related-section { background: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    text-decoration: none;
}
.related-card span { color: #4a795e; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.related-card strong { display: block; margin: .5rem 0; }
.related-card small { color: #69756f; }

.completion-offer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #81bd95;
    border-radius: 18px;
    background: #eff9f1;
}
.completion-offer[hidden] { display: none; }
.completion-offer span { color: #34754f; font-size: .65rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.completion-offer h3 { margin: .3rem 0; }
.completion-offer p { margin: 0; color: #5b6961; font-size: .77rem; }
.completion-offer .button { background: var(--ink); color: #fff; }

.course-footer { padding: 2.5rem 0; background: #0d1412; color: #fff; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-grid nav a { color: #9ead9f; font-size: .72rem; }

@media (max-width: 820px) {
    .course-nav nav a:not(.nav-cta) { display: none; }
    .hero-grid, .outcome-grid { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr; }
    .proof-grid div { border-right: 1px solid rgba(16,24,22,.15); border-bottom: 1px solid rgba(16,24,22,.15); }
    .reference-grid, .related-grid { grid-template-columns: 1fr; }
    .completion-offer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .course-nav { min-height: 68px; }
    .brand small { display: none; }
    .course-hero { padding: 4.6rem 0; }
    .course-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
    .mission { grid-template-columns: auto 1fr; }
    .mission-number { display: none; }
    .section { padding: 5rem 0; }
}
