.hero {
  isolation: isolate;
  padding-top: 42px;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 18, 41, 0.99) 0%, rgba(5, 18, 41, 0.93) 31%, rgba(5, 18, 41, 0.28) 64%, rgba(5, 18, 41, 0.12) 100%);
}

.hero__inner {
  min-height: calc(100svh - 84px);
  display: flex;
  flex-direction: column;
}

.brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand span {
  margin-right: 10px;
  color: var(--mint);
}

.hero__copy {
  margin-block: auto;
  max-width: 690px;
}

.hero__copy h1 {
  margin: 0;
  font-size: clamp(64px, 7.2vw, 112px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero__title {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.7vw, 28px);
}

.hero__title img {
  display: block;
  width: clamp(330px, 34vw, 520px);
  height: auto;
}

.hero__topics {
  display: grid;
  gap: 18px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.hero__topics li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(24px, 2.15vw, 34px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero__topics li::before {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--mint);
  content: "";
}

.hero__copy > p:not(.eyebrow) {
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.73);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.7;
}

.hero__trail {
  margin: 0 0 8px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 700;
}

.learning-mode-slide {
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 74% 28%, rgba(99, 143, 225, 0.34), transparent 35%),
    linear-gradient(135deg, #063f8b 0%, #0a4e9f 48%, #1269d2 100%);
}

.learning-mode-slide__glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(78, 173, 255, 0.3), transparent 34%),
    linear-gradient(90deg, rgba(4, 37, 82, 0.28), transparent 34%, transparent 72%, rgba(5, 45, 100, 0.2));
}

.learning-mode-layout {
  position: relative;
  min-height: calc(100svh - (var(--slide-pad-y) * 2));
}

.learning-mode-brand {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.learning-mode-brand__mark {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px 16px 16px 5px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  transform: rotate(-6deg);
}

.learning-mode-brand > span:last-child {
  display: grid;
  gap: 1px;
}

.learning-mode-brand strong {
  font-size: 25px;
  letter-spacing: 0.08em;
}

.learning-mode-brand small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.learning-mode-stage {
  position: absolute;
  inset: 5% 0 2%;
  display: grid;
  place-items: center;
}

.learning-mode-classroom {
  position: absolute;
  z-index: 1;
  top: 28%;
  left: 50%;
  width: min(63vw, 860px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: #07111f;
  box-shadow: 0 34px 70px rgba(0, 16, 52, 0.44);
  transform: translateX(-50%);
}

.learning-mode-classroom__crop {
  position: relative;
  width: 100%;
  aspect-ratio: 917 / 479;
  overflow: hidden;
  background: #d6e9ff;
}

.learning-mode-classroom__crop img {
  position: absolute;
  top: -78.5%;
  left: -61.7%;
  width: 223.3%;
  max-width: none;
}

.learning-mode-callout {
  position: absolute;
  z-index: 3;
  min-height: 106px;
  padding: 14px 28px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #0a2349;
  background: linear-gradient(145deg, #fff, #edf4ff);
  box-shadow: 0 24px 48px rgba(0, 22, 67, 0.36), inset 0 1px 0 #fff;
}

.learning-mode-callout::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.learning-mode-callout--system {
  top: 4%;
  left: 23%;
}

.learning-mode-callout--system::after {
  right: 50px;
  bottom: -32px;
  border-width: 32px 14px 0;
  border-color: #edf4ff transparent transparent;
}

.learning-mode-callout--teacher {
  right: 18%;
  bottom: 0;
}

.learning-mode-callout--teacher::after {
  top: -32px;
  right: 68px;
  border-width: 0 14px 32px;
  border-color: transparent transparent #fff;
}

.learning-mode-callout__icon {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ff7842, #f45122);
  box-shadow: 0 12px 22px rgba(244, 81, 34, 0.34), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.learning-mode-callout__icon svg {
  width: 45px;
  height: 45px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.learning-mode-callout p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
  font-size: clamp(27px, 2.45vw, 38px);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.learning-mode-callout em {
  color: #ff6231;
  font-style: normal;
}

.learning-mode-callout i {
  color: #b6c3d4;
  font-style: normal;
}

.learning-mode-callout strong {
  font-weight: 900;
}

.learning-mode-caption {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.learning-mode-caption i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff6a34;
}

@media (max-width: 1000px) {
  .learning-mode-classroom {
    width: min(72vw, 760px);
  }

  .learning-mode-callout--system {
    left: 12%;
  }

  .learning-mode-callout--teacher {
    right: 9%;
  }

  .learning-mode-callout__icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .learning-mode-callout__icon svg {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 760px) {
  .learning-mode-layout {
    min-height: calc(100svh - (var(--slide-pad-y) * 2));
  }

  .learning-mode-brand {
    top: -6px;
    gap: 10px;
  }

  .learning-mode-brand__mark {
    width: 39px;
    height: 39px;
    border-radius: 12px 12px 12px 4px;
    font-size: 22px;
  }

  .learning-mode-brand strong {
    font-size: 20px;
  }

  .learning-mode-brand small {
    font-size: 7px;
  }

  .learning-mode-stage {
    inset: 7% 0 3%;
  }

  .learning-mode-classroom {
    top: 32%;
    width: 94vw;
    border-radius: 14px;
  }

  .learning-mode-callout {
    min-height: 64px;
    padding: 8px 15px 8px 8px;
    border-radius: 15px;
    gap: 10px;
  }

  .learning-mode-callout--system {
    top: 13%;
    left: 0;
  }

  .learning-mode-callout--teacher {
    right: 0;
    bottom: 13%;
  }

  .learning-mode-callout--system::after {
    right: 32px;
    bottom: -20px;
    border-width: 20px 9px 0;
  }

  .learning-mode-callout--teacher::after {
    top: -20px;
    right: 38px;
    border-width: 0 9px 20px;
  }

  .learning-mode-callout__icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 12px;
  }

  .learning-mode-callout__icon svg {
    width: 29px;
    height: 29px;
  }

  .learning-mode-callout p {
    gap: 5px;
    font-size: clamp(16px, 5vw, 21px);
  }

  .learning-mode-caption {
    bottom: -2px;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.02em;
  }
}

#course-map {
  background:
    radial-gradient(circle at 14% 82%, rgba(244, 95, 78, 0.08), transparent 23%),
    radial-gradient(circle at 76% 16%, rgba(46, 113, 216, 0.07), transparent 24%),
    #f5f8fc;
}

.solution-map {
  width: min(1440px, 100%);
  min-height: calc(100svh - (var(--slide-pad-y) * 2));
}

.solution-map__header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  max-width: 48%;
}

.solution-map__header .section-title {
  font-size: clamp(44px, 4.3vw, 68px);
}

.solution-map__header .section-lead {
  max-width: 590px;
}

.solution-steps {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(10px, 1.35vw, 20px);
}

.solution-step {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 2vw, 34px);
  border: 1px solid rgba(11, 31, 63, 0.05);
  border-radius: 30px 30px 12px 12px;
  box-shadow: 0 24px 54px rgba(20, 43, 75, 0.1);
}

.solution-step::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  content: "";
  transform: translate(36%, -48%);
}

.solution-step--zero {
  height: 54%;
  background: #ffd9cf;
}

.solution-step--beginner {
  height: 70%;
  background: #c8eee4;
}

.solution-step--middle {
  height: 85%;
  background: #cfddfb;
}

.solution-step--high {
  height: 100%;
  color: #fff;
  background: #0b2143;
}

.solution-step--high::before {
  background: rgba(255, 255, 255, 0.055);
}

.solution-step__number {
  position: absolute;
  z-index: -1;
  right: 12px;
  bottom: -0.18em;
  color: rgba(9, 31, 61, 0.07);
  font-size: clamp(96px, 9vw, 152px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
}

.solution-step--high .solution-step__number {
  color: rgba(255, 255, 255, 0.06);
}

.solution-step__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.solution-step__label {
  margin: 0 0 clamp(15px, 2.4vh, 28px);
  color: rgba(23, 36, 60, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.solution-step--high .solution-step__label {
  color: rgba(255, 255, 255, 0.56);
}

.solution-step h3 {
  margin: 0;
  font-size: clamp(30px, 2.5vw, 42px);
  line-height: 1.1;
}

.solution-step strong {
  margin-top: 10px;
  color: var(--coral);
  font-size: clamp(17px, 1.35vw, 21px);
}

.solution-step--beginner strong { color: var(--teal); }
.solution-step--middle strong { color: var(--blue); }
.solution-step--high strong { color: var(--orange); }

.solution-step ul {
  margin: clamp(20px, 3vh, 32px) 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  color: #5f6e83;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.5;
  list-style: none;
}

.solution-step li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.solution-step li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
  opacity: 0.6;
}

.solution-step--high ul {
  color: rgba(255, 255, 255, 0.68);
}

.solution-scene {
  position: relative;
  width: 100%;
  min-height: 72px;
  margin-top: auto;
}

.solution-scene span {
  position: absolute;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(184, 58, 44, 0.14);
}

.solution-scene__word {
  bottom: 8px;
  left: 0;
  width: 88px;
  height: 46px;
  background: var(--coral);
}

.solution-scene__reply {
  right: 10px;
  bottom: 30px;
  width: 58px;
  height: 38px;
  background: rgba(255, 255, 255, 0.86);
  color: #d64b3d !important;
}

.solution-scene i {
  position: absolute;
  bottom: 6px;
  left: 102px;
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: rgba(244, 95, 78, 0.5);
}

.solution-scene i:nth-of-type(2) {
  left: 112px;
  height: 29px;
}

.solution-scene i:nth-of-type(3) {
  left: 122px;
  height: 12px;
}

.grammar-block {
  width: 100%;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(17, 151, 131, 0.16);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.56);
}

.grammar-block > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.grammar-block span {
  padding: 6px 8px;
  border-radius: 8px;
  color: #0b7567;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.grammar-block i {
  color: rgba(11, 117, 103, 0.48);
  font-size: 10px;
  font-style: normal;
}

.grammar-block small {
  margin-top: 9px;
  display: block;
  color: rgba(11, 117, 103, 0.66);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.exam-stack {
  width: 100%;
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.exam-badge {
  min-height: 46px;
  padding: 6px 10px;
  border: 1px solid rgba(28, 70, 132, 0.1);
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 18px rgba(28, 70, 132, 0.06);
}

.exam-badge img {
  display: block;
  object-fit: contain;
}

.exam-badge--cambridge img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.exam-badge--cambridge span {
  display: grid;
  gap: 1px;
}

.exam-badge b {
  color: #203655;
  font-size: 13px;
  line-height: 1;
}

.exam-badge small {
  color: #687890;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
}

.exam-badge--junior {
  justify-content: space-between;
}

.exam-badge--junior img {
  width: min(112px, 76%);
  height: auto;
}

.exam-stack--high {
  gap: 10px;
}

.exam-stack--high .exam-badge {
  min-height: 58px;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(2, 12, 30, 0.12);
  backdrop-filter: blur(8px);
}

.exam-stack--high .exam-badge small {
  margin-left: auto;
  color: rgba(11, 31, 63, 0.56);
}

.exam-badge--ielts img {
  width: min(104px, 70%);
  height: auto;
}

.exam-badge--toefl img {
  width: min(118px, 76%);
  height: auto;
}

.detail-body {
  background: #eff5ff;
}

.stage-detail {
  min-height: 100svh;
}

.detail-topline {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7c8ba0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.detail-back {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(46, 113, 216, 0.16);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
  letter-spacing: 0;
  transition: transform 180ms ease, background 180ms ease;
}

.detail-back:hover,
.detail-back:focus-visible {
  transform: translateX(-3px);
  background: #fff;
}

.detail-topline--dark {
  color: rgba(255, 255, 255, 0.48);
}

.detail-topline--dark .detail-back {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.stage-explorer {
  align-items: flex-start;
  overflow: visible;
}

html.is-aligning-stage {
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}

.stage-explorer .slide__inner {
  min-height: calc(100svh - (var(--slide-pad-y) * 2));
}

.stage-explorer .stage-tabs {
  position: sticky;
  z-index: 10;
  top: 16px;
  margin-bottom: 18px;
  box-shadow: 0 14px 42px rgba(30, 67, 110, 0.09);
}

.stage-tabs button {
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.stage-tabs button:hover,
.stage-tabs button:focus-visible {
  color: var(--blue);
}

.stage-tabs button:focus {
  outline: none;
}

.stage-tabs button:focus-visible {
  outline: 2px solid rgba(46, 113, 216, 0.35);
  outline-offset: -3px;
}

.stage-tabs button[aria-selected="true"] {
  box-shadow: inset 0 0 0 1px rgba(46, 113, 216, 0.07);
}

.stage-panel {
  animation: stage-panel-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-panel[hidden],
.zero-page[hidden] {
  display: none !important;
}

.stage-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.stage-panel-head .eyebrow {
  margin-bottom: 8px;
}

.stage-panel-head .section-title {
  font-size: clamp(32px, 3.3vw, 48px);
}

.stage-panel-head > p {
  max-width: 360px;
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.65;
}

.zero-pager {
  width: fit-content;
  margin: 0 0 16px auto;
  padding: 5px;
  border: 1px solid rgba(46, 113, 216, 0.13);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.72);
}

.zero-pager button {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  appearance: none;
  cursor: pointer;
  color: #718198;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.zero-pager button span {
  margin-right: 6px;
  color: #94a6bc;
  font-size: 10px;
}

.zero-pager button:hover,
.zero-pager button:focus-visible {
  color: var(--teal);
}

.zero-pager button[aria-selected="true"] {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 8px 20px rgba(17, 151, 131, 0.2);
}

.zero-pager button[aria-selected="true"] span {
  color: rgba(255, 255, 255, 0.72);
}

.zero-page {
  animation: zero-page-in 440ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-grid {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.case-card {
  position: relative;
  min-width: 0;
  min-height: 390px;
  padding: 26px;
  border: 1px solid rgba(46, 113, 216, 0.11);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(37, 72, 115, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(37, 72, 115, 0.14);
}

.case-card--featured {
  border-color: rgba(81, 199, 168, 0.28);
  color: #fff;
  background: linear-gradient(155deg, #102b50 0%, #0b1f3f 64%, #0b413e 120%);
  box-shadow: 0 30px 70px rgba(11, 31, 63, 0.23);
  transform: translateY(-12px);
}

.case-card--featured::before {
  background: linear-gradient(90deg, var(--mint), var(--orange));
}

.case-card--featured:hover {
  transform: translateY(-17px);
  box-shadow: 0 36px 80px rgba(11, 31, 63, 0.3);
}

.case-card__top {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 14px;
}

.case-avatar {
  position: relative;
  width: 62px;
  height: 62px;
  border: 2px dashed rgba(46, 113, 216, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--blue);
  background: var(--blue-soft);
}

.case-avatar > span {
  font-size: 23px;
  font-weight: 900;
}

.case-avatar small {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2px 0 3px;
  color: #fff;
  background: rgba(11, 31, 63, 0.68);
  text-align: center;
  font-size: 8px;
}

.case-card--featured .case-avatar {
  border-color: rgba(81, 199, 168, 0.48);
  color: #fff;
  background: rgba(81, 199, 168, 0.2);
}

.case-identity h3 {
  margin: 0 0 3px;
  font-size: 24px;
}

.case-identity p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.case-card--featured .case-identity p {
  color: rgba(255, 255, 255, 0.58);
}

.case-facts {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.case-fact {
  min-height: 82px;
  padding: 13px 15px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f2f6fb;
}

.case-fact--grade {
  background: var(--teal-soft);
}

.case-fact > small {
  color: #8291a4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.case-fact > strong,
.case-fact p strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.case-fact p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.case-fact p span {
  color: #728095;
  font-size: 11px;
  font-weight: 800;
}

.case-card--featured .case-fact {
  background: rgba(255, 255, 255, 0.08);
}

.case-card--featured .case-fact--grade {
  background: rgba(255, 159, 45, 0.18);
}

.case-card--featured .case-fact > small,
.case-card--featured .case-fact p span {
  color: rgba(255, 255, 255, 0.52);
}

.case-card--featured .case-fact > strong,
.case-card--featured .case-fact p strong {
  color: #fff;
}

.case-metric {
  margin: 15px 0 14px;
  padding: 14px 0 15px;
  border-bottom: 1px solid rgba(46, 113, 216, 0.11);
}

.case-metric > small {
  color: #8493a7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.case-metric p {
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.case-metric strong {
  color: var(--teal);
  font-size: clamp(48px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.case-metric span {
  color: #7d8b9e;
  font-size: 13px;
  font-weight: 800;
}

.case-card--featured .case-metric {
  border-color: rgba(255, 255, 255, 0.12);
}

.case-card--featured .case-metric > small,
.case-card--featured .case-metric span {
  color: rgba(255, 255, 255, 0.58);
}

.case-card--featured .case-metric strong {
  color: var(--mint);
}

.case-video-button {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 0 12px;
  border: 1px solid #dfe7f1;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #718198;
  background: rgba(246, 249, 253, 0.8);
  text-align: left;
  box-shadow: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.case-video-button:hover,
.case-video-button:focus-visible {
  color: var(--blue);
  border-color: rgba(46, 113, 216, 0.3);
  background: #fff;
}

.case-card--featured .case-video-button {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
}

.case-video-button > span:first-child {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 2px;
  color: #fff;
  background: #9fb2c8;
  font-size: 9px;
}

.case-video-button strong {
  font-size: 11px;
}

.case-card--featured .case-video-button > span:first-child {
  background: rgba(81, 199, 168, 0.55);
}

.case-video-button i {
  font-style: normal;
  font-weight: 900;
}

#growth-cases {
  isolation: isolate;
  background: radial-gradient(circle at 86% 16%, rgba(81, 199, 168, 0.13), transparent 28%), radial-gradient(circle at 8% 92%, rgba(46, 113, 216, 0.1), transparent 30%), #f6f9fd;
}

#growth-cases::before {
  content: "REAL GROWTH";
  position: absolute;
  z-index: 0;
  right: 4vw;
  bottom: 2vh;
  color: rgba(23, 52, 92, 0.035);
  font-size: clamp(70px, 10vw, 150px);
  font-weight: 900;
  letter-spacing: -0.06em;
  pointer-events: none;
}

.principle-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.principle-card {
  min-width: 0;
  min-height: 342px;
  padding: 24px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 18px 42px rgba(38, 67, 103, 0.08);
  transition: transform 220ms ease;
}

.principle-card:hover {
  transform: translateY(-5px);
}

.principle-card > small {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
}

.principle-card h3 {
  margin: 20px 0 14px;
  font-size: 24px;
}

.principle-card p,
.principle-card blockquote {
  margin: 0;
  color: #66758a;
  font-size: 14px;
  line-height: 1.65;
}

.principle-card blockquote,
.principle-card > span {
  margin-top: auto;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  color: #44546a;
  font-size: 12px;
  line-height: 1.55;
}

.principle-card--coral { background: var(--coral-soft); }
.principle-card--orange { background: var(--orange-soft); }
.principle-card--teal { background: var(--teal-soft); }
.principle-card--blue { background: var(--blue-soft); }
.principle-card--coral > small { color: #c34e42; background: rgba(255, 255, 255, 0.66); }
.principle-card--orange > small { color: #bd6a18; background: rgba(255, 255, 255, 0.66); }
.principle-card--teal > small { color: var(--teal); background: rgba(255, 255, 255, 0.66); }
.principle-card--blue > small { color: var(--blue); background: rgba(255, 255, 255, 0.66); }

@keyframes stage-panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zero-page-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

.mother-tongue-title {
  position: relative;
  z-index: 2;
  max-width: none;
  white-space: nowrap;
}

.mother-tongue-title span {
  position: relative;
  display: inline-block;
  margin-inline: 0.08em;
  color: var(--teal);
  isolation: isolate;
}

.mother-tongue-title span::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.12em;
  right: -0.12em;
  bottom: 0.08em;
  height: 0.3em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(81, 199, 168, 0.18), rgba(255, 159, 45, 0.42), rgba(81, 199, 168, 0.18));
  background-size: 220% 100%;
  animation: mother-highlight 5s ease-in-out infinite;
}

#zero-basis::before,
#zero-basis::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  animation: mother-orb 9s ease-in-out infinite alternate;
}

#zero-basis::before {
  top: 12%;
  right: 5%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(81, 199, 168, 0.15), rgba(81, 199, 168, 0));
}

#zero-basis::after {
  bottom: 4%;
  left: -4%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(46, 113, 216, 0.12), rgba(46, 113, 216, 0));
  animation-delay: -3s;
}

.mother-tongue-panel {
  position: relative;
  z-index: 2;
  min-height: 440px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  overflow: hidden;
  box-shadow: none;
  animation: mother-panel-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mother-tongue-copy {
  padding: 34px;
  display: grid;
  align-content: center;
  gap: 20px;
  background: #f9fcff;
}

.mother-tongue-copy article {
  min-height: 150px;
  padding: 24px;
  border: 1px solid #e3ebf5;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 66, 105, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: mother-card-in 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mother-tongue-copy article.is-key {
  border-color: #c9e9e0;
  background: var(--teal-soft);
  animation-delay: 110ms;
}

.mother-tongue-copy article:hover {
  transform: translateX(8px);
  border-color: rgba(17, 151, 131, 0.34);
  box-shadow: 0 18px 38px rgba(24, 91, 89, 0.12);
}

.mother-tongue-copy article > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.mother-tongue-copy article.is-key > span {
  color: var(--navy-950);
  background: var(--orange);
}

.mother-tongue-copy h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.mother-tongue-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.mother-tongue-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #dff1fb;
}

.mother-tongue-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  transform: scale(1.015);
  animation: mother-image-breathe 10s ease-in-out infinite alternate;
}

.mother-tongue-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.18) 45%, transparent 66%);
  transform: translateX(-120%);
  animation: mother-light-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

.mother-tongue-effects {
  position: absolute;
  top: 12%;
  left: 48%;
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.mother-tongue-effects i {
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  animation: mother-ripple 3.6s ease-out infinite;
}

.mother-tongue-effects i:nth-child(2) { animation-delay: 1.2s; }
.mother-tongue-effects i:nth-child(3) { animation-delay: 2.4s; }

@keyframes mother-highlight {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes mother-orb {
  from { transform: translate3d(0, -8px, 0) scale(0.96); }
  to { transform: translate3d(18px, 14px, 0) scale(1.08); }
}

@keyframes mother-panel-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mother-card-in {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes mother-image-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.055); }
}

@keyframes mother-light-sweep {
  0%, 56% { transform: translateX(-120%); }
  78%, 100% { transform: translateX(120%); }
}

@keyframes mother-ripple {
  0% { opacity: 0; transform: scale(0.3); }
  18% { opacity: 0.58; }
  100% { opacity: 0; transform: scale(2.6); }
}

.concern-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.concern-grid article {
  min-height: 170px;
  padding: 28px 32px;
  border: 1px solid #efe6d8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(75, 56, 28, 0.07);
}

.concern-grid small { font-weight: 700; }
.concern-grid h3 { margin: 18px 0 8px; font-size: 25px; }
.concern-grid p { margin: 0; color: #736b61; line-height: 1.6; }
.orange { color: #ff7f2d; }
.teal, .green { color: var(--teal); }
.blue { color: var(--blue); }
.stage-note { margin: 24px 0 0; color: #816e52; font-size: 14px; }

.school-slide {
  background: #eaf2ff;
}

.school-layout,
.method-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 86px;
  align-items: center;
}

.book-stack {
  position: relative;
  min-height: 620px;
}

.book {
  position: absolute;
  width: 220px;
  height: 300px;
  margin: 0;
  border: 10px solid #fff;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 56px rgba(28, 70, 123, 0.22);
}

.book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(7, 22, 47, 0.84);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.book--pep { left: 10px; top: 190px; transform: rotate(-8deg); }
.book--yilin { left: 180px; top: 36px; z-index: 3; transform: rotate(-3deg); }
.book--shanghai { left: 352px; top: 220px; z-index: 2; transform: rotate(8deg); }
.book--bnu { left: 406px; top: 20px; transform: rotate(6deg); }
.book--shanghai img { object-position: center; }
.book--bnu img { object-position: center top; transform: scale(1.16); }

.school-copy .section-title { max-width: 600px; }
.sync-cards { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sync-cards article { min-height: 150px; padding: 26px; border-radius: 24px; color: #fff; background: var(--blue); }
.sync-cards article:last-child { background: var(--teal); }
.sync-cards strong { font-size: 23px; }
.sync-cards p { margin: 14px 0 0; color: rgba(255, 255, 255, 0.74); line-height: 1.65; }
.version-list { margin: 28px 0 0; color: #386497; font-size: 14px; font-weight: 700; }

.dual-track,
.high-grid {
  margin-top: clamp(38px, 6vh, 68px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.track,
.high-card {
  min-height: 470px;
  padding: 34px;
  border-radius: 28px;
}

.track small,
.high-card small { font-weight: 800; }
.track h3,
.high-card h3 { margin: 28px 0 22px; font-size: 28px; }
.track p { line-height: 1.65; }
.track--exam { color: #fff; background: var(--navy-900); }
.track--exam small, .track--exam .exam-path { color: #68e1c2; }
.track--exam > p:not(.exam-path) { color: rgba(255, 255, 255, 0.68); }
.exam-path { font-size: clamp(26px, 2.7vw, 38px); font-weight: 900; letter-spacing: 0.04em; }
.junior-toefl { margin-top: 42px; padding: 24px; border-radius: 20px; display: grid; gap: 8px; background: #264f87; }
.junior-toefl span { color: rgba(255, 255, 255, 0.65); font-size: 14px; }
.track--reading { background: #ccf2e8; }
.track--reading small, .track-tags { color: var(--teal); }
.track--reading ul { margin: 28px 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.track--reading li { min-height: 52px; padding: 0 18px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.82); }
.track--reading li span { color: #5c756f; font-size: 14px; }
.track-tags { font-weight: 800; }

.high-card { min-height: 500px; color: #fff; }
.high-card--test { background: #2d5aa7; }
.high-card--curriculum { background: #157b70; }
.high-card ul { margin: 30px 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.high-card li { min-height: 56px; padding: 0 18px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.13); }
.high-card li span, .high-card > p { color: rgba(255, 255, 255, 0.7); }
.high-card > p:last-child { color: var(--orange); font-weight: 800; }
.curriculum-title { margin: 16px 0 8px !important; color: var(--orange) !important; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; }
.curriculum-title span { color: rgba(255, 255, 255, 0.45); }
.subjects { margin-top: 38px; padding: 24px; border-radius: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; background: rgba(255, 255, 255, 0.12); font-size: 13px; font-weight: 800; }

.method-slide { background: #f3fbf8; }
.method-layout { grid-template-columns: 0.9fr 1.1fr; }
.method-visual { margin: 0; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.method-visual img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.method-steps { margin: 42px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; list-style: none; }
.method-steps li { min-height: 118px; padding: 16px 10px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #073f3b; color: #fff; }
.method-steps span { width: 38px; height: 38px; margin-bottom: 12px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--navy-950); font-size: 12px; font-weight: 900; }
.method-steps li:nth-child(3) span { background: var(--orange); }
.method-steps strong { font-size: 13px; }

.closing {
  background: radial-gradient(circle at 85% 10%, #0d5d58 0, transparent 34%), var(--navy-950);
}

.closing__inner { text-align: center; }
.closing__inner .section-title, .closing__inner .section-lead { margin-inline: auto; }
.growth-line { position: relative; margin: 90px auto 70px; display: grid; grid-template-columns: repeat(4, 1fr); }
.growth-line::before { content: ""; position: absolute; top: 25px; left: 11%; right: 11%; height: 3px; background: var(--mint); opacity: 0.75; }
.growth-line article { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; }
.growth-line span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--navy-950); font-size: 12px; font-weight: 900; }
.growth-line article:last-child span { background: var(--orange); }
.growth-line strong { font-size: 21px; }
.growth-line small { color: rgba(255, 255, 255, 0.58); }
.closing__actions { display: flex; justify-content: center; gap: 16px; }
.closing footer { margin-top: 70px; color: rgba(255, 255, 255, 0.34); font-size: 13px; }

@media (min-width: 761px) and (max-height: 800px) {
  .slide {
    height: 100svh;
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .section-title {
    font-size: clamp(34px, 3.25vw, 48px);
  }

  .section-lead {
    margin-top: 10px;
    font-size: 16px;
  }

  .stage-tabs {
    margin-bottom: 20px;
    padding: 6px;
  }

  .stage-tabs a,
  .stage-tabs button {
    min-height: 42px;
  }

  .stage-explorer .stage-tabs {
    margin-bottom: 12px;
  }

  .stage-detail {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .stage-detail .detail-topline {
    margin-bottom: 7px;
  }

  .stage-detail .stage-tabs {
    margin-bottom: 10px;
  }

  .stage-detail > .slide__inner > .eyebrow {
    margin-bottom: 9px;
  }

  .stage-detail .dual-track,
  .stage-detail .high-grid {
    margin-top: 18px;
  }

  .stage-detail .track,
  .stage-detail .high-card {
    min-height: 370px;
    padding: 22px;
  }

  .stage-detail .track h3,
  .stage-detail .high-card h3 {
    margin: 14px 0 12px;
  }

  .stage-detail .junior-toefl {
    margin-top: 16px;
    padding: 15px;
  }

  .stage-detail .track--reading ul,
  .stage-detail .high-card ul {
    margin: 14px 0;
  }

  .stage-detail .subjects {
    margin-top: 16px;
    padding: 15px;
  }

  .zero-pager {
    margin-bottom: 10px;
  }

  .mother-tongue-panel {
    height: 360px;
    min-height: 360px;
    margin-top: 16px;
  }

  .mother-tongue-copy {
    padding: 24px;
    gap: 14px;
  }

  .mother-tongue-copy article {
    min-height: 118px;
    padding: 18px;
  }

  .case-grid,
  .principle-grid {
    margin-top: 18px;
  }

  .case-card {
    min-height: 360px;
    padding: 21px;
  }

  .case-metric {
    margin: 20px 0 18px;
    padding: 16px 0 14px;
  }

  .principle-card {
    min-height: 305px;
    padding: 20px;
  }

  .principle-card h3 {
    margin: 14px 0 10px;
    font-size: 21px;
  }

  .principle-card p,
  .principle-card blockquote {
    font-size: 12px;
  }

  .concern-grid {
    margin-top: 26px;
    gap: 16px;
  }

  .concern-grid article {
    min-height: 140px;
    padding: 22px 28px;
  }

  .concern-grid h3 {
    margin: 12px 0 6px;
    font-size: 22px;
  }

  .stage-note {
    margin-top: 15px;
  }

  .dual-track,
  .high-grid {
    margin-top: 28px;
  }

  .track,
  .high-card {
    min-height: 405px;
    padding: 28px;
  }

  .track h3,
  .high-card h3 {
    margin: 20px 0 16px;
    font-size: 25px;
  }

  .junior-toefl {
    margin-top: 24px;
    padding: 18px;
  }

  .track--reading ul,
  .high-card ul {
    margin: 20px 0;
  }

  .subjects {
    margin-top: 24px;
    padding: 18px;
  }

  .growth-line {
    margin-top: 58px;
    margin-bottom: 46px;
  }

  .closing footer {
    margin-top: 40px;
  }
}

/* Beginner v3: colored regions with leader lines, stronger grade hierarchy */
.china-region {
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 4;
  stroke-linejoin: round;
}

.china-region--beijing { fill: #3476dc; }
.china-region--jiangsu { fill: #159b88; }
.china-region--shanghai { fill: #f45e50; }
.china-region--zhejiang { fill: #ff9829; }

.china-guide {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.china-guide--beijing { stroke: #3476dc; }
.china-guide--jiangsu { stroke: #159b88; }
.china-guide--shanghai { stroke: #f45e50; }
.china-guide--zhejiang { stroke: #ff9829; }

.beginner-edition-card {
  position: relative;
}

.beginner-edition-card::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 30px;
  height: 4px;
  border-radius: 999px 0 0 999px;
  transform: translateY(-50%);
  background: var(--coral);
}

.beginner-edition-card--bnu::before { background: var(--blue); }
.beginner-edition-card--jiangsu::before { background: #159b88; }
.beginner-edition-card--pep::before { background: var(--orange); }

.beginner-grade-path {
  margin-bottom: 4px;
  text-align: right;
}

.beginner-grade-path > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.beginner-grade-path strong {
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--blue);
  background: #dfeafc;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
}

.beginner-grade-path strong:nth-of-type(2) {
  color: #087968;
  background: #d7f1ea;
}

.beginner-grade-path strong:nth-of-type(3) {
  color: #fff;
  background: var(--navy-950);
}

.beginner-grade-path i {
  color: var(--orange);
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}

.beginner-grade-path p {
  margin: 8px 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.beginner-grade-cards article {
  min-height: 104px;
  padding: 20px 24px;
  border-top: 4px solid #4387ed;
}

.beginner-grade-cards article:nth-child(2) {
  border-top-color: #5ce0c3;
}

.beginner-grade-cards article:nth-child(3) {
  border-top-color: #ff9829;
}

.beginner-grade-cards small {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffd08d;
  font-size: 13px;
}

.beginner-grade-cards strong {
  font-size: clamp(31px, 3vw, 43px);
  letter-spacing: -0.04em;
}

.beginner-grade-cards span {
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .beginner-edition-card::before {
    display: none;
  }

  .beginner-grade-path {
    text-align: left;
  }

  .beginner-grade-path > div {
    justify-content: flex-start;
    gap: 6px;
  }

  .beginner-grade-path strong {
    padding: 7px 11px;
    font-size: 20px;
  }

  .beginner-grade-path i {
    font-size: 17px;
  }

  .beginner-grade-path p {
    margin: 7px 0 0;
  }

  .beginner-grade-cards article {
    min-height: 96px;
    padding: 17px 19px;
  }

  .beginner-grade-cards strong {
    font-size: 32px;
  }
}

@media (max-width: 1000px) {
  .solution-steps { gap: 10px; }
  .solution-step { padding: 20px 18px; }
  .solution-step__label { font-size: 10px; }
  .solution-step ul { font-size: 13px; }
  .exam-badge { padding-inline: 7px; }
  .mother-tongue-panel { grid-template-columns: 0.9fr 1.1fr; }
  .school-layout, .method-layout { gap: 36px; }
  .book { width: 170px; height: 240px; }
  .book--pep { left: 0; top: 200px; }
  .book--yilin { left: 120px; }
  .book--shanghai { left: 240px; top: 220px; }
  .book--bnu { left: 260px; }
}

@media (max-width: 760px) {
  .hero { min-height: 100svh; align-items: flex-end; }
  .hero__inner { min-height: calc(100svh - 76px); }
  .hero__image { object-position: 67% center; opacity: 0.62; }
  .hero__shade { background: linear-gradient(180deg, rgba(5, 18, 41, 0.18), rgba(5, 18, 41, 0.98) 64%); }
  .hero__copy { margin-top: auto; }
  .hero__copy h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero__title { gap: 12px; }
  .hero__title img { width: min(58vw, 270px); border-radius: 12px; }
  .hero__topics { gap: 13px; margin-top: 30px; }
  .hero__topics li { gap: 10px; font-size: clamp(19px, 5.6vw, 24px); }
  .hero__topics li::before { width: 18px; }
  .hero__copy > p:not(.eyebrow) br { display: none; }
  .hero__trail { margin-top: 32px; font-size: 12px; }
  .concern-grid, .dual-track, .high-grid, .case-grid, .principle-grid, .school-layout, .method-layout { grid-template-columns: 1fr; }
  #course-map { overflow: auto; align-items: flex-start; }
  .solution-map { min-height: auto; }
  .solution-map__header { position: static; max-width: none; }
  .solution-map__header .eyebrow { margin-bottom: 10px; }
  .solution-map__header .section-title { font-size: clamp(34px, 8.8vw, 46px); }
  .solution-map__header .section-lead { margin-top: 10px; font-size: 13px; }
  .solution-steps { position: static; margin-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 10px; }
  .solution-step { height: auto; min-height: 222px; padding: 17px 15px; border-radius: 22px 22px 9px 9px; }
  .solution-step__number { font-size: 72px; }
  .solution-step__label { display: none; }
  .solution-step h3 { font-size: 25px; }
  .solution-step strong { margin-top: 5px; font-size: 14px; }
  .solution-step ul { margin-top: 12px; gap: 4px; font-size: 11px; }
  .solution-scene { min-height: 48px; }
  .solution-scene__word { width: 64px; height: 34px; font-size: 10px !important; }
  .solution-scene__reply { right: 2px; bottom: 22px; width: 45px; height: 29px; font-size: 9px !important; }
  .solution-scene i { display: none; }
  .grammar-block { padding: 8px 6px; border-radius: 12px; }
  .grammar-block > div { gap: 2px; }
  .grammar-block span { padding: 4px; font-size: 8px; }
  .grammar-block small { margin-top: 5px; font-size: 8px; }
  .exam-stack { gap: 4px; }
  .exam-badge { min-height: 32px; padding: 3px 6px; border-radius: 9px; gap: 5px; }
  .exam-badge--cambridge img { width: 22px; height: 22px; }
  .exam-badge b { font-size: 10px; }
  .exam-badge small { font-size: 7px; }
  .exam-badge--junior img { width: min(82px, 72%); }
  .exam-stack--high { gap: 6px; }
  .exam-stack--high .exam-badge { min-height: 40px; }
  .exam-badge--ielts img { width: min(78px, 68%); }
  .exam-badge--toefl img { width: min(84px, 72%); }
  .mother-tongue-title {
    font-size: clamp(19px, 6.1vw, 25px);
    letter-spacing: -0.055em;
  }
  .stage-explorer .slide__inner { min-height: auto; }
  .stage-explorer .stage-tabs { top: 10px; margin-bottom: 16px; }
  .detail-topline { margin-bottom: 12px; }
  .detail-topline > span { display: none; }
  .zero-pager { width: 100%; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 18px; }
  .zero-pager button { min-height: 48px; padding: 4px 6px; border-radius: 14px; display: grid; place-items: center; align-content: center; gap: 2px; }
  .zero-pager button span { margin: 0; }
  .stage-panel-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .stage-panel-head > p { margin-bottom: 0; }
  .mother-tongue-panel { grid-template-columns: 1fr; }
  .mother-tongue-copy { order: 2; padding: 18px; }
  .mother-tongue-copy article { min-height: 116px; }
  .mother-tongue-visual { min-height: 300px; }
  .mother-tongue-copy article:hover { transform: none; }
  .case-grid, .principle-grid { gap: 14px; }
  .case-card:hover, .principle-card:hover { transform: none; }
  .case-card--featured, .case-card--featured:hover { transform: none; }
  .case-card { min-height: 370px; padding: 22px; }
  .case-card__top { grid-template-columns: 72px 1fr; gap: 14px; }
  .case-avatar { width: 72px; height: 72px; }
  .case-metric { margin: 22px 0 18px; }
  .principle-card { min-height: 300px; }
  .concern-grid article { min-height: 150px; }
  .book-stack { min-height: 440px; transform: scale(0.82); transform-origin: left center; }
  .book { width: 160px; height: 220px; }
  .book--pep { left: 0; top: 180px; }
  .book--yilin { left: 92px; top: 20px; }
  .book--shanghai { left: 182px; top: 190px; }
  .book--bnu { left: 205px; top: 5px; }
  .school-copy { margin-top: -40px; }
  .sync-cards { margin-top: 28px; }
  .track, .high-card { min-height: auto; }
  .method-layout { display: flex; flex-direction: column; }
  .method-visual { order: -1; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-steps li:last-child { grid-column: 1 / -1; }
  .growth-line { margin: 50px 0; grid-template-columns: 1fr; gap: 26px; }
  .growth-line::before { top: 20px; bottom: 20px; left: 25px; width: 3px; height: auto; }
  .growth-line article { grid-template-columns: 52px 1fr; justify-items: start; align-items: center; text-align: left; }
  .growth-line small { grid-column: 2; }
  .closing__actions { flex-direction: column; }
}

/* Beginner: four-screen school curriculum story */
.beginner-body {
  background: #fff9ef;
}

/* Beginner v2: regional China map and a dedicated grade-stage screen */
.beginner-heading--map,
.beginner-heading--grades {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.beginner-heading--map .eyebrow,
.beginner-heading--grades .eyebrow {
  margin: 0 0 8px;
}

.beginner-heading--map > p,
.beginner-heading--grades > p {
  margin: 0 0 7px;
  text-align: right;
  line-height: 1.6;
}

.beginner-heading--grades h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.beginner-textbooks::before {
  top: -130px;
  right: -100px;
  width: 270px;
  height: 270px;
  background: #cbeee5;
}

.beginner-textbooks::after {
  display: none;
}

.beginner-map-layout {
  min-height: 0;
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(310px, 0.75fr);
  flex: 1;
  gap: 28px;
}

.beginner-china-map {
  position: relative;
  min-width: 0;
  min-height: 390px;
  margin: 0;
  border: 1px solid #cfe0f5;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.58) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.58) 1px, transparent 1px),
    #eaf3ff;
  background-size: 96px 96px;
  box-shadow: 0 24px 64px rgba(35, 72, 116, 0.08);
}

.beginner-china-map svg {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
}

.beginner-map-label {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 26px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #296fcd;
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.beginner-map-label i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  display: inline-block;
  background: var(--blue);
}

.china-shape {
  fill: url(#china-map-fill);
  stroke: #8fcbbc;
  stroke-width: 4;
  stroke-linejoin: round;
}

.china-route {
  fill: none;
  stroke: #3476dc;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 13 16;
}

.china-pin circle:first-child {
  fill: rgba(255, 255, 255, 0.94);
}

.china-pin circle:nth-child(2) {
  fill: #3476dc;
}

.china-pin text {
  fill: #0b1f3a;
  font-size: 21px;
  font-weight: 900;
  paint-order: stroke;
  stroke: #eaf3ff;
  stroke-width: 5px;
  stroke-linejoin: round;
}

.china-pin--jiangsu circle:nth-child(2) { fill: #159b88; }
.china-pin--shanghai circle:nth-child(2) { fill: #f45e50; }
.china-pin--zhejiang circle:nth-child(2) { fill: #ff9829; }

.beginner-china-map figcaption {
  position: absolute;
  right: 22px;
  bottom: 16px;
  color: #70839d;
  font-size: 10px;
}

.beginner-edition-list {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
}

.beginner-edition-card {
  min-height: 0;
  padding: 16px 20px;
  border: 1px solid #d8e4f2;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(35, 72, 116, 0.07);
}

.beginner-edition-card > span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--coral);
  font-size: 14px;
  font-weight: 900;
}

.beginner-edition-card small,
.beginner-edition-card strong {
  display: block;
}

.beginner-edition-card small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.beginner-edition-card strong {
  color: var(--ink);
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.1;
}

.beginner-edition-card--jiangsu > span { color: var(--ink); background: var(--teal); }
.beginner-edition-card--pep > span { color: var(--ink); background: var(--orange); }
.beginner-edition-card--bnu > span { background: var(--blue); }

.beginner-edition-list > p {
  margin: 0 2px;
  color: #8c98aa;
  font-size: 10px;
}

.beginner-grades {
  overflow: hidden;
  background: #f2f7fd;
}

.beginner-grades::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -150px;
  left: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--coral);
}

.beginner-topline--blue {
  color: var(--blue);
}

.beginner-grade-visual {
  position: relative;
  min-height: 0;
  margin: 22px 0 0;
  border-radius: 30px;
  overflow: hidden;
  flex: 1;
  background: #e8eef7;
  box-shadow: 0 24px 70px rgba(35, 72, 116, 0.12);
}

.beginner-grade-visual > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.beginner-grade-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(4, 20, 47, 0.72));
  pointer-events: none;
}

.beginner-grade-cards {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.beginner-grade-cards article {
  min-width: 0;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  color: #fff;
  background: rgba(7, 30, 66, 0.74);
  backdrop-filter: blur(16px);
}

.beginner-grade-cards article:nth-child(2) { background: rgba(10, 128, 114, 0.82); }
.beginner-grade-cards article:nth-child(3) { background: rgba(7, 25, 54, 0.88); }

.beginner-grade-cards small {
  grid-row: 1 / span 2;
  color: #ffad4c;
  font-size: 12px;
  font-weight: 900;
}

.beginner-grade-cards strong {
  font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.05;
}

.beginner-grade-cards span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

@media (min-width: 761px) and (max-height: 800px) {
  .beginner-map-layout,
  .beginner-grade-visual {
    margin-top: 14px;
  }

  .beginner-china-map {
    min-height: 330px;
  }

  .beginner-edition-card {
    padding: 10px 16px;
  }

  .beginner-edition-card > span {
    width: 42px;
    height: 42px;
  }

  .beginner-grade-cards article {
    padding: 13px 17px;
  }
}

@media (max-width: 1000px) {
  .beginner-map-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(275px, 0.65fr);
    gap: 18px;
  }

  .beginner-edition-card {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .beginner-edition-card > span {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 760px) {
  .beginner-heading--map,
  .beginner-heading--grades {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .beginner-heading--map > p,
  .beginner-heading--grades > p {
    margin: 0;
    text-align: left;
  }

  .beginner-heading--map > p br,
  .beginner-heading--grades > p br {
    display: none;
  }

  .beginner-heading--grades h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .beginner-map-layout {
    margin-top: 20px;
    grid-template-columns: 1fr;
  }

  .beginner-china-map {
    min-height: 0;
    aspect-ratio: 9 / 6.2;
    border-radius: 22px;
  }

  .beginner-map-label {
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .beginner-china-map figcaption {
    right: 12px;
    bottom: 8px;
    max-width: 66%;
    text-align: right;
    font-size: 8px;
  }

  .beginner-edition-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 10px;
  }

  .beginner-edition-card {
    min-height: 92px;
    padding: 14px;
    grid-template-columns: 36px 1fr;
    border-radius: 18px;
  }

  .beginner-edition-card > span {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .beginner-edition-card strong {
    font-size: 20px;
  }

  .beginner-edition-list > p {
    grid-column: 1 / -1;
  }

  .beginner-grades::before {
    top: -100px;
    left: -105px;
    width: 230px;
    height: 230px;
  }

  .beginner-grade-visual {
    min-height: 0;
    margin-top: 22px;
    border-radius: 22px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .beginner-grade-visual > img {
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 22px;
    object-fit: cover;
  }

  .beginner-grade-visual::after {
    display: none;
  }

  .beginner-grade-cards {
    position: static;
    margin-top: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .beginner-grade-cards article {
    min-height: 88px;
    padding: 15px 18px;
  }

  .beginner-grade-cards article:first-child {
    color: var(--ink);
    background: #e1ecfc;
  }

  .beginner-grade-cards article:first-child span {
    color: var(--muted);
  }
}

.beginner-slide {
  isolation: isolate;
  min-height: 100svh;
}

.beginner-slide__inner {
  min-height: calc(100svh - (var(--slide-pad-y) * 2));
  display: flex;
  flex-direction: column;
}

.beginner-topline {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.beginner-topline--dark {
  color: var(--mint);
}

.beginner-topline--dark .detail-back {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.beginner-heading h1,
.beginner-grammar-heading h2,
.beginner-vocabulary-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.beginner-heading p,
.beginner-grammar-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
}

.beginner-brand {
  margin: 16px 0 0;
  color: var(--ink);
  text-align: right;
  font-size: 12px;
  font-weight: 900;
}

.beginner-brand--light {
  color: var(--ink);
}

.beginner-textbooks {
  overflow: hidden;
  background: #fff9ef;
}

.beginner-textbooks::before,
.beginner-textbooks::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.beginner-textbooks::before {
  right: -90px;
  top: -110px;
  width: 290px;
  height: 290px;
  background: var(--mint);
}

.beginner-textbooks::after {
  left: -140px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  background: var(--coral);
}

.beginner-textbook-layout {
  min-height: 0;
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.92fr);
  flex: 1;
  align-items: stretch;
  gap: 34px;
}

.beginner-textbook-visual {
  min-width: 0;
  min-height: 380px;
  margin: 0;
  border: 1px solid #eadfce;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(88, 64, 28, 0.08);
}

.beginner-textbook-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.beginner-fit-card {
  min-height: 380px;
  padding: clamp(28px, 3.2vw, 44px);
  border: 1px solid #e8dfd1;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 64px rgba(88, 64, 28, 0.08);
}

.beginner-fit-card small,
.beginner-grade-group small {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.beginner-fit-card h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.45;
}

.beginner-grade-group {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid #e1e8f0;
}

.beginner-grade-group small {
  color: var(--blue);
}

.beginner-grade-pills {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.beginner-grade-pills span {
  min-height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 900;
}

.beginner-grade-pills span:nth-child(2) {
  color: var(--teal);
  background: var(--teal-soft);
}

.beginner-grade-pills span:nth-child(3) {
  color: #bd6a18;
  background: var(--orange-soft);
}

.beginner-fit-card > p {
  margin: 24px 0 0;
  color: #8c98aa;
  font-size: 12px;
}

.beginner-vocabulary {
  overflow: hidden;
  background: var(--navy-950);
}

.beginner-vocabulary::before,
.beginner-vocabulary::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.beginner-vocabulary::before {
  top: -20%;
  right: -9%;
  width: 52vw;
  height: 52vw;
  max-width: 760px;
  max-height: 760px;
  background: #244c8b;
}

.beginner-vocabulary::after {
  right: -10%;
  bottom: -42%;
  width: 38vw;
  height: 38vw;
  max-width: 560px;
  max-height: 560px;
  background: rgba(81, 199, 168, 0.34);
}

.beginner-vocabulary-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, 0.78fr);
  flex: 1;
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.beginner-vocabulary-copy .eyebrow {
  margin-bottom: 28px;
  color: var(--mint);
}

.beginner-vocabulary-copy h2 {
  color: #fff;
  font-size: clamp(58px, 6.7vw, 96px);
}

.beginner-vocabulary-copy i {
  width: 150px;
  height: 9px;
  margin: 46px 0 30px;
  border-radius: 999px;
  display: block;
  background: var(--orange);
}

.beginner-vocabulary-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.6vw, 22px);
}

.beginner-vocabulary-options {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
}

.beginner-vocabulary-options article {
  min-height: 180px;
  padding: 28px 34px;
  border-radius: 26px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.18);
}

.beginner-vocabulary-options article:nth-child(2) {
  margin-left: 52px;
  color: #fff;
  background: #179e8b;
}

.beginner-vocabulary-options small {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.beginner-vocabulary-options article:nth-child(2) small {
  color: var(--navy-950);
}

.beginner-vocabulary-options h3 {
  margin: 12px 0 8px;
  font-size: 34px;
}

.beginner-vocabulary-options p {
  margin: 0;
  color: var(--muted);
}

.beginner-vocabulary-options article:nth-child(2) p {
  color: rgba(255, 255, 255, 0.8);
}

.beginner-vocabulary-options > strong {
  margin-left: 50px;
  color: var(--mint);
  font-size: 18px;
}

.beginner-vocabulary .beginner-brand {
  color: #fff;
}

.beginner-grammar {
  padding-left: clamp(360px, 27vw, 520px);
  overflow: hidden;
  background: #f3f7fc;
}

.beginner-grammar-rail {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: clamp(280px, 21.4vw, 410px);
  padding: clamp(44px, 6vh, 72px) clamp(36px, 4vw, 76px);
  display: flex;
  flex-direction: column;
  color: #fff;
  background: #3476dc;
}

.beginner-grammar-rail span {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.beginner-grammar-rail strong {
  margin-top: 54px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.1;
}

.beginner-grammar-rail i {
  position: absolute;
  right: -50px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--orange);
}

.beginner-topline--grammar {
  justify-content: flex-end;
}

.beginner-grammar-heading h2 {
  font-size: clamp(48px, 5.1vw, 76px);
}

.beginner-grammar-cards {
  min-height: 0;
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  flex: 1;
  align-items: center;
  gap: 34px;
}

.beginner-grammar-cards article {
  min-height: 330px;
  padding: clamp(28px, 3.2vw, 44px);
  border: 1px solid #d6e3f5;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 24px 64px rgba(35, 72, 116, 0.08);
}

.beginner-grammar-cards article:nth-child(2) {
  min-height: 370px;
  border-color: transparent;
  color: #fff;
  background: #179e8b;
}

.beginner-grammar-cards small {
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.beginner-grammar-cards article:nth-child(2) small {
  color: var(--navy-950);
}

.beginner-grammar-cards h3 {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.3;
}

.beginner-grammar-cards article:nth-child(2) h3 {
  color: #fff;
}

.beginner-grammar-cards p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 16px;
}

.beginner-grammar-cards article:nth-child(2) p {
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 761px) and (max-height: 800px) {
  .beginner-slide {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .beginner-slide__inner {
    min-height: calc(100svh - 48px);
  }

  .beginner-topline {
    margin-bottom: 10px;
  }

  .beginner-heading h1,
  .beginner-grammar-heading h2 {
    font-size: clamp(44px, 4.5vw, 62px);
  }

  .beginner-heading p,
  .beginner-grammar-heading p {
    margin-top: 7px;
  }

  .beginner-textbook-layout {
    margin-top: 18px;
  }

  .beginner-textbook-visual,
  .beginner-fit-card {
    min-height: 330px;
  }

  .beginner-fit-card {
    padding: 25px 30px;
  }

  .beginner-grade-group {
    padding-top: 18px;
  }

  .beginner-fit-card > p {
    margin-top: 14px;
  }

  .beginner-vocabulary-copy h2 {
    font-size: clamp(58px, 6.2vw, 82px);
  }

  .beginner-vocabulary-copy i {
    margin: 30px 0 22px;
  }

  .beginner-vocabulary-options article {
    min-height: 145px;
    padding: 22px 30px;
  }

  .beginner-grammar-cards {
    margin-top: 22px;
  }

  .beginner-grammar-cards article,
  .beginner-grammar-cards article:nth-child(2) {
    min-height: 290px;
  }
}

@media (max-width: 1000px) {
  .beginner-textbook-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.75fr);
    gap: 22px;
  }

  .beginner-vocabulary-layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.75fr);
    gap: 36px;
  }

  .beginner-grammar {
    padding-left: 300px;
  }

  .beginner-grammar-rail {
    width: 250px;
    padding-inline: 42px;
  }
}

@media (max-width: 760px) {
  .beginner-slide {
    min-height: 100svh;
    padding: 28px 22px 44px;
    align-items: flex-start;
  }

  .beginner-slide__inner {
    min-height: calc(100svh - 72px);
  }

  .beginner-topline > span {
    display: inline;
    font-size: 10px;
  }

  .beginner-heading h1,
  .beginner-grammar-heading h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .beginner-heading p,
  .beginner-grammar-heading p {
    font-size: 16px;
  }

  .beginner-brand {
    margin-top: 24px;
    text-align: left;
  }

  .beginner-textbook-layout,
  .beginner-vocabulary-layout,
  .beginner-grammar-cards {
    grid-template-columns: 1fr;
  }

  .beginner-textbook-layout {
    margin-top: 24px;
    gap: 18px;
  }

  .beginner-textbook-visual {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
  }

  .beginner-fit-card {
    min-height: 360px;
    padding: 26px;
    border-radius: 22px;
  }

  .beginner-fit-card h2 {
    font-size: 30px;
  }

  .beginner-textbooks::before {
    width: 180px;
    height: 180px;
  }

  .beginner-textbooks::after {
    display: none;
  }

  .beginner-vocabulary-layout {
    padding-top: 24px;
    align-content: start;
  }

  .beginner-vocabulary-copy h2 {
    font-size: clamp(52px, 15vw, 70px);
  }

  .beginner-vocabulary-copy i {
    width: 110px;
    margin: 30px 0 24px;
  }

  .beginner-vocabulary-options {
    margin-top: 42px;
  }

  .beginner-vocabulary-options article:nth-child(2),
  .beginner-vocabulary-options > strong {
    margin-left: 0;
  }

  .beginner-vocabulary::before {
    top: 20%;
    right: -50%;
    width: 120vw;
    height: 120vw;
  }

  .beginner-vocabulary::after {
    display: none;
  }

  .beginner-grammar {
    padding: 0;
    display: block;
  }

  .beginner-grammar-rail {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 164px;
    padding: 26px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    overflow: hidden;
  }

  .beginner-grammar-rail strong {
    margin: 0;
    font-size: 42px;
  }

  .beginner-grammar-rail i {
    right: -50px;
    bottom: -90px;
    width: 180px;
    height: 180px;
  }

  .beginner-grammar__inner {
    min-height: auto;
    padding: 28px 22px 44px;
  }

  .beginner-topline--grammar {
    justify-content: flex-start;
  }

  .beginner-grammar-cards {
    margin-top: 30px;
    gap: 16px;
  }

  .beginner-grammar-cards article,
  .beginner-grammar-cards article:nth-child(2) {
    min-height: 270px;
    padding: 28px;
  }

  .beginner-grammar-cards h3 {
    font-size: 36px;
  }
}

/* Zero-basis: editorial growth journey */
#growth-cases {
  isolation: isolate;
  align-items: flex-start;
  background: #f4f8fe;
}

#growth-cases::before {
  content: none;
}

#growth-cases .slide__inner {
  min-height: calc(100svh - (var(--slide-pad-y) * 2));
}

.growth-cases-header {
  position: relative;
  z-index: 4;
  max-width: 470px;
}

.growth-cases-header .eyebrow {
  margin-bottom: 12px;
}

.growth-cases-header .section-title {
  color: var(--navy-900);
  font-size: clamp(43px, 4vw, 62px);
  line-height: 1.15;
}

.growth-cases-header > p:last-child {
  margin: 16px 0 0;
  color: #7b8ca3;
  font-size: 14px;
}

.growth-journey {
  position: relative;
  z-index: 2;
  height: clamp(510px, 67vh, 650px);
  margin-top: clamp(-136px, -13vh, -88px);
}

.growth-journey__path {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.growth-journey__path img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  animation: growth-path-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-milestone {
  position: absolute;
  z-index: 2;
  width: 28%;
  display: grid;
  grid-template-columns: clamp(82px, 7.5vw, 112px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(15px, 1.6vw, 24px);
  animation: growth-case-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-milestone--cancan {
  top: 58%;
  left: 2.5%;
  animation-delay: 180ms;
}

.case-milestone--xuanxuan {
  top: 31%;
  left: 40.5%;
  animation-delay: 340ms;
}

.case-milestone--luqipin {
  top: 1%;
  right: 0;
  animation-delay: 500ms;
}

.case-milestone .case-avatar {
  width: clamp(82px, 7.5vw, 112px);
  height: clamp(82px, 7.5vw, 112px);
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: block;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(29, 71, 119, 0.15);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.case-profile {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.case-profile h3 {
  margin: 2px 0 0;
  color: var(--navy-900);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.1;
  white-space: nowrap;
}

.case-milestone:hover .case-avatar {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 22px 48px rgba(29, 71, 119, 0.2);
}

.case-milestone__content {
  min-width: 0;
  padding-top: 14px;
  text-shadow: 0 0 8px #f4f8fe, 0 0 8px #f4f8fe;
}

.case-milestone__content h3 {
  margin: 0 0 9px;
  color: var(--navy-900);
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.1;
}

.case-facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.case-facts p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.case-facts strong {
  color: var(--navy-900);
  font-size: clamp(24px, 2.5vw, 37px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.case-facts span,
.case-vocabulary span {
  color: #8291a5;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.case-vocabulary {
  margin: 14px 0 7px;
  padding-top: 10px;
  border-top: 1px dashed rgba(64, 103, 151, 0.22);
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.case-vocabulary strong {
  color: #16a68f;
  font-size: clamp(45px, 4.4vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.case-milestone--luqipin .case-vocabulary strong {
  color: #08aa8f;
  font-size: clamp(55px, 5.2vw, 78px);
}

.case-video-button {
  width: auto;
  min-height: 28px;
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  appearance: none;
  cursor: pointer;
  color: #8798ad;
  background: transparent;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: color 180ms ease, transform 180ms ease;
}

.case-profile .case-video-button {
  min-height: 22px;
  color: #8b9aaf;
  font-size: 10px;
}

.case-video-button:hover,
.case-video-button:focus-visible {
  color: var(--blue);
  transform: translateX(3px);
}

.case-video-button:focus-visible {
  outline: 2px solid rgba(46, 113, 216, 0.28);
  outline-offset: 4px;
}

.case-video-status {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  min-height: 18px;
  margin: 0;
  color: #7e8fa5;
  font-size: 11px;
}

.case-video-button[data-case-video] {
  color: var(--blue);
}

.case-video-button[data-case-video]::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  content: "▶";
  font-size: 7px;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(46, 113, 216, 0.24);
}

.case-video-modal {
  width: min(92vw, 1100px);
  max-width: none;
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 34px 100px rgba(7, 34, 68, 0.34);
}

.case-video-modal::backdrop {
  background: rgba(6, 25, 50, 0.72);
  backdrop-filter: blur(8px);
}

.case-video-modal__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.case-video-modal header {
  min-height: 64px;
  padding: 0 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.case-video-modal h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
}

.case-video-modal__close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  flex: 0 0 auto;
  color: #587089;
  background: #edf2f7;
  font: inherit;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.case-video-modal__close:hover,
.case-video-modal__close:focus-visible {
  color: var(--navy-900);
  background: #dfe8f2;
}

.case-video-modal video {
  width: 100%;
  max-height: calc(90vh - 64px);
  display: block;
  background: #061326;
}

@keyframes growth-path-in {
  from { opacity: 0; transform: translateY(18px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes growth-case-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 761px) and (max-height: 800px) {
  .growth-cases-header .section-title {
    font-size: clamp(38px, 3.6vw, 54px);
  }

  .growth-cases-header > p:last-child {
    margin-top: 10px;
  }

  .growth-journey {
    height: 500px;
    margin-top: -122px;
  }

  .case-milestone--cancan { top: 56%; }
  .case-milestone--xuanxuan { top: 28%; }
  .case-milestone--luqipin { top: 0; }
}

@media (max-width: 1000px) and (min-width: 761px) {
  .growth-journey {
    margin-top: -82px;
  }

  .case-milestone {
    width: 31%;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
  }

  .case-milestone .case-avatar {
    width: 74px;
    height: 74px;
    border-width: 6px;
  }

  .case-milestone--xuanxuan { left: 37%; }
  .case-facts strong { font-size: 26px; }
  .case-vocabulary strong { font-size: 48px; }
  .case-milestone--luqipin .case-vocabulary strong { font-size: 55px; }
}

@media (max-width: 760px) {
  #growth-cases {
    min-height: 1420px;
    padding-bottom: 48px;
  }

  #growth-cases .slide__inner {
    min-height: 1338px;
  }

  .growth-cases-header {
    max-width: none;
  }

  .growth-cases-header .section-title {
    font-size: clamp(38px, 11vw, 50px);
  }

  .growth-cases-header > p:last-child {
    max-width: 270px;
    line-height: 1.6;
  }

  .growth-journey {
    height: 1070px;
    margin: 26px -22px 0;
  }

  .growth-journey__path img {
    object-fit: fill;
    object-position: center;
  }

  .case-milestone {
    width: min(82%, 330px);
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .case-milestone--luqipin {
    top: 2%;
    right: 11%;
  }

  .case-milestone--xuanxuan {
    top: 40%;
    left: 7%;
  }

  .case-milestone--cancan {
    top: 76%;
    left: 3%;
  }

  .case-milestone .case-avatar {
    width: 82px;
    height: 82px;
    border-width: 6px;
  }

  .case-milestone__content {
    padding: 14px 16px;
    border: 1px solid rgba(211, 224, 241, 0.82);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 38px rgba(44, 80, 122, 0.1);
    backdrop-filter: blur(12px);
    text-shadow: none;
  }

  .case-profile {
    gap: 5px;
  }

  .case-profile h3 {
    font-size: 18px;
  }

  .case-milestone__content h3 {
    font-size: 22px;
  }

  .case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .case-facts p {
    display: grid;
    gap: 4px;
  }

  .case-facts strong {
    font-size: 24px;
  }

  .case-vocabulary {
    margin-top: 12px;
  }

  .case-vocabulary strong,
  .case-milestone--luqipin .case-vocabulary strong {
    font-size: 52px;
  }

  .case-video-status {
    right: 0;
    bottom: 2px;
    left: 0;
    text-align: center;
  }

  .case-video-modal {
    width: 94vw;
    border-radius: 18px;
  }

  .case-video-modal header {
    min-height: 58px;
    padding-inline: 18px 12px;
  }

  .case-video-modal h2 {
    font-size: 18px;
  }

  .case-video-modal video {
    max-height: calc(90vh - 58px);
  }
}

@media (min-width: 761px) {
  .beginner-slide__inner {
    height: calc(100svh - (var(--slide-pad-y) * 2));
    min-height: 0;
  }

  .beginner-map-layout,
  .beginner-grade-visual {
    flex: 1 1 0;
  }

  .beginner-grade-visual > img {
    position: absolute;
    inset: 0;
  }
}

/* 璨璨学习数据看板 */
.case-data-button {
  width: auto;
  min-height: 24px;
  padding: 2px 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  appearance: none;
  cursor: pointer;
  color: #168b82;
  background: transparent;
  white-space: nowrap;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: color 180ms ease, transform 180ms ease;
}

.case-data-button:hover,
.case-data-button:focus-visible {
  color: #086f69;
  transform: translateX(3px);
}

.case-data-button:focus-visible {
  outline: 2px solid rgba(22, 139, 130, 0.28);
  outline-offset: 4px;
}

.cancan-dashboard {
  width: min(96vw, 1280px);
  height: min(92vh, 880px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  overflow: visible;
  color: #102747;
  background: transparent;
}

.cancan-dashboard::backdrop {
  background: rgba(7, 24, 49, 0.76);
  backdrop-filter: blur(10px);
}

.cancan-dashboard__shell {
  height: 100%;
  border: 1px solid rgba(186, 207, 233, 0.78);
  border-radius: 30px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: #f4f8fd;
  box-shadow: 0 36px 100px rgba(5, 26, 56, 0.38);
}

.cancan-dashboard__topbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 1px solid rgba(188, 207, 231, 0.8);
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 66, 120, 0.06);
}

.cancan-dashboard__close {
  min-width: 58px;
  min-height: 36px;
  margin-right: 18px;
  padding: 0 16px;
  border: 1px solid #d2deee;
  border-radius: 999px;
  cursor: pointer;
  color: #526884;
  background: #f2f6fb;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.cancan-dashboard__close:hover,
.cancan-dashboard__close:focus-visible {
  color: #1e52c8;
  border-color: #adc4e6;
  background: #e9f0fb;
}

.cancan-dashboard__close:focus-visible,
.cancan-dashboard__tabs button:focus-visible {
  outline: 3px solid rgba(32, 87, 220, 0.34);
  outline-offset: 2px;
}

.cancan-dashboard__tabs {
  padding-left: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
}

.cancan-dashboard__tabs button {
  min-height: 62px;
  padding: 0 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: #6d7e96;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.cancan-dashboard__tabs button:hover {
  color: #2057dc;
  background: #f6f9fe;
}

.cancan-dashboard__tabs button[aria-selected="true"] {
  border-bottom-color: #2057dc;
  color: #143fbb;
}

.cancan-dashboard__body {
  min-height: 0;
  padding: 24px 28px 28px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: #f4f8fd;
}

.cancan-dashboard__panel {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.cancan-dashboard__panel[hidden] {
  display: none;
}

.cancan-dashboard__eyebrow {
  margin: 0 0 7px;
  color: #3265db;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cancan-summary__intro {
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.cancan-summary__intro h3,
.cancan-dashboard__section-heading h3 {
  margin: 0;
  color: #102747;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.cancan-summary__intro > div > p:last-child {
  margin: 8px 0 0;
  color: #71829a;
  font-size: 14px;
  line-height: 1.6;
}

.cancan-summary__vocabulary-callout {
  min-width: 292px;
  margin: 0;
  padding: 14px 20px;
  border: 1px solid #bfe5dc;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #32605b;
  background: #e9f8f4;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.cancan-summary__vocabulary-callout strong {
  color: #078c79;
  font-size: clamp(50px, 5vw, 68px);
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.cancan-summary__vocabulary-callout span {
  white-space: nowrap;
}

.cancan-summary__primary,
.cancan-summary__consistency ul,
.cancan-word-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cancan-summary__primary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cancan-summary__primary li {
  min-height: 128px;
  padding: 20px 22px;
  border: 1px solid #d7e2f1;
  border-radius: 20px;
  display: flex;
  align-items: baseline;
  align-content: center;
  flex-wrap: wrap;
  gap: 7px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(25, 66, 120, 0.07);
}

.cancan-summary__primary span {
  width: 100%;
  color: #76869b;
  font-size: 13px;
  font-weight: 760;
}

.cancan-summary__primary strong {
  color: #e52f48;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.cancan-summary__primary li:nth-child(3) strong {
  color: #2c64e8;
}

.cancan-summary__primary small {
  color: #63748c;
  font-size: 14px;
  font-weight: 800;
}

.cancan-summary__consistency {
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid #d7e2f1;
  border-radius: 20px;
  background: #fff;
}

.cancan-summary__consistency h4 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 900;
}

.cancan-summary__consistency ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cancan-summary__consistency li {
  padding: 0 16px;
  border-left: 1px solid #dfe7f2;
  display: grid;
  gap: 6px;
  text-align: center;
}

.cancan-summary__consistency li:first-child {
  border-left: 0;
}

.cancan-summary__consistency span {
  color: #7a899d;
  font-size: 12px;
  font-weight: 760;
}

.cancan-summary__consistency strong {
  color: #102747;
  font-size: clamp(18px, 2vw, 25px);
}

.cancan-summary__words {
  margin-top: 16px;
  padding: 20px 22px 24px;
  border: 1px solid #d7e2f1;
  border-radius: 20px;
  background: #eef4fc;
}

.cancan-summary__words > header {
  margin-bottom: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.cancan-summary__words h4 {
  margin: 0;
  color: #102747;
  font-size: 22px;
  font-weight: 900;
}

.cancan-summary__words > header > span {
  padding: 7px 12px;
  border: 1px solid #d5e1f0;
  border-radius: 999px;
  color: #5c718e;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.cancan-dashboard__source {
  margin: 24px 0 0;
  border: 1px solid #d7e2f1;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 34px rgba(25, 66, 120, 0.08);
}

.cancan-dashboard__source img {
  width: 100%;
  height: auto;
  display: block;
}

.cancan-dashboard__source figcaption {
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #73849b;
  background: #fff;
  font-size: 12px;
  line-height: 1.55;
}

.cancan-dashboard__source figcaption strong {
  color: #203a5f;
}

.cancan-dashboard__section-heading {
  margin-bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.cancan-dashboard__source--daily {
  margin-top: 0;
}

.cancan-dashboard__source--daily img {
  aspect-ratio: 4888 / 3000;
  object-fit: contain;
  background: #eef7ff;
}

.cancan-word-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cancan-word-grid li {
  min-height: 31px;
  padding: 5px 9px;
  border: 1px solid #d8e4f3;
  border-radius: 9px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #152b48;
  background: #fff;
  box-shadow: 0 3px 10px rgba(25, 66, 120, 0.045);
}

.cancan-word-grid li span {
  color: #95a2b4;
  font-size: 9px;
  font-weight: 760;
}

.cancan-word-grid li strong {
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.cancan-dashboard__source--classroom {
  margin-top: 0;
}

.cancan-dashboard__source--classroom img {
  aspect-ratio: 2391 / 1025;
  object-fit: contain;
  background: #000;
}

@media (max-width: 760px) {
  .cancan-dashboard {
    width: 100%;
    height: 100svh;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
  }

  .cancan-dashboard__shell {
    border: 0;
    border-radius: 0;
  }

  .cancan-dashboard__close {
    min-width: 48px;
    min-height: 32px;
    margin-right: 16px;
    padding-inline: 9px;
    font-size: 11px;
  }

  .cancan-dashboard__tabs {
    padding-left: 0;
  }

  .cancan-dashboard__tabs button {
    min-height: 52px;
    padding: 0 4px;
    font-size: 12px;
  }

  .cancan-dashboard__body {
    padding: 14px 12px 28px;
    scrollbar-gutter: auto;
  }

  .cancan-summary__intro,
  .cancan-dashboard__section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .cancan-summary__intro h3,
  .cancan-dashboard__section-heading h3 {
    font-size: 25px;
  }

  .cancan-summary__vocabulary-callout {
    min-width: 0;
    width: 100%;
    padding: 12px 16px;
    justify-content: flex-start;
  }

  .cancan-summary__vocabulary-callout strong {
    font-size: 54px;
  }

  .cancan-summary__primary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cancan-summary__primary li {
    min-height: 96px;
    padding: 15px 18px;
  }

  .cancan-summary__primary strong {
    font-size: 39px;
  }

  .cancan-summary__consistency {
    padding: 17px 14px;
  }

  .cancan-summary__consistency ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .cancan-summary__consistency li:nth-child(3) {
    border-left: 0;
  }

  .cancan-summary__consistency strong {
    font-size: 18px;
  }

  .cancan-dashboard__source {
    margin-top: 16px;
    border-radius: 16px;
  }

  .cancan-dashboard__source--classroom {
    margin-top: 0;
  }

  .cancan-dashboard__source figcaption {
    display: block;
  }

  .cancan-dashboard__source figcaption span {
    display: block;
    margin-top: 2px;
  }

  .cancan-summary__words {
    padding: 16px 14px 18px;
  }

  .cancan-summary__words > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .cancan-summary__words h4 {
    font-size: 20px;
  }

  .cancan-word-grid {
    gap: 5px;
  }

  .cancan-word-grid li {
    min-height: 27px;
    padding: 4px 7px;
    gap: 4px;
    border-radius: 8px;
  }

  .cancan-word-grid li strong {
    font-size: 12px;
  }

  .cancan-dashboard__source--daily {
    overflow-x: auto;
  }

  .cancan-dashboard__source--daily img {
    width: 920px;
    max-width: none;
  }

}

@media (min-width: 761px) and (max-height: 800px) {
  .beginner-slide__inner {
    height: calc(100svh - 48px);
    min-height: 0;
  }

  .beginner-textbooks .beginner-brand,
  .beginner-grades .beginner-brand {
    margin-top: 7px;
  }
}

/* Keep the enlarged stage cards dominant after the base beginner styles. */
.beginner-grade-cards article {
  min-height: 104px;
  padding: 20px 24px;
  border-top-width: 4px;
  border-top-color: #4387ed;
}

.beginner-grade-cards article:nth-child(2) { border-top-color: #5ce0c3; }
.beginner-grade-cards article:nth-child(3) { border-top-color: #ff9829; }

.beginner-grade-cards small {
  font-size: 13px;
}

.beginner-grade-cards strong {
  font-size: clamp(31px, 3vw, 43px);
  letter-spacing: -0.04em;
}

.beginner-grade-cards span {
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .beginner-grade-cards article {
    min-height: 96px;
    padding: 17px 19px;
  }

  .beginner-grade-cards strong {
    font-size: 32px;
  }
}

/* Beginner v4: unnumbered curriculum labels placed directly on the map field. */
.beginner-map-layout {
  position: relative;
  display: block;
}

.beginner-china-map {
  width: 100%;
  height: 100%;
}

.china-region--guangzhou { fill: #8b5cf6; }
.china-guide--guangzhou { stroke: #8b5cf6; }
.china-pin--guangzhou circle:nth-child(2) { fill: #8b5cf6; }

.beginner-edition-list {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 18px;
  bottom: 0;
  width: 238px;
  display: block;
  pointer-events: none;
}

.beginner-edition-card {
  position: absolute;
  right: 0;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: block;
  transform: translateY(-50%);
  background: transparent;
  box-shadow: none;
}

.beginner-edition-card:nth-of-type(1) { top: 13%; }
.beginner-edition-card:nth-of-type(2) { top: 31.5%; }
.beginner-edition-card:nth-of-type(3) { top: 50%; }
.beginner-edition-card:nth-of-type(4) { top: 68.5%; }
.beginner-edition-card:nth-of-type(5) { top: 86%; }

.beginner-edition-card::before,
.beginner-edition-card > span {
  display: none;
}

.beginner-edition-card > div {
  position: relative;
  padding-left: 20px;
}

.beginner-edition-card > div::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(244, 94, 80, 0.12);
}

.beginner-edition-card--bnu > div::before {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(52, 118, 220, 0.12);
}

.beginner-edition-card--jiangsu > div::before {
  background: #159b88;
  box-shadow: 0 0 0 5px rgba(21, 155, 136, 0.12);
}

.beginner-edition-card--pep > div::before {
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 152, 41, 0.14);
}

.beginner-edition-card--guangzhou > div::before {
  background: #8b5cf6;
  box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.13);
}

.beginner-edition-card small {
  margin-bottom: 2px;
  font-size: 12px;
}

.beginner-edition-card strong {
  font-size: clamp(22px, 2.1vw, 30px);
}

.beginner-edition-list > p {
  position: absolute;
  right: 0;
  bottom: 4px;
  margin: 0;
  font-size: 9px;
}

@media (max-width: 760px) {
  .beginner-china-map {
    aspect-ratio: 1200 / 620;
  }

  .beginner-edition-list {
    right: 6px;
    width: 112px;
  }

  .beginner-edition-card > div {
    padding-left: 13px;
  }

  .beginner-edition-card > div::before {
    width: 7px;
    height: 7px;
    box-shadow: none;
  }

  .beginner-edition-card small {
    margin-bottom: 0;
    font-size: 8px;
  }

  .beginner-edition-card strong {
    font-size: 15px;
  }

  .beginner-edition-list > p {
    display: none;
  }
}

/* Beginner v5: generated map artwork with scattered editorial callouts. */
.beginner-china-map {
  background: #edf5ff;
}

.beginner-map-art,
.beginner-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.beginner-map-art {
  z-index: 0;
  display: block;
  object-fit: fill;
}

.beginner-map-overlay {
  z-index: 1;
  overflow: visible;
}

.map-route {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-route--bnu { stroke: #3476dc; }
.map-route--jiangsu { stroke: #159b88; }
.map-route--shanghai { stroke: #f45e50; }
.map-route--pep { stroke: #ff9829; }
.map-route--guangzhou { stroke: #8b5cf6; }

.map-pin {
  color: #3476dc;
}

.map-pin--jiangsu { color: #159b88; }
.map-pin--shanghai { color: #f45e50; }
.map-pin--pep { color: #ff9829; }
.map-pin--guangzhou { color: #8b5cf6; }

.map-pin circle:first-child {
  fill: rgba(255, 255, 255, 0.92);
  stroke: currentColor;
  stroke-width: 7;
}

.map-pin circle:last-child {
  fill: currentColor;
}

.beginner-map-callout {
  position: absolute;
  z-index: 2;
  color: #f12632;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.9),
    0 0 18px rgba(237, 245, 255, 0.95);
}

.beginner-map-callout small,
.beginner-map-callout strong {
  display: block;
}

.beginner-map-callout small {
  margin-bottom: 2px;
  color: #b84d57;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.beginner-map-callout strong {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.beginner-map-callout--bnu {
  top: 7%;
  left: 34%;
}

.beginner-map-callout--jiangsu {
  top: 20%;
  right: 7%;
}

.beginner-map-callout--shanghai {
  top: 49%;
  right: 2.5%;
}

.beginner-map-callout--pep {
  top: 62%;
  left: 27%;
}

.beginner-map-callout--guangzhou {
  bottom: 4%;
  left: 13%;
}

.beginner-china-map figcaption {
  z-index: 3;
}

@media (max-width: 760px) {
  .map-route {
    stroke-width: 10;
  }

  .beginner-map-callout small {
    margin-bottom: 0;
    font-size: 7px;
  }

  .beginner-map-callout strong {
    font-size: 15px;
  }

  .beginner-map-callout--bnu { left: 32%; }
  .beginner-map-callout--jiangsu { right: 4%; }
  .beginner-map-callout--shanghai { right: 1%; }
  .beginner-map-callout--pep { left: 23%; }
  .beginner-map-callout--guangzhou { left: 8%; }
}

/* Beginner v6: premium GPT-rendered map with restrained typography. */
.beginner-china-map {
  border-color: rgba(211, 194, 168, 0.5);
  background: #f4eee4;
  box-shadow: 0 28px 76px rgba(36, 50, 67, 0.15);
}

.beginner-map-art {
  filter: saturate(0.92) contrast(0.98);
}

.beginner-map-label {
  color: #31577d;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 10px 30px rgba(30, 54, 76, 0.08);
}

.map-route {
  stroke-width: 3.5;
  opacity: 0.72;
}

.map-route--bnu { stroke: #2f6fbf; }
.map-route--jiangsu { stroke: #168c81; }
.map-route--shanghai { stroke: #d96b5c; }
.map-route--pep { stroke: #d99535; }
.map-route--guangzhou { stroke: #745ac4; }

.map-pin circle:first-child {
  fill: rgba(255, 253, 249, 0.9);
  stroke-width: 3.5;
}

.beginner-map-callout {
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 18px rgba(255, 253, 249, 0.72);
}

.beginner-map-callout::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -28px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: #2f6fbf;
}

.beginner-map-callout--jiangsu::before { background: #168c81; }
.beginner-map-callout--shanghai::before { background: #d96b5c; }
.beginner-map-callout--pep::before { background: #d99535; }
.beginner-map-callout--guangzhou::before { background: #745ac4; }

.beginner-map-callout small {
  color: #64758a;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.beginner-map-callout strong {
  font-size: clamp(23px, 2.25vw, 32px);
  letter-spacing: -0.035em;
}

.beginner-map-callout--bnu {
  top: 9%;
  left: 31%;
}

.beginner-map-callout--jiangsu {
  top: 15%;
  right: 8%;
}

.beginner-map-callout--shanghai {
  top: 51%;
  right: 2.5%;
}

.beginner-map-callout--pep {
  top: 55%;
  left: 22%;
}

.beginner-map-callout--guangzhou {
  bottom: 4%;
  left: 19%;
}

@media (max-width: 760px) {
  .map-route {
    stroke-width: 5;
  }

  .beginner-map-callout::before {
    left: -15px;
    width: 10px;
    height: 2px;
  }

  .beginner-map-callout small {
    font-size: 7px;
  }

  .beginner-map-callout strong {
    font-size: 14px;
  }

  .beginner-map-callout--bnu { left: 29%; }
  .beginner-map-callout--jiangsu { right: 4%; }
  .beginner-map-callout--shanghai { right: 1%; }
  .beginner-map-callout--pep { left: 18%; }
  .beginner-map-callout--guangzhou { left: 14%; }
}

/* Beginner v7: clean flat map with provinces highlighted in the artwork. */
.beginner-china-map {
  border-color: #dfe7f0;
  background: #fff;
  box-shadow: 0 22px 62px rgba(35, 72, 116, 0.09);
}

.beginner-map-art {
  right: auto;
  left: 6%;
  width: 88%;
  object-fit: fill;
  filter: none;
}

.beginner-map-overlay {
  display: none;
}

.beginner-map-label {
  color: #276cbf;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(35, 72, 116, 0.07);
}

.beginner-map-callout {
  color: var(--ink);
  text-shadow: 0 1px 0 #fff, 0 0 12px rgba(255, 255, 255, 0.96);
}

.beginner-map-callout::before {
  display: none;
}

.beginner-map-callout small {
  color: #718096;
  font-size: 10px;
}

.beginner-map-callout strong {
  font-size: clamp(21px, 2vw, 28px);
}

.beginner-map-callout--bnu {
  top: 27%;
  left: 54%;
}

.beginner-map-callout--bnu strong { color: #1976d2; }

.beginner-map-callout--jiangsu {
  top: 43%;
  right: 17%;
}

.beginner-map-callout--jiangsu strong { color: #159b88; }

.beginner-map-callout--shanghai {
  top: 54%;
  right: 7%;
}

.beginner-map-callout--shanghai strong { color: #e96b5a; }

.beginner-map-callout--pep {
  top: 65%;
  right: 12%;
  left: auto;
}

.beginner-map-callout--pep strong { color: #d99018; }

.beginner-map-callout--guangzhou {
  right: auto;
  bottom: 7%;
  left: 55%;
}

.beginner-map-callout--guangzhou strong { color: #7657c8; }

@media (max-width: 760px) {
  .beginner-map-art {
    left: 2%;
    width: 96%;
  }

  .beginner-map-callout small {
    font-size: 6px;
  }

  .beginner-map-callout strong {
    font-size: 12px;
  }

  .beginner-map-callout--bnu { left: 53%; }
  .beginner-map-callout--jiangsu { right: 13%; }
  .beginner-map-callout--shanghai { right: 2%; }
  .beginner-map-callout--pep { right: 7%; }
  .beginner-map-callout--guangzhou { left: 54%; }
}

/* High stage: three-screen vocabulary support deck */
.high-stage-body {
  background: var(--navy-950);
}

.high-stage-slide {
  min-height: 100svh;
  padding: 52px 72px;
  align-items: flex-start;
}

.high-stage-deck .slide__inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.high-stage__inner {
  min-height: calc(100svh - 104px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.high-stage-slide--exam .high-stage__inner {
  justify-content: center;
  gap: 24px;
}

.high-stage-topline {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a9b7cb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.high-stage-topline .detail-back {
  width: 176px;
  min-height: 40px;
  padding: 0;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  letter-spacing: 0;
}

.high-stage-intro {
  height: 164px;
  display: grid;
  grid-template-columns: minmax(0, 1180px);
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
}

.high-stage-intro--exam {
  height: auto;
  display: block;
}

.exam-skill-list {
  min-height: 84px;
  margin: 0;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  list-style: none;
}

.exam-skill-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exam-skill-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--mint);
}

.exam-skill-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-50%);
}

.high-stage-eyebrow {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 0.08em;
}

.high-stage-eyebrow--orange {
  color: var(--orange);
}

.high-stage-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 3.625vw, 58px);
  line-height: 1.17;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.high-stage-intro > p,
.high-stage-intro > div > p:last-child {
  max-width: 1120px;
  margin: 10px 0 0;
  color: #a9b7cb;
  font-size: 18px;
  line-height: 30px;
}

.stage-badge {
  width: 245px;
  height: 136px;
  padding: 18px 22px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  overflow: hidden;
}

.stage-badge small {
  font-size: 13px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 0.08em;
}

.stage-badge strong {
  font-size: 28px;
  line-height: 42px;
  white-space: nowrap;
}

.stage-badge span {
  font-size: 15px;
  line-height: 30px;
}

.stage-badge--igcse {
  color: #fff;
  background: #119783;
}

.stage-badge--igcse small { color: #b9f1e2; }
.stage-badge--igcse span { color: #d4f6ed; }

.stage-badge--alevel {
  color: var(--navy-950);
  background: var(--orange);
}

.stage-badge--alevel small,
.stage-badge--alevel span {
  color: #68400d;
}

.exam-logo-grid {
  height: 384px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.exam-logo-card {
  min-width: 0;
  height: 384px;
  padding: 28px 28px 24px;
  border-radius: 28px;
  display: grid;
  grid-template-rows: 5px minmax(0, 1fr) 48px;
  align-content: stretch;
  row-gap: 16px;
  overflow: hidden;
  color: var(--navy-950);
  box-shadow: 0 24px 56px -8px rgba(0, 0, 0, 0.22);
}

.exam-logo-card > i {
  width: 52px;
  height: 5px;
  border-radius: 999px;
}

.exam-logo-card__visual {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.exam-logo-card__visual img {
  width: min(86%, 340px);
  height: 154px;
  display: block;
  object-fit: contain;
}

.toefl-wordmark {
  color: #050505;
  font-size: clamp(76px, 6.2vw, 104px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.065em;
}

.exam-logo-card h2 {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: var(--card-accent);
  font-size: 28px;
  font-weight: 800;
  line-height: 48px;
  letter-spacing: 0.04em;
}

.exam-logo-card--det h2 { font-size: 26px; }

.exam-logo-card--toefl { --card-accent: var(--orange); background: #fff7eb; }
.exam-logo-card--toefl > i { background: var(--orange); }
.exam-logo-card--ielts { --card-accent: var(--coral); background: #fff2f0; }
.exam-logo-card--ielts > i { background: var(--coral); }
.exam-logo-card--det { --card-accent: #46ae00; background: #f2ffe9; }
.exam-logo-card--det > i { background: #58cc02; }

.vocabulary-path {
  height: 96px;
  margin: 0;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  list-style: none;
}

.vocabulary-path li {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
}

.vocabulary-path li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 16px;
  color: #a9b7cb;
}

.vocabulary-path small {
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.vocabulary-path li:last-child small {
  color: var(--orange);
}

.coursebook-stage {
  position: relative;
  height: 456px;
  flex: 0 0 456px;
}

.book-fan {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.book-card {
  position: absolute;
  width: min(16.5%, 244px);
  aspect-ratio: 0.79;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transform-origin: center;
}

.book-card > div {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

.book-card img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 24px 42px -8px rgba(0, 0, 0, 0.48);
}

.book-card--outer-left {
  z-index: 1;
  top: 74px;
  left: 27.5%;
  transform: rotate(-12deg);
}

.book-card--outer-right {
  z-index: 1;
  top: 74px;
  left: 59%;
  transform: rotate(12deg);
}

.book-card--inner-left {
  z-index: 2;
  top: 32px;
  left: 38.25%;
  transform: rotate(-5deg);
}

.book-card--inner-right {
  z-index: 3;
  top: 24px;
  left: 48.75%;
  transform: rotate(5deg);
}

.word-cloud {
  position: absolute;
  z-index: 1;
  top: 0;
  width: min(24.73%, 360px);
  height: 456px;
}

.word-cloud--left { left: 0; }
.word-cloud--right { right: 0; width: min(23.08%, 336px); }

.word-cloud span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  color: var(--word-color);
  font-size: var(--size);
  font-weight: 800;
  line-height: 1.25;
  opacity: 0.9;
  transform: rotate(var(--angle));
  white-space: nowrap;
}

.word-cloud span:nth-child(even) {
  font-weight: 500;
}

.high-stage-summary {
  height: 82px;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(255, 255, 255, 0.07);
}

.high-stage-summary strong {
  font-size: 24px;
  line-height: 42px;
}

.high-stage-summary span {
  color: #a9b7cb;
  font-size: 18px;
  line-height: 30px;
}

.high-stage-summary--alevel {
  border-color: rgba(255, 159, 45, 0.36);
  background: rgba(255, 159, 45, 0.13);
}

.high-stage-summary--alevel strong {
  color: var(--orange);
  font-size: 28px;
}

.high-stage-summary--alevel span {
  color: #fff;
}

.knowledge-example-intro h1 span {
  color: var(--mint);
}

.knowledge-example-fan {
  position: relative;
  height: 456px;
  flex: 0 0 456px;
  overflow: hidden;
}

.knowledge-example-card {
  position: absolute;
  width: min(38%, 540px);
  aspect-ratio: 1080 / 625;
  margin: 0;
  border: 6px solid rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.5);
  transform-origin: 50% 90%;
}

.knowledge-example-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.knowledge-example-card--outer-left {
  z-index: 1;
  top: 108px;
  left: 2%;
  transform: rotate(-9deg);
}

.knowledge-example-card--inner-left {
  z-index: 2;
  top: 48px;
  left: 21%;
  transform: rotate(-3deg);
}

.knowledge-example-card--inner-right {
  z-index: 3;
  top: 38px;
  left: 41%;
  transform: rotate(3deg);
}

.knowledge-example-card--outer-right {
  z-index: 1;
  top: 108px;
  left: 60%;
  transform: rotate(9deg);
}

.high-stage-summary--examples {
  border-color: rgba(81, 199, 168, 0.34);
  background: rgba(81, 199, 168, 0.11);
}

.high-stage-summary--examples strong {
  color: var(--mint);
  font-size: 28px;
}

.high-stage-summary--examples span {
  color: #fff;
}

@media (min-width: 761px) and (max-height: 800px) {
  .high-stage-slide {
    padding: 24px 56px;
  }

  .high-stage__inner,
  .high-stage-slide--exam .high-stage__inner {
    min-height: calc(100svh - 48px);
    gap: 12px;
  }

  .high-stage-intro,
  .high-stage-intro--exam {
    height: 128px;
  }

  .high-stage-intro h1 {
    font-size: clamp(40px, 3.3vw, 50px);
  }

  .high-stage-intro > p,
  .high-stage-intro > div > p:last-child {
    margin-top: 4px;
    font-size: 15px;
    line-height: 24px;
  }

  .stage-badge {
    height: 118px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .exam-logo-grid {
    height: 300px;
  }

  .exam-logo-card {
    height: 300px;
    padding: 20px 24px;
    grid-template-rows: 5px 120px 36px 24px 18px;
    row-gap: 8px;
  }

  .exam-logo-card__visual {
    height: 120px;
  }

  .exam-logo-card__visual img {
    height: 104px;
  }

  .exam-logo-card h2 { font-size: 27px; line-height: 36px; }
  .exam-logo-card p { font-size: 15px; line-height: 24px; }
  .exam-logo-card small { font-size: 11px; line-height: 18px; }

  .vocabulary-path {
    height: 76px;
  }

  .coursebook-stage {
    height: 380px;
    flex-basis: 380px;
  }

  .knowledge-example-fan {
    height: 380px;
    flex-basis: 380px;
  }

  .knowledge-example-card {
    width: min(37%, 470px);
  }

  .knowledge-example-card--outer-left,
  .knowledge-example-card--outer-right {
    top: 82px;
  }

  .knowledge-example-card--inner-left,
  .knowledge-example-card--inner-right {
    top: 30px;
  }

  .book-card--outer-left,
  .book-card--outer-right { top: 48px; }
  .book-card--inner-left,
  .book-card--inner-right { top: 22px; }

  .word-cloud {
    height: 380px;
    transform: scale(0.86);
    transform-origin: top left;
  }

  .word-cloud--right {
    transform-origin: top right;
  }

  .high-stage-summary {
    height: 64px;
  }
}

@media (max-width: 1000px) and (min-width: 761px) {
  .high-stage-slide {
    padding-inline: 42px;
  }

  .high-stage-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .high-stage-intro h1 {
    font-size: 40px;
  }

  .word-cloud span {
    font-size: clamp(14px, 2vw, 28px);
  }
}

@media (max-width: 760px) {
  .high-stage-slide {
    min-height: 100svh;
    padding: 28px 22px 44px;
    overflow: hidden;
  }

  .high-stage__inner,
  .high-stage-slide--exam .high-stage__inner {
    min-height: auto;
    gap: 18px;
  }

  .high-stage-topline {
    height: 36px;
    font-size: 10px;
  }

  .high-stage-topline .detail-back {
    width: 154px;
    min-height: 36px;
  }

  .high-stage-topline > span {
    max-width: 118px;
    text-align: right;
  }

  .high-stage-intro,
  .high-stage-intro--exam {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
  }

  .high-stage-intro h1 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.14;
    white-space: normal;
  }

  .high-stage-intro > p,
  .high-stage-intro > div > p:last-child {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.7;
  }

  .exam-skill-list {
    min-height: 118px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    font-size: 15px;
    line-height: 26px;
  }

  .exam-skill-list li {
    justify-content: flex-start;
  }

  .exam-skill-list li:not(:last-child)::after {
    display: none;
  }

  .stage-badge {
    width: 100%;
    height: auto;
    min-height: 92px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .stage-badge small,
  .stage-badge span {
    grid-column: 1;
  }

  .stage-badge strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 22px;
  }

  .exam-logo-grid {
    height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .exam-logo-card {
    height: 280px;
    padding: 22px 24px;
    grid-template-rows: 5px minmax(0, 1fr) 42px;
    row-gap: 10px;
  }

  .exam-logo-card__visual,
  .exam-logo-card__visual img {
    height: 116px;
  }

  .exam-logo-card h2 {
    font-size: 23px;
    line-height: 42px;
  }

  .exam-logo-card--det h2 { font-size: 21px; }

  .toefl-wordmark { font-size: 72px; }

  .vocabulary-path {
    height: auto;
    min-height: 176px;
    padding: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .vocabulary-path li {
    font-size: 16px;
  }

  .vocabulary-path li::after {
    display: none;
  }

  .coursebook-stage {
    height: auto;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .book-fan {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: 280px;
  }

  .book-card {
    width: 38%;
    max-width: none;
    padding: 0;
    border-radius: 8px;
  }

  .book-card > div {
    border-radius: 8px;
  }

  .book-card--outer-left { top: 58px; left: 4%; transform: rotate(-10deg); }
  .book-card--inner-left { top: 24px; left: 21%; transform: rotate(-4deg); }
  .book-card--inner-right { top: 24px; left: 41%; transform: rotate(4deg); }
  .book-card--outer-right { top: 58px; left: 58%; transform: rotate(10deg); }

  .knowledge-example-fan {
    height: 310px;
    flex: none;
    overflow: visible;
  }

  .knowledge-example-card {
    width: 68%;
    max-width: none;
    border-width: 3px;
    border-radius: 12px;
    box-shadow: 0 20px 38px -10px rgba(0, 0, 0, 0.5);
  }

  .knowledge-example-card--outer-left {
    top: 82px;
    left: 0;
    transform: rotate(-8deg);
  }

  .knowledge-example-card--inner-left {
    top: 42px;
    left: 11%;
    transform: rotate(-2.5deg);
  }

  .knowledge-example-card--inner-right {
    top: 30px;
    left: 21%;
    transform: rotate(2.5deg);
  }

  .knowledge-example-card--outer-right {
    top: 82px;
    left: 32%;
    transform: rotate(8deg);
  }

  .word-cloud,
  .word-cloud--right {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 8px 16px;
  }

  .word-cloud--left { order: 1; }
  .word-cloud--right { order: 3; }

  .word-cloud span {
    position: static;
    color: var(--word-color);
    font-size: clamp(14px, 4.8vw, 22px);
    transform: none;
  }

  .high-stage-summary {
    height: auto;
    min-height: 104px;
    padding: 20px 22px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .high-stage-summary strong,
  .high-stage-summary--alevel strong,
  .high-stage-summary--examples strong {
    font-size: 22px;
    line-height: 34px;
  }

  .high-stage-summary span {
    font-size: 14px;
    line-height: 24px;
  }
}

/* Middle stage: two-screen exam and original-reading deck. */
.middle-stage-body {
  background: #eff5ff;
}

.middle-stage-slide {
  min-height: 100svh;
  padding: 44px 64px;
  align-items: flex-start;
}

.middle-stage-deck .slide__inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.middle-stage__inner {
  min-height: calc(100svh - 88px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.middle-stage-topline {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #7b8da7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.middle-stage-topline .detail-back {
  min-height: 40px;
  padding-inline: 18px;
}

.middle-stage-topline--dark {
  color: rgba(255, 255, 255, 0.55);
}

.middle-stage-topline--dark .detail-back {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.middle-stage-intro {
  height: 132px;
  flex: 0 0 132px;
  overflow: hidden;
}

.middle-stage-exams .middle-stage-topline {
  justify-content: flex-start;
}

.middle-stage-exams .middle-stage-intro {
  height: 84px;
  flex: 0 0 84px;
  display: flex;
  align-items: center;
}

.middle-stage-exams .middle-stage-intro h1 {
  font-size: clamp(42px, 3.45vw, 56px);
}

.middle-stage-eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  line-height: 20px;
  letter-spacing: 0.08em;
}

.middle-stage-intro h1 {
  margin: 0;
  font-size: clamp(42px, 3.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.middle-stage-intro > p:last-child {
  margin: 8px 0 0;
  color: #6780a4;
  font-size: 18px;
  line-height: 30px;
}

.middle-exam-scene {
  height: 300px;
  flex: 0 0 300px;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #dbe6f4;
  box-shadow: 0 18px 42px rgba(31, 70, 118, 0.12);
}

.middle-exam-scene img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 44%;
}

.middle-exam-grid {
  min-height: 240px;
  flex: 0 0 240px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.middle-exam-card {
  position: relative;
  min-width: 0;
  min-height: 240px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  gap: clamp(18px, 1.7vw, 28px);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(31, 70, 118, 0.09);
}

.middle-exam-card--ket {
  border-color: rgba(0, 143, 145, 0.24);
  background: #edf9f8;
}

.middle-exam-card--pet {
  border-color: rgba(215, 30, 75, 0.22);
  background: #fff2f5;
}

.middle-exam-card--toefl {
  border-color: rgba(0, 143, 170, 0.24);
  background: #eefafd;
}

.middle-exam-card--interactive {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.middle-exam-card--interactive:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 143, 170, 0.5);
  box-shadow: 0 22px 48px rgba(31, 70, 118, 0.16);
}

.middle-exam-card--interactive:focus-visible {
  outline: 4px solid rgba(0, 143, 170, 0.23);
  outline-offset: 4px;
}

.middle-exam-card__copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.middle-exam-card__edition {
  display: block;
  margin-bottom: 9px;
  color: #008f91;
  font-size: 10px;
  font-weight: 900;
  line-height: 16px;
  letter-spacing: 0.09em;
}

.middle-exam-card--pet .middle-exam-card__edition {
  color: #d71e4b;
}

.middle-exam-card--toefl .middle-exam-card__edition {
  color: #008faa;
}

.middle-exam-card h2,
.middle-exam-card p,
.middle-exam-card span {
  margin: 0;
}

.middle-exam-card .middle-exam-card__action {
  width: fit-content;
  margin-top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #087d97;
  background: rgba(0, 143, 170, 0.09);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.middle-exam-card .middle-exam-card__action span {
  margin: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1;
}

.middle-exam-card h2 {
  display: flex;
  align-items: baseline;
  gap: 13px;
  color: #008f91;
  font-size: clamp(30px, 2.3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.middle-exam-card h2 small {
  font-size: 0.72em;
  font-weight: 900;
}

.middle-exam-card--pet h2 {
  color: #d71e4b;
}

.middle-exam-card--toefl h2 {
  color: #008faa;
}

.middle-exam-card p {
  margin-top: 14px;
  color: #435c81;
  font-size: 16px;
  line-height: 1.55;
}

.middle-exam-card span {
  margin-top: 6px;
  display: block;
  color: #6d809d;
  font-size: 15px;
  line-height: 1.55;
}

.middle-exam-card__cover {
  grid-column: 1;
  grid-row: 1;
  width: clamp(128px, 10vw, 150px);
  height: auto;
  aspect-ratio: 498 / 648;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 9px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(22, 49, 84, 0.2);
}

.middle-exam-skills {
  min-height: 76px;
  flex: 0 0 76px;
  margin: 0;
  padding: 0 26px;
  border: 1px solid rgba(54, 86, 126, 0.13);
  border-radius: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(31, 70, 118, 0.07);
}

.middle-exam-skills > strong {
  color: #5e7190;
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.middle-exam-skills ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.middle-exam-skill {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #33577e;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.middle-exam-skill svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.middle-exam-skill--listening { color: #008f91; }
.middle-exam-skill--speaking { color: #d71e4b; }
.middle-exam-skill--reading { color: #2e71d8; }
.middle-exam-skill--writing { color: #6a61d9; }

html.has-exam-results-dialog {
  overflow: hidden;
}

.toefl-results-dialog {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100svh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  color: #182741;
  background: #f6f9fe;
  box-shadow: 0 34px 90px rgba(7, 24, 50, 0.32);
}

.toefl-results-dialog::backdrop {
  background: rgba(8, 23, 47, 0.72);
  backdrop-filter: blur(8px);
}

.toefl-results-dialog[open] {
  animation: toefl-results-in 220ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.toefl-results-dialog__surface {
  max-height: calc(100svh - 48px);
  padding: 26px;
  overflow: auto;
  overscroll-behavior: contain;
}

.toefl-results-dialog__header {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.toefl-results-dialog__header small {
  color: #008faa;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.toefl-results-dialog__header h2 {
  margin: 5px 0 4px;
  color: #152640;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.toefl-results-dialog__header p {
  margin: 0;
  color: #62748e;
  font-size: 14px;
  line-height: 1.6;
}

.toefl-results-dialog__close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0 0 3px;
  border: 1px solid rgba(42, 72, 108, 0.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #314967;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 70, 118, 0.1);
  font: 300 30px/1 Arial, sans-serif;
  cursor: pointer;
}

.toefl-results-dialog__close:hover,
.toefl-results-dialog__close:focus-visible {
  color: #fff;
  background: #008faa;
  outline: none;
}

.toefl-results-dialog__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.43fr) minmax(260px, 0.77fr);
  align-items: start;
  gap: 18px;
}

.toefl-result {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(43, 75, 114, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(31, 70, 118, 0.09);
}

.toefl-result__image-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #dfe6ef;
}

.toefl-result--certificate .toefl-result__image-frame {
  aspect-ratio: 1826 / 1279;
}

.toefl-result--certificate img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70.04%;
  height: 142.77%;
  display: block;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.toefl-result--report .toefl-result__image-frame {
  aspect-ratio: 1279 / 1654;
}

.toefl-result--report img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ket-results-dialog .toefl-results-dialog__gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ket-result .toefl-result__image-frame {
  aspect-ratio: auto;
}

.ket-result img {
  width: 100%;
  height: auto;
  display: block;
}

.toefl-result figcaption {
  padding: 12px 4px 2px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.toefl-result figcaption strong {
  color: #263c59;
  font-size: 15px;
}

.toefl-result figcaption span {
  color: #8492a6;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: right;
}

@keyframes toefl-results-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .toefl-results-dialog {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
    border-radius: 22px;
  }

  .toefl-results-dialog__surface {
    max-height: calc(100svh - 24px);
    padding: 18px;
  }

  .toefl-results-dialog__header {
    margin-bottom: 16px;
    gap: 12px;
  }

  .toefl-results-dialog__header h2 {
    font-size: 28px;
  }

  .toefl-results-dialog__header p {
    max-width: 260px;
    font-size: 12px;
  }

  .toefl-results-dialog__close {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .toefl-results-dialog__gallery {
    grid-template-columns: 1fr;
  }

  .ket-results-dialog .toefl-results-dialog__gallery {
    grid-template-columns: 1fr;
  }

  .ket-result figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .toefl-result figcaption {
    padding-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .middle-exam-card--interactive,
  .toefl-results-dialog[open] {
    animation: none;
    transition: none;
  }
}

.middle-stage-reading {
  background: var(--navy-950);
}

.middle-stage-reading .middle-stage-intro {
  height: 96px;
  flex-basis: 96px;
  display: flex;
  align-items: center;
}

.middle-stage-intro--reading h1 {
  color: #fff;
  font-size: clamp(48px, 4vw, 62px);
}

.middle-stage-intro--reading h1 em {
  padding: 0.03em 0.16em 0.08em;
  border-radius: 0.2em;
  color: var(--navy-950);
  background: var(--mint);
  box-shadow: 0 10px 28px rgba(81, 199, 168, 0.18);
  font-style: normal;
}

.middle-stage-title-course {
  white-space: nowrap;
}

.middle-book-grid {
  min-height: 0;
  flex: 0 0 min(390px, 46svh);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.middle-book-series {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  isolation: isolate;
}

.middle-book-series::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 20%;
  left: 50%;
  width: 54%;
  height: 42%;
  border: 0;
  border-radius: 50%;
  background: rgba(53, 207, 174, 0.09);
  filter: blur(14px);
  transform: translateX(-50%);
}

.middle-book-series--think::before {
  background: rgba(77, 135, 225, 0.09);
}

.middle-book-series--reading-explorer::before {
  background: rgba(255, 179, 71, 0.08);
}

.middle-book-fan {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: clamp(280px, 24vw, 330px);
  flex: 0 0 auto;
}

.middle-book-series h2 {
  position: relative;
  z-index: 8;
  margin: -5px 0 0;
  color: #fff;
  font-size: clamp(20px, 1.65vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.middle-book-series--power-up h2 { color: #8be6d0; }
.middle-book-series--think h2 { color: #a8c8ff; }
.middle-book-series--reading-explorer h2 { color: #ffd18a; }

.middle-book-fan__cover {
  position: absolute;
  top: 8%;
  width: clamp(116px, 9.4vw, 148px);
  height: auto;
  aspect-ratio: 2 / 3;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 5px;
  display: block;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  transform-origin: 50% 92%;
}

.middle-book-fan__cover--far-left {
  z-index: 1;
  top: 18%;
  left: 4%;
  transform: rotate(-14deg);
}

.middle-book-fan__cover--left {
  z-index: 2;
  top: 10%;
  left: 18%;
  transform: rotate(-8deg);
}

.middle-book-fan__cover--near-left {
  z-index: 3;
  top: 5%;
  left: 30%;
  transform: rotate(-3deg);
}

.middle-book-fan__cover--far-right {
  z-index: 1;
  top: 18%;
  right: 4%;
  transform: rotate(14deg);
}

.middle-book-fan__cover--right {
  z-index: 2;
  top: 10%;
  right: 18%;
  transform: rotate(8deg);
}

.middle-book-fan__cover--front {
  z-index: 6;
  top: 0;
  left: 50%;
  width: clamp(148px, 12vw, 188px);
  transform: translateX(-50%);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.38);
}

.middle-reading-support {
  min-height: 70px;
  flex: 0 0 70px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.middle-reading-support p {
  margin: 0;
}

.middle-reading-support__primary {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.middle-reading-support__primary svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.middle-reading-support__primary strong {
  margin-left: 9px;
  color: var(--mint);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.middle-reading-series-more {
  min-height: 44px;
  flex: 0 0 44px;
  margin: -12px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  white-space: nowrap;
}

.middle-reading-series-more strong {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: inherit;
}

.middle-reading-series-more__dots {
  color: var(--mint);
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.08em;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .middle-stage-slide {
    padding-inline: 42px;
  }

  .middle-exam-card {
    padding: 18px;
    gap: 14px;
  }

  .middle-exam-card__edition {
    margin-bottom: 7px;
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .middle-exam-card h2 {
    font-size: 30px;
  }

  .middle-exam-card p,
  .middle-exam-card span {
    font-size: 13px;
  }

  .middle-exam-card__cover {
    width: 112px;
    height: auto;
  }

  .middle-exam-skills {
    padding-inline: 20px;
    gap: 20px;
  }

  .middle-exam-skill {
    gap: 7px;
    font-size: 14px;
  }

  .middle-exam-skill svg {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .middle-book-fan__cover {
    width: 102px;
  }

  .middle-book-fan__cover--front {
    width: 132px;
  }

  .middle-reading-support {
    padding-inline: 18px;
  }

  .middle-reading-support__primary {
    font-size: 14px;
  }

  .middle-reading-support__primary strong {
    font-size: 23px;
  }

  .middle-reading-series-more {
    gap: 5px;
    font-size: 10px;
  }

  .middle-reading-series-more strong {
    padding: 6px 7px;
  }
}

@media (min-width: 761px) and (max-height: 800px) {
  .middle-stage-slide {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .middle-stage__inner {
    min-height: calc(100svh - 48px);
    gap: 12px;
  }

  .middle-stage-topline {
    height: 36px;
  }

  .middle-stage-topline .detail-back {
    min-height: 36px;
  }

  .middle-stage-intro {
    height: 112px;
    flex-basis: 112px;
  }

  .middle-stage-exams .middle-stage-intro {
    height: 76px;
    flex-basis: 76px;
  }

  .middle-stage-reading .middle-stage-intro {
    height: 76px;
    flex-basis: 76px;
  }

  .middle-stage-intro h1 {
    font-size: 44px;
  }

  .middle-stage-intro > p:last-child {
    margin-top: 3px;
    font-size: 15px;
    line-height: 24px;
  }

  .middle-exam-scene {
    height: 200px;
    flex-basis: 200px;
  }

  .middle-exam-grid {
    min-height: 232px;
    flex-basis: 232px;
  }

  .middle-exam-card {
    min-height: 232px;
    padding: 18px;
  }

  .middle-exam-card__edition {
    margin-bottom: 7px;
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .middle-exam-card h2 {
    font-size: 30px;
  }

  .middle-exam-card p {
    margin-top: 9px;
    font-size: 14px;
  }

  .middle-exam-card span {
    font-size: 13px;
  }

  .middle-exam-card__cover {
    width: 124px;
    height: auto;
  }

  .middle-exam-skills {
    min-height: 72px;
    flex-basis: 72px;
  }

  .middle-book-fan {
    height: 280px;
  }

  .middle-reading-support {
    min-height: 66px;
    flex-basis: 66px;
  }
}

@media (max-width: 760px) {
  .middle-stage-slide {
    min-height: 100svh;
    padding: 28px 22px 44px;
    overflow: hidden;
  }

  .middle-stage__inner {
    min-height: auto;
    gap: 18px;
  }

  .middle-stage-topline {
    height: 36px;
    font-size: 10px;
  }

  .middle-stage-topline .detail-back {
    min-height: 36px;
    padding-inline: 13px;
  }

  .middle-stage-topline > span {
    max-width: 126px;
    text-align: right;
  }

  .middle-stage-intro {
    height: auto;
    flex: none;
    overflow: visible;
  }

  .middle-stage-exams .middle-stage-intro {
    height: auto;
    flex: none;
    display: block;
  }

  .middle-stage-intro h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .middle-stage-intro > p:last-child {
    font-size: 15px;
    line-height: 1.7;
  }

  .middle-exam-scene {
    width: 100%;
    height: auto;
    flex: none;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
  }

  .middle-exam-grid,
  .middle-book-grid {
    min-height: 0;
    flex: none;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .middle-exam-card {
    min-height: 194px;
    padding: 20px;
    border-radius: 22px;
    gap: 16px;
  }

  .middle-exam-card__edition {
    margin-bottom: 6px;
    font-size: 8px;
    line-height: 13px;
    letter-spacing: 0.05em;
  }

  .middle-exam-card h2 {
    gap: 8px;
    font-size: 28px;
  }

  .middle-exam-card p {
    margin-top: 10px;
    font-size: 14px;
  }

  .middle-exam-card span {
    font-size: 13px;
  }

  .middle-exam-card__cover {
    width: 108px;
    height: auto;
  }

  .middle-exam-skills {
    min-height: 0;
    flex: none;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .middle-exam-skills > strong {
    font-size: 12px;
  }

  .middle-exam-skills ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .middle-exam-skill {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    justify-content: flex-start;
    gap: 8px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 14px;
  }

  .middle-exam-skill svg {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .middle-book-series {
    min-height: 308px;
  }

  .middle-book-series::before {
    width: 52%;
    height: 40%;
  }

  .middle-book-fan {
    width: min(100%, 360px);
    height: 276px;
  }

  .middle-book-fan__cover {
    width: 96px;
  }

  .middle-book-fan__cover--front {
    width: 126px;
  }

  .middle-reading-support {
    min-height: 0;
    flex: none;
    padding: 18px;
  }

  .middle-reading-support__primary {
    justify-content: center;
    font-size: 15px;
  }

  .middle-reading-support__primary strong {
    margin-left: 7px;
    font-size: 23px;
  }

  .middle-reading-series-more {
    min-height: 0;
    flex: none;
    margin-top: -10px;
    padding: 2px 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    white-space: normal;
  }

  .middle-reading-series-more strong {
    padding: 7px 9px;
  }
}

/* Beginner v8: national textbook coverage map. */
.beginner-map-slide__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  padding-block: 26px 26px;
}

.beginner-textbooks {
  background: linear-gradient(145deg, #fffaf1 0%, #f2f7fd 100%);
}

.beginner-textbooks::before,
.beginner-textbooks::after {
  display: none;
}

.beginner-map-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.beginner-map-title h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.7vw, 68px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.beginner-map-title p {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #607995;
  background: transparent;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 850;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: none;
}

.beginner-coverage-layout {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.24fr);
  gap: 16px;
}

.beginner-china-map--coverage {
  position: relative;
  width: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce7f1;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(35, 72, 116, 0.09);
}

.beginner-coverage-grades {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.beginner-coverage-grade {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  color: #fff;
  background: #4e7fc2;
  box-shadow: 0 16px 34px rgba(35, 72, 116, 0.13);
}

.beginner-coverage-grade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.86);
}

.beginner-coverage-grade--primary img {
  object-position: 2% 72%;
}

.beginner-coverage-grade--middle img {
  object-position: 52% 56%;
}

.beginner-coverage-grade--high img {
  object-position: 98% 48%;
}

.beginner-coverage-grade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 88, 165, 0.92) 0%, rgba(32, 88, 165, 0.52) 50%, rgba(32, 88, 165, 0.08) 100%);
}

.beginner-coverage-grade--middle::after {
  background: linear-gradient(90deg, rgba(9, 132, 116, 0.94) 0%, rgba(9, 132, 116, 0.5) 50%, rgba(9, 132, 116, 0.08) 100%);
}

.beginner-coverage-grade--high::after {
  background: linear-gradient(90deg, rgba(12, 38, 77, 0.96) 0%, rgba(12, 38, 77, 0.56) 50%, rgba(12, 38, 77, 0.12) 100%);
}

.beginner-coverage-grade span {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: clamp(18px, 1.8vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.beginner-coverage-grade small {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.beginner-coverage-grade strong {
  font-size: clamp(28px, 2.7vw, 42px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(5, 24, 52, 0.2);
}

.beginner-china-map--coverage .beginner-map-art--coverage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.beginner-map-routes {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.beginner-map-route {
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 1 7;
  vector-effect: non-scaling-stroke;
}

.beginner-map-route--bnu { stroke: #c74786; }
.beginner-map-route--renai { stroke: #e9a52c; }
.beginner-map-route--sujiao { stroke: #159b88; }
.beginner-map-route--shanghai { stroke: #ec7463; }
.beginner-map-route--pep { stroke: #5f93c7; }
.beginner-map-route--guangzhou { stroke: #7959cf; }

.beginner-china-map--coverage .beginner-map-labels {
  position: absolute;
  z-index: 3;
  inset: 0;
  max-width: none;
  margin: 0;
  color: inherit;
  text-align: initial;
  font-size: inherit;
  pointer-events: none;
}

.beginner-map-label {
  position: absolute;
  z-index: auto;
  inset: auto;
  display: grid;
  gap: 2px;
  padding: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.08;
}

.beginner-map-label small {
  color: #6f8093;
  font-size: clamp(9px, 0.75vw, 12px);
  font-weight: 750;
  letter-spacing: 0.04em;
}

.beginner-map-label strong {
  font-size: clamp(20px, 1.9vw, 30px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.beginner-map-label--bnu { top: 15%; left: 49%; }
.beginner-map-label--bnu strong { color: #bd3f7b; }
.beginner-map-label--renai {
  top: 65%;
  right: 1.5%;
  width: min(25%, 240px);
  text-align: left;
}

.beginner-map-label--renai small {
  white-space: nowrap;
}
.beginner-map-label--renai strong { color: #ca7d05; }
.beginner-map-label--sujiao { top: 31%; right: 6.5%; }
.beginner-map-label--sujiao strong { color: #118879; }
.beginner-map-label--shanghai { top: 43%; right: 4.5%; }
.beginner-map-label--shanghai strong { color: #e26758; }
.beginner-map-label--pep { top: 61%; left: 4%; }
.beginner-map-label--pep strong { color: #4f82b5; }
.beginner-map-label--guangzhou { right: 20%; bottom: 7%; }
.beginner-map-label--guangzhou strong { color: #7050c6; }

@media (max-width: 900px) {
  .beginner-map-slide__inner {
    padding-block: 28px 26px;
  }

  .beginner-coverage-layout {
    grid-template-columns: minmax(0, 1fr) 190px;
  }
}

@media (max-width: 760px) {
  .beginner-map-slide__inner {
    display: flex;
    gap: 14px;
    padding-block: 22px 24px;
  }

  .beginner-map-title {
    display: flex;
  }

  .beginner-map-title p {
    margin: 0;
    font-size: 14px;
  }

  .beginner-map-title h1 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .beginner-china-map--coverage {
    display: grid;
    min-height: 620px;
    padding-bottom: 204px;
  }

  .beginner-coverage-layout {
    display: flex;
    flex-direction: column;
  }

  .beginner-coverage-grades {
    min-height: 360px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(110px, 1fr));
  }

  .beginner-coverage-grade {
    border-radius: 18px;
  }

  .beginner-coverage-grade strong {
    font-size: 30px;
  }


  .beginner-china-map--coverage .beginner-map-art--coverage {
    bottom: 204px;
    height: calc(100% - 204px);
    object-position: center top;
  }

  .beginner-map-routes {
    display: none;
  }

  .beginner-china-map--coverage .beginner-map-labels {
    inset: auto 14px 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    height: 176px;
  }

  .beginner-map-label {
    position: static;
    width: auto;
    align-content: center;
    min-width: 0;
    padding-left: 11px;
    border-left: 3px solid currentColor;
    text-align: left;
  }

  .beginner-map-label small {
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .beginner-map-label strong {
    font-size: 16px;
  }
}

/* Beginner grades v2: one continuous scene divided into three color-led stages. */
.beginner-grades {
  background: #edf4fb;
}

.beginner-grades::before,
.beginner-grades::after {
  display: none;
}

.beginner-grade-triptych__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 20px;
  padding-block: 38px 32px;
}

.beginner-grade-triptych__title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.7vw, 68px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.beginner-grade-triptych {
  position: relative;
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(62, 99, 145, 0.14);
  border-radius: 30px;
  overflow: hidden;
  background: #dfe8f3;
  box-shadow: 0 24px 64px rgba(35, 72, 116, 0.12);
}

.beginner-grade-triptych > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.beginner-grade-triptych figcaption {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.beginner-grade-panel {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 2.7vw, 40px);
  color: #fff;
  background: linear-gradient(180deg, rgba(43, 101, 184, 0.94) 0%, rgba(43, 101, 184, 0.5) 19%, rgba(43, 101, 184, 0.05) 50%, rgba(20, 52, 101, 0.24) 100%);
}

.beginner-grade-panel + .beginner-grade-panel {
  border-left: 2px solid rgba(255, 255, 255, 0.7);
}

.beginner-grade-panel--middle {
  background: linear-gradient(180deg, rgba(10, 135, 119, 0.95) 0%, rgba(10, 135, 119, 0.52) 19%, rgba(10, 135, 119, 0.06) 50%, rgba(7, 94, 84, 0.27) 100%);
}

.beginner-grade-panel--high {
  background: linear-gradient(180deg, rgba(7, 28, 61, 0.96) 0%, rgba(7, 28, 61, 0.58) 19%, rgba(7, 28, 61, 0.08) 50%, rgba(7, 28, 61, 0.34) 100%);
}

.beginner-grade-panel small {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.beginner-grade-panel h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(4, 24, 52, 0.18);
}

@media (max-width: 760px) {
  .beginner-grade-triptych__inner {
    gap: 14px;
    padding-block: 22px 24px;
  }

  .beginner-grade-triptych__title h2 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .beginner-grade-triptych {
    min-height: 720px;
    border-radius: 22px;
  }

  .beginner-grade-triptych > img {
    object-position: 52% center;
  }

  .beginner-grade-triptych figcaption {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .beginner-grade-panel {
    padding: 20px 22px;
    background: linear-gradient(90deg, rgba(43, 101, 184, 0.94) 0%, rgba(43, 101, 184, 0.48) 44%, rgba(43, 101, 184, 0.08) 100%);
  }

  .beginner-grade-panel + .beginner-grade-panel {
    border-top: 2px solid rgba(255, 255, 255, 0.72);
    border-left: 0;
  }

  .beginner-grade-panel--middle {
    background: linear-gradient(90deg, rgba(10, 135, 119, 0.95) 0%, rgba(10, 135, 119, 0.5) 44%, rgba(10, 135, 119, 0.08) 100%);
  }

  .beginner-grade-panel--high {
    background: linear-gradient(90deg, rgba(7, 28, 61, 0.96) 0%, rgba(7, 28, 61, 0.58) 44%, rgba(7, 28, 61, 0.1) 100%);
  }

  .beginner-grade-panel h3 {
    font-size: 34px;
  }
}

/* Beginner screens 03–04: textbook-aligned words and visual grammar cards. */
.beginner-vocabulary,
.beginner-grammar {
  overflow: hidden;
}

/* Beginner screen 04: spelling practice with playable real-product demos. */
.beginner-spelling {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(72, 173, 235, 0.2), transparent 34%),
    linear-gradient(145deg, #eef8ff 0%, #fff9e9 100%);
}

.beginner-spelling::before,
.beginner-spelling::after {
  display: none;
}

.beginner-spelling__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 3vh, 32px);
  padding-block: 28px 26px;
}

.beginner-spelling__title {
  display: flex;
  align-items: baseline;
  gap: 22px;
}

.beginner-spelling__title p {
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  color: #168b7b;
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 5px 16px rgba(58, 104, 165, 0.08);
}

.beginner-spelling__title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.beginner-spelling__title > span {
  margin-left: auto;
  color: #65809b;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.beginner-spelling__layout {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: clamp(32px, 5vw, 72px);
}

.beginner-spelling__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.beginner-spelling__eyebrow {
  margin: 0 0 18px;
  color: #168b7b;
  font-size: clamp(17px, 1.6vw, 23px);
  font-weight: 900;
  letter-spacing: 0.07em;
}

.beginner-spelling__copy h3 {
  margin: 0;
  color: #102b4e;
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.beginner-spelling__copy ul {
  margin: clamp(26px, 4.5vh, 48px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.beginner-spelling__copy li {
  padding: 0;
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
}

.beginner-spelling__copy li::before {
  content: "✓";
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #159b88;
  background: #e4f7f0;
  font-size: 15px;
  font-weight: 950;
}

.beginner-spelling__copy li strong {
  color: #16375e;
  font-size: clamp(21px, 1.9vw, 28px);
  line-height: 1.25;
}

.beginner-spelling__media {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.beginner-spelling__visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.94);
  border-radius: 30px;
  background: #d9edf9;
  box-shadow: 0 28px 68px rgba(37, 74, 118, 0.19);
}

.beginner-spelling__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.beginner-spelling__video-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beginner-spelling__video-buttons button {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(52, 118, 220, 0.16);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #245d9e;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(37, 74, 118, 0.1);
  transition: 180ms ease;
}

.beginner-spelling__video-buttons button:nth-child(2) {
  color: #117f70;
}

.beginner-spelling__video-buttons button:hover,
.beginner-spelling__video-buttons button:focus-visible {
  border-color: currentColor;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 74, 118, 0.16);
}

.beginner-spelling__video-buttons span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: currentColor;
}

.beginner-spelling__video-buttons span::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}

.beginner-spelling__video-buttons strong {
  font-size: 16px;
  letter-spacing: 0.08em;
}

.beginner-spelling-modal {
  width: min(88vw, 1100px);
  max-width: none;
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 34px 100px rgba(7, 34, 68, 0.34);
}

.beginner-spelling-modal::backdrop {
  background: rgba(6, 25, 50, 0.7);
  backdrop-filter: blur(8px);
}

.beginner-spelling-modal__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.beginner-spelling-modal header {
  min-height: 64px;
  padding: 0 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.beginner-spelling-modal h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
}

.beginner-spelling-modal__close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #587089;
  background: #edf2f7;
  font: inherit;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.beginner-spelling-modal video {
  width: 100%;
  max-height: calc(88vh - 64px);
  display: block;
  background: #081321;
}

@media (max-width: 760px) {
  .beginner-spelling__inner {
    display: flex;
    gap: 18px;
    padding-block: 22px 24px;
  }

  .beginner-spelling__title {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
  }

  .beginner-spelling__title h2 {
    font-size: 48px;
  }

  .beginner-spelling__title > span {
    grid-column: 1 / -1;
    margin: 0;
  }

  .beginner-spelling__layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .beginner-spelling__copy h3 {
    font-size: 40px;
  }

  .beginner-spelling__visual {
    min-height: 560px;
    border-width: 5px;
    border-radius: 22px;
  }

  .beginner-spelling__video-buttons {
    grid-template-columns: 1fr;
  }

  .beginner-spelling-modal {
    width: 94vw;
    border-radius: 18px;
  }
}

.beginner-vocabulary {
  background: linear-gradient(145deg, #f4f8ff 0%, #eaf3ff 100%);
}

.beginner-vocabulary::before,
.beginner-vocabulary::after {
  display: none;
}

.beginner-grammar {
  padding-left: var(--slide-pad-x);
  background: linear-gradient(145deg, #fffdf7 0%, #fff2df 100%);
}

.beginner-sync-slide__inner {
  padding-block: 38px 32px;
}

.beginner-sync-layout {
  min-height: 0;
  display: grid;
  flex: 1;
  align-items: stretch;
  gap: clamp(44px, 6vw, 86px);
}

.beginner-sync-layout--vocabulary {
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
}

.beginner-sync-layout--grammar {
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
}

.beginner-sync-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(44, 82, 128, 0.12);
  border-radius: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(35, 72, 116, 0.12);
}

.beginner-sync-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.beginner-sync-visual--vocabulary {
  padding: 20px;
}

.beginner-sync-visual--vocabulary img {
  object-position: center top;
}

.beginner-sync-visual--grammar {
  padding: 22px;
  border-color: rgba(233, 165, 44, 0.2);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.96) 0 34%, transparent 65%),
    linear-gradient(145deg, #fffdf8 0%, #f5ead9 100%);
  box-shadow: 0 24px 64px rgba(130, 88, 27, 0.12);
}

.beginner-grammar-card-fan {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.beginner-sync-visual .beginner-grammar-card-fan__item,
.beginner-grammar-knowledge-fan .beginner-grammar-card-fan__item {
  position: absolute;
  top: 50%;
  width: 73%;
  height: auto;
  aspect-ratio: 1080 / 608;
  border: 7px solid rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  object-fit: cover;
  transform-origin: 50% 112%;
  box-shadow: 0 24px 55px rgba(42, 57, 78, 0.22);
}

.beginner-grammar-card-fan__item--left {
  z-index: 1;
  left: 1%;
  transform: translateY(-45%) rotate(-11deg);
}

.beginner-grammar-card-fan__item--center {
  z-index: 3;
  left: 13.5%;
  transform: translateY(-52%) rotate(0deg);
}

.beginner-grammar-card-fan__item--right {
  z-index: 2;
  right: 1%;
  transform: translateY(-45%) rotate(11deg);
}

.beginner-sync-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.beginner-sync-kicker {
  margin: 0 0 18px;
  color: #2872c8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.beginner-sync-layout--grammar .beginner-sync-kicker {
  color: #d58418;
}

.beginner-sync-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(58px, 6.8vw, 96px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.beginner-sync-points {
  width: min(100%, 540px);
  margin-top: clamp(42px, 7vh, 76px);
  display: grid;
  gap: 16px;
}

.beginner-sync-points article {
  min-height: 112px;
  padding: 22px 26px;
  border: 1px solid rgba(44, 82, 128, 0.12);
  border-left: 6px solid #3476dc;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(35, 72, 116, 0.07);
}

.beginner-sync-points article:nth-child(2) {
  border-left-color: #159b88;
}

.beginner-sync-layout--grammar .beginner-sync-points article:first-child {
  border-left-color: #e9a52c;
}

.beginner-sync-layout--grammar .beginner-sync-points article:nth-child(2) {
  border-left-color: #ec7463;
}

.beginner-sync-points small {
  color: #7c8fa7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.beginner-sync-points strong {
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

@media (max-width: 900px) and (min-width: 761px) {
  .beginner-sync-layout {
    gap: 30px;
  }

  .beginner-sync-layout--vocabulary {
    grid-template-columns: minmax(290px, 0.85fr) minmax(0, 1.15fr);
  }

  .beginner-sync-layout--grammar {
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  }

  .beginner-sync-copy h2 {
    font-size: 58px;
  }
}

@media (max-width: 760px) {
  .beginner-grammar {
    padding-left: var(--slide-pad-x);
  }

  .beginner-sync-slide__inner {
    padding-block: 22px 24px;
  }

  .beginner-sync-layout,
  .beginner-sync-layout--vocabulary,
  .beginner-sync-layout--grammar {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 24px;
  }

  .beginner-sync-visual {
    flex: none;
    min-height: 430px;
    border-radius: 22px;
  }

  .beginner-sync-visual--vocabulary {
    order: 1;
  }

  .beginner-sync-layout--vocabulary .beginner-sync-copy {
    order: 2;
  }

  .beginner-sync-visual--grammar {
    min-height: 360px;
  }

  .beginner-sync-visual .beginner-grammar-card-fan__item,
  .beginner-grammar-knowledge-fan .beginner-grammar-card-fan__item {
    width: 78%;
    border-width: 4px;
    border-radius: 12px;
  }

  .beginner-grammar-card-fan__item--left {
    left: -4%;
    transform: translateY(-43%) rotate(-9deg);
  }

  .beginner-grammar-card-fan__item--center {
    left: 11%;
  }

  .beginner-grammar-card-fan__item--right {
    right: -4%;
    transform: translateY(-43%) rotate(9deg);
  }

  .beginner-sync-copy h2 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .beginner-sync-points {
    margin-top: 28px;
  }

  .beginner-sync-points article {
    min-height: 88px;
    padding: 17px 18px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .beginner-sync-points strong {
    font-size: 24px;
  }
}

/* Beginner grammar v3: training above, knowledge explanation below. */
.beginner-grammar-showcase__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  padding-block: 26px 24px;
}

.beginner-grammar-showcase__title {
  display: flex;
  align-items: baseline;
  gap: 22px;
}

.beginner-grammar-showcase__title p {
  margin: 0;
  color: #d58418;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.beginner-grammar-showcase__title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.beginner-grammar-showcase {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.beginner-grammar-showcase__row {
  min-width: 0;
  min-height: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  align-items: stretch;
  gap: 24px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.beginner-grammar-showcase__row--knowledge {
  padding-top: 18px;
  border-top: 1px solid #dfe7f1;
  background: transparent;
}

.beginner-grammar-showcase__row > header {
  align-self: center;
  padding-left: 18px;
  border-left: 6px solid #3476dc;
}

.beginner-grammar-showcase__row--knowledge > header {
  border-left-color: #e9a52c;
}

.beginner-grammar-showcase__row small {
  color: #71859f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.beginner-grammar-showcase__row h3 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.beginner-grammar-training-stack,
.beginner-grammar-knowledge-fan {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.beginner-grammar-training-stack__item {
  position: absolute;
  top: 50%;
  width: 48%;
  height: 88%;
  border: 5px solid rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  display: block;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 16px 34px rgba(38, 61, 94, 0.2);
}

.beginner-grammar-training-stack__item--left {
  z-index: 1;
  left: 4%;
  transform: translateY(-48%) rotate(-4deg);
}

.beginner-grammar-training-stack__item--center {
  z-index: 3;
  left: 26%;
  transform: translateY(-50%);
}

.beginner-grammar-training-stack__item--right {
  z-index: 2;
  right: 4%;
  transform: translateY(-48%) rotate(4deg);
}

.beginner-grammar-knowledge-fan .beginner-grammar-card-fan__item {
  top: 50%;
  width: 55%;
  border-width: 5px;
  border-radius: 12px;
  transform-origin: 50% 115%;
}

.beginner-grammar-knowledge-fan .beginner-grammar-card-fan__item--left {
  left: 5%;
  transform: translateY(-43%) rotate(-7deg);
}

.beginner-grammar-knowledge-fan .beginner-grammar-card-fan__item--center {
  left: 22.5%;
  transform: translateY(-50%);
}

.beginner-grammar-knowledge-fan .beginner-grammar-card-fan__item--right {
  right: 5%;
  transform: translateY(-43%) rotate(7deg);
}

@media (max-width: 760px) {
  .beginner-grammar-showcase__inner {
    display: flex;
    gap: 14px;
    padding-block: 22px 24px;
  }

  .beginner-grammar-showcase__title {
    display: block;
  }

  .beginner-grammar-showcase__title p {
    margin-bottom: 8px;
  }

  .beginner-grammar-showcase__title h2 {
    font-size: 48px;
  }

  .beginner-grammar-showcase {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .beginner-grammar-showcase__row {
    min-height: 420px;
    padding: 16px 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    border-radius: 0;
  }

  .beginner-grammar-showcase__row > header {
    align-self: auto;
    padding-left: 12px;
  }

  .beginner-grammar-showcase__row h3 {
    font-size: 30px;
  }

  .beginner-grammar-training-stack__item {
    width: 66%;
    height: 88%;
  }

  .beginner-grammar-training-stack__item--left { left: -2%; }
  .beginner-grammar-training-stack__item--center { left: 17%; }
  .beginner-grammar-training-stack__item--right { right: -2%; }

  .beginner-grammar-knowledge-fan .beginner-grammar-card-fan__item {
    width: 70%;
  }

  .beginner-grammar-knowledge-fan .beginner-grammar-card-fan__item--left { left: -2%; }
  .beginner-grammar-knowledge-fan .beginner-grammar-card-fan__item--center { left: 15%; }
  .beginner-grammar-knowledge-fan .beginner-grammar-card-fan__item--right { right: -2%; }
}

/* Beginner vocabulary v3: word lists above, lesson screens below. */
.beginner-vocabulary-showcase__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding-block: 22px 20px;
}

.beginner-vocabulary-showcase__title {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(52, 118, 220, 0.14);
}

.beginner-vocabulary-showcase__title p {
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  color: #2872c8;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 5px 16px rgba(58, 104, 165, 0.08);
}

.beginner-vocabulary-showcase__title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.beginner-vocabulary-showcase {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 8px;
}

.beginner-vocabulary-showcase__row {
  min-width: 0;
  min-height: 0;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.32fr) minmax(0, 0.68fr);
  align-items: stretch;
  gap: 24px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.beginner-vocabulary-showcase__row--classes {
  padding-top: 12px;
  border-top: 1px solid #dfe7f1;
  background: transparent;
}

.beginner-vocabulary-showcase__row > header {
  position: relative;
  align-self: center;
  padding: 12px 0 12px 24px;
  border-left: 4px solid #3476dc;
}

.beginner-vocabulary-showcase__row > header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -7px;
  width: 10px;
  height: 10px;
  border: 2px solid #f3f7ff;
  border-radius: 50%;
  background: #3476dc;
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(52, 118, 220, 0.12);
}

.beginner-vocabulary-showcase__row--classes > header {
  border-left-color: #159b88;
}

.beginner-vocabulary-showcase__row--classes > header::before {
  background: #159b88;
  box-shadow: 0 0 0 4px rgba(21, 155, 136, 0.12);
}

.beginner-vocabulary-showcase__row small {
  color: #68809f;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.beginner-vocabulary-showcase__row h3 {
  max-width: 250px;
  margin: 9px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.beginner-vocabulary-list-fan,
.beginner-vocabulary-class-fan {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.beginner-vocabulary-list-fan__item,
.beginner-vocabulary-class-fan__item {
  position: absolute;
  top: 50%;
  border: 5px solid rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  display: block;
  object-fit: cover;
  object-position: top center;
  transform-origin: 50% 115%;
  box-shadow: 0 16px 34px rgba(38, 61, 94, 0.2);
}

.beginner-vocabulary-list-fan__item {
  width: 38%;
  height: 94%;
}

.beginner-vocabulary-list-fan__item--left {
  z-index: 1;
  left: 3%;
  transform: translateY(-45%) rotate(-6deg);
}

.beginner-vocabulary-list-fan__item--center {
  z-index: 3;
  left: 31%;
  transform: translateY(-50%);
}

.beginner-vocabulary-list-fan__item--right {
  z-index: 2;
  right: 3%;
  transform: translateY(-45%) rotate(6deg);
}

.beginner-vocabulary-class-fan__item {
  width: 47%;
  height: auto;
  aspect-ratio: 1080 / 666;
  object-fit: contain;
}

.beginner-vocabulary-class-fan__item--left {
  z-index: 1;
  left: 1%;
  transform: translateY(-46%) rotate(-5deg);
}

.beginner-vocabulary-class-fan__item--center {
  z-index: 3;
  left: 26.5%;
  transform: translateY(-50%);
}

.beginner-vocabulary-class-fan__item--right {
  z-index: 2;
  right: 1%;
  transform: translateY(-46%) rotate(5deg);
}

.beginner-vocabulary-showcase__footer {
  min-height: 42px;
  padding: 8px 20px;
  border: 1px solid rgba(44, 114, 189, 0.13);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15365f;
  background: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 850;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 30px rgba(45, 88, 146, 0.08);
  backdrop-filter: blur(10px);
}

.beginner-vocabulary-showcase__footer::before,
.beginner-vocabulary-showcase__footer::after {
  content: "";
  width: min(9vw, 96px);
  height: 1px;
  margin-inline: 22px;
  background: linear-gradient(90deg, transparent, rgba(52, 118, 220, 0.45));
}

.beginner-vocabulary-showcase__footer::after {
  background: linear-gradient(90deg, rgba(21, 155, 136, 0.45), transparent);
}

.beginner-vocabulary-showcase__footer i {
  margin-inline: 4px;
  color: #159b88;
  font-style: normal;
}

@media (max-width: 760px) {
  .beginner-vocabulary-showcase__inner {
    display: flex;
    gap: 14px;
    padding-block: 22px 24px;
  }

  .beginner-vocabulary-showcase__title {
    display: block;
    padding-bottom: 12px;
  }

  .beginner-vocabulary-showcase__title p {
    margin-bottom: 8px;
  }

  .beginner-vocabulary-showcase__title h2 {
    font-size: 48px;
  }

  .beginner-vocabulary-showcase {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .beginner-vocabulary-showcase__row {
    min-height: 420px;
    padding: 16px 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    border-radius: 0;
  }

  .beginner-vocabulary-showcase__row > header {
    align-self: auto;
    padding: 8px 0 8px 16px;
  }

  .beginner-vocabulary-showcase__row h3 {
    max-width: none;
    font-size: 30px;
  }

  .beginner-vocabulary-list-fan__item {
    width: 48%;
  }

  .beginner-vocabulary-list-fan__item--left { left: -2%; }
  .beginner-vocabulary-list-fan__item--center { left: 26%; }
  .beginner-vocabulary-list-fan__item--right { right: -2%; }

  .beginner-vocabulary-class-fan__item {
    width: 62%;
    height: auto;
  }

  .beginner-vocabulary-class-fan__item--left { left: -4%; }
  .beginner-vocabulary-class-fan__item--center { left: 19%; }
  .beginner-vocabulary-class-fan__item--right { right: -4%; }

  .beginner-vocabulary-showcase__footer {
    flex: none;
    min-height: 46px;
    font-size: 18px;
    letter-spacing: 0.04em;
  }

  .beginner-vocabulary-showcase__footer::before,
  .beginner-vocabulary-showcase__footer::after {
    width: 22px;
    margin-inline: 10px;
  }
}
