:root {
  --ink: #102b2a;
  --green: #0e5b4b;
  --green-2: #16705b;
  --lime: #d7e99b;
  --paper: #f7f3e9;
  --paper-2: #edf0e7;
  --card: #fffdf7;
  --muted: #536764;
  --line: #d5ddd3;
  --amber: #bd7824;
  --amber-soft: #f6e6c5;
  --blue-soft: #dce9e7;
  --shadow: 0 14px 44px rgba(16, 43, 42, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
p a:not(.button):not(.card-action) { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #82ad5b;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: white;
  color: var(--green);
  font-weight: 800;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(16, 43, 42, .13);
  background: rgba(247, 243, 233, .94);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.025em; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 22px;
}
nav { display: flex; gap: clamp(17px, 2.7vw, 38px); color: var(--muted); font-size: .9rem; font-weight: 700; }
nav a:hover { color: var(--green); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .7fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: end;
  padding: clamp(78px, 11vw, 150px) 7vw clamp(74px, 9vw, 124px);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -8vw;
  top: 10%;
  width: 34vw;
  height: 34vw;
  border: 1px solid rgba(14, 91, 75, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(14,91,75,.035), 0 0 0 124px rgba(14,91,75,.025);
  pointer-events: none;
}
.hero-copy, .hero-panel { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.037em; }
h1 {
  max-width: 880px;
  margin-bottom: 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 6.9vw, 7.15rem);
  font-weight: 500;
}
.hero-lede { max-width: 730px; margin: 0; color: var(--muted); font-size: clamp(1.03rem, 1.55vw, 1.34rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.offline-note { max-width: 780px; margin: 17px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-weight: 780;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button.primary { background: var(--green); color: white; }
.button.secondary { color: var(--green); }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,43,42,.12); }
.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
  color: white;
  box-shadow: 0 30px 80px rgba(16,43,42,.2);
}
.hero-panel div { display: flex; flex-direction: column; padding: 24px 11px; background: rgba(255,255,255,.035); text-align: center; }
.hero-panel strong { color: var(--lime); font-family: Georgia, serif; font-size: 2.3rem; font-weight: 500; }
.hero-panel span { font-size: .72rem; line-height: 1.35; }
.hero-panel p { grid-column: 1 / -1; margin: 0; padding: 20px 24px 24px; border-top: 1px solid rgba(255,255,255,.12); color: #c8d4d0; font-size: .84rem; }

.start-section, .progress-section, .path-section, .catalog-section, .method-section { padding: clamp(70px, 8.5vw, 118px) 7vw; }
.start-section { border-top: 1px solid var(--line); background: #fffdf7; }
.section-kicker { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; align-items: end; }
.section-kicker .eyebrow { grid-column: 1 / -1; }
.section-kicker h2, .section-heading h2, .catalog-intro h2, .method-head h2 {
  margin-bottom: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.35rem, 4vw, 4.6rem);
  font-weight: 500;
}
.section-kicker > p:last-child { margin: 0 0 .6rem; color: var(--muted); font-size: 1.05rem; }
.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.start-grid article { display: flex; min-height: 305px; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.step-number { color: var(--green); font-family: ui-monospace, monospace; font-size: .78rem; font-weight: 800; }
.start-grid h3 { margin: 50px 0 13px; font-family: Georgia, serif; font-size: 1.85rem; font-weight: 500; }
.start-grid p { margin: 0; color: var(--muted); font-size: .94rem; }
.start-grid a { margin-top: auto; padding-top: 26px; color: var(--green); font-weight: 800; }
.start-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }

.path-section { border-block: 1px solid var(--line); background: var(--paper-2); }
.section-heading { max-width: 820px; }
.section-heading h2 { margin-bottom: 40px; }
.stage-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #c7d0c4; border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.45); }
.stage-strip button {
  display: flex;
  min-height: 196px;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border: 0;
  border-right: 1px solid #c7d0c4;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease;
}
.stage-strip button:last-child { border-right: 0; }
.stage-strip button:hover, .stage-strip button[aria-pressed='true'] { background: white; }
.stage-strip b { color: var(--green); font-family: Georgia, serif; font-size: 3.25rem; font-weight: 500; }
.stage-strip span { max-width: 210px; font-size: .9rem; font-weight: 800; }
.stage-strip small { color: var(--muted); font-size: .72rem; }
.topic-heading { margin-top: 58px; }
.topic-links { display: flex; flex-wrap: wrap; gap: 9px; }
.topic-pill {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 12px;
  padding: 0 10px 0 16px;
  border: 1px solid #c7d0c4;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  font-size: .82rem;
  font-weight: 750;
  cursor: pointer;
}
.topic-pill b { display: grid; min-width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: .68rem; }
.topic-pill:hover { background: white; }

.catalog-section { background: var(--paper); }
.catalog-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 8vw; align-items: end; }
.catalog-intro > div:first-child > p:last-child { max-width: 790px; margin: 22px 0 0; color: var(--muted); }
.legend { display: flex; flex-direction: column; gap: 10px; padding-bottom: 8px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.legend span { display: flex; align-items: center; gap: 9px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.dot.published { background: #3d8b56; box-shadow: 0 0 0 4px #dcebe1; }
.dot.unresolved { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(180px, .7fr) minmax(180px, .7fr) auto;
  gap: 12px;
  margin-top: 48px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: var(--shadow);
}
.filter-panel label, .level-filter { display: flex; flex-direction: column; gap: 7px; }
.filter-panel label > span, .level-filter > span { color: var(--muted); font-size: .65rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.filter-panel select, .search-field > div {
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
}
.filter-panel select { width: 100%; padding: 0 34px 0 12px; color: var(--ink); }
.search-field > div { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.level-filter > div { display: flex; height: 45px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: white; }
.level-filter button { min-width: 41px; padding: 0 10px; border: 0; border-right: 1px solid var(--line); background: white; font-size: .78rem; font-weight: 800; cursor: pointer; }
.level-filter button:last-child { border-right: 0; }
.level-filter button[aria-pressed='true'] { background: var(--ink); color: white; }
.result-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 24px 2px 18px; }
.result-row p { margin: 0; color: var(--muted); font-size: .82rem; font-weight: 700; }
.result-row button { border: 0; background: transparent; color: var(--green); font-size: .79rem; font-weight: 800; cursor: pointer; }
.result-row button:hover { text-decoration: underline; text-underline-offset: 4px; }

.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.course-card {
  display: flex;
  min-width: 0;
  min-height: 495px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--card);
  box-shadow: 0 8px 28px rgba(16,43,42,.04);
  scroll-margin-top: 92px;
}
.course-card.state-published { border-top: 4px solid #4b8f5c; }
.course-card.state-near { border-top: 4px solid #77a66b; }
.course-card.state-unresolved { border-style: dashed; border-top: 4px solid var(--amber); background: #fffaf0; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-code { color: var(--green); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .86rem; font-weight: 850; }
.status { padding: 5px 9px; border-radius: 999px; font-size: .66rem; font-weight: 800; white-space: nowrap; }
.status-published { background: #dcebe1; color: #285e3b; }
.status-near { background: #e5efdb; color: #426638; }
.status-production { background: var(--blue-soft); color: #245a54; }
.status-unresolved { background: var(--amber-soft); color: #774d16; }
.course-topic { margin: 22px 0 8px; color: var(--muted); font-size: .67rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.course-card h3 { margin: 0 0 14px; font-family: Georgia, serif; font-size: clamp(1.48rem, 2vw, 1.82rem); font-weight: 500; }
.course-purpose { margin: 0; color: var(--muted); font-size: .89rem; }
.delivery-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.delivery-badges span { padding: 5px 8px; border-radius: 999px; background: #edf0e7; color: var(--muted); font-size: .62rem; font-weight: 800; }
.delivery-badges span.verified { background: #dcebe1; color: #285e3b; }
.prerequisites { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.prerequisites > span { color: var(--muted); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.prerequisites > div { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.prereq-link { display: inline-grid; min-width: 34px; min-height: 25px; place-items: center; border-radius: 7px; background: #edf0e7; color: var(--green); font-family: ui-monospace, monospace; font-size: .7rem; font-weight: 850; }
.prereq-link:hover { background: var(--green); color: white; }
.no-prereq { color: var(--muted); font-size: .72rem; text-align: right; }
.next-courses { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.next-courses > span { color: var(--muted); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.next-courses > div { display: grid; gap: 7px; min-width: 0; }
.next-course-link { display: grid; min-height: 45px; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'code title' 'code note'; column-gap: 9px; align-items: center; padding: 7px 9px; border-radius: 9px; background: #f2f4ee; color: var(--ink); }
.next-course-link > span { grid-area: code; color: var(--green); font-family: ui-monospace, monospace; font-size: .7rem; font-weight: 850; }
.next-course-link > strong { grid-area: title; min-width: 0; font-size: .7rem; line-height: 1.25; }
.next-course-link > small { grid-area: note; color: var(--muted); font-size: .62rem; line-height: 1.2; }
.next-course-link:hover { background: var(--green); color: white; }
.next-course-link:hover > span, .next-course-link:hover > small { color: white; }
.no-next-course { color: var(--muted); font-size: .72rem; line-height: 1.45; text-align: right; }
details { margin-top: 17px; border-top: 1px solid var(--line); }
summary { padding: 14px 0; color: var(--green); font-size: .78rem; font-weight: 800; cursor: pointer; }
.detail-body { display: grid; gap: 15px; padding: 2px 0 18px; }
.detail-body > div { display: flex; flex-direction: column; gap: 4px; }
.detail-body span { color: var(--muted); font-size: .61rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.detail-body strong, .detail-body p { margin: 0; font-size: .79rem; line-height: 1.5; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.card-action { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); font-size: .72rem; font-weight: 800; }
.card-action.primary { border-color: var(--green); background: var(--green); color: white; }
.card-action.offline { border-color: #2f7566; background: #e0f0e9; color: #205c4f; }
.card-action.muted { border-color: transparent; padding-left: 0; color: var(--muted); font-weight: 650; }
a.card-action:hover { transform: translateY(-1px); box-shadow: 0 6px 15px rgba(16,43,42,.1); }
.empty-state { padding: 70px 20px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; }
.empty-state h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.empty-state p { margin: 0; color: var(--muted); }
.static-catalog { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fffdf9; }
.static-catalog > h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.static-catalog > p { color: var(--muted); }
.static-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.static-course-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.static-course-card > p:first-child { color: var(--green); font-size: .72rem; }
.static-course-card h3 { margin: 8px 0; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 500; }
.static-course-card p { color: var(--muted); font-size: .8rem; }
.static-course-card div { display: flex; flex-wrap: wrap; gap: 8px; }
.static-course-card div a, .static-course-card div span { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); font-size: .72rem; font-weight: 800; }

.progress-section { border-top: 1px solid var(--line); background: var(--blue-soft); }
.progress-panel { margin-top: 42px; padding: clamp(22px, 4vw, 42px); border: 1px solid #b9cbc7; border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: 0 18px 55px rgba(16,43,42,.08); }
.progress-summary { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.progress-summary strong { font-family: Georgia, serif; font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 500; }
.progress-summary span { color: var(--muted); font-size: .78rem; text-align: right; }
.claim-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px 14px; align-items: end; margin-top: 24px; }
.claim-controls label { display: grid; gap: 7px; }
.claim-controls label > span { color: var(--muted); font-size: .67rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.claim-controls select { min-height: 44px; width: 100%; border: 1px solid #b9c5c1; border-radius: 9px; background: white; padding: 0 12px; color: var(--ink); }
.claim-controls button, .reset-progress { min-height: 44px; border: 1px solid var(--green); border-radius: 999px; background: var(--green); color: white; padding: 0 17px; font-weight: 800; cursor: pointer; }
.claim-controls button:disabled { opacity: .45; cursor: not-allowed; }
.learner-claims { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; min-height: 32px; }
.claim-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 7px 6px 11px; border-radius: 999px; background: #dbe9e5; color: var(--green); font-size: .72rem; font-weight: 750; }
.claim-chip button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(16,43,42,.12); color: var(--green); cursor: pointer; }
.no-claims { color: var(--muted); font-size: .78rem; }
.reset-progress { margin-top: 18px; border-color: #a04c3e; background: transparent; color: #803a30; }

.learner-course-state { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 11px 12px; border-radius: 11px; background: #f1f3ee; }
.learner-course-state > div { display: grid; gap: 2px; }
.learner-course-state strong { font-size: .75rem; }
.learner-course-state small { color: var(--muted); font-size: .66rem; }
.learner-course-state label { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 750; white-space: nowrap; }
.learner-course-state input { width: 17px; height: 17px; accent-color: var(--green); }
.learner-completed { background: #dcebe1; }
.learner-eligible { background: #e4f0d8; }
.learner-eligible_with_waiver { background: #fff0cb; }
.learner-blocked { background: #f1f3ee; }
.learner-card-completed { box-shadow: inset 0 0 0 2px #4b8f5c, 0 8px 28px rgba(16,43,42,.04); }
.prereq-link { gap: 1px; padding: 4px 7px; }
.prereq-link small { font-family: Inter, system-ui, sans-serif; font-size: .52rem; font-weight: 750; }
.prereq-completed { background: #dcebe1; }
.prereq-placement { background: #dce8f0; }
.prereq-equivalence { background: #e6e1f2; }
.prereq-waived { background: #fff0cb; }
.prereq-missing { background: #f2e6e3; color: #7c4037; }

.method-section { border-top: 1px solid var(--line); background: var(--ink); color: white; }
.method-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; align-items: start; }
.method-head .eyebrow { color: var(--lime); }
.method-head h2 { max-width: 820px; color: white; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 58px; }
.method-grid article { min-height: 280px; padding: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 19px; background: rgba(255,255,255,.035); }
.method-grid b { color: var(--lime); font-family: ui-monospace, monospace; font-size: .75rem; }
.method-grid h3 { margin: 54px 0 13px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.method-grid p { margin: 0; color: #b9c9c5; font-size: .88rem; }
.data-note { display: grid; grid-template-columns: .45fr 1.55fr; gap: 7vw; align-items: center; margin-top: 50px; padding: 25px; border-radius: 17px; background: var(--lime); color: var(--ink); }
.data-note div { display: flex; flex-direction: column; }
.data-note span { font-size: .65rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.data-note strong { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.data-note p { margin: 0; font-size: .87rem; }

footer { display: grid; grid-template-columns: 1.2fr .8fr; gap: 35px; align-items: center; padding: 50px 7vw; border-top: 1px solid rgba(255,255,255,.13); background: #091f1e; color: #dce5e1; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand strong { display: block; }
.footer-brand p { margin: 2px 0 0; color: #96aaa5; font-size: .78rem; }
.footer-links { display: flex; justify-content: flex-end; gap: 23px; color: #c8d5d1; font-size: .8rem; font-weight: 750; }
.footer-links a:hover { color: var(--lime); }
.english-note { grid-column: 1 / -1; max-width: 820px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #829894; font-size: .73rem; }

@media (max-width: 1120px) {
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; align-items: start; }
  .hero-panel { max-width: 660px; }
}
@media (max-width: 820px) {
  .site-header { flex-wrap: wrap; gap: 12px 20px; }
  nav { width: 100%; flex-wrap: wrap; gap: 8px 18px; order: 2; }
  .site-header { padding-inline: 20px; }
  .hero, .start-section, .progress-section, .path-section, .catalog-section, .method-section { padding-inline: 20px; }
  .hero { padding-top: 68px; }
  .section-kicker, .catalog-intro, .method-head { grid-template-columns: 1fr; gap: 24px; }
  .start-grid, .method-grid { grid-template-columns: 1fr; }
  .start-grid article, .method-grid article { min-height: 250px; }
  .stage-strip { grid-template-columns: repeat(2, 1fr); }
  .stage-strip button:nth-child(2) { border-right: 0; }
  .stage-strip button:nth-child(-n+2) { border-bottom: 1px solid #c7d0c4; }
  .data-note { grid-template-columns: 1fr; gap: 15px; }
  .progress-summary { align-items: flex-start; flex-direction: column; }
  .progress-summary span { text-align: left; }
  footer { grid-template-columns: 1fr; padding-inline: 20px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 620px) {
  h1 { font-size: 3.05rem; }
  .brand span:last-child { max-width: 200px; line-height: 1.15; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-panel p { grid-column: auto; }
  .filter-panel { grid-template-columns: 1fr; }
  .level-filter > div { width: 100%; }
  .level-filter button { flex: 1; }
  .course-grid { grid-template-columns: 1fr; }
  .static-course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 465px; }
  .result-row { align-items: flex-start; flex-direction: column; }
  .claim-controls { grid-template-columns: 1fr; }
  .learner-course-state { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 440px) {
  .stage-strip { grid-template-columns: 1fr; }
  .stage-strip button { min-height: 160px; border-right: 0; border-bottom: 1px solid #c7d0c4; }
  .stage-strip button:last-child { border-bottom: 0; }
  .hero-actions .button { width: 100%; }
  .prerequisites { grid-template-columns: 1fr; }
  .prerequisites > div { justify-content: flex-start; }
  .no-prereq { text-align: left; }
  .next-courses { grid-template-columns: 1fr; }
  .next-course-link { min-height: 44px; }
  .no-next-course { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  @page { margin: 14mm; }
  * { box-shadow: none !important; text-shadow: none !important; }
  body { background: white; color: black; font-size: 10pt; }
  .site-header, .hero-actions, .progress-section, .filter-panel, .result-row button, .topic-links, footer { display: none !important; }
  .hero, .start-section, .path-section, .catalog-section, .method-section { padding: 12mm 0; background: white !important; color: black !important; }
  .hero { grid-template-columns: 1fr; }
  .hero-panel { border-color: #777; background: white; color: black; }
  .hero-panel div, .hero-panel p { background: white; color: black; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 0; break-inside: avoid; border: 1px solid #777; }
  .card-actions { display: block; }
  .card-actions a { display: block; min-height: 0; padding: 2mm 0; border: 0; color: black; }
  .card-actions a[href^="http"]::after { content: " — " attr(href); font-weight: 400; word-break: break-all; }
  details { display: block; }
  details > * { display: block; }
}
