:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #1f2530;
  --muted: #606a79;
  --line: #e2e5ea;
  --blue: #2864dc;
  --blue-dark: #1846a1;
  --blue-soft: #edf3ff;
  --green: #28815d;
  --green-soft: #eaf7f0;
  --violet: #7157b6;
  --violet-soft: #f1edfb;
  --amber: #b96d27;
  --amber-soft: #fff2e6;
  --danger: #a75353;
  --danger-soft: #fff2f2;
  --radius: 12px;
  --shadow: 0 2px 5px rgba(20, 28, 42, 0.03);
  --type-label: 11px;
  --type-meta: 12px;
  --type-small: 13px;
  --type-body: 15px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(40, 100, 220, 0.25);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 18px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: #111827;
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1420px;
  height: 100%;
  margin: auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand {
  width: 190px;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-cn {
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-en {
  margin-top: 6px;
  color: #77808e;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.main-nav {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 3px;
}

.main-nav a {
  min-width: 66px;
  padding: 0 13px;
  display: grid;
  place-items: center;
  position: relative;
  color: #3e4653;
  font-size: 15px;
}

.main-nav a::after {
  content: "";
  height: 3px;
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  background: transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}

.main-nav a.nav-course-cta {
  min-width: 112px;
  color: #222919;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.main-nav a.nav-course-cta span {
  padding: 0 2px 1px;
  line-height: 1.25;
  box-shadow: inset 0 -0.54em 0 #dfff45;
}

.main-nav a.active::after {
  right: 14px;
  bottom: 0;
  left: 14px;
  background: var(--blue);
}

.contact-link {
  min-height: 36px;
  margin-left: auto;
  padding: 0 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

.contact-link:hover,
.primary-button:hover,
.primary-cta:hover,
.join-button:hover {
  background: var(--blue-dark);
}

.menu-toggle {
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 0;
  display: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  height: 1px;
  margin: 5px 0;
  display: block;
  background: var(--text);
}

main {
  min-height: 75vh;
}

.page-wrap {
  max-width: 1420px;
  margin: auto;
  padding: 22px 22px 74px;
}

.breadcrumb {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #707a89;
  font-size: 12px;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb b {
  max-width: 430px;
  overflow: hidden;
  color: #505a68;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-hero,
.open-route-note,
.content-section,
.roadmap-section,
.purchase-card,
.closing-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.course-hero {
  min-height: 474px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(430px, 0.85fr);
  gap: 34px;
  align-items: stretch;
}

.hero-copy {
  padding: 44px 30px 36px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hero-tags span {
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: var(--type-label);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: var(--type-label);
  font-weight: 750;
  letter-spacing: 0.11em;
}

.hero-copy > .section-kicker {
  margin-top: 24px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.hero-description {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.hero-open-note {
  max-width: 680px;
  margin: 15px 0 0;
  padding-left: 13px;
  border-left: 3px solid var(--blue);
  color: #526074;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.primary-button,
.join-button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.text-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #526074;
  font-size: var(--type-small);
  font-weight: 650;
}

.text-button:hover {
  color: var(--blue);
}

.hero-meta {
  margin-top: 30px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: #7b8491;
  font-size: var(--type-meta);
}

.hero-meta b {
  margin-right: 4px;
  color: var(--text);
  font-size: 14px;
}

.route-preview {
  padding: 31px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  background:
    linear-gradient(rgba(52, 75, 116, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 75, 116, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, #f9fbff, #eef3fb);
  background-size: 25px 25px, 25px 25px, auto;
}

.route-preview::after {
  content: "";
  width: 190px;
  height: 190px;
  position: absolute;
  top: -110px;
  right: -95px;
  border: 1px solid rgba(40, 100, 220, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(40, 100, 220, 0.025);
}

.preview-heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.preview-heading span {
  color: var(--blue);
  font-size: var(--type-label);
  font-weight: 750;
  letter-spacing: 0.15em;
}

.preview-heading b {
  font-size: 18px;
}

.route-preview ol {
  margin: 24px 0 0;
  padding: 0;
  position: relative;
  z-index: 1;
  list-style: none;
}

.route-preview ol::before {
  content: "";
  width: 1px;
  position: absolute;
  top: 29px;
  bottom: 29px;
  left: 29px;
  background: #cbd6e9;
}

.route-preview li {
  position: relative;
}

.route-preview li + li {
  margin-top: 7px;
}

.route-preview a {
  min-height: 58px;
  padding: 7px 13px 7px 8px;
  border: 1px solid #dbe2ed;
  border-radius: 9px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.18s ease;
}

.route-preview a:hover {
  border-color: #b7c8ea;
  box-shadow: 0 7px 18px rgba(35, 66, 126, 0.08);
  transform: translateY(-1px);
}

.route-preview i {
  width: 42px;
  height: 42px;
  border: 4px solid #f7faff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 0 1px #bfd0ef;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.route-preview li:nth-child(2) i {
  background: var(--green);
  box-shadow: 0 0 0 1px #bfddcf;
}

.route-preview li:nth-child(3) i {
  background: var(--violet);
  box-shadow: 0 0 0 1px #d3c9ec;
}

.route-preview li:nth-child(4) i {
  background: var(--amber);
  box-shadow: 0 0 0 1px #ebcfb7;
}

.route-preview li:nth-child(5) i {
  background: #3f728f;
  box-shadow: 0 0 0 1px #b8d1df;
}

.route-preview li:nth-child(6) i {
  background: #8b5d3d;
  box-shadow: 0 0 0 1px #dfc7b6;
}

.route-preview a > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.route-preview small {
  color: #7e8898;
  font-size: var(--type-meta);
}

.route-preview strong {
  font-size: 14px;
  line-height: 1.4;
}

.open-route-note {
  min-height: 84px;
  margin-top: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #f9fbff;
  border-color: #d9e3f5;
}

.open-route-note > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.note-icon {
  width: auto;
  min-width: 72px;
  height: 38px;
  padding: 0 11px;
  flex: 0 0 auto;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.open-route-note p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.open-route-note strong {
  font-size: 13px;
}

.open-route-note small {
  color: var(--muted);
  font-size: var(--type-meta);
}

.open-route-note > a {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: var(--type-meta);
  font-weight: 700;
}

.course-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.course-main {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.roadmap-section {
  padding: 38px 38px 43px;
  scroll-margin-top: 90px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading h2,
.content-section > h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.42;
  letter-spacing: -0.035em;
}

.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-heading > span {
  flex: 0 0 auto;
  color: #7b8492;
  font-size: var(--type-meta);
}

.roadmap-list {
  margin-top: 32px;
}

.stage {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  scroll-margin-top: 92px;
}

.stage:not(:last-child) {
  padding-bottom: 16px;
}

.stage:not(:last-child)::before {
  content: "";
  width: 2px;
  position: absolute;
  top: 46px;
  bottom: -8px;
  left: 30px;
  background: #dde3ec;
}

.stage-marker {
  position: relative;
  z-index: 1;
}

.stage-marker span {
  width: 62px;
  height: 62px;
  border: 1px solid #bdd0f1;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 7px #fff;
  font-size: 14px;
  font-weight: 800;
}

.stage:nth-child(2) .stage-marker span {
  color: var(--green);
  border-color: #bcdccb;
  background: var(--green-soft);
}

.stage:nth-child(3) .stage-marker span {
  color: var(--violet);
  border-color: #d2c8ed;
  background: var(--violet-soft);
}

.stage:nth-child(4) .stage-marker span {
  color: var(--amber);
  border-color: #efd0b3;
  background: var(--amber-soft);
}

.stage:nth-child(5) .stage-marker span {
  color: #3f728f;
  border-color: #b8d1df;
  background: #eef7fb;
}

.stage:nth-child(6) .stage-marker span {
  color: #8b5d3d;
  border-color: #dfc7b6;
  background: #fbf4ef;
}

.stage-card {
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  background: #fff;
  transition: 0.18s ease;
}

.stage-card:hover {
  border-color: #c4d2e9;
  box-shadow: 0 9px 25px rgba(29, 50, 91, 0.07);
}

.stage-core .stage-card {
  border-color: #c9d8f2;
}

.stage-overview {
  padding: 29px 31px;
}

.stage-flags {
  margin-bottom: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stage-flags span {
  padding: 4px 7px;
  border-radius: 4px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: var(--type-label);
  font-weight: 750;
}

.stage-flags span + span {
  color: #687487;
  background: #f0f3f7;
}

.stage-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: var(--type-meta);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stage-overview h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.stage-overview > p:not(.stage-kicker) {
  max-width: 650px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.8;
}

.stage-fit {
  margin-top: 19px;
  padding-top: 16px;
  border-top: 1px dashed #d9dfe8;
}

.stage-fit span {
  color: #6a7585;
  font-size: var(--type-label);
  font-weight: 750;
}

.stage-fit p {
  margin: 6px 0 0;
  color: #4f5c6d;
  font-size: var(--type-small);
  line-height: 1.7;
}

.stage-outcome {
  margin-top: 22px;
  padding: 15px 17px;
  border-left: 3px solid var(--green);
  border-radius: 0 7px 7px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f5faf7;
}

.stage-outcome span {
  color: var(--green);
  font-size: var(--type-label);
  font-weight: 750;
  letter-spacing: 0.08em;
}

.stage-outcome strong {
  color: #35453d;
  font-size: 14px;
  line-height: 1.65;
}

.stage-lessons {
  padding: 25px 22px;
  border-left: 1px solid var(--line);
  background: #fafbfc;
}

.lessons-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lessons-title span {
  font-size: 14px;
  font-weight: 750;
}

.lessons-title small {
  color: #8792a2;
  font-size: var(--type-label);
  line-height: 1.4;
  text-align: right;
}

.stage-lessons ul {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.stage-lessons li {
  padding: 0;
  border-bottom: 1px solid #e8ebef;
}

.stage-lessons li:last-child {
  border-bottom: 0;
}

.stage-lessons button {
  width: 100%;
  min-height: 53px;
  padding: 8px 11px 8px 4px;
  border: 0;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto 18px;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: 0.18s ease;
}

.stage-lessons button:hover {
  color: var(--blue);
  background: #f2f6fd;
}

.stage-lessons button:focus-visible {
  border-radius: 5px;
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.stage-lessons b {
  color: #99a2af;
  font-size: var(--type-label);
}

.stage-lessons button span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.stage-lessons button em {
  color: #8a95a5;
  font-size: var(--type-label);
  font-style: normal;
  white-space: nowrap;
}

.stage-checkpoint {
  margin-top: 4px;
  border-bottom: 0 !important;
}

.stage-checkpoint button {
  color: #24734f;
  background: #f1f8f4;
}

.stage-checkpoint b,
.stage-checkpoint button em {
  color: var(--green);
}

.case-update-note {
  margin: 14px 0 0;
  padding: 12px 13px;
  border-radius: 6px;
  color: #687487;
  background: #f0f3f7;
  font-size: var(--type-meta);
  line-height: 1.65;
}

.stage-lessons button i {
  color: #9aa6b6;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  opacity: 0.62;
  transition: 0.18s ease;
}

.stage-lessons button:hover i,
.stage-lessons button:focus-visible i {
  color: var(--blue);
  opacity: 1;
  transform: translateX(3px);
}

.content-section {
  padding: 37px 39px;
  scroll-margin-top: 90px;
}

.support-grid,
.package-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.support-grid article {
  min-height: 170px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.support-grid article > span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: var(--type-label);
  font-weight: 800;
}

.support-grid article:nth-child(2) > span {
  color: var(--green);
  background: var(--green-soft);
}

.support-grid article:nth-child(3) > span {
  color: var(--violet);
  background: var(--violet-soft);
}

.support-grid h3 {
  margin: 17px 0 7px;
  font-size: 15px;
}

.support-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.package-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.package-grid article {
  min-height: 174px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid #dce4f2;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background:
    radial-gradient(circle at 91% 12%, rgba(40, 100, 220, 0.11), transparent 31%),
    linear-gradient(145deg, #fff 56%, #f7faff);
  box-shadow: 0 8px 24px rgba(37, 58, 94, 0.045);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.package-grid article::after {
  width: 105px;
  height: 105px;
  content: "";
  position: absolute;
  right: -52px;
  bottom: -57px;
  border: 1px solid rgba(40, 100, 220, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 16px rgba(40, 100, 220, 0.035),
    0 0 0 32px rgba(40, 100, 220, 0.025);
}

.package-grid article:hover {
  border-color: rgba(40, 100, 220, 0.28);
  box-shadow: 0 13px 30px rgba(37, 58, 94, 0.09);
  transform: translateY(-2px);
}

.package-grid b {
  position: relative;
  z-index: 1;
  padding: 4px 7px;
  border-radius: 4px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 9px;
}

.package-grid strong {
  max-width: calc(100% - 56px);
  position: relative;
  z-index: 1;
  margin: 22px 0 7px;
  font-size: 15px;
}

.package-visual {
  width: 58px;
  height: 58px;
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 1;
  border: 1px solid rgba(40, 100, 220, 0.12);
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 18px rgba(40, 100, 220, 0.09);
}

.package-visual svg {
  width: 39px;
  height: 39px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.package-visual .package-visual-accent {
  stroke-width: 3;
}

.package-card.video {
  background:
    radial-gradient(circle at 91% 12%, rgba(50, 158, 196, 0.13), transparent 31%),
    linear-gradient(145deg, #fff 56%, #f4fbfd);
}

.package-card.video .package-visual {
  color: #2786aa;
  border-color: rgba(39, 134, 170, 0.14);
  box-shadow: 0 8px 18px rgba(39, 134, 170, 0.09);
}

.package-card.project {
  background:
    radial-gradient(circle at 91% 12%, rgba(113, 87, 182, 0.13), transparent 31%),
    linear-gradient(145deg, #fff 56%, #faf8ff);
}

.package-card.project .package-visual {
  color: var(--violet);
  border-color: rgba(113, 87, 182, 0.14);
  box-shadow: 0 8px 18px rgba(113, 87, 182, 0.09);
}

.package-card.community {
  background:
    radial-gradient(circle at 91% 12%, rgba(40, 129, 93, 0.13), transparent 31%),
    linear-gradient(145deg, #fff 56%, #f5fbf8);
}

.package-card.community .package-visual {
  color: var(--green);
  border-color: rgba(40, 129, 93, 0.14);
  box-shadow: 0 8px 18px rgba(40, 129, 93, 0.09);
}

.package-card.update {
  background:
    radial-gradient(circle at 91% 12%, rgba(185, 109, 39, 0.14), transparent 31%),
    linear-gradient(145deg, #fff 56%, #fffaf4);
}

.package-card.update .package-visual {
  color: var(--amber);
  border-color: rgba(185, 109, 39, 0.14);
  box-shadow: 0 8px 18px rgba(185, 109, 39, 0.09);
}

.package-card.guarantee {
  background:
    radial-gradient(circle at 91% 12%, rgba(167, 83, 83, 0.13), transparent 31%),
    linear-gradient(145deg, #fff 56%, #fff8f8);
}

.package-card.guarantee .package-visual {
  color: var(--danger);
  border-color: rgba(167, 83, 83, 0.14);
  box-shadow: 0 8px 18px rgba(167, 83, 83, 0.09);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 42px;
}

.story-section h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.45;
  letter-spacing: -0.035em;
}

.story-section > div:last-child > p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.85;
}

.story-section blockquote {
  margin: 20px 0 0;
  padding: 17px 19px;
  border-left: 4px solid var(--blue);
  border-radius: 0 7px 7px 0;
  color: #35435a;
  background: #f5f8ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.audience-section > h2,
.faq-section > h2 {
  margin-bottom: 23px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.audience-grid > div {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.audience-grid .fit {
  border-color: #c9e1d4;
  background: #f8fcfa;
}

.audience-grid .not-fit {
  border-color: #ead4d4;
  background: #fffafa;
}

.audience-grid h3 {
  margin: 0 0 15px;
  font-size: 16px;
}

.audience-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-grid li {
  min-height: 34px;
  padding-left: 20px;
  position: relative;
  color: #56606e;
  font-size: 14px;
  line-height: 1.6;
}

.audience-grid li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.not-fit li::before {
  content: "—";
  color: var(--danger);
}

.teacher-section {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 29px;
  align-items: center;
}

.teacher-avatar {
  width: 155px;
  height: 155px;
  border-radius: 11px;
  display: block;
  object-fit: cover;
}

.teacher-section h2 {
  margin: 0 0 13px;
  font-size: 26px;
}

.teacher-section div > p:not(.section-kicker) {
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.feedback-toolbar {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.feedback-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.feedback-filters button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #d8dde5;
  border-radius: 999px;
  color: #5d6878;
  background: #fff;
  font-size: var(--type-meta);
  font-weight: 650;
  cursor: pointer;
}

.feedback-filters button:hover {
  border-color: #aebfdc;
  color: var(--blue);
}

.feedback-filters button.active {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.feedback-progress {
  min-width: 52px;
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  color: #929baa;
  font-size: var(--type-meta);
}

.feedback-progress b {
  color: var(--text);
  font-size: 17px;
}

.feedback-carousel {
  margin-top: 17px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 9px;
  align-items: center;
}

.feedback-carousel-arrow {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #d6dce5;
  border-radius: 50%;
  color: #536174;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
}

.feedback-carousel-arrow:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.feedback-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.feedback-dots {
  min-height: 22px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.feedback-dots button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.feedback-dots button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd2dc;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.feedback-dots button:hover::before {
  background: #92a9d0;
}

.feedback-dots button.active::before {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 100, 220, 0.12);
  transform: scale(1.12);
}

.feedback-track {
  padding: 2px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 20px) / 3);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.feedback-track::-webkit-scrollbar {
  display: none;
}

.feedback-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  scroll-snap-align: none;
  background: #fff;
}

.feedback-card.feedback-page-start {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.feedback-tail-spacer {
  min-width: 0;
  pointer-events: none;
}

.feedback-tail-spacer[hidden] {
  display: none;
}

.feedback-card[hidden] {
  display: none;
}

.feedback-image {
  width: 100%;
  height: 275px;
  padding: 0;
  overflow: hidden;
  border: 0;
  display: block;
  position: relative;
  background: #eef0f3;
  cursor: zoom-in;
}

.feedback-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center var(--preview-position, 50%);
  transform: scale(1.06);
  transition: transform 220ms ease;
}

.feedback-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 64px;
  background: linear-gradient(transparent, rgba(21, 27, 37, 0.5));
}

.feedback-image > span {
  position: absolute;
  right: 12px;
  bottom: 11px;
  left: 12px;
  z-index: 1;
  color: #fff;
  font-size: var(--type-label);
  font-weight: 650;
  text-align: center;
  opacity: 0.92;
}

.feedback-image:hover img {
  transform: scale(1.1);
}

.feedback-card-copy {
  min-height: 158px;
  padding: 17px 17px 19px;
}

.feedback-tag {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 750;
}

.feedback-tag.course {
  color: #a45a18;
  background: var(--amber-soft);
}

.feedback-tag.support {
  color: var(--blue);
  background: var(--blue-soft);
}

.feedback-tag.community {
  color: var(--green);
  background: var(--green-soft);
}

.feedback-card h3 {
  margin: 12px 0 7px;
  font-size: 15px;
  line-height: 1.5;
}

.feedback-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-small);
  line-height: 1.75;
}

.join-section {
  padding: 40px;
  border-color: #cad8f1;
  background:
    linear-gradient(rgba(40, 100, 220, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 100, 220, 0.04) 1px, transparent 1px),
    #f9fbff;
  background-size: 28px 28px;
}

.join-heading h2 {
  margin: 0;
  font-size: 29px;
  letter-spacing: -0.035em;
}

.join-heading > p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.8;
}

.join-steps {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.join-steps > div {
  min-height: 98px;
  padding: 17px;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  background: #fff;
}

.join-steps b {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  font-size: var(--type-meta);
}

.join-steps span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.join-steps strong {
  font-size: 14px;
}

.join-steps small {
  color: #7b8492;
  font-size: var(--type-meta);
  line-height: 1.55;
}

.join-button {
  margin-top: 18px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list article {
  border-bottom: 1px solid var(--line);
}

.faq-list button {
  width: 100%;
  min-height: 64px;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.faq-list button span {
  font-size: 15px;
  font-weight: 650;
}

.faq-list button i {
  color: var(--blue);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}

.faq-answer {
  padding: 0 38px 20px 0;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-small);
  line-height: 1.8;
}

.closing-section {
  min-height: 242px;
  padding: 43px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #1e2b43, #2a467d);
}

.closing-section > p {
  margin: 0 0 11px;
  color: #b9c8e3;
  font-size: var(--type-meta);
}

.closing-section h2 {
  margin: 0;
  font-size: 29px;
  line-height: 1.45;
  letter-spacing: -0.035em;
}

.closing-section > div {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 23px;
}

.closing-section a {
  color: #dbe7ff;
  font-size: var(--type-meta);
  font-weight: 700;
}

.closing-section a:hover {
  color: #fff;
}

.purchase-sidebar {
  position: sticky;
  top: 88px;
}

.back-to-top {
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid #cbd9f2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--blue);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.back-to-top:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.back-to-top span {
  font-size: 15px;
  transition: transform 160ms ease;
}

.back-to-top:hover span {
  transform: translateY(-2px);
}

.purchase-card {
  padding: 25px;
}

.sale-label {
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--amber);
  background: var(--amber-soft);
  font-size: 10px;
  font-weight: 700;
}

.purchase-card h2 {
  margin: 17px 0 8px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.purchase-path {
  margin: 0;
  color: var(--blue);
  font-size: var(--type-small);
  font-weight: 650;
}

.price {
  margin: 22px 0;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.price small {
  margin-right: auto;
  padding-bottom: 4px;
  color: #7a8493;
  font-size: var(--type-meta);
}

.price strong {
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.price strong i {
  margin-right: 3px;
  font-size: 15px;
  font-style: normal;
}

.price > span {
  padding-bottom: 3px;
  color: #8b94a0;
  font-size: var(--type-meta);
}

.purchase-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.purchase-card li {
  min-height: 37px;
  padding-left: 20px;
  position: relative;
  color: #525d6c;
  font-size: var(--type-small);
  line-height: 1.55;
}

.purchase-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.primary-cta,
.secondary-cta {
  width: 100%;
  min-height: 42px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.primary-cta {
  margin-top: 17px;
  color: #fff;
  background: var(--blue);
}

.secondary-cta {
  margin-top: 8px;
  border: 1px solid #cbd6e9;
  color: var(--blue);
  background: #f8faff;
}

.secondary-cta:hover {
  border-color: var(--blue);
}

.purchase-note {
  margin: 13px 0 0;
  color: #8b94a0;
  font-size: var(--type-label);
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

.lesson-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lesson-modal[hidden] {
  display: none;
}

.lesson-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 27, 42, 0.58);
  backdrop-filter: blur(4px);
}

.lesson-dialog {
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  padding: 38px 40px 34px;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  border: 1px solid #dbe3ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(12, 27, 52, 0.24);
}

.lesson-dialog-close {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 17px;
  right: 17px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #6e7887;
  background: #f7f9fc;
  font-family: inherit;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.lesson-dialog-close:hover {
  color: var(--ink);
  border-color: #bdc9da;
}

.lesson-dialog-stage {
  margin: 0 48px 10px 0;
  color: var(--blue);
  font-size: var(--type-meta);
  font-weight: 750;
  letter-spacing: 0.06em;
}

.lesson-dialog h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.lesson-dialog-meta {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lesson-dialog-meta span,
.lesson-dialog-meta small {
  padding: 5px 8px;
  border-radius: 4px;
  font-size: var(--type-label);
  font-weight: 700;
}

.lesson-dialog-meta span {
  color: var(--blue);
  background: var(--blue-soft);
}

.lesson-dialog-meta small {
  color: #6d7888;
  background: #f0f3f7;
}

.lesson-dialog-intro {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.8;
}

.lesson-dialog-body {
  margin-top: 24px;
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8fafc;
}

.lesson-dialog-body > span {
  font-size: var(--type-small);
  font-weight: 750;
}

.lesson-dialog-body ol {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  list-style: none;
}

.lesson-dialog-body li {
  min-height: 42px;
  padding: 8px 3px;
  border-bottom: 1px solid #e5e9ef;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: #4f5a69;
  font-size: 14px;
  line-height: 1.65;
}

.lesson-dialog-body li:last-child {
  border-bottom: 0;
}

.lesson-dialog-body li b {
  color: #9aa4b2;
  font-size: var(--type-label);
}

.lesson-dialog-body li span {
  color: #465363;
}

.lesson-dialog-result {
  margin: 18px 0 0;
  padding: 17px 19px;
  border-left: 3px solid var(--blue);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--blue-soft);
}

.lesson-dialog-result small {
  color: var(--blue);
  font-size: var(--type-label);
  font-weight: 750;
}

.lesson-dialog-result strong {
  font-size: 14px;
  line-height: 1.65;
}

.lesson-dialog-cta {
  min-height: 45px;
  margin-top: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.feedback-lightbox {
  padding: 24px;
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
}

.feedback-lightbox[hidden] {
  display: none;
}

.feedback-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 22, 34, 0.7);
  backdrop-filter: blur(5px);
  cursor: zoom-out;
}

.feedback-lightbox-dialog {
  width: min(760px, 100%);
  height: min(880px, calc(100vh - 48px));
  padding: 25px;
  position: relative;
  z-index: 1;
  border: 1px solid #dbe3ef;
  border-radius: 15px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(12, 27, 52, 0.3);
}

.feedback-lightbox-close {
  width: 36px;
  height: 36px;
  padding: 0;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #657184;
  background: #fff;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.feedback-lightbox-heading {
  padding-right: 48px;
}

.feedback-lightbox-heading small {
  color: var(--blue);
  font-size: var(--type-label);
  font-weight: 750;
}

.feedback-lightbox-heading h2 {
  margin: 7px 0 0;
  font-size: 22px;
  line-height: 1.45;
}

.feedback-lightbox-image {
  min-height: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #e0e4ea;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef0f3;
}

.feedback-lightbox-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.feedback-lightbox-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.feedback-lightbox-controls button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d5dce7;
  border-radius: 6px;
  color: #536174;
  background: #fff;
  font-size: var(--type-small);
  font-weight: 650;
  cursor: pointer;
}

.feedback-lightbox-controls button:last-child {
  justify-self: end;
}

.feedback-lightbox-controls button:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.feedback-lightbox-controls p {
  margin: 0;
  display: flex;
  gap: 4px;
  color: #8b95a4;
  font-size: var(--type-meta);
}

.feedback-lightbox-controls p b {
  color: var(--text);
  font-size: 15px;
}

.site-footer {
  min-height: 120px;
  padding: 30px max(22px, calc((100vw - 1376px) / 2));
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 50px;
  align-items: center;
  color: var(--muted);
  background: #fff;
}

.site-footer div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-footer strong {
  color: var(--text);
  font-size: 15px;
}

.site-footer span,
.site-footer small,
.site-footer nav {
  font-size: var(--type-meta);
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer nav a:hover {
  color: var(--blue);
}

.mobile-buy {
  display: none;
}

.toast {
  padding: 11px 17px;
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 100;
  border-radius: 6px;
  color: #fff;
  background: #1c2431;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  font-size: var(--type-meta);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 20px;
  }

  .brand {
    width: 170px;
  }

  .main-nav a {
    min-width: 56px;
    padding-inline: 9px;
    font-size: 14px;
  }

  .course-hero {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 22px;
  }

  .hero-copy {
    padding-inline: 27px;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 3.1vw, 36px);
  }

  .feedback-track {
    grid-auto-columns: calc((100% - 10px) / 2);
  }

  .route-preview {
    padding: 25px;
  }

  .course-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .roadmap-section,
  .content-section {
    padding-inline: 29px;
  }

  .stage-card {
    grid-template-columns: minmax(0, 1fr) 245px;
  }

  .stage-overview {
    padding: 25px;
  }

  .stage-lessons {
    padding-inline: 18px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 64px;
  }

  .header-inner {
    padding-inline: 16px;
  }

  .brand {
    width: auto;
    margin-right: auto;
  }

  .brand-cn {
    font-size: 17px;
  }

  .contact-link {
    display: none;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .main-nav {
    height: auto;
    padding: 10px 16px 18px;
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    border-bottom: 1px solid var(--line);
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(20, 28, 42, 0.08);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    min-height: 40px;
    border-radius: 6px;
    background: #f7f8fa;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.nav-course-cta {
    min-width: 0;
  }

  .page-wrap {
    padding: 16px 12px 88px;
  }

  .course-hero {
    min-height: 0;
    grid-template-columns: 1fr 330px;
  }

  .hero-copy {
    padding: 30px 20px;
  }

  .hero-copy h1 {
    font-size: 27px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-open-note {
    font-size: var(--type-small);
  }

  .hero-meta {
    gap: 10px 16px;
  }

  .route-preview {
    padding: 21px;
  }

  .route-preview a {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .route-preview i {
    width: 42px;
    height: 42px;
  }

  .route-preview ol::before {
    left: 28px;
  }

  .course-layout {
    grid-template-columns: 1fr;
  }

  .purchase-sidebar {
    display: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading > p {
    max-width: none;
  }

  .stage-card {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  }

  .mobile-buy {
    min-height: 66px;
    padding: 9px 14px;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 24px rgba(24, 35, 52, 0.08);
  }

  .mobile-buy span {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .mobile-buy small {
    color: var(--muted);
    font-size: var(--type-label);
  }

  .mobile-buy strong {
    color: var(--blue);
    font-size: 20px;
  }

  .mobile-buy a {
    min-height: 42px;
    padding: 0 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    background: var(--blue);
    font-size: var(--type-small);
    font-weight: 700;
  }

  .toast {
    bottom: 82px;
  }
}

@media (max-width: 620px) {
  .brand-en {
    font-size: 9px;
  }

  .page-wrap {
    padding-inline: 9px;
  }

  .breadcrumb {
    overflow: hidden;
    white-space: nowrap;
  }

  .breadcrumb b {
    max-width: 210px;
  }

  .course-hero {
    padding: 9px;
    display: block;
  }

  .hero-copy {
    padding: 27px 15px 30px;
  }

  .hero-copy > .section-kicker {
    margin-top: 20px;
  }

  .hero-copy h1 {
    font-size: 33px;
    white-space: normal;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-open-note {
    font-size: 14px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .text-button {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-preview {
    padding: 24px 18px;
  }

  .route-preview a {
    min-height: 58px;
  }

  .open-route-note {
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .open-route-note > a {
    padding-left: 51px;
  }

  .roadmap-section,
  .content-section,
  .join-section {
    padding: 30px 20px;
  }

  .section-heading h2,
  .content-section > h2,
  .story-section h2 {
    font-size: 24px;
  }

  .stage {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 10px;
  }

  .stage:not(:last-child)::before {
    top: 38px;
    left: 21px;
  }

  .stage-marker span {
    width: 43px;
    height: 43px;
    border-radius: 9px;
    box-shadow: 0 0 0 5px #fff;
    font-size: 10px;
  }

  .stage-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .stage-overview {
    padding: 23px 20px;
  }

  .stage-overview h3 {
    font-size: 23px;
  }

  .stage-overview > p:not(.stage-kicker) {
    font-size: 14px;
  }

  .stage-fit p {
    font-size: var(--type-small);
  }

  .stage-lessons {
    padding: 20px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .stage-lessons button span {
    font-size: 14px;
  }

  .stage-lessons button i {
    color: var(--blue);
    opacity: 1;
    transform: none;
  }

  .support-grid,
  .package-grid,
  .join-steps {
    grid-template-columns: 1fr;
  }

  .feedback-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .feedback-progress {
    align-self: flex-end;
  }

  .feedback-carousel {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 5px;
  }

  .feedback-carousel-arrow {
    width: 32px;
    height: 32px;
  }

  .feedback-track {
    grid-auto-columns: 88%;
  }

  .feedback-card-copy {
    min-height: 0;
  }

  .support-grid article,
  .package-grid article {
    min-height: 0;
  }

  .story-section,
  .audience-grid,
  .teacher-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .teacher-avatar {
    width: 110px;
    height: 110px;
  }

  .join-heading h2 {
    font-size: 25px;
  }

  .closing-section {
    min-height: 230px;
    padding: 32px 24px;
  }

  .closing-section h2 {
    font-size: 25px;
  }

  .site-footer {
    padding: 28px 18px 94px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .lesson-modal {
    padding: 12px;
    align-items: end;
  }

  .lesson-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 31px 22px 25px;
    border-radius: 14px 14px 9px 9px;
  }

  .lesson-dialog h2 {
    padding-right: 32px;
    font-size: 24px;
  }

  .lesson-dialog-intro {
    font-size: 14px;
  }

  .lesson-dialog-body {
    padding: 18px;
  }

  .lesson-dialog-cta {
    width: 100%;
  }

  .feedback-lightbox {
    padding: 10px;
    align-items: end;
  }

  .feedback-lightbox-dialog {
    width: 100%;
    height: calc(100vh - 20px);
    padding: 20px 14px 15px;
    border-radius: 14px 14px 9px 9px;
    gap: 12px;
  }

  .feedback-lightbox-image {
    padding: 5px;
  }

  .feedback-lightbox-heading h2 {
    font-size: 18px;
  }

  .feedback-lightbox-controls {
    gap: 7px;
  }

  .feedback-lightbox-controls button {
    padding-inline: 10px;
  }
}

@media (max-width: 350px) {
  .brand-en {
    display: none;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .roadmap-section,
  .content-section,
  .join-section {
    padding-inline: 17px;
  }

  .stage {
    display: block;
  }

  .stage:not(:last-child)::before {
    display: none;
  }

  .stage-marker {
    margin-bottom: 9px;
  }

  .stage-marker span {
    width: 41px;
    height: 35px;
    box-shadow: none;
  }

  .mobile-buy a {
    padding-inline: 18px;
  }

  .stage-lessons button {
    grid-template-columns: 25px minmax(0, 1fr) 17px;
  }

  .stage-lessons button em {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Production integration: keep the existing purchase, FAQ and contact flow. */
.course-contact-trigger {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.markdown-copy {
  color: #414956;
  font-size: 15px;
  line-height: 1.9;
}

.markdown-copy p {
  margin: 0 0 19px;
}

.markdown-copy p:last-child {
  margin-bottom: 0;
}

.markdown-copy strong {
  color: #28303d;
}

.current-join-section {
  background: linear-gradient(180deg, #fff, #f8faff);
}

.current-join-section > h2 {
  max-width: 760px;
  margin: 0 0 21px;
  font-size: 29px;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.purchase-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

.purchase-guidance {
  min-width: 0;
}

.purchase-copy ol {
  margin: 25px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  counter-reset: join-step;
}

.purchase-copy li {
  padding: 15px 15px 15px 58px;
  border: 1px solid var(--line);
  border-radius: 7px;
  position: relative;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
  counter-increment: join-step;
}

.purchase-copy li::before {
  content: counter(join-step);
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #fff;
  background: var(--blue);
  font-size: var(--type-meta);
  font-weight: 700;
}

.purchase-qr {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.purchase-qr img {
  width: 100%;
  height: auto;
  display: block;
}

.purchase-qr figcaption {
  padding: 9px 4px 2px;
  color: #737d8b;
  font-size: var(--type-meta);
  line-height: 1.5;
  text-align: center;
}

.post-purchase-cta {
  width: 100%;
  min-height: 62px;
  padding: 12px 16px;
  border: 1px solid #bfd1f5;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #36517f;
  background: #edf4ff;
  text-align: left;
  cursor: pointer;
}

.post-purchase-cta span {
  font-size: var(--type-small);
}

.post-purchase-cta strong {
  color: var(--blue);
  font-size: 14px;
}

.post-purchase-cta:hover {
  border-color: #91afe9;
  background: #e5efff;
}

.purchase-help {
  width: 100%;
  margin-top: 8px;
  padding: 7px 4px 2px;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: var(--type-meta);
  cursor: pointer;
}

.purchase-help:hover {
  text-decoration: underline;
}

.current-faq-section .faq-answer {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.current-faq-section .faq-answer p {
  font-size: inherit;
}

body.contact-modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  padding: 24px;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(17, 28, 48, 0.58);
  backdrop-filter: blur(4px);
}

.contact-dialog {
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  position: relative;
  overflow: auto;
  background: #fff;
  box-shadow: 0 28px 80px rgba(11, 25, 51, 0.3);
}

.contact-dialog > h2 {
  margin: 0;
  color: #202938;
  font-size: 28px;
}

.contact-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  color: #647082;
  background: #f2f4f7;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.contact-close:hover {
  color: #273141;
  background: #e8ebf0;
}

.contact-tabs {
  margin-top: 22px;
  padding: 4px;
  border-radius: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f3f7;
}

.contact-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  color: #667184;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.contact-tabs button[aria-selected="true"] {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 45, 76, 0.1);
}

.contact-modal-content {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: center;
}

.contact-copy h3 {
  margin: 0 0 12px;
  color: #252e3c;
  font-size: 21px;
  line-height: 1.4;
}

.contact-copy p {
  margin: 0;
  color: #5c6675;
  font-size: 14px;
  line-height: 1.8;
}

.contact-copy p strong {
  color: #27354d;
}

.wechat-id-row {
  margin-top: 24px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  background: #fafbfc;
}

.wechat-id-row span {
  color: #778190;
  font-size: var(--type-meta);
}

.wechat-id-row strong {
  color: #253046;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.wechat-id-row button {
  padding: 7px 10px;
  border: 1px solid #c8d7f3;
  border-radius: 6px;
  color: var(--blue);
  background: #f1f6ff;
  font-family: inherit;
  font-size: var(--type-meta);
  font-weight: 700;
  cursor: pointer;
}

.contact-copy .contact-copy-status {
  min-height: 20px;
  margin-top: 7px;
  color: #25734c;
  font-size: var(--type-meta);
}

.contact-qr-wrap {
  width: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  justify-self: end;
  box-sizing: border-box;
  background: #fff;
}

.contact-qr {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
}

.contact-qr-wrap p {
  margin: 9px 4px 1px;
  color: #778190;
  font-size: var(--type-label);
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 1100px) {
  .purchase-content {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 560px) {
  .current-join-section > h2 {
    font-size: 25px;
  }

  .markdown-copy {
    font-size: var(--type-body);
  }

  .purchase-content {
    grid-template-columns: 1fr;
  }

  .purchase-qr {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .post-purchase-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .contact-modal {
    padding: 10px;
  }

  .contact-dialog {
    max-height: calc(100vh - 20px);
    padding: 24px 18px;
  }

  .contact-dialog > h2 {
    font-size: 25px;
  }

  .contact-close {
    top: 13px;
    right: 13px;
  }

  .contact-modal-content {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-qr-wrap {
    width: 100%;
    max-width: 220px;
    margin-inline: auto;
    grid-row: 1;
    justify-self: center;
  }

  .contact-copy {
    grid-row: 2;
  }

  .wechat-id-row {
    grid-template-columns: auto 1fr;
  }

  .wechat-id-row button {
    grid-column: 1 / -1;
    min-height: 38px;
  }
}
