:root {
  color-scheme: light;
  --ink: #142935;
  --ink-soft: #38515e;
  --muted: #596e79;
  --teal: #087b73;
  --teal-dark: #075b56;
  --teal-soft: #e8f5f3;
  --blue: #315f80;
  --gold: #a98032;
  --surface: #ffffff;
  --surface-soft: #f4f8f8;
  --line: #d8e5e8;
  --shadow: 0 14px 36px rgba(20, 49, 62, 0.08);
  --shadow-strong: 0 24px 60px rgba(20, 49, 62, 0.13);
  --radius: 14px;
  --max: 1220px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f7faf9; color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #087b73; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .65rem; left: .65rem; z-index: 100; transform: translateY(-180%); border-radius: 8px; background: var(--ink); color: #fff; font-weight: 800; padding: .7rem 1rem; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
#main-content:focus { outline: 0; }
.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.anchor-alias { display: block; position: relative; top: -6rem; height: 0; visibility: hidden; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(216,229,232,.92); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 74px; width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; align-items: center; gap: 1.2rem; }
.brand { display: inline-flex; min-width: max-content; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; border-radius: 9px; background: linear-gradient(135deg, var(--teal-dark), var(--blue)); color: #fff; font-weight: 900; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { letter-spacing: -0.02em; }
.brand-copy small { margin-top: 0.08rem; color: var(--muted); font-size: 0.72rem; }
.primary-nav { display: flex; margin-left: auto; align-items: center; gap: 0.1rem; }
.primary-nav a, .text-link { display: inline-flex; min-height: 44px; align-items: center; border-radius: 7px; color: #415762; font-size: 0.86rem; font-weight: 720; padding: 0.55rem 0.64rem; text-decoration: none; }
.primary-nav a:hover, .text-link:hover { background: var(--teal-soft); color: var(--teal-dark); }
.primary-nav a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-dark); }
.nav-count { display: inline-grid; min-width: 1.25rem; height: 1.25rem; margin-left: .2rem; place-items: center; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-size: .68rem; }
.nav-count[hidden] { display: none !important; }
.menu-toggle { display: none; width: 44px; min-height: 44px; margin-left: auto; border: 0; background: transparent; cursor: pointer; padding: 0.55rem; }
.menu-toggle > span:not(.sr-only) { display: block; width: 1.35rem; height: 2px; margin: 4px 0; background: var(--ink); }

.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border: 1px solid var(--teal); border-radius: 9px; background: var(--teal); color: #fff; font-weight: 820; padding: 0.72rem 1.05rem; text-decoration: none; box-shadow: 0 10px 22px rgba(8,123,115,.18); transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease; }
.button:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 13px 26px rgba(8,123,115,.22); }
.button:disabled { border-color: #c9d6d9; background: #e7edef; color: #71858e; cursor: not-allowed; box-shadow: none; transform: none; }
.button--small { min-height: 2.55rem; padding: 0.52rem 0.78rem; font-size: 0.86rem; }
.button--secondary { border-color: rgba(8,123,115,.28); background: #fff; color: var(--teal-dark); box-shadow: none; }
.button--secondary:hover { background: var(--teal-soft); box-shadow: none; }
.button--light { border-color: #fff; background: #fff; color: var(--teal-dark); box-shadow: none; }
.button--full { width: 100%; }

main { overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: center; padding-block: clamp(4rem, 8vw, 7.2rem); }
.hero-copy { max-width: 48rem; }
.eyebrow { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.7rem; color: var(--teal-dark); font-size: 0.72rem; font-weight: 850; letter-spacing: .115em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.4rem; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 13ch; margin-bottom: 1.25rem; font-size: clamp(3rem, 6.5vw, 5.7rem); letter-spacing: -.055em; line-height: .97; text-wrap: balance; }
h1, .due-card__prompt h4, .due-card__answer p { overflow-wrap: anywhere; }
h2 { margin-bottom: 0.7rem; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
h3 { letter-spacing: -.02em; }
.hero-lead { max-width: 43rem; margin-bottom: 1.6rem; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.27rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.signin-prompt { margin: .85rem 0 0; color: var(--muted); font-size: .85rem; }
.signin-prompt a { color: var(--teal-dark); font-weight: 800; }
.sync-status { max-width: 39rem; margin: .85rem 0 0; border-left: 3px solid var(--gold); color: var(--ink-soft); font-size: .82rem; line-height: 1.55; padding: .35rem 0 .35rem .75rem; }
.feature-list { display: flex; flex-wrap: wrap; gap: 0.55rem 1.25rem; margin: 1.5rem 0 0; padding: 0; color: #4d6671; font-size: .86rem; font-weight: 720; list-style: none; }
.feature-list li::before { content: "✓"; margin-right: .38rem; color: var(--teal); font-weight: 900; }
.feature-list--path { gap: .55rem; }
.feature-list--path li { display: inline-flex; align-items: center; gap: .38rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: .42rem .62rem; }
.feature-list--path li::before { content: none; }
.feature-list--path li > span { display: inline-grid; min-width: 1.25rem; color: var(--teal); place-items: center; }

.start-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-strong); }
.start-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold)); }
.card-kicker, .topic-label, .question-type { color: var(--teal-dark); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.start-card h2 { margin-top: .5rem; font-size: clamp(1.75rem, 3vw, 2.35rem); }
.start-card > p { color: var(--muted); line-height: 1.55; }
.session-list { display: grid; gap: .65rem; margin: 1.25rem 0; padding: 0; list-style: none; }
.session-list li { display: grid; grid-template-columns: 2.35rem 1fr; gap: .75rem; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); padding: .78rem; }
.session-list li > span, .action-icon { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; border-radius: 8px; background: var(--teal-soft); color: var(--teal-dark); font-size: .72rem; font-weight: 900; }
.session-list strong, .session-list small { display: block; }
.session-list small { margin-top: .1rem; color: var(--muted); }
.quiet-note { margin: .8rem 0 0; font-size: .8rem; }
.visual-path { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .45rem; align-items: center; margin: 1.4rem 0 1rem; }
.visual-step { display: grid; min-width: 0; justify-items: center; gap: .3rem; border-radius: 9px; color: var(--ink); padding: .65rem .2rem; text-align: center; }
.visual-path__icon, .method-icon { display: grid; width: 3.35rem; height: 3.35rem; place-items: center; border: 1px solid rgba(8,123,115,.22); border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); }
.visual-path__icon svg, .method-icon svg { width: 1.65rem; height: 1.65rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visual-path strong, .visual-path small { display: block; }
.visual-path strong { font-size: .84rem; }
.visual-path small { color: var(--muted); font-size: .68rem; }
.path-arrow { color: #91a6ae; font-weight: 900; }
.start-card__action { display: flex; min-height: 3rem; align-items: center; justify-content: space-between; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 850; padding: 0 .9rem; text-decoration: none; }
.start-card__action:hover { background: var(--teal-dark); }
.progress-line { overflow: hidden; height: .55rem; margin: 1.3rem 0; border-radius: 999px; background: #e5edef; }
.progress-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #4fb8ae); }
.continue-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; margin-bottom: 1.15rem; }
.continue-meta span { border: 1px solid var(--line); border-radius: 9px; padding: .75rem; color: var(--muted); font-size: .77rem; }
.continue-meta strong { display: block; margin-bottom: .15rem; color: var(--ink); font-size: 1.25rem; }

.preview-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; margin-bottom: 4.5rem; border: 1px solid rgba(8,123,115,.25); border-radius: var(--radius); background: linear-gradient(135deg, #fff, var(--teal-soft)); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.preview-progress h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.preview-progress p:last-child { margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.preview-progress__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.device-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; margin-bottom: 3rem; border: 1px solid rgba(169,128,50,.36); border-radius: var(--radius); background: linear-gradient(135deg, #fff, #fbf5e8); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.device-progress h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.device-progress p:last-child { max-width: 46rem; margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.device-progress__actions { display: flex; flex-wrap: wrap; gap: .65rem; }

.student-plan { padding-bottom: 4rem; }
.section-heading { max-width: 50rem; }
.section-heading > p:last-child, .section-heading--split > div > p:last-child { color: var(--muted); line-height: 1.6; }
.section-heading--split { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 1.5rem; }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.3rem; }
.action-card { display: grid; grid-template-columns: auto 1fr; gap: .8rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 1.15rem; box-shadow: 0 8px 24px rgba(20,49,62,.055); }
.action-card--primary { border-color: rgba(8,123,115,.35); background: linear-gradient(135deg, #fff, var(--teal-soft)); }
.action-card small, .action-card p { color: var(--muted); }
.action-card h3 { margin: .18rem 0 .28rem; }
.action-card p { margin-bottom: .8rem; font-size: .85rem; }
.action-card a, .action-card > button { display: inline-flex; min-height: 2.75rem; grid-column: 2; align-items: center; justify-self: start; border: 0; background: transparent; color: var(--teal-dark); cursor: pointer; font-weight: 850; padding: .35rem 0; text-align: left; text-decoration: none; }
.action-card > button:disabled { color: var(--muted); cursor: not-allowed; }

.due-review { padding-bottom: clamp(4rem, 7vw, 6.5rem); scroll-margin-top: 6rem; }
.due-review .section-heading--split > p { max-width: 34rem; margin-bottom: .8rem; color: var(--muted); line-height: 1.6; }
.due-review__overview { display: grid; grid-template-columns: minmax(13rem, .42fr) minmax(0, 1.58fr); overflow: hidden; margin-top: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.due-review__count { display: grid; align-content: center; justify-items: center; min-height: 15rem; background: linear-gradient(145deg, var(--teal-dark), #234f66); color: #fff; padding: 2rem; text-align: center; }
.due-review__count strong { font-size: clamp(4rem, 8vw, 6.4rem); letter-spacing: -.07em; line-height: .85; }
.due-review__count span { margin-top: .9rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.due-review__summary { align-self: center; padding: clamp(1.5rem, 4vw, 3rem); }
.due-review__summary h3 { margin-bottom: .55rem; font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
.due-review__summary > p { max-width: 46rem; color: var(--muted); line-height: 1.65; }
.flashcard-stats { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.flashcard-stats span { min-width: 6.5rem; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: #526b76; font-size: .72rem; font-weight: 760; padding: .65rem .75rem; text-transform: uppercase; }
.flashcard-stats strong { display: block; margin-bottom: .1rem; color: var(--ink); font-size: 1.25rem; letter-spacing: -.03em; }
.due-review__actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-top: 1.15rem; }

.due-session { margin-top: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow-strong); scroll-margin-top: 6rem; }
.due-session__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.due-session__header h3 { margin: .25rem 0 0; font-size: 1.35rem; }
.due-session__header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.due-session__exit, .due-session__undo { min-height: 2.75rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-soft); cursor: pointer; font-weight: 780; padding: .55rem .8rem; }
.due-session__exit:hover, .due-session__undo:hover { border-color: var(--teal); color: var(--teal-dark); }
.due-session__undo { border-color: rgba(8,123,115,.28); background: var(--teal-soft); color: var(--teal-dark); }
.due-session__progress { overflow: hidden; height: .42rem; margin: 1.2rem 0; border-radius: 999px; background: #e3ecee; }
.due-session__progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #54b9ae); transition: width 180ms ease; }
.due-session__stage { min-height: 24rem; border-radius: 12px; background: var(--surface-soft); padding: clamp(1.2rem, 4vw, 3rem); }
.due-session__keys { margin: 1rem 0 0; color: var(--muted); font-size: .76rem; text-align: center; }
.due-card { max-width: 54rem; margin-inline: auto; }
.due-card__source { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .9rem; color: var(--muted); font-size: .78rem; font-weight: 730; }
.due-card__source a { flex: 0 0 auto; color: var(--teal-dark); text-decoration: none; }
.due-card__prompt { padding-block: clamp(2rem, 5vw, 4rem); text-align: center; }
.due-card__prompt > span, .due-card__answer > span { color: var(--teal-dark); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.due-card__prompt h4 { max-width: 34ch; margin: .75rem auto 0; font-size: clamp(1.55rem, 3.4vw, 2.55rem); letter-spacing: -.035em; line-height: 1.25; white-space: pre-line; }
.due-card__reveal { display: flex; min-width: 13rem; margin-inline: auto; }
.due-card__answer { border: 1px solid rgba(8,123,115,.22); border-radius: 11px; background: #fff; padding: 1.2rem; }
.due-card__answer p { margin: .65rem 0 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; white-space: pre-line; }
.due-card__explanation { margin-top: .75rem; border-left: 3px solid var(--teal); border-radius: 0 9px 9px 0; background: #fff; padding: 1rem 1.1rem; }
.due-card__explanation--trap { border-left-color: var(--gold); background: #fffbf2; }
.due-card__explanation > span { color: var(--teal-dark); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.due-card__explanation--trap > span { color: #76591f; }
.due-card__explanation p { margin: .45rem 0 0; color: var(--ink-soft); line-height: 1.65; white-space: pre-line; }
.due-card__grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; margin: 1.25rem 0 0; border: 0; padding: 0; }
.due-card__grades legend { width: 100%; margin-bottom: .7rem; color: var(--muted); font-size: .78rem; text-align: center; }
.due-card__grades button { display: grid; min-height: 4rem; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); cursor: pointer; padding: .55rem; }
.due-card__grades button:hover { border-color: var(--teal); background: var(--teal-soft); }
.due-card__grades button:first-of-type:hover { border-color: #ae5555; background: #fff1f1; color: #873f3f; }
.due-card__grades button span { font-weight: 850; }
.due-card__grades button small { margin-top: .15rem; color: var(--muted); font-size: .68rem; }
.due-session__complete { display: grid; min-height: 20rem; place-content: center; justify-items: center; text-align: center; }
.due-session__complete-mark { display: grid; width: 4.2rem; height: 4.2rem; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font-size: 2rem; font-weight: 900; }
.due-session__complete h4 { margin: 1rem 0 .45rem; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.due-session__complete p { max-width: 38rem; margin-bottom: 1.25rem; color: var(--muted); line-height: 1.6; }

.course-facts { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.course-facts div { padding: 1.35rem; text-align: center; }
.course-facts div + div { border-left: 1px solid var(--line); }
.course-facts strong, .course-facts span { display: block; }
.course-facts strong { font-size: 1.9rem; letter-spacing: -.04em; }
.course-facts span { margin-top: .15rem; color: var(--muted); font-size: .78rem; font-weight: 720; }

.section { padding-block: clamp(4rem, 7vw, 6.4rem); }
.curriculum-search input { width: min(23rem, 80vw); min-height: 3.1rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); padding: 0 .9rem; }
.curriculum-search input:focus { border-color: var(--teal); outline: 3px solid rgba(8,123,115,.13); }
.results-copy { margin: 1.35rem 0 .7rem; color: var(--muted); font-size: .8rem; }
.part-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.part-card { display: flex; min-height: 12.5rem; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; background: #fff; transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease; }
.part-card:hover, .part-card:focus-within { border-color: rgba(8,123,115,.36); transform: translateY(-2px); box-shadow: var(--shadow); }
.part-card.is-filtered { display: none; }
.part-card__link { display: flex; min-height: 100%; flex: 1; flex-direction: column; border-radius: inherit; color: inherit; padding: 1rem; text-decoration: none; }
.part-card__link > div, .part-card footer { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.part-card__link > div span, .part-card__link > div em { color: var(--teal-dark); font-size: .7rem; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.part-card__link > div em { color: var(--muted); }
.part-card__link > div .part-symbol { display: grid; width: 2.45rem; height: 2.45rem; place-items: center; border-radius: 9px; background: var(--teal-soft); color: var(--teal-dark); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.part-card h3 { margin: 1rem 0 .55rem; font-size: 1.14rem; }
.part-card p { flex: 1; color: var(--muted); font-size: .76rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.part-card footer { border-top: 1px solid var(--line); padding-top: .8rem; }
.part-card footer strong { color: var(--muted); font-size: .76rem; }
.part-card__arrow { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-size: .9rem; font-weight: 800; }
.center-action { display: flex; justify-content: center; margin-top: 1.35rem; }

.module-directory { display: grid; gap: .7rem; margin-top: 1.2rem; scroll-margin-top: 6rem; }
.module-part { border: 1px solid var(--line); border-radius: 11px; background: #fff; overflow: clip; }
.module-part.is-filtered { display: none; }
.module-part summary { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; padding: 1rem 1.1rem; list-style: none; }
.module-part summary::-webkit-details-marker { display: none; }
.module-part summary::after { content: "+"; display: grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 900; }
.module-part[open] summary::after { content: "−"; }
.module-part summary > span { display: grid; gap: .2rem; }
.module-part summary small { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.module-part summary strong { font-size: 1.05rem; }
.module-part summary > b { margin-left: auto; color: var(--muted); font-size: .75rem; }
.module-list { display: grid; border-top: 1px solid var(--line); }
.module-link { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .9rem 1.1rem; text-decoration: none; }
.module-link + .module-link { border-top: 1px solid #edf2f3; }
.module-link:hover { background: var(--teal-soft); }
.module-link.is-filtered { display: none; }
.module-link > span:first-child { color: var(--teal-dark); font-size: .8rem; font-weight: 900; }
.module-link > span:nth-child(2) { display: grid; gap: .18rem; min-width: 0; }
.module-link strong { font-size: .9rem; line-height: 1.35; }
.module-link small { overflow: hidden; color: var(--muted); font-size: .75rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.module-link > span:last-child { color: var(--teal-dark); font-weight: 900; }

.section--tint { background: linear-gradient(180deg, #eef7f6, #f7faf9); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin-top: 1.5rem; }
.method-grid article { border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.9); padding: 1.1rem; }
.method-grid article > span { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: 8px; background: var(--teal-soft); color: var(--teal-dark); font-size: .76rem; font-weight: 900; }
.method-grid h3 { margin: 1.2rem 0 .45rem; }
.method-grid p { margin-bottom: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.method-grid--visual article { position: relative; display: grid; min-height: 12rem; place-items: center; align-content: center; text-align: center; }
.method-grid--visual article:not(:last-child)::after { content: "→"; position: absolute; right: -.75rem; z-index: 2; display: grid; width: 1.5rem; height: 1.5rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #f7faf9; color: #78909a; font-size: .8rem; font-weight: 900; }
.method-grid--visual article > small { margin-top: .8rem; color: var(--muted); font-size: .66rem; font-weight: 850; letter-spacing: .1em; }
.method-grid--visual h3 { margin: .28rem 0 0; }

.educator { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr); gap: 1.25rem; padding-block: clamp(4rem, 7vw, 6.4rem); }
.educator-profile, .educator-note { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.educator-profile { display: block; }
.educator-profile h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.educator-role { margin: -.2rem 0 .9rem; color: var(--teal-dark); font-weight: 820; }
.educator-intro { max-width: 50rem; color: var(--muted); line-height: 1.6; }
.credential-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.credential-list li { border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: #3d5964; font-size: .76rem; font-weight: 740; padding: .48rem .65rem; }
.educator-note h3 { margin-bottom: .7rem; font-size: 1.5rem; }
.educator-note > p:not(.eyebrow, .independence-note) { color: var(--muted); line-height: 1.6; }
.independence-note { margin: 1rem 0 0; color: var(--muted); font-size: .73rem; line-height: 1.5; }

.telegram { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.3rem; align-items: center; border-radius: var(--radius); background: linear-gradient(135deg, var(--teal-dark), #184c62); color: #fff; padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: var(--shadow-strong); }
.telegram .eyebrow { color: #9ee3dc; }
.telegram h2 { margin-bottom: .45rem; font-size: clamp(1.75rem, 3vw, 2.55rem); }
.telegram p:not(.eyebrow) { max-width: 55rem; margin-bottom: 0; color: rgba(255,255,255,.76); line-height: 1.55; }
.telegram-mark { display: grid; width: 3.2rem; height: 3.2rem; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.08); font-size: 1.5rem; }

.faq-list { display: grid; gap: .65rem; margin-top: 1.4rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 1rem; }
.faq-list summary { display: flex; min-height: 44px; align-items: center; cursor: pointer; font-weight: 830; }
.faq-list p { max-width: 60rem; margin: .75rem 0 0; color: var(--muted); line-height: 1.6; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.final-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.final-cta p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 2rem; color: var(--muted); font-size: .8rem; }
.footer-inner p { margin: .25rem 0 0; }

/* Public course index */
body[data-page="index"][data-view="visitor"] { background: #f1f4f0; }
body[data-registration-state="registered"] .anonymous-only { display: none !important; }
body:not([data-registration-state="registered"]) .account-home-link { display: none !important; }
body[data-registration-state="registered"] .header-register { display: none !important; }
.primary-nav a.header-register { margin-left: .25rem; border: 1px solid #d9b66d; background: #d9b66d; color: #173735; padding-inline: .85rem; }
.primary-nav a.header-register:hover { border-color: #e7c783; background: #e7c783; color: #173735; }
.primary-nav .nav-external span { margin-left: .2rem; font-size: .78em; }

.public-hero { position: relative; isolation: isolate; grid-template-columns: minmax(0, 1.12fr) minmax(24rem, .88fr); min-height: 42rem; color: #fff; padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.public-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 50%; width: 100vw; margin-inline: -50vw; background:
  radial-gradient(circle at 78% 15%, rgba(214,181,108,.18), transparent 20rem),
  linear-gradient(135deg, #0c3332 0%, #103f3d 58%, #174c48 100%); }
.public-hero::after { content: ""; position: absolute; z-index: -1; top: 3.5rem; right: -5rem; width: 22rem; height: 22rem; border: 1px solid rgba(204,231,225,.12); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(204,231,225,.025), 0 0 0 8rem rgba(204,231,225,.018); }
.public-hero .hero-copy { position: relative; z-index: 1; max-width: 52rem; }
.public-hero .eyebrow { color: #b7ddd6; }
.public-hero h1 { max-width: 13ch; margin-bottom: 1.35rem; color: #fff; font-family: Newsreader, Georgia, serif; font-size: clamp(3.45rem, 5.7vw, 5.65rem); font-weight: 500; letter-spacing: -.05em; line-height: .94; }
.public-hero .hero-exam-name { white-space: nowrap; }
.public-hero .hero-lead { max-width: 47rem; color: #dce9e6; font-size: clamp(1.08rem, 1.65vw, 1.25rem); line-height: 1.67; }
.public-hero .button { border-color: #d9b66d; background: #d9b66d; color: #173735; box-shadow: none; }
.public-hero .button:hover { border-color: #e7c783; background: #e7c783; color: #173735; }
.public-hero .button--secondary { border-color: rgba(231,243,240,.46); background: transparent; color: #fff; }
.public-hero .button--secondary:hover { border-color: #fff; background: rgba(255,255,255,.09); color: #fff; }
.public-hero .signin-prompt { color: #afcbc6; }
.public-hero .signin-prompt a { color: #fff; }
.public-proof { display: grid; grid-template-columns: repeat(2, max-content); gap: .55rem 1.45rem; margin-top: 2rem; color: #c4d9d5; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; font-weight: 500; }
.public-proof li { padding: 0; }
.public-proof li::before { content: ""; display: inline-block; width: .4rem; height: .4rem; margin-right: .55rem; border: 1px solid #d9b66d; border-radius: 50%; vertical-align: .05rem; }

.course-path-card { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(221,232,227,.78); border-radius: 12px; background: #fffdf8; color: #193638; box-shadow: 0 32px 80px rgba(4,23,23,.28); }
.course-path-card > header { border-bottom: 1px solid #dce5e0; padding: 1.5rem 1.6rem 1.2rem; }
.course-path-card > header h2 { max-width: 13ch; margin: .5rem 0 0; font-family: Newsreader, Georgia, serif; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 500; line-height: 1; }
.course-path-card__steps { margin: 0; padding: .45rem 1.6rem; list-style: none; }
.course-path-card__steps li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .9rem; align-items: center; min-height: 5.45rem; border-bottom: 1px solid #e3e9e5; }
.course-path-card__steps li:last-child { border-bottom: 0; }
.course-path-card__steps li > span { color: #0b6a64; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .7rem; }
.course-path-card__steps strong, .course-path-card__steps small { display: block; }
.course-path-card__steps strong { font-family: Newsreader, Georgia, serif; font-size: 1.15rem; font-weight: 600; }
.course-path-card__steps small { margin-top: .18rem; color: #667876; line-height: 1.4; }
.course-path-card__home { display: grid; gap: .35rem; border-top: 1px solid #bcd4ce; background: #e9f2ee; padding: 1.15rem 1.6rem 1.3rem; }
.course-path-card__home span { color: #0a625d; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.course-path-card__home strong { font-size: .9rem; line-height: 1.5; }

.public-method { position: relative; border-bottom: 1px solid #d8e0db; background: #f7f8f3; padding-block: clamp(4.5rem, 7vw, 6.5rem); }
.public-method__heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(22rem, .7fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.public-method__heading h2, .home-preview h2, #curriculum-title, .educator-profile h2, #faq h2, .final-cta h2 { font-family: Newsreader, Georgia, serif; font-weight: 500; }
.public-method__heading h2 { max-width: 14ch; margin-bottom: 0; font-size: clamp(2.9rem, 5vw, 4.7rem); line-height: .98; }
.public-method__heading > p { margin-bottom: .35rem; color: #516763; font-size: 1.02rem; line-height: 1.7; }
.method-ledger { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; margin-top: 3rem; }
.method-ledger article { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; min-height: 10rem; border-top: 1px solid #aebdb7; padding-block: 1.3rem 1.6rem; }
.method-ledger article > span { color: #0a6862; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; }
.method-ledger h3 { margin: -.15rem 0 .55rem; font-family: Newsreader, Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.method-ledger h3 small { margin-left: .35rem; color: #0a6862; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.method-ledger p { max-width: 31rem; margin-bottom: 0; color: #60716d; line-height: 1.65; }

.home-preview { display: grid; grid-template-columns: minmax(18rem, .65fr) minmax(0, 1.35fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; padding-block: clamp(5rem, 8vw, 8rem); }
.home-preview__copy h2 { max-width: 12ch; font-size: clamp(2.8rem, 4.7vw, 4.25rem); line-height: .98; }
.home-preview__copy > p:not(.eyebrow) { max-width: 37rem; color: #526763; line-height: 1.7; }
.home-preview__rule { margin-block: 1.35rem; border-left: 2px solid #0a6862; padding-left: 1rem; }
.home-preview__rule strong { color: #193f3d; }
.home-preview__copy .text-link { display: inline-flex; padding-inline: 0; color: #075b56; }
.home-preview__screen { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(15rem, .85fr); overflow: hidden; border: 1px solid rgba(8,56,54,.58); border-radius: 12px; background: #103f3d; box-shadow: 0 30px 70px rgba(15,47,45,.2); color: #fff; }
.home-preview__screen > header, .home-preview__screen > footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.home-preview__screen > header { min-height: 3.7rem; border-bottom: 1px solid rgba(211,235,229,.2); padding: .85rem 1.15rem; color: #c5ddd8; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .66rem; text-transform: uppercase; }
.home-preview__screen > header strong { color: #fff; font-size: .66rem; font-weight: 500; }
.home-preview__module, .home-preview__due { margin: 1rem; border-radius: 8px; padding: 1.25rem; }
.home-preview__module { display: flex; min-height: 14rem; flex-direction: column; background: #fffdf8; color: #173b3c; }
.home-preview__module span, .home-preview__due span { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; }
.home-preview__module strong { max-width: 16ch; margin: 1rem 0 auto; font-family: Newsreader, Georgia, serif; font-size: 1.8rem; font-weight: 500; line-height: 1.05; }
.home-preview__module small { color: #60716d; }
.home-preview__due { margin-left: 0; background: #dcece7; color: #123b39; }
.home-preview__due > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.home-preview__due > div strong { color: #0a6862; font-family: Newsreader, Georgia, serif; font-size: 3.3rem; font-weight: 500; line-height: .8; }
.home-preview__due p { margin: 1.4rem 0 1.7rem; color: #41635f; font-size: .82rem; line-height: 1.55; }
.home-preview__button { display: block; border-radius: 6px; background: #0a6862; color: #fff; font-family: Inter, sans-serif !important; font-weight: 800; letter-spacing: 0 !important; padding: .75rem .8rem; text-align: center; text-transform: none !important; }
.home-preview__button { min-height: 44px; text-decoration: none; }
.home-preview__screen > footer { border-top: 1px solid rgba(211,235,229,.2); color: #c5ddd8; font-size: .68rem; padding: .85rem 1.15rem; }

.course-facts { grid-template-columns: repeat(5, 1fr); border-color: #cbd8d2; background: #fffdf8; box-shadow: none; }
.course-facts strong { font-size: clamp(.95rem, 1.5vw, 1.15rem); letter-spacing: -.015em; }
#curriculum .section-heading > div > p:last-child { max-width: 45rem; margin: .8rem 0 0; color: #60716d; line-height: 1.65; }
.curriculum-tools { display: flex; min-width: min(100%, 25rem); align-items: flex-end; flex-direction: column; gap: .6rem; }
.curriculum-tools .text-link { padding-inline: 0; }
body[data-page="index"] .course-route-only { display: none !important; }
body[data-page="course"] .index-route-only { display: none !important; }
body[data-page="index"] #curriculum .curriculum-search,
body[data-page="index"] #curriculum .results-copy,
body[data-page="index"] #curriculum .module-directory { display: none !important; }
body[data-page="index"] #curriculum .part-grid { margin-bottom: 1rem; }
.educator-profile h2 { max-width: 18ch; line-height: 1; }
.final-cta { border-color: #234e4b; background: #103f3d; color: #fff; }
.final-cta .eyebrow { color: #afd7d0; }
.final-cta h2 { max-width: 20ch; }
.final-cta .button--secondary { border-color: rgba(255,255,255,.42); background: transparent; color: #fff; }
.final-cta .button--secondary:hover { background: rgba(255,255,255,.1); }
.footer-inner a { color: #075b56; font-weight: 800; }

body[data-page="course"] main > :not(#curriculum) { display: none !important; }
body[data-page="course"] #curriculum { display: block !important; padding-top: clamp(3rem, 6vw, 5rem); }

/* Registered clinician home: the same visual grammar as the course modules. */
body[data-view="student"] {
  --ink: #18202a;
  --ink-soft: #405463;
  --muted: #607080;
  --teal: #11776f;
  --teal-dark: #07504d;
  --teal-soft: #eef5f4;
  --line: #dbe5ea;
  --max: 1320px;
  background:
    linear-gradient(135deg, rgba(17,119,111,.09), transparent 28rem),
    linear-gradient(315deg, rgba(214,154,45,.10), transparent 32rem),
    #f7f9f7;
}
body[data-view="student"] .site-header { border-bottom-color: rgba(190,207,212,.55); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); }
body[data-view="student"] .header-inner { min-height: 82px; }
body[data-view="student"] .brand-mark { width: 3rem; height: 3rem; border-radius: 10px; background: #0f8179; }
body[data-view="student"] .primary-nav { gap: .18rem; }
body[data-view="student"] .primary-nav a { border-radius: 999px; font-weight: 800; padding: .6rem .82rem; }

.student-home { padding-block: clamp(3rem, 6vw, 5.6rem); scroll-margin-top: 5.5rem; }
.visitor-focus { scroll-margin-top: 5.5rem; }
.student-home__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 2rem; }
.student-home__heading > div { max-width: 62rem; }
.student-home__heading h1 { max-width: none; margin-bottom: .75rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.2rem, 5.6vw, 5.15rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.student-home__lead { max-width: 48rem; margin-bottom: 0; color: #304253; font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.6; }
.student-home__course { min-width: 15rem; border: 1px solid rgba(174,199,207,.64); border-radius: 8px; background: rgba(255,255,255,.78); color: var(--ink); padding: 1rem 1.1rem; text-decoration: none; }
.student-home__course span, .student-home__course strong, .student-home__course small { display: block; }
.student-home__course > span { color: #50677a; font-size: .68rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.student-home__course strong { margin-top: .42rem; font-size: .92rem; }
.student-home__course strong b { font-size: 1.2rem; }
.student-home__course small { margin-top: .45rem; color: var(--teal-dark); font-weight: 800; }

.student-workspace { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(20rem, .65fr); gap: 1.25rem; align-items: stretch; }
.student-resume, .student-review { overflow: hidden; border: 1px solid rgba(219,229,234,.92); border-radius: 8px; background: rgba(255,255,255,.9); box-shadow: 0 24px 60px rgba(19,35,48,.12); }
.student-resume { display: flex; min-height: 34rem; flex-direction: column; }
.student-resume > header { display: flex; min-height: 3.25rem; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); color: #50677a; font-size: .7rem; font-weight: 850; letter-spacing: .09em; padding: .8rem 1.25rem; text-transform: uppercase; }
.student-resume__body { flex: 1; padding: clamp(1.7rem, 4vw, 3rem); }
.student-resume__context { margin-bottom: .65rem; color: var(--teal-dark); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.student-resume__body h2 { max-width: 18ch; margin-bottom: 1.15rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 4vw, 3.75rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.student-resume__body > p:not(.student-resume__context) { max-width: 48rem; color: var(--ink-soft); line-height: 1.65; }
.student-resume__next { max-width: 46rem; margin-top: 1.5rem; border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; background: var(--teal-soft); padding: .9rem 1rem; }
.student-resume__next span, .student-resume__next strong { display: block; }
.student-resume__next span { color: var(--teal-dark); font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.student-resume__next strong { margin-top: .3rem; font-size: .92rem; line-height: 1.45; }
.student-resume__progress { overflow: hidden; height: 4px; margin-inline: clamp(1.7rem, 4vw, 3rem); background: #dce6e4; }
.student-resume__progress span { display: block; width: 0; height: 100%; background: var(--teal); transition: width 180ms ease; }
.student-resume > footer { display: flex; min-height: 5.4rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.7rem, 4vw, 3rem); }
.student-resume > footer > span { color: var(--muted); font-size: .76rem; }
.student-resume > footer > span strong { color: var(--ink); }
.student-resume > footer > div { display: flex; align-items: center; gap: .8rem; }
.student-resume .button { border-radius: 8px; box-shadow: none; }

.student-review { display: flex; min-height: 34rem; flex-direction: column; background: rgba(238,245,244,.94); }
.student-review > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #cbdcda; padding: 1.25rem; }
.student-review > header .eyebrow { margin-bottom: .35rem; }
.student-review > header h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.025em; line-height: 1.08; }
.student-review > header > strong { min-width: 4rem; color: var(--teal); font-family: Georgia, "Times New Roman", serif; font-size: 3.5rem; font-weight: 500; line-height: .9; text-align: right; }
.student-review__body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.4rem, 3vw, 2rem); }
.student-review__body > p { margin-bottom: 1.25rem; color: var(--ink-soft); line-height: 1.6; }
.student-review__prompt { margin-bottom: auto; border: 1px solid rgba(174,199,207,.7); border-radius: 8px; background: rgba(255,255,255,.78); padding: 1rem; }
.student-review__prompt span, .student-review__prompt strong { display: block; }
.student-review__prompt span { color: var(--teal-dark); font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.student-review__prompt strong { margin-top: .4rem; font-size: 1rem; line-height: 1.45; }
.student-review__body .button { margin-top: 1.2rem; border-radius: 8px; box-shadow: none; }
.student-review__secondary { min-height: 2.75rem; margin-top: .55rem; border: 1px solid #c9d8db; border-radius: 8px; background: #fff; color: var(--teal-dark); cursor: pointer; font-weight: 820; padding: .65rem .9rem; }
.student-review__secondary:hover { border-color: var(--teal); background: #f8fbfa; }
.student-review__secondary:disabled { color: var(--muted); cursor: not-allowed; }
.student-review > footer { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-top: 1px solid #cbdcda; color: var(--muted); font-size: .68rem; padding: .8rem 1.25rem; }
.student-review > footer a { color: var(--teal-dark); font-weight: 800; text-decoration: none; }

.student-status { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.82); }
.student-status div { padding: 1rem 1.1rem; }
.student-status div + div { border-left: 1px solid var(--line); }
.student-status span, .student-status strong { display: block; }
.student-status span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.student-status strong { margin-top: .35rem; font-size: 1rem; font-variant-numeric: tabular-nums; }

body[data-view="student"] .device-progress { margin-top: 0; margin-bottom: 3.5rem; border-radius: 8px; }
body[data-view="student"] .due-review { padding-block: clamp(3.8rem, 6vw, 5.6rem); border-top: 1px solid rgba(219,229,234,.85); }
body[data-view="student"] .due-review h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
body[data-view="student"] .due-review__overview, body[data-view="student"] .due-session { border-radius: 8px; box-shadow: 0 18px 42px rgba(29,48,56,.09); }
body[data-view="student"] .due-review__count { background: var(--teal-dark); }
body[data-view="student"] .due-session__stage { border-radius: 8px; }

.student-overview { display: block; padding-bottom: clamp(4rem, 7vw, 6.5rem); }
.student-course-progress { border: 1px solid rgba(219,229,234,.92); border-radius: 8px; background: rgba(255,255,255,.9); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 18px 42px rgba(29,48,56,.08); }
.student-course-progress .section-heading > p:last-child { max-width: 48rem; }
.student-paper-progress { display: grid; gap: 1.2rem; margin-top: 2rem; }
.student-paper-progress > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.student-paper-progress header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.student-paper-progress header span { font-weight: 820; }
.student-paper-progress header strong { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.student-paper-progress [role="progressbar"] { overflow: hidden; height: 4px; background: #dce6e4; }
.student-paper-progress [role="progressbar"] span { display: block; width: 0; height: 100%; background: var(--teal); transition: width 180ms ease; }
.student-overview__link { display: inline-flex; margin-top: 1.6rem; padding-inline: 0; }
/* Registered clinician workspace */
body[data-view="student"] { background: #edf2ef; }
body[data-view="student"] .site-header { border-bottom-color: #d4dfdb; background: rgba(250,252,250,.97); }
body[data-view="student"] .brand-mark { border-radius: 8px; background: #0b5c57; }
body[data-view="student"] .primary-nav a { color: #294449; }
body[data-view="student"] .primary-nav a[aria-current="page"] { background: #e2efeb; color: #07504d; }
body[data-view="student"] .button { border-color: #0a6862; border-radius: 7px; background: #0a6862; box-shadow: none; }
body[data-view="student"] .button:hover { background: #07504d; box-shadow: none; }
body[data-view="student"] .button:disabled { border-color: #c7d3cf; background: #dce5e2; color: #667873; cursor: not-allowed; }

.student-home { position: relative; isolation: isolate; padding-block: clamp(2.4rem, 4vw, 3.5rem) clamp(4.5rem, 7vw, 6.5rem); }
.student-home::before { content: ""; position: absolute; z-index: -1; top: 0; left: 50%; width: 100vw; height: clamp(22rem, 31vw, 25rem); transform: translateX(-50%); background: #103f3d; }
.student-home__heading { align-items: center; margin-bottom: 1.2rem; color: #fff; }
.student-home__heading .eyebrow { color: #abd5cf; }
.student-home__heading h1 { max-width: 18ch; margin-bottom: .55rem; color: #fff; font-family: Newsreader, Georgia, serif; font-size: clamp(2.45rem, 3.4vw, 3.15rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.student-home__lead { max-width: 44rem; color: #d7e8e5; font-size: clamp(1rem, 1.45vw, 1.14rem); }
.student-home__heading .sync-status { border-left-color: #d5ad5b; color: #d7e8e5; }
.student-home__course { min-width: 12rem; border-color: rgba(194,224,218,.34); background: rgba(255,255,255,.075); color: #fff; padding: .75rem .9rem; }
.student-home__course:hover { border-color: rgba(194,224,218,.7); background: rgba(255,255,255,.12); }
.student-home__course > span { color: #abd5cf; }
.student-home__course strong { color: #fff; }
.student-home__course small { color: #d7ece8; }
.student-home__course small span { display: inline; }

.student-plan-layout { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(14rem, .52fr) minmax(0, 1.48fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; margin-top: 1rem; padding-top: clamp(2.25rem, 4vw, 3.5rem); }
.student-plan-layout::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw) -3rem; background: #edf2ef; }
.student-plan-intro { color: #16383a; padding-top: clamp(.7rem, 1.5vw, 1.2rem); }
.student-plan-intro .eyebrow { color: #0a6862; }
.student-plan-intro h2 { max-width: 9ch; margin-bottom: .7rem; color: #16383a; font-family: Newsreader, Georgia, serif; font-size: clamp(2.8rem, 4.3vw, 4.25rem); font-weight: 500; letter-spacing: -.045em; line-height: .96; }
.student-plan-intro > [data-plan-sequence] { max-width: 26rem; margin: 0; color: #425861; line-height: 1.6; }
.student-question-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, .72fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); margin-top: 1.15rem; border: 1px solid #cbd8d4; border-radius: 10px; background: rgba(255,255,255,.74); padding: 1rem clamp(1.25rem, 3vw, 2rem); box-shadow: 0 12px 34px rgba(20,48,48,.06); }
.student-question-summary h3 { margin: 0 0 .35rem; color: #16383a; font-size: 1rem; font-weight: 850; letter-spacing: -.01em; }
.student-question-summary > div > p { margin: 0; color: #52666c; font-size: .86rem; line-height: 1.5; }
.student-question-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.student-question-summary dl div { min-width: 0; border: 1px solid #cedbd7; border-radius: 8px; background: rgba(255,255,255,.74); padding: .75rem .8rem; }
.student-question-summary dt { color: #526b76; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .61rem; font-weight: 800; letter-spacing: .05em; line-height: 1.35; text-transform: uppercase; }
.student-question-summary dd { margin: .35rem 0 0; color: #0a6862; font-family: Newsreader, Georgia, serif; font-size: 1.85rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.student-workspace { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; overflow: hidden; border: 1px solid #cbd8d4; border-radius: 10px; background: #fffefb; box-shadow: 0 24px 64px rgba(15,42,43,.16); }
.student-resume, .student-review { min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
.student-plan-step { position: relative; }
.student-plan-step__number { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid #bad0cb; border-radius: 999px; background: #fff; color: #0a6862; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .68rem; font-weight: 800; }
.student-plan-step__label { margin: 0 0 .2rem; color: #0a6862; font-size: .68rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.student-plan-step__status { justify-self: end; border-radius: 999px; background: #dfece8; color: #315f5a; font-size: .65rem; font-weight: 800; letter-spacing: .06em; padding: .35rem .55rem; text-transform: uppercase; }

.student-review { order: 1; background: #edf4f1; scroll-margin-top: 5.5rem; }
.student-review > header { display: grid; min-height: 5.5rem; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; border-bottom: 1px solid #cbdad5; background: #e4efeb; padding: 1rem clamp(1.25rem, 3vw, 2rem); }
.student-review > header h3 { margin: 0; color: #16383a; font-family: Newsreader, Georgia, serif; font-size: clamp(1.45rem, 2.1vw, 1.85rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; }
.student-review > header > strong { min-width: 3.5rem; color: #0a6862; font-family: Newsreader, Georgia, serif; font-size: 3.2rem; font-weight: 500; line-height: .9; text-align: right; }
.student-review__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.1rem clamp(1.25rem, 3vw, 2rem); }
.student-review__body > p { margin: 0; color: #425861; line-height: 1.55; }
.student-review__body .button { min-width: 10rem; margin-top: 0; border-radius: 7px; }
.student-review > footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #cbdad5; color: #526b76; padding: .7rem clamp(1.25rem, 3vw, 2rem); }
.student-review > footer span:first-child { color: #0a6862; font-weight: 820; }
.student-review--compact .student-review__body { grid-template-columns: minmax(0, 1fr); padding-block: .85rem; }
.student-review--compact > footer { display: none; }
.student-review--compact > header { min-height: 4.8rem; border-bottom-color: #d9e3df; background: #f0f5f2; }
.student-review--compact > header > strong { color: #668079; font-size: 2.4rem; }

.student-resume { order: 2; border-top: 1px solid #cbd8d4; background: #fffefb; }
.student-resume > header { display: grid; min-height: 4.8rem; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; border-bottom: 1px solid #dce4e1; background: #f5f8f5; color: #42615f; padding: .9rem clamp(1.25rem, 3vw, 2rem); }
.student-resume > header > div > span, .student-resume > header > div > small { display: block; }
.student-resume > header > div > span { color: #0a6862; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.student-resume > header > div > small { margin-top: .22rem; color: #50677a; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .68rem; font-weight: 800; }
.student-resume__body { padding: clamp(1.35rem, 2.5vw, 2rem); }
.student-resume__context { color: #0a6862; }
.student-resume__body h3 { max-width: 26ch; margin-bottom: .8rem; font-family: Newsreader, Georgia, serif; font-size: clamp(2rem, 2.65vw, 2.75rem); font-weight: 500; line-height: 1.02; }
.student-resume__body > p:not(.student-resume__context) { max-width: 43rem; color: #425861; }
.student-resume__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin: .15rem 0 1rem; }
.student-resume__actions .button { min-height: 2.8rem; }
.student-resume__progress { height: 3px; margin-inline: clamp(1.35rem, 2.5vw, 2rem); background: #d9e3df; }
.student-resume > footer { display: flex; min-height: 3.8rem; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #e1e7e4; background: #fbfcfa; padding: 1rem clamp(1.35rem, 2.5vw, 2rem); }
.student-resume > footer > span { color: #607080; font-size: .76rem; }
.student-resume > footer .text-link { color: #365d5a; padding: .5rem 0; }

body[data-home-priority="review"] .student-review,
body[data-home-priority="module"] .student-resume { box-shadow: inset 3px 0 #d9b66d; }

.student-status { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 1rem; border-color: rgba(188,218,211,.28); border-radius: 9px; background: #174b48; box-shadow: 0 14px 38px rgba(7,38,37,.14); }
.student-status div { padding: .8rem 1.1rem; }
.student-status div + div { border-left-color: rgba(188,218,211,.22); }
.student-status span { color: #abd5cf; }
.student-status strong { color: #fff; }
body[data-home-priority="module"] .student-resume,
body[data-home-priority="review"] .student-review { border-top: 3px solid #d9b66d; }

body[data-view="student"] .due-review { width: min(calc(100% - 2rem), var(--max)); margin-block: 0 clamp(3.5rem, 6vw, 5.5rem); border: 0; background: transparent; padding: 0; }
body[data-view="student"] .due-review .section-heading > p { max-width: 31rem; }
body[data-view="student"] .due-review h2,
body[data-view="student"] .student-overview h2 { font-family: Newsreader, Georgia, serif; font-weight: 500; }
body[data-view="student"] .student-resume > header,
body[data-view="student"] .student-status span,
body[data-view="student"] .student-paper-progress header strong { font-family: "JetBrains Mono", ui-monospace, monospace; }
body[data-view="student"] .student-resume > header { font-weight: 800; }
body[data-view="student"] .due-review__overview { grid-template-columns: minmax(11rem, .34fr) minmax(0, 1.66fr); border-color: #cbd8d4; border-radius: 8px; box-shadow: none; }
body[data-view="student"] .due-review__count { min-height: 12rem; background: #103f3d; }
body[data-view="student"] .due-review__summary { padding: clamp(1.35rem, 3vw, 2rem); }
body[data-view="student"] .due-session { margin-top: 0; }

.student-course-progress { border-color: #cbd8d4; border-radius: 10px; box-shadow: 0 14px 38px rgba(20,48,48,.07); }
.student-course-progress { background: #fff; }

.student-dock { display: none; }

.public-hero :focus-visible,
.student-home :focus-visible,
.final-cta :focus-visible { outline-color: #d9b66d; }

[data-view="visitor"] .student-only, [data-view="student"] .visitor-only, [data-view="student"] .visitor-focus { display: none !important; }

/* The curriculum route reuses the shared course shell. */
body[data-view="student"][data-page="course"] #curriculum { display: block !important; padding-top: clamp(3rem, 6vw, 5rem); }
body[data-view="student"][data-page="course"] .student-home,
body[data-view="student"][data-page="course"] .device-progress,
body[data-view="student"][data-page="course"] #flashcards,
body[data-view="student"][data-page="course"] .student-overview { display: none !important; }

@media (max-width: 1000px) {
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 1rem; left: 1rem; display: none; margin: 0; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: .6rem; box-shadow: var(--shadow-strong); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { justify-content: flex-start; }
  .primary-nav a.header-register { margin: .2rem 0 0; justify-content: center; }
  .menu-toggle { display: block; }
  .hero, .educator { grid-template-columns: 1fr; }
  .hero { gap: 2rem; }
  .start-card { max-width: 42rem; }
  .preview-progress, .device-progress { grid-template-columns: 1fr; }
  .action-grid, .part-grid { grid-template-columns: repeat(2, 1fr); }
  .due-review__overview { grid-template-columns: minmax(11rem, .48fr) minmax(0, 1.52fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid--visual article:not(:last-child)::after { display: none; }
  .telegram { grid-template-columns: auto 1fr; }
  .telegram .button { grid-column: 2; justify-self: start; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 1.2rem), var(--max)); }
  .header-inner { width: calc(100% - 1.2rem); min-height: 66px; gap: .5rem; }
  .brand-copy small { display: none; }
  .button--small { min-height: 2.35rem; padding: .45rem .62rem; font-size: .78rem; }
  .hero { padding-block: 3.5rem; }
  h1 { font-size: clamp(2.75rem, 15vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .feature-list { align-items: flex-start; flex-direction: column; }
  .feature-list--path { align-items: center; flex-direction: row; }
  .action-grid, .part-grid, .method-grid { grid-template-columns: 1fr; }
  .preview-progress__actions, .preview-progress__actions .button, .device-progress__actions, .device-progress__actions .button { width: 100%; }
  .due-review__overview { grid-template-columns: 1fr; }
  .due-review__count { min-height: 9rem; }
  .due-review__count strong { font-size: 4rem; }
  .due-review__actions, .due-review__actions .button { width: 100%; }
  .due-review__actions .text-link { text-align: center; }
  .due-session__header, .due-card__source { align-items: flex-start; flex-direction: column; }
  .due-session__header-actions { width: 100%; justify-content: flex-start; }
  .due-session__stage { min-height: 22rem; padding: 1rem; }
  .due-card__grades { grid-template-columns: repeat(2, 1fr); }
  .due-session__keys { display: none; }
  .section-heading--split { align-items: flex-start; flex-direction: column; }
  .course-facts { grid-template-columns: repeat(2, 1fr); }
  .course-facts div + div { border-left: 0; }
  .course-facts div:nth-child(even) { border-left: 1px solid var(--line); }
  .course-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .curriculum-search, .curriculum-search input { width: 100%; }
  .module-part summary > b { display: none; }
  .module-link { grid-template-columns: 2.6rem minmax(0, 1fr) auto; padding-inline: .8rem; }
  .module-link small { display: none; }
  .telegram { grid-template-columns: 1fr; }
  .telegram .button { grid-column: 1; width: 100%; }
  .telegram-mark { display: none; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 1000px) {
  .student-home__heading { align-items: flex-start; flex-direction: column; gap: 1.35rem; }
  .student-home__course { width: min(100%, 30rem); }
  .student-plan-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .student-plan-intro { padding: .5rem 0; }
  .student-plan-intro h2 { max-width: none; font-size: clamp(2.6rem, 8vw, 3.8rem); }
  .student-plan-intro > [data-plan-sequence] { max-width: 38rem; }
  .student-workspace,
  body[data-home-priority="module"] .student-workspace,
  body[data-home-priority="review"] .student-workspace { grid-template-columns: minmax(0, 1fr); }
  .student-question-summary { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .student-status { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body[data-view="student"] { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  body[data-view="student"] .header-inner { min-height: 68px; }
  body[data-view="student"] .brand-mark { width: 2.55rem; height: 2.55rem; }
  .student-home { display: flex; flex-direction: column; padding-block: 2.6rem 3.5rem; }
  .student-home__heading { gap: .85rem; margin-bottom: 1rem; }
  .student-home__heading { order: 1; }
  .student-status { order: 2; margin: 0 0 .85rem; }
  .student-plan-layout { order: 3; margin-top: 0; padding-top: 1.6rem; }
  .student-plan-layout::before { bottom: -2rem; }
  .student-plan-intro { padding: .25rem 0; }
  .student-plan-intro h2 { font-size: clamp(2.35rem, 11vw, 3rem); }
  .student-question-summary { margin-top: 1rem; padding: 1rem; }
  .student-home__heading h1 { font-size: clamp(2.55rem, 11.5vw, 3.25rem); }
  .student-home__course { display: grid; min-width: 0; min-height: 3.4rem; grid-template-columns: 1fr auto; border-color: #47716d; background: #174b48; padding: .6rem .8rem; box-shadow: 0 12px 28px rgba(12,46,45,.14); }
  .student-home__course > span, .student-home__course strong { grid-column: 1; }
  .student-home__course strong { margin-top: .15rem; }
  .student-home__course strong b { font-size: 1rem; }
  .student-home__course small { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; font-size: 0; }
  .student-home__course small span { font-size: 1rem; }
  .student-resume, .student-review { min-height: 0; }
  .student-resume__body { padding: 1.35rem; }
  .student-resume__body h3 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .student-resume__actions { align-items: stretch; flex-direction: column; }
  .student-resume__actions .button { width: 100%; }
  .student-resume__actions .text-link { text-align: center; }
  .student-resume__progress { margin-inline: 1.35rem; }
  .student-resume > footer { align-items: flex-start; flex-direction: column; padding: 1rem 1.35rem 1.35rem; }
  .student-resume > footer .text-link { display: inline-flex; min-height: 2.75rem; align-items: center; }
  .student-review__body { grid-template-columns: minmax(0, 1fr); padding: 1.2rem 1.35rem; }
  .student-review__body .button { width: 100%; }
  .student-review > footer { align-items: flex-start; flex-direction: column; }
  .student-status { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .student-status div { min-width: 0; padding: .72rem .65rem; }
  .student-status div + div { border-top: 0; border-left: 1px solid rgba(188,218,211,.22); }
  .student-status span { font-size: .58rem; letter-spacing: .045em; }
  .student-status strong { overflow-wrap: anywhere; font-size: .88rem; }
  .student-paper-progress header { align-items: flex-start; flex-direction: column; gap: .35rem; }
  body[data-view="student"] .primary-nav > .student-only { display: none !important; }
  .student-dock { position: fixed; right: 0; bottom: 0; left: 0; z-index: 70; display: grid; min-height: calc(4.6rem + env(safe-area-inset-bottom)); grid-template-columns: repeat(3, 1fr); border-top: 1px solid #c8d7da; background: rgba(255,255,255,.97); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px rgba(19,35,48,.08); backdrop-filter: blur(14px); }
  .student-dock a { position: relative; display: flex; min-width: 0; min-height: 4.4rem; align-items: center; justify-content: center; flex-direction: column; gap: .18rem; color: var(--ink-soft); font-size: .62rem; font-weight: 800; text-align: center; text-decoration: none; }
  .student-dock a::before { content: ""; position: absolute; top: 0; right: .8rem; left: .8rem; height: 3px; border-radius: 0 0 3px 3px; background: transparent; }
  .student-dock a:hover, .student-dock a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-dark); }
  .student-dock a[aria-current="page"]::before { background: var(--teal); }
  .student-dock a b { overflow: hidden; max-width: 100%; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
  .student-dock .student-dock__icon { display: grid; width: 1.25rem; height: 1.25rem; place-items: center; color: currentColor; font-size: 1.05rem; line-height: 1; }
  .student-dock .nav-count { position: absolute; top: .38rem; left: calc(50% + .42rem); display: inline-grid; min-width: 1.05rem; height: 1.05rem; margin: 0; place-items: center; border-radius: 999px; background: #d9b66d; color: #173735; font-size: .55rem; }
}

@media (max-width: 1000px) {
  .public-hero { grid-template-columns: 1fr; min-height: 0; }
  .public-hero::after { right: -12rem; }
  .course-path-card { width: min(100%, 42rem); }
  .public-method__heading, .home-preview { grid-template-columns: 1fr; }
  .public-method__heading { align-items: start; gap: 1.25rem; }
  .public-method__heading > p { max-width: 45rem; }
  .home-preview__copy { max-width: 48rem; }
}

@media (max-width: 680px) {
  .public-hero { padding-block: 3.7rem 4.3rem; }
  .public-hero h1 { max-width: 13ch; font-size: clamp(2.75rem, 11.5vw, 3.8rem); }
  .public-proof { grid-template-columns: 1fr 1fr; gap: .7rem 1rem; }
  .course-path-card > header, .course-path-card__steps, .course-path-card__home { padding-inline: 1.1rem; }
  .public-method { padding-block: 3.8rem; }
  .public-method__heading h2, .home-preview__copy h2 { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .method-ledger { grid-template-columns: 1fr; margin-top: 2rem; }
  .method-ledger article { min-height: 0; }
  .home-preview { gap: 1.8rem; padding-block: 4rem; }
  .home-preview__screen { grid-template-columns: 1fr; }
  .home-preview__screen > header, .home-preview__screen > footer { align-items: flex-start; flex-direction: column; }
  .home-preview__module { min-height: 11.5rem; }
  .home-preview__due { margin-top: 0; margin-left: 1rem; }
  .course-facts { grid-template-columns: repeat(2, 1fr); }
  .course-facts div:nth-child(5) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .curriculum-tools, .curriculum-tools .curriculum-search, .curriculum-tools input { width: 100%; }
  .curriculum-tools { align-items: stretch; }
  .final-cta h2 { font-size: clamp(2.2rem, 10vw, 3.1rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
