/* Local Inter faces cover Latin letters and digits; Chinese keeps the system font. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/Inter-Regular.woff') format('woff');
  unicode-range: U+0000-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/Inter-Bold.woff') format('woff');
  unicode-range: U+0000-024F, U+1E00-1EFF;
}

:root {
  --ink: #222222;
  --body: #4d565b;
  --blue: #23afe1;
  --blue-soft: #d9f0f9;
  --pink: #e23f72;
  --line: #979797;
  --header-height: 70px;
  --layout: 1122px;
  --gutter: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

p {
  color: var(--body);
  font-size: 17px;
  line-height: 2;
}

.layout-width {
  width: min(calc(100% - (var(--gutter) * 2)), var(--layout));
  margin-inline: auto;
}

.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: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  background: #222;
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid #eeeeee;
  background: rgba(255, 255, 255, 0.98);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(35, 42, 47, 0.08);
}

.site-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  width: 192px;
  height: auto;
}

.site-logo {
  flex-shrink: 0;
}

.site-nav {
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.site-nav a {
  width: clamp(72px, 6.5vw, 94px);
  display: grid;
  place-items: center;
  color: #353535;
  border-bottom: 5px solid transparent;
  font-size: 14px;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  color: #ffca2a;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle > span:first-child {
  display: grid;
  justify-content: center;
  gap: 5px;
}

.menu-toggle i {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] i:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] i:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  padding-top: var(--header-height);
}

.hero {
  position: relative;
  min-height: 670px;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(10, 18, 23, 0.35), rgba(10, 18, 23, 0.02) 64%), url('./assets/original/screen1-clean.png') center / cover no-repeat;
}

.hero-content {
  padding-bottom: 84px;
}

.hero-brands {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-brands img:first-child {
  width: 290px;
}

.hero-brands img:last-child {
  width: 121px;
}

.hero h1 {
  max-width: 980px;
  font-size: 68px;
  line-height: 1.16;
}

.hero p {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 26px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.5;
}

.hero p span {
  padding: 3px 16px;
  border-radius: 8px;
  background: var(--blue);
}

.journey {
  padding: 80px 0 36px;
  background: #ffffff;
}

.journey-heading {
  width: fit-content;
  max-width: 100%;
}

.campustop-label {
  display: block;
  margin-bottom: 5px;
  color: #666666;
  font-size: 18px;
  line-height: 1.5;
}

.journey-heading strong {
  color: var(--pink);
  font-size: inherit;
  font-weight: inherit;
}

.map-wrap {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1122 / 700;
  overflow: hidden;
  background: #ffffff;
}

.growth-map {
  width: 100%;
  height: 100%;
}

.map-status {
  height: 100%;
  display: grid;
  place-items: center;
  color: #66757d;
  font-size: 14px;
}

.plan {
  padding: 84px 0 64px;
  background-color: #edf8fc;
}

.plan.has-bg {
  background: url('./assets/original/screen3.png') center / cover no-repeat;
}

.plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy photo" "goals goals";
  align-items: center;
  gap: 36px 64px;
}

.plan-copy {
  grid-area: copy;
  min-width: 0;
}

.plan-photo {
  grid-area: photo;
  width: 100%;
  height: auto;
  border: 8px solid #ffffff;
  border-radius: 16px;
  background: #ffffff;
  object-fit: contain;
}

.original-heading {
  position: relative;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.original-heading::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 0;
  width: 78px;
  height: 53px;
  opacity: 0.55;
  background: url('./assets/original/shape.png') center / contain no-repeat;
}

.original-heading > * {
  position: relative;
}

.original-heading h2 {
  font-size: 42px;
  line-height: 1.35;
}

.body-copy {
  margin-top: 28px;
}

.body-copy p + p {
  margin-top: 10px;
}

.body-copy strong,
.join-panel strong {
  color: var(--ink);
}

.plan-goals {
  grid-area: goals;
  min-width: 0;
  padding: 30px 36px 26px;
  border-radius: 12px;
  background: #ffffff;
}

.plan-goals-heading {
  color: var(--ink);
  text-align: center;
}

.plan-goals-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.plan-goals-metrics p {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 10px;
  padding: 8px 20px;
}

.plan-goals-metrics p + p {
  border-left: 1px solid #e0eaf0;
}

.plan-goals-metrics span {
  white-space: nowrap;
}

.plan-goals b {
  color: var(--pink);
  font-size: 38px;
  line-height: 1.3;
  white-space: nowrap;
}

.plan-goals-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e0eaf0;
  text-align: center;
}

.plan-goals-note br {
  display: none;
}

.reason-note::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 44px;
  width: 30px;
  height: 30px;
  background: inherit;
  transform: rotate(45deg);
}

.reason {
  padding: 110px 0 64px;
  background: #f6f9fb;
}

.reason-layout {
  position: relative;
  min-height: 0;
  display: flex;
  justify-content: flex-end;
}

.reason-photo {
  position: absolute;
  top: 0;
  left: 36px;
  width: 452px;
  border-radius: 16px;
}

.reason-copy {
  width: 520px;
  margin-right: 40px;
}

.reason-copy .body-copy {
  margin-top: 28px;
}

.reason-note {
  position: relative;
  width: 760px;
  min-height: 116px;
  margin: 62px 0 0 -240px;
  padding: 24px 30px;
  border-radius: 16px;
  background: #d3eff9;
  color: var(--body);
  font-size: 17px;
  line-height: 2;
}

.reason-note strong {
  color: var(--ink);
}

@media (min-width: 821px) {
  .reason-note {
    margin-top: 108px;
  }
}

/* Teacher stories share the site's heading and brand treatments. */
.teacher-stories {
  padding: 96px 0 108px;
  background: #ffffff;
}

.teacher-stories-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: 76px;
}

.teacher-stories-copy {
  min-width: 0;
}

.journey-intro,
.teacher-stories-lead {
  margin-top: 24px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.65;
}

.teacher-stories-lead {
  color: var(--pink);
}

.teacher-stories-description {
  margin-top: 12px;
  max-width: 580px;
}

.teacher-story-context {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

.teacher-story-context img {
  width: 100%;
  height: auto;
  display: block;
}

/* Teacher selection and story content align with the section heading. */
.teacher-story-card {
  margin-top: 44px;
  padding: 0;
  border: 0;
}
.teacher-story-tabs {
  width: fit-content;
  max-width: 100%;
  margin-top: 0;
  margin-inline: 0;
  padding: 5px;
  display: flex;
  gap: 4px;
  border-radius: 12px;
  background: #edf4f7;
}

.teacher-story-tab {
  min-height: 44px;
  padding: 10px 26px;
  border: 0;
  border-radius: 12px;
  color: var(--body);
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.teacher-story-tab:hover {
  color: #167fa5;
  background: #f3fafc;
}

.teacher-story-tab:focus-visible {
  outline: 2px solid #167fa5;
  outline-offset: -3px;
}

.teacher-story-tab.is-active {
  color: #ffffff;
  background: #23afe1;
  box-shadow: 0 2px 8px #24465414;
}

.teacher-story-panel {
  margin-top: 24px;
  transition: opacity 140ms ease, transform 140ms ease;
}

.teacher-story-panel.is-changing {
  opacity: 0.24;
  transform: translateY(4px);
}

.teacher-story-quote {
  min-height: 92px;
  padding: 0 0 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  border-bottom: 1px solid #e5edf0;
}

.teacher-story-quote blockquote {
  max-width: 900px;
  margin: 0;
  color: #222222;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.65;
  text-align: left;
  text-wrap: wrap;
}

.teacher-story-attribution {
  margin: 10px 0 0;
  color: #6d7b82;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: right;
}

/* The same three stages read left to right on desktop, top to bottom on mobile. */
.teacher-story-details {
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.teacher-story-details > div {
  position: relative;
  min-width: 0;
  padding: 22px 24px 24px;
  border-radius: 10px;
  background: #f6f9fb;
}

.teacher-story-details > div:nth-child(2) {
  background: #edf8fc;
}

.teacher-story-details > div:last-child {
  background: #fff2f6;
}

.teacher-story-details > div + div::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #a8c3ce;
  border-right: 2px solid #a8c3ce;
  transform: translate(-50%, -50%) rotate(45deg);
}

.teacher-story-details dt {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.teacher-story-details dt::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  border-radius: 50%;
  background: #a2b2ba;
}

.teacher-story-details > div:nth-child(2) dt {
  color: #23afe1;
}

.teacher-story-details > div:nth-child(2) dt::before {
  background: var(--blue);
}

.teacher-story-details > div:last-child dt {
  color: var(--pink);
}

.teacher-story-details > div:last-child dt::before {
  background: var(--pink);
}

.teacher-story-details dd {
  margin: 0;
  color: var(--body);
  font-size: 17px;
  line-height: 1.9;
}

.join {
  padding: 74px 0;
  background-color: #e7f0f4;
}

.join.has-bg {
  background: url('./assets/original/screen5.jpg') center / cover no-repeat;
}

.join-panel {
  padding: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
}

.join-panel .original-heading {
  margin-bottom: 26px;
}

.join-panel .original-heading h2 {
  font-size: 42px;
}

.join-details {
  margin: 20px 0;
}

.register-button {
  width: 246px;
  height: 68px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--pink);
  font-size: 20px;
  transition: background 160ms ease;
}

.register-button-arrow {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
}

.register-button-arrow::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.register-button-arrow::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.register-button:hover,
.register-button:focus-visible {
  background: #c83461;
}

.company {
  padding: 84px 0 100px;
  background-color: #eaf6fb;
}

.company.has-bg {
  background: url('./assets/original/screen6.png') center / cover no-repeat;
}

.company-heading {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.company-heading h2 {
  font-size: 44px;
}

.company-intro {
  margin-top: 28px;
}

.company-modules {
  margin-top: 50px;
  display: grid;
  gap: 36px;
}

.company-module {
  padding: 34px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  align-items: center;
  gap: 54px;
  border-radius: 16px;
  background: #ffffff;
}

.company-module span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
}

.company-module h3,
.company-module h4 {
  font-size: 20px;
  line-height: 1.45;
}

.company-module h4 {
  margin-top: 6px;
}

.company-module p {
  margin-top: 12px;
}

.company-module img {
  width: 295px;
  aspect-ratio: 592 / 408;
  object-fit: cover;
}

.closing {
  padding: 96px 0;
  color: #ffffff;
  background-color: #1c6f91;
}

.closing.has-bg {
  background: linear-gradient(90deg, rgba(0, 31, 47, 0.44), rgba(0, 31, 47, 0.08)), url('./assets/original/screen7.png') center / cover no-repeat;
}

.closing header {
  position: relative;
  margin-bottom: 20px;
}

.closing header::before {
  content: "";
  position: absolute;
  top: -56px;
  left: 0;
  width: 100px;
  height: 68px;
  background: url('./assets/original/shape.png') center / contain no-repeat;
}

.closing header > * {
  position: relative;
}

.closing .campustop-label,
.closing p {
  color: #ffffff;
}

.closing h2 {
  font-size: 42px;
  line-height: 1.4;
}

.site-footer {
  padding: 42px 0 34px;
  color: #ffffff;
  background: #666666;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.footer-links section {
  min-height: 160px;
  padding: 0 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #929292;
  text-align: center;
}

.footer-links section:last-child {
  border-right: 0;
}

.footer-links h2 {
  margin-bottom: 8px;
  font-size: 17px;
}

.footer-links a {
  color: #ffffff;
  font-size: 14px;
  line-height: 2.3;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #bdefff;
}

.footer-legal {
  margin-top: 28px;
  color: #ffffff;
  font-size: 12px;
  font-style: normal;
  line-height: 2.2;
  text-align: center;
}

.footer-legal a {
  margin-inline: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  :root {
    --layout: 900px;
    --gutter: 24px;
  }

  .site-logo img {
    width: 170px;
  }

  .site-nav a {
    width: clamp(60px, 7.2vw, 78px);
    font-size: 13px;
  }

  .hero {
    min-height: 580px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero p {
    font-size: 23px;
  }

  .reason-copy {
    width: 47%;
    margin-right: 0;
  }

  .reason-photo {
    width: 43%;
  }

  .original-heading h2 {
    font-size: 36px;
  }

  .reason-note {
    width: 140%;
    margin-left: -40%;
  }

  .company-module {
    grid-template-columns: minmax(0, 1fr) 245px;
    padding-inline: 38px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
    --gutter: 28px;
  }

  .menu-toggle {
    display: block;
  }

  .site-logo img {
    width: 160px;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    max-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #ffffff;
    box-shadow: 0 14px 24px rgba(35, 42, 47, 0.1);
    visibility: hidden;
    transition: max-height 220ms ease, visibility 220ms ease;
  }

  .site-nav.is-open {
    max-height: 340px;
    visibility: visible;
  }

  .site-nav a {
    width: auto;
    height: 54px;
    border-bottom-width: 2px;
  }

  .hero {
    min-height: 560px;
    background-position: 58% center;
  }

  .hero-content {
    padding-bottom: 56px;
  }

  .hero-brands img:first-child {
    width: 225px;
  }

  .hero-brands img:last-child {
    width: 92px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: 48px;
  }

  .journey {
    padding-top: 70px;
  }

  .journey-heading {
    min-width: 0;
    width: 100%;
  }

  .reason {
    padding: 74px 0 64px;
  }

  .reason-layout {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    align-items: start;
    gap: 42px;
  }

  .reason-copy {
    width: auto;
  }

  .reason-photo {
    position: static;
    width: 100%;
    order: 2;
  }

  .reason-copy {
    order: 1;
  }

  .original-heading h2 {
    font-size: 32px;
  }

  .reason-note {
    width: calc(100% + 48%);
    min-height: 0;
  }

  .reason-note {
    margin-left: 0;
  }

  .join-panel {
    padding: 42px;
  }

  .join-panel .original-heading h2 {
    font-size: 34px;
  }

  .company-module {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 32px;
  }

  .footer-links section {
    padding-inline: 18px;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
  }

  p {
    font-size: 15px;
    line-height: 1.85;
  }

  .site-logo img {
    width: 138px;
  }

  .hero {
    min-height: 520px;
    background: linear-gradient(90deg, rgba(10, 18, 23, 0.35), rgba(10, 18, 23, 0.02) 64%), url('./assets/original/screen1-clean.png') 50% center / cover no-repeat;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 34% 0 0;
    background: linear-gradient(transparent, rgba(0, 21, 33, 0.7));
  }

  .hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 14px;
  }

  .hero-brands {
    margin-bottom: 14px;
    gap: 16px;
  }

  .hero-brands img:first-child {
    width: 164px;
  }

  .hero-brands img:last-child {
    width: 68px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.22;
  }

  .hero p {
    margin-top: 15px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 17px;
  }

  .hero p span {
    padding: 2px 10px;
    border-radius: 5px;
  }

  .journey {
    padding: 54px 0 22px;
  }

  .campustop-label {
    font-size: 14px;
  }

  .map-wrap {
    width: calc(100% + (var(--gutter) * 2));
    margin-left: calc(var(--gutter) * -1);
  }

  .reason,
  .teacher-stories,
  .company {
    padding: 58px 0 64px;
  }

  .reason-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .reason-copy {
    display: contents;
  }

  .reason-copy > .original-heading {
    order: 0;
  }

  .reason-copy > .body-copy {
    order: 1;
  }

  .reason-photo {
    order: 2;
    width: min(100%, 420px);
    margin: 30px auto 0;
  }

  .reason-note {
    order: 3;
  }

  .original-heading {
    padding-bottom: 18px;
  }

  .original-heading::before {
    top: -13px;
    width: 54px;
    height: 37px;
  }

  .original-heading h2 {
    font-size: 29px;
    line-height: 1.35;
  }

  .body-copy {
    margin-top: 20px;
  }

  .reason-note {
    width: 100%;
    margin-top: 30px;
    padding: 30px 24px;
    border-radius: 10px;
  }

  .reason-note {
    font-size: 15px;
    line-height: 1.85;
  }

  .join {
    padding: 42px 0;
    background-position: 62% center;
  }

  .join-panel {
    padding: 34px 22px;
  }

  .join-panel .original-heading h2 {
    font-size: 28px;
  }

  .join-details {
    margin-block: 16px;
  }

  .register-button {
    width: 200px;
    height: 56px;
    margin-top: 28px;
    font-size: 17px;
  }

  .company-heading {
    padding-bottom: 18px;
  }

  .company-heading h2 {
    font-size: 30px;
  }

  .company-intro {
    margin-top: 20px;
  }

  .company-modules {
    margin-top: 30px;
    gap: 24px;
  }

  .company-module {
    padding: 26px 22px;
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 10px;
  }

  .company-module span {
    font-size: 19px;
  }

  .company-module h3,
  .company-module h4 {
    font-size: 17px;
  }

  .company-module img {
    width: 100%;
  }

  .closing {
    padding: 72px 0 64px;
    background-position: 60% center;
  }

  .closing header::before {
    top: -38px;
    width: 70px;
    height: 48px;
  }

  .closing h2 {
    font-size: 30px;
  }

  .site-footer {
    padding-top: 34px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .footer-links section {
    min-height: 132px;
    padding: 0 12px;
  }

  .footer-links section:nth-child(2) {
    border-right: 0;
  }

  .footer-links h2 {
    font-size: 15px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-legal {
    font-size: 11px;
    line-height: 2;
  }

  .footer-legal a {
    margin-inline: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  .teacher-stories-intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 32%);
    gap: 40px;
  }

  .teacher-story-quote blockquote { font-size: 26px; }
  .teacher-story-details { gap: 24px; }
  .teacher-story-details > div { padding: 20px; }
  .teacher-story-details > div + div::before { left: -12px; }
}

@media (max-width: 820px) {
  .teacher-stories { padding: 74px 0 82px; }
  .teacher-stories-intro { gap: 28px; }
  .teacher-story-details { gap: 18px; }
  .teacher-story-details > div { padding: 18px 16px; }
  .teacher-story-details > div + div::before { left: -9px; width: 6px; height: 6px; }
  .teacher-story-details dt { font-size: 17px; }
  .teacher-story-details dd { font-size: 16px; }
}

@media (max-width: 620px) {
  .teacher-stories { padding: 58px 0 64px; }
  .teacher-stories-intro { grid-template-columns: 1fr; gap: 24px; }
  .journey-intro,
  .teacher-stories-lead { margin-top: 20px; }
  .teacher-stories-description { margin-top: 12px; }
  .teacher-story-context { width: min(100%, 380px); margin-inline: auto; border-radius: 10px; }
  .teacher-story-card { margin-top: 28px; padding: 0; }
  .teacher-story-tabs { width: 100%; }
  .teacher-story-tab { flex: 1; min-width: 0; padding: 8px; font-size: 15px; }
  .teacher-story-quote { min-height: 0; padding-bottom: 22px; }
  .teacher-story-quote blockquote { font-size: 22px; text-align: left; text-wrap: wrap; }
  .teacher-story-attribution { margin-top: 8px; font-size: 14px; }
  .teacher-story-details { margin-top: 22px; grid-template-columns: 1fr; gap: 22px; }
  .teacher-story-details > div { padding: 18px 20px; }
  .teacher-story-details > div + div::before { top: -11px; left: 50%; width: 7px; height: 7px; transform: translate(-50%, -50%) rotate(135deg); }
  .teacher-story-details dt { margin-bottom: 8px; }
  .teacher-story-details dd { font-size: 15px; line-height: 1.85; }
}

@media (prefers-reduced-motion: reduce) {
  .teacher-story-tab,
  .teacher-story-panel { transition: none; }
}

/* The plan follows content height instead of reserving empty canvas space. */
@media (max-width: 1024px) {
  .plan-layout { column-gap: 40px; }
  .plan-goals { padding-inline: 28px; }
  .plan-goals-metrics p { flex-direction: column; align-items: center; padding: 0 20px; }
  .plan-goals-metrics b { margin-block: 4px; }
}

@media (max-width: 820px) {
  .plan { padding: 74px 0 56px; }
  .plan-layout { column-gap: 28px; }
  .plan-goals-note br { display: initial; }
}

@media (max-width: 620px) {
  .plan { padding: 58px 0 40px; }
  .plan-layout { grid-template-columns: 1fr; grid-template-areas: "copy" "photo" "goals"; gap: 26px; }
  .plan-photo { width: min(100%, 420px); margin-inline: auto; }
  .plan-goals { padding: 24px 18px 20px; }
  .plan-goals-metrics { margin-top: 18px; }
  .plan-goals-metrics p { padding: 0 8px; font-size: 14px; }
  .plan-goals b { font-size: clamp(25px, 7.7vw, 32px); }
  .plan-goals-note { margin-top: 20px; padding-top: 16px; text-align: left; }
  .plan-goals-note br { display: none; }
}
