:root {
  --sky: #dceef8;
  --white: #fff;
  --cobalt: #2448d8;
  --tomato: #cc3828;
  --yellow: #f4db58;
  --ink: #142234;
  --muted: #566578;
  --line: #c6d5e2;
  --reading: Onest, Arial, sans-serif;
  --display: "Dela Gothic One", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--reading);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
button,
input,
select {
  font: inherit;
}
button,
summary,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 4px;
}
::selection {
  background: var(--yellow);
  color: var(--ink);
}
input {
  caret-color: var(--cobalt);
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--sky);
}
::-webkit-scrollbar-thumb {
  background: #92acc4;
  border: 2px solid var(--sky);
  border-radius: 8px;
}
.page {
  width: calc(100% - 96px);
  max-width: 1328px;
  margin-left: auto;
  margin-right: auto;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.masthead {
  display: flex;
  align-items: center;
  gap: 64px;
  height: 100px;
  border-bottom: 1px solid #b8d0e2;
}
.wordmark {
  font-weight: 850;
  font-size: 32px;
  letter-spacing: -0.04em;
  text-decoration: none;
  line-height: 1;
}
.wordmark > span {
  color: var(--tomato);
}
.masthead nav {
  display: flex;
  gap: 32px;
  align-self: stretch;
}
.masthead nav > a {
  display: flex;
  align-items: center;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding-top: 3px;
}
.masthead nav > a:hover,
.masthead nav > .current {
  border-color: var(--cobalt);
}
.contact-top {
  margin-left: auto;
  font-size: 14px;
}
.intro {
  padding-top: 38px;
  padding-bottom: 38px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.intro h1 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.025em;
  font-size: clamp(34px, 3.6vw, 49px);
  line-height: 1.18;
  margin: 0 0 20px;
  max-width: 680px;
  text-wrap: balance;
}
.intro h1 br {
  display: block;
}
.intro p {
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
  max-width: 660px;
}
.course-facts {
  display: flex;
  margin: 0 0 2px;
  gap: 30px;
  flex-shrink: 0;
}
.course-facts div {
  padding-left: 18px;
  border-left: 1px solid #b2ccdf;
}
.course-facts dt {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}
.course-facts dd {
  font-size: 12px;
  color: #435c73;
  margin: 0;
}
.course-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  align-items: start;
  gap: 0;
}
.course-sidebar {
  position: sticky;
  top: 24px;
  background: var(--cobalt);
  color: white;
  padding: 27px 20px 22px;
  border-radius: 12px 0 0 12px;
}
.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 8px 20px;
}
.sidebar-top h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0;
  font-weight: 600;
}
.sidebar-top > span {
  font-size: 11px;
  color: #dce3ff;
}
.course-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.chapter-link {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px 11px;
  text-decoration: none;
  border-radius: 6px;
  line-height: 1.45;
  min-height: 66px;
}
.chapter-link:hover {
  background: #365be8;
}
.chapter-link.active {
  background: #fff;
  color: var(--cobalt);
}
.chapter-link > span:first-child {
  font-weight: 700;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  min-width: 20px;
}
.chapter-link > span:last-child {
  font-size: 13px;
}
.progress-area {
  margin: 28px 8px 0;
  padding-top: 22px;
  border-top: 1px solid #6b84e9;
}
.progress-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.progress-copy strong {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
progress {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  background: #4569e7;
  margin: 13px 0;
  accent-color: var(--yellow);
  border-radius: 2px;
}
progress::-webkit-progress-bar {
  background: #4569e7;
  border-radius: 2px;
}
progress::-webkit-progress-value {
  background: var(--yellow);
  border-radius: 2px;
}
progress::-moz-progress-bar {
  background: var(--yellow);
  border-radius: 2px;
}
.progress-area p {
  font-size: 11px;
  color: #e0e7ff;
  line-height: 1.65;
  margin: 0;
}
.sidebar-source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 27px 8px 0;
  font-size: 13px;
  text-decoration: none;
}
.sidebar-source:hover {
  text-decoration: underline;
}
.sidebar-source svg {
  width: 17px;
  height: 17px;
}
.mobile-chapter-select {
  display: none;
}
.course-content {
  background: white;
  border-radius: 0 12px 12px 12px;
  min-width: 0;
  padding: 24px 32px 8px;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.role-controls {
  display: flex;
  border: 1px solid #c6d1df;
  border-radius: 7px;
  padding: 3px;
  flex-shrink: 0;
}
.role-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 4px;
  min-height: 44px;
  padding: 7px 20px;
  font-size: 16px;
}
.role-button.active {
  background: var(--ink);
  color: white;
}
.role-button:hover:not(.active) {
  background: #edf4fa;
}
.search-control {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  max-width: 340px;
  border-bottom: 1px solid #98aabe;
  min-height: 44px;
  padding: 0 0 0 5px;
}
.search-control svg {
  width: 19px;
  height: 19px;
  color: #4c6179;
}
.search-control input {
  border: 0;
  background: transparent;
  outline: none;
  min-width: 0;
  width: 100%;
  font-size: 16px;
  color: var(--ink);
  height: 44px;
}
.search-control input::placeholder {
  color: #566578;
  opacity: 1;
}
.reading-note {
  display: flex;
  gap: 22px;
  justify-content: space-between;
  align-items: center;
  margin: 19px 0 27px;
}
.reading-note p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 580px;
}
.reading-note > span {
  font-size: 11px;
  color: #4a6077;
  white-space: nowrap;
}
.search-state {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  gap: 15px;
}
.search-state[hidden] {
  display: none;
}
.search-state p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
}
.search-state button {
  border: 0;
  background: transparent;
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
  min-height: 44px;
}
.chapter {
  border-top: 1px solid #aebfd0;
  scroll-margin-top: 24px;
}
.chapter:first-child {
  border-top: 0;
}
.chapter > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 26px 0;
  position: relative;
  min-height: 108px;
}
.chapter > summary::-webkit-details-marker {
  display: none;
}
.chapter-number {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  color: var(--cobalt);
  letter-spacing: -0.025em;
  min-width: 62px;
  font-variant-numeric: tabular-nums;
}
.chapter-label {
  flex: 1;
  min-width: 0;
}
.chapter-label h2 {
  font-size: 21px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 550px;
  text-wrap: balance;
}
.chapter-label p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.chapter-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #c5d3e0;
  border-radius: 50%;
  color: var(--cobalt);
}
.chapter-toggle svg {
  width: 19px;
  height: 19px;
}
.chapter[open] > .chapter-title .chapter-toggle svg {
  transform: rotate(180deg);
}
.chapter:nth-child(2) .chapter-number,
.chapter:nth-child(5) .chapter-number {
  color: #c13928;
}
.chapter:nth-child(3) .chapter-number,
.chapter:nth-child(6) .chapter-number {
  color: #405b47;
}
.chapter:nth-child(4) .chapter-number {
  color: #72528b;
}
.chapter-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 21px;
  max-width: 70ch;
}
.chapter-lessons {
  padding-bottom: 26px;
}
.module-docs {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 17px 20px;
  margin-bottom: 18px;
  background: #eef5fb;
  font-size: 13px;
  border-radius: 7px;
  flex-wrap: wrap;
}
.module-docs a {
  color: #2548bf;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
}
.module-docs svg {
  width: 16px;
  height: 16px;
}
.module-docs > span {
  font-weight: 600;
  margin-right: auto;
}
.lesson {
  border-top: 1px solid #d5dfe7;
}
.lesson:last-child {
  border-bottom: 1px solid #d5dfe7;
}
.lesson-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 13px 0;
}
.lesson-number {
  color: #697d91;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  width: 26px;
  flex-shrink: 0;
}
.lesson-control {
  border: 0;
  background: transparent;
  text-align: left;
  flex: 1;
  min-height: 44px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.lesson-control > span {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
}
.lesson-control > svg {
  width: 18px;
  height: 18px;
  color: #6e8092;
  margin-right: 6px;
}
.lesson-control[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}
.lesson-complete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  cursor: pointer;
}
.lesson-complete input {
  appearance: none;
  width: 21px;
  height: 21px;
  border: 1px solid #92a6b9;
  border-radius: 4px;
  margin: 0;
  cursor: pointer;
  background: #fff;
  display: grid;
  place-items: center;
  accent-color: var(--cobalt);
}
.lesson-complete input:checked {
  background: var(--cobalt);
  border-color: var(--cobalt);
}
.lesson-complete input:checked:after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
}
.lesson-file {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a72a1c;
  font-size: 13px;
  text-decoration: none;
  padding: 5px 7px;
  white-space: nowrap;
  border-radius: 5px;
}
.lesson-file:hover {
  background: #ffede8;
}
.lesson-file svg {
  width: 16px;
  height: 16px;
}
.lesson-details {
  padding: 0 0 21px 39px;
  max-width: 100%;
}
.lesson-details[hidden] {
  display: none;
}
.lesson-details p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 67ch;
  color: var(--muted);
  margin: 0 0 15px;
}
.lesson-document-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.file-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--tomato);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.file-action:hover {
  background: #c73324;
}
.file-action svg {
  width: 18px;
  height: 18px;
}
.file-action.secondary {
  background: #eef4f9;
  color: var(--cobalt);
}
.file-action.secondary:hover {
  background: #dfeaf5;
}
.source-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4c6179;
  min-height: 44px;
  padding: 7px 8px;
}
.source-action svg {
  width: 16px;
  height: 16px;
}
.completion-note {
  font-size: 12px !important;
  margin: 12px 0 0 !important;
}
.load-state {
  padding: 36px 4px 50px;
  color: var(--muted);
}
.load-state p {
  font-size: 16px;
  max-width: 65ch;
}
.load-state button,
.text-action {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--cobalt);
  padding: 5px 0;
  min-height: 44px;
  color: var(--cobalt);
  font-size: 14px;
}
.load-state a {
  color: var(--cobalt);
}
.practice-section {
  padding-top: 68px;
  padding-bottom: 58px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}
.section-heading h2,
.mentor-intro h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 33px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 21px;
  text-wrap: balance;
}
.section-heading p,
.mentor-intro p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 62ch;
  margin: 0;
}
.section-heading > .file-action {
  flex-shrink: 0;
  margin-bottom: 4px;
}
.practice-guidance {
  font-size: 14px;
  color: #435c73;
  line-height: 1.7;
  margin: 22px 0 25px;
  max-width: 80ch;
}
.practice-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.practice-task {
  border-top: 1px solid #b9cedf;
}
.practice-task:last-child {
  border-bottom: 1px solid #b9cedf;
}
.practice-task > summary {
  list-style: none;
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 20px 0;
  min-height: 74px;
}
.practice-task > summary::-webkit-details-marker {
  display: none;
}
.practice-task > summary > span:first-child {
  font-size: 14px;
  color: #4a657e;
  font-variant-numeric: tabular-nums;
}
.practice-task > summary > strong {
  font-size: 16px;
  font-weight: 500;
  flex: 1;
}
.practice-task > summary > svg {
  width: 18px;
  height: 18px;
  color: #4a657e;
}
.practice-task[open] > summary > svg {
  transform: rotate(180deg);
}
.task-content {
  padding: 0 0 21px 35px;
  color: #29445d;
  font-size: 14px;
  line-height: 1.75;
  max-width: 67ch;
}
.task-content p {
  margin: 0 0 13px;
}
.task-content ol {
  padding-left: 20px;
  margin: 13px 0;
}
.task-content li {
  padding-left: 3px;
  margin: 8px 0;
}
.task-content a {
  color: #2448b8;
  overflow-wrap: anywhere;
}
.task-content h3 {
  font-size: 17px;
}
.practice-task:nth-child(11) {
  border-bottom: 1px solid #b9cedf;
}
.mentor-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-top: 1px solid #b6ccde;
  padding-top: 52px;
  padding-bottom: 58px;
}
.mentor-intro p {
  max-width: 490px;
}
.mentor-intro .text-action {
  margin-top: 20px;
}
.mentor-documents {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mentor-documents > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 0;
  border-bottom: 1px solid #b6ccde;
  text-decoration: none;
}
.mentor-documents > a:first-child {
  border-top: 1px solid #b6ccde;
}
.mentor-documents span {
  font-size: 18px;
  font-weight: 500;
}
.mentor-documents p {
  font-size: 14px;
  color: #435c73;
  margin: 7px 0 0;
}
.mentor-documents svg {
  width: 21px;
  height: 21px;
  color: var(--cobalt);
}
.mentor-documents > a:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.questions {
  border-top: 1px solid #b6ccde;
  padding-top: 45px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.questions > h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  max-width: 300px;
  letter-spacing: -0.02em;
  margin: 3px 0 0;
}
.questions-list details {
  border-bottom: 1px solid #b6ccde;
}
.questions-list details:first-child {
  border-top: 1px solid #b6ccde;
}
.questions-list summary {
  list-style: none;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 16px;
  line-height: 1.5;
  padding: 18px 0;
}
.questions-list summary::-webkit-details-marker {
  display: none;
}
.questions-list summary svg {
  width: 18px;
  height: 18px;
  color: #425f78;
}
.questions-list details[open] summary svg {
  transform: rotate(180deg);
}
.questions-list p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0 26px 24px 0;
  color: #29445d;
  max-width: 65ch;
}
footer {
  border-top: 1px solid #adc8dc;
  padding-top: 30px;
  padding-bottom: 32px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-top .wordmark {
  font-size: 28px;
}
.footer-top > div {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.footer-top > div > a {
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #435c73;
  margin-top: 30px;
  flex-wrap: wrap;
}
.status-message {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 13px;
  z-index: 50;
  max-width: calc(100% - 32px);
  width: max-content;
  pointer-events: none;
  display: none;
}
.status-message.visible {
  display: block;
}
.nav-loading {
  font-size: 14px;
  padding: 12px;
}
@media (min-width: 1600px) {
  .page {
    max-width: 1380px;
  }
  .course-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .intro h1 {
    font-size: 52px;
  }
  .course-facts {
    gap: 38px;
  }
  .course-content {
    padding: 28px 38px 10px;
  }
}
@media (max-width: 1180px) {
  .page {
    width: calc(100% - 64px);
  }
  .intro {
    align-items: flex-start;
    gap: 30px;
  }
  .intro h1 {
    font-size: 38px;
    max-width: 500px;
  }
  .intro h1 br {
    display: block;
  }
  .course-facts {
    flex-direction: column;
    gap: 14px;
    padding-top: 5px;
    min-width: 220px;
  }
  .course-facts div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-left: 0;
    border-left: 0;
  }
  .course-facts dt {
    margin: 0;
    font-size: 14px;
  }
  .course-facts dd {
    font-size: 12px;
  }
  .course-content {
    padding: 22px 25px 7px;
  }
  .course-layout {
    grid-template-columns: 236px minmax(0, 1fr);
  }
  .course-sidebar {
    padding-left: 13px;
    padding-right: 13px;
  }
  .catalog-toolbar {
    gap: 20px;
  }
  .search-control {
    max-width: 285px;
  }
  .role-button {
    padding-left: 15px;
    padding-right: 15px;
  }
  .chapter-label h2 {
    font-size: 19px;
  }
  .chapter > summary {
    gap: 16px;
  }
  .chapter-number {
    font-size: 39px;
    min-width: 56px;
  }
  .chapter-label p {
    font-size: 11px;
  }
  .lesson-main {
    gap: 8px;
  }
  .lesson-file {
    gap: 5px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .lesson-file svg {
    width: 14px;
    height: 14px;
  }
  .lesson-control > span {
    font-size: 15px;
  }
  .lesson-control > svg {
    margin: 0;
  }
  .lesson-number {
    width: 24px;
  }
  .lesson-details {
    padding-left: 32px;
  }
  .section-heading h2,
  .mentor-intro h2 {
    font-size: 29px;
  }
  .section-heading {
    gap: 35px;
  }
  .section-heading > .file-action {
    font-size: 13px;
    padding-left: 15px;
    padding-right: 15px;
    gap: 10px;
  }
  .mentor-section {
    gap: 55px;
  }
  .questions {
    gap: 55px;
  }
}
@media (max-width: 930px) {
  .page {
    width: calc(100% - 44px);
  }
  .masthead {
    height: 86px;
    gap: 40px;
  }
  .masthead nav {
    gap: 24px;
  }
  .contact-top {
    font-size: 13px;
  }
  .intro {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .intro h1 {
    font-size: 34px;
  }
  .intro p {
    font-size: 15px;
  }
  .course-facts {
    min-width: 185px;
  }
  .course-facts div {
    display: block;
  }
  .course-facts dt {
    margin-bottom: 2px;
  }
  .course-facts dd {
    font-size: 11px;
  }
  .course-layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .course-sidebar {
    padding: 23px 11px 20px;
  }
  .sidebar-top {
    margin-left: 8px;
    margin-right: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .sidebar-top h2 {
    font-size: 18px;
  }
  .chapter-link {
    padding: 12px 9px;
    gap: 10px;
  }
  .chapter-link > span:last-child {
    font-size: 12px;
  }
  .chapter-link > span:first-child {
    font-size: 14px;
  }
  .course-content {
    padding: 18px 20px 5px;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .role-controls {
    align-self: flex-start;
  }
  .search-control {
    max-width: none;
  }
  .reading-note {
    margin-bottom: 14px;
  }
  .reading-note p {
    font-size: 12px;
  }
  .reading-note > span {
    display: none;
  }
  .chapter > summary {
    gap: 13px;
    min-height: 106px;
    padding: 23px 0;
  }
  .chapter-number {
    font-size: 35px;
    min-width: 48px;
  }
  .chapter-label h2 {
    font-size: 18px;
  }
  .chapter-toggle {
    width: 32px;
    height: 32px;
  }
  .chapter-label p {
    font-size: 10px;
  }
  .chapter-description {
    font-size: 13px;
  }
  .lesson-main {
    flex-wrap: wrap;
    gap: 6px;
    position: relative;
    padding: 13px 0;
    min-height: 96px;
  }
  .lesson-number {
    width: 24px;
    font-size: 12px;
    align-self: flex-start;
    padding-top: 13px;
  }
  .lesson-control {
    flex-basis: calc(100% - 80px);
    padding-right: 2px;
  }
  .lesson-control > span {
    font-size: 15px;
  }
  .lesson-complete {
    order: 3;
    margin-left: auto;
  }
  .lesson-file {
    order: 4;
  }
  .lesson-file.mentor-only {
    display: none;
  }
  .lesson-details {
    padding-left: 30px;
  }
  .lesson-document-links {
    gap: 8px;
  }
  .file-action {
    font-size: 13px;
    padding-left: 14px;
    padding-right: 14px;
    gap: 9px;
  }
  .module-docs {
    padding: 13px;
    font-size: 12px;
    gap: 9px 18px;
  }
  .module-docs > span {
    flex-basis: 100%;
  }
  .section-heading h2,
  .mentor-intro h2 {
    font-size: 27px;
  }
  .section-heading p,
  .mentor-intro p {
    font-size: 15px;
  }
  .section-heading {
    gap: 25px;
  }
  .section-heading > .file-action {
    font-size: 12px;
    max-width: 240px;
    text-align: left;
  }
  .practice-section {
    padding-top: 48px;
  }
  .practice-list {
    gap: 0 24px;
  }
  .practice-task > summary > strong {
    font-size: 14px;
  }
  .practice-task > summary {
    gap: 12px;
  }
  .mentor-section {
    gap: 35px;
  }
  .mentor-documents span {
    font-size: 17px;
  }
  .mentor-documents p {
    font-size: 13px;
  }
  .questions {
    grid-template-columns: 1fr 1.6fr;
    gap: 35px;
  }
  .questions > h2 {
    font-size: 20px;
  }
  .questions-list summary {
    font-size: 15px;
  }
}
@media (max-width: 680px) {
  html {
    scroll-padding-top: 14px;
  }
  .page {
    width: calc(100% - 32px);
  }
  .masthead {
    height: 75px;
    gap: 20px;
  }
  .wordmark {
    font-size: 28px;
  }
  .masthead nav {
    gap: 18px;
    margin-left: auto;
  }
  .masthead nav > a {
    font-size: 12px;
  }
  .contact-top {
    display: none;
  }
  .intro {
    padding-top: 29px;
    padding-bottom: 28px;
    display: block;
  }
  .intro h1 {
    font-size: clamp(28px, 7.8vw, 41px);
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.025em;
    max-width: 100%;
  }
  .intro h1 br {
    display: block;
  }
  .intro p {
    font-size: 14px;
    line-height: 1.7;
  }
  .intro p br {
    display: none;
  }
  .course-facts {
    flex-direction: row;
    gap: 16px;
    padding-top: 22px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .course-facts div {
    display: block;
    padding: 0;
  }
  .course-facts dt {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .course-facts dd {
    font-size: 10px;
    color: #435c73;
  }
  .course-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .course-sidebar {
    position: static;
    top: auto;
    width: 100%;
    border-radius: 0;
    padding: 18px 16px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    align-items: start;
  }
  .sidebar-top {
    display: none;
  }
  .course-sidebar > nav {
    display: none;
  }
  .mobile-chapter-select {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #e3eaff;
    font-size: 11px;
  }
  .mobile-chapter-select select {
    width: 100%;
    background: var(--cobalt);
    color: white;
    border: 0;
    border-bottom: 1px solid #8399ef;
    border-radius: 0;
    min-height: 44px;
    font-size: 13px;
    padding: 0 22px 0 0;
    max-width: 100%;
  }
  .mobile-chapter-select select:focus-visible {
    outline-color: var(--yellow);
  }
  .progress-area {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .progress-copy {
    font-size: 11px;
  }
  .progress-copy strong {
    font-size: 11px;
  }
  .progress-area progress {
    height: 5px;
    margin: 10px 0;
  }
  .progress-area p {
    font-size: 9px;
    line-height: 1.5;
  }
  .progress-area p br {
    display: none;
  }
  .sidebar-source {
    display: none;
  }
  .course-content {
    width: 100%;
    padding: 22px 16px 0;
    border-radius: 0;
  }
  .catalog-toolbar {
    flex-direction: row;
    gap: 19px;
    align-items: center;
    padding-bottom: 19px;
  }
  .role-button {
    font-size: 12px;
    padding: 5px 11px;
    min-height: 44px;
  }
  .role-controls {
    align-self: auto;
    flex-shrink: 0;
  }
  .search-control {
    max-width: none;
    gap: 8px;
    min-height: 42px;
  }
  .search-control input {
    font-size: 12px;
    height: 42px;
  }
  .search-control svg {
    width: 16px;
    height: 16px;
  }
  .reading-note {
    margin-top: 17px;
    margin-bottom: 16px;
  }
  .reading-note p {
    font-size: 12px;
    line-height: 1.6;
  }
  .chapter > summary {
    padding: 23px 0;
    gap: 16px;
    min-height: 100px;
  }
  .chapter-number {
    font-size: 36px;
    min-width: 53px;
  }
  .chapter-label h2 {
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: -0.015em;
  }
  .chapter-label p {
    font-size: 10px;
    margin-top: 8px;
  }
  .chapter-toggle {
    width: 30px;
    height: 30px;
  }
  .chapter-toggle svg {
    width: 16px;
    height: 16px;
  }
  .chapter-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
  }
  .chapter-lessons {
    padding-bottom: 24px;
  }
  .lesson-main {
    flex-wrap: nowrap;
    min-height: 86px;
    padding: 15px 0;
    gap: 8px;
  }
  .lesson-number {
    align-self: center;
    padding-top: 0;
    width: 22px;
    font-size: 12px;
  }
  .lesson-control {
    flex-basis: auto;
    gap: 7px;
  }
  .lesson-control > span {
    font-size: 15px;
    line-height: 1.5;
  }
  .lesson-control > svg {
    width: 15px;
    height: 15px;
  }
  .lesson-complete {
    order: initial;
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin-left: 0;
  }
  .lesson-complete input {
    width: 20px;
    height: 20px;
  }
  .lesson-file {
    order: initial;
    font-size: 11px;
    gap: 4px;
    padding: 4px;
    min-height: 44px;
  }
  .lesson-file svg {
    display: none;
  }
  .lesson-file.mentor-only {
    display: none;
  }
  .lesson-details {
    padding: 0 0 20px 30px;
  }
  .lesson-details p {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 15px;
  }
  .lesson-document-links {
    gap: 8px;
  }
  .file-action {
    font-size: 12px;
    padding: 10px 13px;
    gap: 8px;
    min-height: 44px;
  }
  .file-action svg {
    width: 16px;
    height: 16px;
  }
  .source-action {
    font-size: 12px;
    padding-left: 0;
    min-height: 40px;
  }
  .completion-note {
    font-size: 11px !important;
  }
  .module-docs {
    padding: 13px 15px;
    margin-bottom: 16px;
  }
  .module-docs > span {
    font-size: 12px;
  }
  .module-docs > a {
    font-size: 12px;
  }
  .load-state {
    padding-bottom: 40px;
  }
  .search-state {
    gap: 12px;
  }
  .search-state p {
    font-size: 12px;
  }
  .search-state button {
    font-size: 11px;
    white-space: nowrap;
  }
  .practice-section {
    padding-top: 38px;
    padding-bottom: 34px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2,
  .mentor-intro h2 {
    font-size: 27px;
    line-height: 1.3;
    margin-bottom: 18px;
  }
  .section-heading p,
  .mentor-intro p {
    font-size: 15px;
    line-height: 1.75;
  }
  .section-heading p br {
    display: none;
  }
  .section-heading > .file-action {
    font-size: 13px;
    max-width: 100%;
    margin-top: 22px;
  }
  .practice-guidance {
    font-size: 12px;
    line-height: 1.8;
    margin: 19px 0 17px;
  }
  .practice-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .practice-task > summary {
    gap: 14px;
    min-height: 70px;
    padding: 18px 0;
  }
  .practice-task > summary > strong {
    font-size: 15px;
  }
  .practice-task:nth-child(11) {
    border-bottom: 0;
  }
  .task-content {
    padding-left: 29px;
    font-size: 14px;
  }
  .mentor-section {
    display: block;
    gap: 0;
    padding-top: 34px;
    padding-bottom: 37px;
  }
  .mentor-intro h2 {
    max-width: 300px;
  }
  .mentor-intro h2 br {
    display: none;
  }
  .mentor-intro .text-action {
    font-size: 13px;
    margin-top: 15px;
  }
  .mentor-documents {
    margin-top: 28px;
  }
  .mentor-documents > a {
    padding: 21px 0;
  }
  .mentor-documents span {
    font-size: 17px;
  }
  .mentor-documents p {
    font-size: 13px;
    line-height: 1.6;
  }
  .questions {
    display: block;
    padding-top: 31px;
    padding-bottom: 38px;
  }
  .questions > h2 {
    font-size: 21px;
    max-width: 310px;
    margin: 0 0 23px;
  }
  .questions-list summary {
    font-size: 15px;
    line-height: 1.6;
    min-height: 72px;
  }
  .questions-list p {
    font-size: 14px;
    margin-right: 20px;
  }
  .footer-top {
    align-items: flex-start;
    gap: 20px;
  }
  .footer-top > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer-top > div > a {
    font-size: 12px;
  }
  .footer-top .wordmark {
    font-size: 27px;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
    margin-top: 27px;
  }
  footer {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .status-message {
    font-size: 12px;
    padding: 12px 15px;
    text-align: center;
  }
}
@media (max-width: 370px) {
  .masthead nav {
    gap: 12px;
  }
  .masthead nav > a {
    font-size: 11px;
  }
  .wordmark {
    font-size: 25px;
  }
  .catalog-toolbar {
    gap: 12px;
  }
  .role-button {
    font-size: 11px;
    padding-left: 9px;
    padding-right: 9px;
  }
  .search-control input {
    font-size: 11px;
  }
  .lesson-control > span {
    font-size: 14px;
  }
  .chapter-label h2 {
    font-size: 16px;
  }
  .chapter > summary {
    gap: 11px;
  }
  .chapter-number {
    font-size: 33px;
    min-width: 48px;
  }
  .course-facts {
    gap: 12px;
  }
  .course-facts dt {
    font-size: 11px;
  }
  .course-facts dd {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Final learning-surface review: legible controls and a short path to the first lesson. */
.search-control:focus-within {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
  border-bottom-color: var(--cobalt);
  border-radius: 3px;
}
.search-control input:focus-visible {
  outline: none;
}
.task-content,
.lesson-details p {
  font-size: 16px;
}
.lesson-file {
  min-width: 44px;
  min-height: 44px;
  font-size: 16px;
}
.progress-area p {
  font-size: 13px;
  line-height: 1.55;
}
.course-facts dd {
  font-size: 13px;
}
.reading-note {
  display: none;
}
.catalog-toolbar {
  margin-bottom: 14px;
}
@media (max-width: 1180px) {
  .course-facts dd {
    font-size: 13px;
  }
  .lesson-control > span {
    font-size: 16px;
  }
  .lesson-file {
    font-size: 16px;
  }
}
@media (max-width: 930px) {
  .role-button {
    font-size: 16px;
  }
  .search-control input {
    font-size: 16px;
  }
  .course-facts dd {
    font-size: 13px;
  }
  .lesson-file {
    font-size: 16px;
  }
  .progress-area p {
    font-size: 13px;
  }
}
@media (max-width: 680px) {
  .masthead {
    height: 67px;
  }
  .intro {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .intro h1 {
    font-size: clamp(28px, 7.8vw, 36px);
    line-height: 1.2;
    margin-bottom: 13px;
  }
  .intro p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 33ch;
  }
  .course-facts {
    gap: 10px 18px;
    padding-top: 15px;
    justify-content: flex-start;
  }
  .course-facts > div {
    display: none;
  }
  .course-facts > div:first-child {
    display: flex;
    gap: 8px;
    align-items: baseline;
  }
  .course-facts dt {
    font-size: 14px;
    margin: 0;
  }
  .course-facts dd {
    font-size: 13px;
  }
  .course-sidebar {
    padding: 13px 16px;
    gap: 12px 22px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .mobile-chapter-select {
    font-size: 13px;
    gap: 3px;
  }
  .mobile-chapter-select select {
    font-size: 14px;
    min-height: 44px;
  }
  .progress-copy,
  .progress-copy strong {
    font-size: 13px;
  }
  .progress-area progress {
    margin: 8px 0;
  }
  .progress-area p {
    display: block;
    font-size: 13px;
    line-height: 1.45;
  }
  .course-content {
    padding-top: 17px;
  }
  .catalog-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 4px;
    gap: 12px;
    padding-bottom: 13px;
  }
  .role-controls {
    justify-self: start;
  }
  .role-button {
    font-size: 16px;
    min-height: 44px;
    padding: 7px 19px;
  }
  .search-control {
    min-height: 44px;
    gap: 11px;
  }
  .search-control input {
    font-size: 16px;
    height: 44px;
  }
  .search-control svg {
    width: 20px;
    height: 20px;
  }
  .chapter > summary {
    min-height: 82px;
    padding: 16px 0;
    gap: 14px;
  }
  .chapter-number {
    font-size: 34px;
    min-width: 50px;
  }
  .chapter-label h2 {
    font-size: 17px;
    line-height: 1.35;
  }
  .chapter-label p {
    font-size: 13px;
    margin-top: 5px;
  }
  .chapter-description {
    display: none;
  }
  .lesson-main {
    min-height: 82px;
    padding: 12px 0;
    gap: 8px;
  }
  .lesson-control > span {
    font-size: 16px;
    line-height: 1.45;
  }
  .lesson-control > svg {
    display: none;
  }
  .lesson-file {
    font-size: 16px;
    min-width: 44px;
    min-height: 44px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .lesson-complete {
    width: 44px;
    min-width: 44px;
  }
  .lesson-number {
    font-size: 13px;
    width: 22px;
  }
  .lesson-details p,
  .task-content {
    font-size: 16px;
  }
  .lesson-details {
    padding-left: 0;
  }
  .lesson-document-links .file-action {
    font-size: 16px;
    min-height: 48px;
    padding: 11px 14px;
  }
  .source-action {
    font-size: 14px;
  }
  .completion-note {
    font-size: 13px !important;
  }
  .practice-guidance {
    font-size: 14px;
  }
  .section-heading > .file-action {
    font-size: 16px;
  }
  .module-docs,
  .module-docs > span,
  .module-docs > a {
    font-size: 14px;
  }
  .questions-list p {
    font-size: 16px;
  }
  .search-state p,
  .search-state button {
    font-size: 14px;
  }
  .progress-copy span {
    font-size: 13px;
  }
  .footer-bottom {
    font-size: 13px;
  }
  .footer-top > div > a {
    font-size: 14px;
  }
  .practice-task > summary > strong {
    font-size: 16px;
  }
  .practice-task > summary > span:first-child {
    font-size: 14px;
  }
}
@media (max-width: 370px) {
  .course-facts dt {
    font-size: 14px;
  }
  .course-facts dd {
    font-size: 13px;
  }
  .role-button {
    font-size: 16px;
    padding-left: 19px;
    padding-right: 19px;
  }
  .search-control input {
    font-size: 16px;
  }
  .lesson-control > span {
    font-size: 16px;
  }
  .lesson-file {
    font-size: 16px;
  }
  .chapter-label h2 {
    font-size: 17px;
  }
  .chapter-label p {
    font-size: 13px;
  }
}

.language-switch {
  display: flex;
  gap: 2px;
  border: 1px solid #9eb3c6;
  border-radius: 7px;
  padding: 3px;
  margin-left: 0;
  flex-shrink: 0;
}
.language-switch button {
  background: transparent;
  color: #142234;
  border: 0;
  border-radius: 4px;
  padding: 8px 10px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 700;
}
.language-switch button.active {
  background: #142234;
  color: white;
}
.language-notice {
  color: #435c73;
  font-size: 13px;
  line-height: 1.5;
  margin: 16px 0;
}
.masthead .contact-top {
  margin-left: auto;
}
@media (max-width: 680px) {
  .masthead {
    gap: 12px;
  }
  .masthead nav {
    gap: 12px;
  }
  .masthead nav a {
    font-size: 12px;
  }
  .language-switch {
    margin-left: auto;
  }
  .language-switch button {
    padding: 6px;
    min-height: 36px;
    font-size: 11px;
  }
}
@media (max-width: 400px) {
  .masthead {
    gap: 8px;
  }
  .masthead nav {
    gap: 7px;
  }
  .masthead nav a {
    font-size: 11px;
  }
  .language-switch button {
    padding: 5px;
  }
  .masthead .wordmark {
    font-size: 23px;
  }
}
@media (max-width: 680px) {
  .masthead {
    height: auto;
    min-height: 67px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 8px;
    gap: 4px 14px;
  }
  .masthead nav {
    order: 3;
    flex-basis: 100%;
    align-self: auto;
    gap: 20px;
  }
  .masthead nav > a {
    min-height: 40px;
    padding-top: 0;
    font-size: 13px;
  }
  .language-switch {
    margin-left: auto;
  }
  .language-switch button {
    min-height: 40px;
    font-size: 12px;
    padding: 7px 9px;
  }
}
