/* Sailing Campus — warm, spacious, explanation-first. */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,a,input,select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 20px;
  background: #fff;
  color: var(--ink);
  font-weight: var(--sc-weight-strong);
  line-height: var(--sc-leading-compact);
  transition: background .16s,border-color .16s,box-shadow .16s;
}
button:hover:not(:disabled) {
  background: #edf7f4;
  border-color: #8dbbb4;
}
button:disabled {
  cursor: not-allowed;
  background: #f2f5f4;
  color: #62737b;
  border-color: #d8e1e1;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline: 3px solid #a75b00;
  outline-offset: 4px;
}
.primary:hover:not(:disabled) {
  background: #00565b;
  color: white;
  border-color: #00565b;
  box-shadow: 0 6px 14px #006c7020;
}
.primary:disabled {
  box-shadow: none;
}
.skip {
  position: absolute;
  top: -100px;
  background: #fff;
  padding: 14px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.topbar {
  min-height: 94px;
  display: flex;
  align-items: center;
  padding: 16px 38px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-size: var(--sc-text-h3);
  letter-spacing: var(--sc-tracking-heading);
  font-weight: var(--sc-weight-strong);
  line-height: var(--sc-leading-heading);
}
.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.brand-sub {
  display: block;
  font-size: var(--sc-text-xs);
  letter-spacing: var(--sc-tracking-label);
  font-weight: var(--sc-weight-regular);
  color: var(--muted);
  margin-top: 4px;
}
.free-label {
  margin-left: auto;
  background: var(--sea);
  border-radius: 30px;
  font-size: var(--sc-text-sm);
  padding: 8px 17px;
  color: #255e54;
  font-weight: var(--sc-weight-strong);
}
.free-label:before {
  content: '✦';
  margin-right: 8px;
}
#map-toggle {
  display: none;
}
.shell {
  display: grid;
  grid-template-columns: 290px minmax(0,1fr);
  max-width: 1680px;
  margin: auto;
  min-height: calc(100vh - 94px);
}
aside h2 {
  font-size: var(--sc-text-h3);
  line-height: var(--sc-leading-heading);
  letter-spacing: var(--sc-tracking-heading);
  margin: 10px 0 22px;
}
aside .eyebrow {
  font-size: var(--sc-text-xs);
}
progress {
  display: block;
  width: 100%;
  height: 9px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #dce9e6;
}
progress::-webkit-progress-bar {
  border-radius: 10px;
}
progress::-webkit-progress-value {
  border-radius: 10px;
}
progress::-moz-progress-bar {
  border-radius: 10px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--sc-text-xs);
  color: var(--muted);
  margin-top: 10px;
  gap: 10px;
}
.lesson-list {
  list-style: none;
  padding: 24px 0;
  margin: 0;
}
.lesson-list li {
  margin: 7px 0;
}
.lesson-list button {
  width: 100%;
  display: flex;
  gap: 12px;
  text-align: left;
  padding: 14px 10px;
  font-size: var(--sc-text-sm);
  font-weight: var(--sc-weight-medium);
  line-height: var(--sc-leading-compact);
  border-color: transparent;
  background: transparent;
}
.lesson-list button:disabled {
  color: #556a75;
}
.step-number {
  flex: 0 0 30px;
  height: 30px;
  border: 1px solid #becfce;
  border-radius: 11px;
  display: grid;
  place-content: center;
  font-size: var(--sc-text-sm);
  background: #fff;
}
.active .step-number {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.lesson-list small {
  display: block;
  font-size: var(--sc-text-xs);
  font-weight: var(--sc-weight-regular);
  color: var(--muted);
  margin-top: 5px;
}
.sidebar-footer {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: var(--sc-text-xs);
  color: var(--muted);
}
.voice-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  font-size: var(--sc-text-sm);
  font-weight: var(--sc-weight-strong);
  color: var(--ink);
  cursor: pointer;
}
.voice-toggle input {
  width: 21px;
  height: 21px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.completion-note {
  padding: 14px;
  background: var(--sea);
  border-radius: 14px;
  color: #255e54;
  font-weight: var(--sc-weight-medium);
}
main {
  padding: 40px clamp(24px,4vw,64px) 64px;
  min-width: 0;
  max-width: 1360px;
}
main:focus {
  outline: none;
}
.eyebrow {
  text-transform: uppercase;
}
.breadcrumb {
  color: var(--muted);
  font-size: var(--sc-text-sm);
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.breadcrumb button {
  border: 0;
  background: none;
  min-height: 44px;
  padding: 0;
  font-size: var(--sc-text-sm);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-title,h1 {
  font-size: var(--sc-text-display);
  line-height: var(--sc-leading-heading);
  letter-spacing: var(--sc-tracking-heading);
  margin: 18px 0 28px;
  font-weight: var(--sc-weight-strong);
  text-wrap: balance;
}
p {
  max-width: 70ch;
}
.quiet {
  font-size: var(--sc-text-sm);
  line-height: var(--sc-leading-reading);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  align-items: center;
}
.panel {
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 26px;
  padding: clamp(24px,3vw,42px);
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: 18px;
  align-items: center;
  padding: clamp(26px,3.4vw,48px);
  border: 1px solid #d0e7e1;
  border-radius: 32px;
  background: linear-gradient(120deg,#f1faf4 15%,#e5f5f2 75%,#d6eeec);
}
.hero:after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -18%;
  bottom: -190px;
  width: 75%;
  height: 300px;
  background: #cce9e5;
  border-radius: 50%;
  transform: rotate(-12deg);
}
.hero-badge {
  display: inline-block;
  padding: 8px 12px;
  background: #ffffffb3;
  border: 1px solid #cbe2db;
  border-radius: 30px;
  font-size: var(--sc-text-xs);
  letter-spacing: var(--sc-tracking-label);
}
.hero h1 {
  font-size: var(--sc-text-display);
  line-height: var(--sc-leading-heading);
  letter-spacing: var(--sc-tracking-heading);
  margin: 24px 0;
}
.hero h1 span {
  color: #007174;
}
.intro {
  max-width: 40ch;
  font-size: var(--sc-text-lead);
  line-height: var(--sc-leading-reading);
}
.hero .actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}
.hero .actions .quiet {
  font-size: var(--sc-text-sm);
}
.stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #bfdad4;
}
.stats b {
  display: block;
  font-size: var(--sc-text-body);
  line-height: var(--sc-leading-compact);
  letter-spacing: var(--sc-tracking-heading);
}
.stats span {
  font-size: var(--sc-text-xs);
  color: #48646c;
}
.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 12px;
  min-width: 0;
}
.mascot {
  width: 100%;
  max-width: 340px;
  height: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 9px #286f6910);
}
.saily-hello {
  background: #fff;
  border: 1px solid #cde2dc;
  border-radius: 21px 21px 5px 21px;
  padding: 15px 22px;
  align-self: flex-end;
  box-shadow: 0 8px 20px #163c4c08;
  transform: rotate(3deg);
  font-size: var(--sc-text-body);
  line-height: var(--sc-leading-compact);
  font-weight: var(--sc-weight-strong);
}
.saily-hello span {
  font-size: var(--sc-text-sm);
  font-weight: var(--sc-weight-regular);
  color: var(--muted);
}
.art-caption {
  font-size: var(--sc-text-xs);
  color: #395e65;
  margin-top: 8px;
  text-align: center;
}
.learning-promise {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  padding: 30px 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.learning-promise>div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.learning-promise>div>span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  background: #e7efed;
  border-radius: 50%;
  font-size: var(--sc-text-xs);
  font-weight: var(--sc-weight-strong);
  color: #43665e;
}
.learning-promise p {
  font-size: var(--sc-text-xs);
  color: var(--muted);
  margin: 0;
}
.learning-promise b {
  display: block;
  color: var(--ink);
  font-size: var(--sc-text-sm);
  margin-bottom: 3px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}
.section-heading h2 {
  margin: 8px 0 10px;
  font-size: var(--sc-text-h1);
}
.section-heading p {
  color: var(--muted);
  font-size: var(--sc-text-body);
  margin: 0;
}
.course-tag {
  white-space: nowrap;
  border: 1px solid #e5d4b6;
  border-radius: 24px;
  padding: 7px 14px;
  background: var(--sand);
  font-size: var(--sc-text-xs);
  font-weight: var(--sc-weight-strong);
  color: #715524;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
}
.course-tile {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px #163c4c03;
}
.course-tile.is-ready {
  border-color: #93c9bd;
  background: linear-gradient(140deg,#fff 45%,#f1faf6);
}
.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 16px;
}
.tile-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #e5f3ef;
  color: #176760;
  font-size: var(--sc-text-h3);
  font-weight: var(--sc-weight-strong);
  letter-spacing: var(--sc-tracking-heading);
}
.course-tile:nth-child(3n+2) .tile-number {
  background: #fff1db;
  color: #805b25;
}
.course-tile:nth-child(3n) .tile-number {
  background: #e9effa;
  color: #445c84;
}
.tile-status {
  font-size: var(--sc-text-xs);
  color: var(--muted);
  font-weight: var(--sc-weight-medium);
}
.is-ready .tile-status {
  color: #246356;
}
.is-complete .tile-status {
  color: #246356;
}
.course-tile h3 {
  margin: 10px 0 14px;
}
.course-tile p {
  font-size: var(--sc-text-body);
  color: var(--muted);
  margin: 0 0 24px;
  flex: 1;
}
.tile-footer {
  padding-top: 20px;
  border-top: 1px solid #e1e9e6;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tile-footer .quiet {
  font-size: var(--sc-text-xs);
}
.course-tile button {
  align-self: flex-start;
  font-size: var(--sc-text-sm);
}
.is-ready button {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.is-ready button:hover {
  color: var(--ink);
}
.course-outro {
  margin: 32px 0;
}
.course-outro>.quiet {
  margin: 22px 0;
}
.preview-note {
  background: #edf1ef;
  border: 1px solid #d9e2de;
  padding: 16px 20px;
  font-size: var(--sc-text-xs);
  color: #4c6259;
  border-radius: 16px;
  line-height: var(--sc-leading-reading);
}
.preview-note b {
  display: block;
  color: #345447;
}
.mini-progress {
  display: flex;
}
.mini-progress span {
  border-radius: 5px;
}
.visual-pending {
  aspect-ratio: 1;
  border: 1px dashed #b7cecb;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #f1f7f4;
  padding: 24px;
  color: var(--muted);
  font-size: var(--sc-text-sm);
}
.visual-pending .visual-symbol {
  font-size: var(--sc-text-h1);
  color: #587d75;
  margin-bottom: 10px;
}
.visual-pending b {
  color: #325a56;
  font-size: var(--sc-text-body);
}
.visual-pending p {
  font-size: var(--sc-text-sm);
  max-width: 190px;
}
.teaching-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 22px;
  background: #eef8f6;
}
.question-visual {
  max-width: 340px;
  margin: 24px auto;
}
.saily-note {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff7e8;
  border: 1px solid #eddfc6;
  border-radius: 20px;
  padding: 18px 22px;
  margin: 28px 0;
}
.saily-note img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}
.saily-note b {
  display: block;
  font-size: var(--sc-text-xs);
  color: #756035;
}
.saily-note p {
  font-size: var(--sc-text-body);
  line-height: var(--sc-leading-reading);
  margin: 5px 0 0;
}
.audio-box {
  border: 1px solid #cce1d9;
  border-radius: 18px;
  padding: 20px 24px;
  margin: 28px 0;
}
.audio-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.audio-heading b {
  font-size: var(--sc-text-body);
}
.audio-heading span {
  font-size: var(--sc-text-xs);
  color: var(--muted);
}
audio {
  width: 100%;
  height: 48px;
  margin-top: 16px;
}
.audio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: var(--sc-text-sm);
}
.audio-meta select {
  padding: 6px;
  border: 1px solid #a9c5bc;
  background: #fff;
  border-radius: 8px;
  font-size: var(--sc-text-sm);
  min-height: 44px;
}
.audio-pending {
  font-size: var(--sc-text-sm);
  margin: 12px 0 0;
}
.audio-error {
  font-size: var(--sc-text-sm);
  color: #7c3522;
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 26px;
  margin-top: 32px;
}
.question-title {
  font-size: var(--sc-text-h2);
  line-height: var(--sc-leading-compact);
  letter-spacing: var(--sc-tracking-heading);
  max-width: 28ch;
}
.answer-group {
  border: 0;
  padding: 0;
  margin: 22px 0;
  min-width: 0;
}
.answer-group legend {
  color: var(--muted);
  font-size: var(--sc-text-sm);
  margin-bottom: 18px;
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  margin-bottom: 14px;
  border: 2px solid var(--border);
  border-radius: 17px;
  cursor: pointer;
  background: #fff;
  line-height: var(--sc-leading-reading);
  font-size: var(--sc-text-lead);
  transition: border-color .16s,background .16s;
}
.choice:hover {
  border-color: #8ebcb3;
  background: #fafdfc;
}
.choice:has(input:checked) {
  border-color: var(--teal);
  background: #eaf6f1;
}
.choice:has(input:focus-visible) {
  outline: 3px solid #a75b00;
  outline-offset: 3px;
}
.choice input {
  margin-top: 7px;
  width: 21px;
  height: 21px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.choice .letter {
  font-size: var(--sc-text-sm);
  color: #526875;
  display: inline-block;
  margin-right: 12px;
  font-weight: var(--sc-weight-strong);
}
.answer-group:disabled .choice {
  cursor: default;
}
.feedback {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid #aad0b9;
  background: #eff8f0;
  margin-top: 28px;
}
.feedback.wrong {
  background: #fff5e7;
  border-color: #e7cda8;
}
.feedback-guide {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.feedback-guide img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}
.feedback h3 {
  margin: 0;
  font-size: var(--sc-text-h3);
}
.feedback p {
  margin: 12px 0;
  font-size: var(--sc-text-body);
}
.feedback .audio-box {
  background: #ffffff80;
  margin: 18px 0;
  padding: 18px;
  box-shadow: none;
}
.feedback .audio-pending {
  font-size: var(--sc-text-sm);
}
.hint {
  font-size: var(--sc-text-body);
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 16px;
}
.hint summary {
  cursor: pointer;
  min-height: 48px;
  padding: 10px 0;
  color: var(--teal);
  font-weight: var(--sc-weight-medium);
}
.result-panel {
  background: linear-gradient(130deg,#fff 45%,#eef8f3);
  display: flow-root;
}
.result-saily {
  float: right;
  width: 160px;
  height: 160px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin: 0 0 12px 20px;
}
.result-score {
  font-size: var(--sc-text-score);
  line-height: var(--sc-leading-heading);
  font-weight: var(--sc-weight-strong);
  letter-spacing: var(--sc-tracking-heading);
  margin: 24px 0;
}
.result-score .quiet {
  font-size: var(--sc-text-h2);
  letter-spacing: var(--sc-tracking-heading);
}
.result-panel>p {
  font-size: var(--sc-text-lead);
  line-height: var(--sc-leading-reading);
}
.result-panel>.audio-box {
  clear: both;
}
.review-item {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  margin: 20px 0;
  padding: 28px;
  box-shadow: var(--shadow);
}
.review-item h3 {
  font-size: var(--sc-text-h3);
}
.review-item p {
  font-size: var(--sc-text-body);
}
.review-item .label {
  font-size: var(--sc-text-xs);
  font-weight: var(--sc-weight-strong);
  color: #426456;
}
.review-item button {
  font-size: var(--sc-text-sm);
}
.save-status {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff3df;
  max-width: 90vw;
  padding: 0 16px;
  border-radius: 10px;
  font-size: var(--sc-text-sm);
  z-index: 50;
}
.save-status:not(:empty) {
  padding: 12px 16px;
  border: 1px solid #e9c992;
}
.load-error {
  max-width: 560px;
  margin: 80px auto;
}
.loading {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
@media(min-width:1500px) {
  .hero h1 {
    font-size: var(--sc-text-display);
  }
  .intro {
    font-size: var(--sc-text-h3);
  }
}
@media(max-width:1200px) {
  .shell {
    grid-template-columns: 250px minmax(0,1fr);
  }
  main {
    padding: 30px 28px 50px;
  }
  .hero {
    grid-template-columns: 1.3fr .7fr;
    padding: 30px;
  }
  .hero h1 {
    font-size: var(--sc-text-display);
  }
  .saily-hello {
    padding: 12px;
    font-size: var(--sc-text-sm);
  }
  .saily-hello span {
    font-size: var(--sc-text-xs);
  }
  .stats {
    gap: 18px;
  }
  .learning-promise {
    gap: 16px;
  }
  .learning-promise>div {
    flex-direction: column;
  }
  .section-heading {
    align-items: flex-start;
  }
  .course-tag {
    display: none;
  }
  .course-tile {
    padding: 24px;
  }
}
@media(max-width:900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .learning-promise {
    gap: 20px;
  }
  .learning-promise p {
    font-size: var(--sc-text-xs);
  }
  .hero h1 {
    font-size: var(--sc-text-display);
  }
}
@media(max-width:740px) {
  .topbar {
    padding: 14px 18px;
    min-height: 82px;
  }
  .brand {
    font-size: var(--sc-text-lead);
    gap: 8px;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
  }
  .brand-sub {
    font-size: var(--sc-text-xs);
  }
  .free-label {
    display: none;
  }
  #map-toggle {
    display: block;
    margin-left: auto;
  }
  .shell {
    display: block;
  }
  main {
    padding: 24px 18px 48px;
  }
  .hero {
    grid-template-columns: 1fr .7fr;
    padding: 26px;
    gap: 12px;
  }
  .hero h1 {
    font-size: var(--sc-text-display);
  }
  .hero-art {
    display: flex;
  }
  .saily-hello {
    font-size: var(--sc-text-sm);
  }
  .art-caption {
    display: none;
  }
  .hero-badge {
    font-size: var(--sc-text-xs);
  }
  .intro {
    font-size: var(--sc-text-body);
  }
  .stats {
    gap: 20px;
  }
  .stats b {
    font-size: var(--sc-text-body);
  }
  .section-heading h2 {
    font-size: var(--sc-text-h2);
  }
  .learning-promise {
    padding: 26px 0;
    margin-bottom: 30px;
  }
  .panel {
    padding: 26px 22px;
    border-radius: 22px;
    overflow-wrap: break-word;
  }
  .page-title,h1 {
    letter-spacing: var(--sc-tracking-heading);
  }
  .footer-nav {
    flex-wrap: wrap;
  }
  .footer-nav button {
    font-size: var(--sc-text-sm);
  }
  .footer-nav>.primary {
    margin-left: auto;
  }
  .actions>.primary {
    flex-grow: 1;
  }
  .choice {
    font-size: var(--sc-text-body);
    padding: 18px 16px;
  }
  .audio-box {
    padding: 18px;
  }
  .audio-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .saily-note {
    gap: 12px;
    padding: 16px;
  }
  .saily-note img {
    width: 58px;
    height: 58px;
  }
  .saily-note p {
    font-size: var(--sc-text-body);
  }
  .feedback {
    padding: 20px;
  }
  .feedback h3 {
    font-size: var(--sc-text-h3);
  }
  .review-item {
    padding: 24px;
  }
  .result-saily {
    width: 120px;
    height: 120px;
  }
  .result-score {
    font-size: var(--sc-text-score);
  }
  .result-panel>p {
    font-size: var(--sc-text-lead);
  }
  .question-visual {
    max-width: 320px;
  }
}
@media(max-width:540px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 26px 24px;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
  }
  .hero h1 {
    font-size: var(--sc-text-display);
  }
  .hero-art {
    flex-direction: row;
    padding-top: 8px;
    gap: 8px;
    justify-content: center;
  }
  .hero-art .mascot {
    width: 46%;
    max-width: 150px;
    order: -1;
  }
  .saily-hello {
    align-self: center;
    transform: rotate(2deg);
    padding: 14px;
    font-size: var(--sc-text-body);
  }
  .saily-hello span {
    font-size: var(--sc-text-xs);
  }
  .stats {
    gap: 16px;
    justify-content: space-between;
  }
  .stats b {
    font-size: var(--sc-text-body);
  }
  .stats span {
    font-size: var(--sc-text-xs);
  }
  .learning-promise {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .learning-promise>div {
    flex-direction: row;
    align-items: center;
  }
  .learning-promise p {
    font-size: var(--sc-text-sm);
  }
  .learning-promise b {
    font-size: var(--sc-text-sm);
  }
  .brand-sub {
    display: none;
  }
  .topbar {
    padding: 12px 14px;
  }
  .brand {
    font-size: var(--sc-text-lead);
  }
  main {
    padding: 20px 14px 40px;
  }
  .panel {
    padding: 24px 18px;
  }
  .course-tile {
    padding: 24px;
  }
  .hero .primary {
    width: 100%;
  }
  .footer-nav>.primary {
    flex: 1 1 100%;
    max-width: none;
  }
  .footer-nav>.quiet {
    margin-left: auto;
  }
  .saily-note {
    align-items: flex-start;
  }
  .saily-note img {
    width: 48px;
    height: 48px;
  }
  .result-saily {
    width: 94px;
    height: 94px;
  }
  .result-score {
    font-size: var(--sc-text-score);
  }
  .feedback-guide img {
    width: 50px;
    height: 50px;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}
@media(prefers-contrast:more) {
  .course-tile,.panel,.audio-box {
    border-width: 2px;
  }
}
.course-switch {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.course-switch a {
  display: block;
  font-size: var(--sc-text-sm);
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  min-height: 44px;
}
.course-switch a[aria-current] {
  background: var(--sea);
  font-weight: var(--sc-weight-strong);
  color: var(--ink);
}
.course-figure {
  margin: 0;
  min-width: 0;
}
.course-figure figcaption {
  font-size: var(--sc-text-sm);
  line-height: var(--sc-leading-reading);
  color: var(--muted);
  margin-top: 12px;
}
.audio-transcript {
  margin-top: 14px;
  font-size: var(--sc-text-sm);
}
.audio-transcript summary {
  cursor: pointer;
  padding: 10px 0;
  min-height: 44px;
  color: var(--teal);
}
.audio-transcript p {
  font-size: var(--sc-text-body);
  line-height: var(--sc-leading-reading);
}
.feedback .audio-transcript p {
  font-size: var(--sc-text-body);
}
/* Adult marine imagery for the Sails 101 course. */
.hero-realistic {
  grid-template-columns: 1.15fr 1fr;
  background: linear-gradient(130deg,#f5f8f5,#e9f1f3);
}
.hero-realistic h1 {
  font-size: var(--sc-text-display);
  letter-spacing: var(--sc-tracking-heading);
}
.realistic-art {
  margin: 0;
  padding: 0;
  gap: 14px;
}
.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 14px 30px #163c4c12;
}
.realistic-art figcaption {
  font-size: var(--sc-text-sm);
  line-height: var(--sc-leading-reading);
  color: #48616d;
  text-align: center;
}
@media(max-width:1200px) {
  .hero-realistic {
    grid-template-columns: 1fr;
  }
  .hero-realistic .realistic-art {
    display: flex;
    max-width: 460px;
    width: 100%;
    justify-self: center;
  }
}
@media(max-width:540px) {
  .hero-realistic .realistic-art {
    flex-direction: column;
  }
  .hero-realistic h1 {
    font-size: var(--sc-text-display);
  }
  .hero-realistic .hero-photo {
    max-width: none;
  }
}
