@font-face {
  font-family: "Salsa";
  src: url("../fonts/salsa-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --navy: #263766;
  --navy-dark: #18254d;
  --blue: #4b86c6;
  --coral: #ea68a8;
  --coral-dark: #d94c91;
  --yellow: #f2bd3e;
  --pink: #fff0f8;
  --soft: #fff9fc;
  --green: #188a62;
  --ink: #363636;
  --muted: #6b6f7b;
  --white: #fff;
  --line: #e8e8ee;
  --shadow: 0 18px 50px rgba(44, 64, 115, 0.13);
  --radius: 20px;
  --container: 1180px;
}

/* BrainUpKids master brand lockup and shared navigation */
.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-site-header {
  position: sticky;
  z-index: 95;
  top: 0;
  border-bottom: 1px solid rgba(38, 55, 102, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 26px rgba(38, 55, 102, 0.07);
  backdrop-filter: blur(12px);
}

.brand-site-header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand-logo-link .brand-logo {
  width: 230px;
}

.brand-site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.brand-site-nav a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.brand-site-nav a:hover {
  color: var(--coral-dark);
}

.brand-header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff;
  background: var(--coral-dark);
  box-shadow: 0 9px 20px rgba(217, 76, 145, 0.2);
  font-family: "Salsa", cursive;
  text-decoration: none;
  white-space: nowrap;
}

h1,
h2,
h3,
.section-title,
.course-heading h2 {
  text-wrap: balance;
}

p,
li,
blockquote {
  text-wrap: pretty;
}

.footer-brand-lockup {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.brand-logo-footer {
  width: 210px;
  padding: 6px 8px;
  border-radius: 9px;
  background: #fff;
}

.thank-you-topbar > a .brand-logo {
  width: 215px;
}

.thank-you-topbar > a {
  gap: 5px;
}

.thank-you-topbar > a span {
  padding-left: 8px;
  color: #68718a;
}

.thank-you-conversion-page {
  color: #313a56;
  background: #f6f8fd;
}

.thank-you-confirmation,
.thank-you-community,
.thank-you-recommendations {
  border-color: #dce3f2;
}

.thank-you-confirmation h1,
.thank-you-section-heading h2,
.private-offer-copy h2 {
  color: var(--navy);
}

.confirmation-icon {
  background: var(--blue);
}

@media (max-width: 820px) {
  .brand-site-header-inner {
    gap: 16px;
  }

  .brand-site-nav {
    display: none;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 84px;
  }

  .brand-site-header-inner {
    min-height: 72px;
  }

  .brand-logo-link .brand-logo {
    width: 176px;
  }

  .brand-header-cta {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 12px;
  }

  .thank-you-topbar > a .brand-logo {
    width: 180px;
  }

  .footer-brand-lockup {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .brand-logo-footer {
    width: 205px;
  }
}

@media (max-width: 420px) {
  .brand-logo-link .brand-logo {
    width: 152px;
  }

  .brand-header-cta {
    padding-inline: 11px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: "Mulish", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input {
  font-family: "Mulish", sans-serif;
}

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

a {
  color: inherit;
}

button,
input {
  font-size: inherit;
}

button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(250, 179, 25, 0.85);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.hero {
  min-height: 805px;
  padding: 72px 0 112px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(250, 179, 25, 0.13), transparent 19%),
    radial-gradient(circle at 6% 82%, rgba(255, 102, 102, 0.08), transparent 23%),
    #fff;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: var(--coral);
  -webkit-mask: url("../images/scallop-wave.svg") center / cover no-repeat;
  mask: url("../images/scallop-wave.svg") center / cover no-repeat;
  transform: scaleY(-1);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  grid-template-areas:
    "copy visual"
    "details visual";
  align-items: start;
  column-gap: 72px;
  row-gap: 45px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
  grid-area: copy;
}

.hero-details {
  grid-area: details;
}

.script,
h1,
h2,
h3,
.highlight-stroke,
.offer-line strong,
.button {
  font-family: "Salsa", cursive;
  font-weight: 400;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(25px, 2.5vw, 38px);
  line-height: 1.2;
}

h1 {
  max-width: 690px;
  margin: 0;
  color: var(--coral);
  font-size: clamp(42px, 3.55vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.highlight-stroke {
  display: inline-block;
  margin: 35px 0 26px;
  padding: 9px 24px 13px;
  color: var(--white);
  background: var(--yellow);
  font-size: clamp(30px, 3.4vw, 49px);
  line-height: 1;
  transform: rotate(-1.5deg);
  clip-path: polygon(1% 7%, 100% 0, 97% 94%, 0 100%);
}

.hero-arrow {
  position: absolute;
  right: -48px;
  bottom: 8px;
  width: 112px;
  height: 71px;
  object-fit: contain;
}

.hero-description {
  max-width: 650px;
  margin: 0;
  color: #4b4d55;
  font-size: 17px;
  line-height: 1.85;
}

.offer-line {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 28px;
  padding-left: 18px;
  border-left: 5px solid var(--yellow);
  color: var(--navy);
}

.offer-line span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.offer-line strong {
  color: var(--coral-dark);
  font-size: 30px;
  line-height: 1.35;
}

.hero-actions,
.section-cta,
.carousel-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 11px 25px rgba(239, 78, 87, 0.25);
}

.button-primary:hover {
  background: var(--coral-dark);
  box-shadow: 0 14px 30px rgba(239, 78, 87, 0.32);
}

.button-secondary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 11px 25px rgba(44, 64, 115, 0.2);
}

.button-secondary:hover {
  background: var(--navy-dark);
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row span {
  padding: 6px 12px;
  border: 1px solid #e7e9f0;
  border-radius: 999px;
  color: var(--navy);
  background: #fafbff;
  font-size: 12px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  grid-area: visual;
  margin-top: 24px;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 5px solid var(--navy-dark);
  border-radius: 13px;
  box-shadow: 0 17px 35px rgba(21, 27, 57, 0.3);
}

.hero-video-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.hero-video-trigger:hover img {
  filter: brightness(0.92);
}

.video-watch-badge {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  color: var(--white);
  background: rgba(30, 43, 82, 0.92);
  box-shadow: 0 12px 30px rgba(19, 25, 50, 0.28);
}

.video-watch-badge small,
.video-watch-badge strong {
  display: block;
}

.video-watch-badge small {
  color: #ffe079;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-watch-badge strong {
  font-family: "Salsa", cursive;
  font-size: 17px;
  font-weight: 400;
}

.coral-section {
  color: var(--white);
  background: var(--coral);
}

.why-section {
  padding-top: 78px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker.light {
  color: #fff0bb;
}

.section-title {
  max-width: 720px;
  margin: 0 0 38px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 53px);
  line-height: 1.17;
  letter-spacing: -0.02em;
}

.section-title.light {
  color: var(--white);
}

.section-title.coral,
.coral {
  color: var(--coral);
}

.why-section > .container > .section-kicker,
.why-section > .container > .section-title {
  margin-inline: auto;
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  min-height: 315px;
  padding: 28px 25px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 17px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 0 rgba(44, 64, 115, 0.13);
  text-align: center;
}

.benefit-card:nth-child(even) {
  transform: translateY(18px);
}

.benefit-card img {
  width: auto;
  height: 90px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.benefit-card h3 {
  margin: 10px 0 8px;
  color: var(--navy);
  font-size: 21px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.section-cta {
  justify-content: space-between;
  margin-top: 64px;
  padding: 22px 27px;
  border-radius: 13px;
}

.dark-cta {
  background: var(--navy);
}

.section-cta p,
.section-cta strong {
  margin: 0;
}

.section-cta p {
  color: #dfe5fb;
  font-size: 14px;
}

.section-cta strong {
  color: #fff5a8;
  font-family: "Salsa", cursive;
  font-size: 24px;
  font-weight: 400;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.illustration-column {
  position: relative;
  padding: 28px;
}

.illustration-column::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 45% 55% 48% 52% / 57% 42% 58% 43%;
  background: var(--pink);
}

.illustration-column img {
  position: relative;
  z-index: 1;
}

.step-list {
  display: grid;
  gap: 16px;
}

.step-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 17px;
  align-items: center;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  box-shadow: 0 8px 25px rgba(44, 64, 115, 0.06);
}

.step-number {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font-family: "Salsa", cursive;
  font-size: 19px;
}

.step-item:nth-child(even) .step-number {
  background: var(--navy);
}

.step-item h3 {
  margin: 0 0 2px;
  color: var(--navy);
  font-size: 19px;
}

.step-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.soft-section {
  background: var(--soft);
}

.center-heading {
  text-align: center;
}

.center-heading .section-title {
  margin-inline: auto;
}

.center-heading.narrow {
  max-width: 720px;
  margin-inline: auto;
}

.center-heading.narrow p:last-child {
  margin-top: -23px;
  color: var(--muted);
}

.module-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.module-cards {
  display: grid;
  gap: 16px;
}

.module-card {
  position: relative;
  padding: 25px 28px 24px 106px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 76px;
  background: var(--coral);
}

.module-card.gamma::before {
  background: var(--yellow);
}

.module-card.beta::before {
  background: var(--navy);
}

.module-card span {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.module-card h3 {
  margin: 2px 0 5px;
  color: var(--navy);
  font-size: 23px;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.module-child {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.batch-section {
  overflow: hidden;
}

.batch-section::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -110px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 102, 102, 0.08);
}

.pricing-grid {
  display: grid;
  max-width: 930px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  margin: 52px auto 0;
}

.flash-offer {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr auto auto auto;
  align-items: center;
  gap: 28px;
  margin: 38px 0 48px;
  padding: 24px 28px;
  border: 2px solid var(--yellow);
  border-radius: 18px;
  color: var(--white);
  background: var(--navy-dark);
  box-shadow: 0 20px 48px rgba(30, 43, 82, 0.2);
  overflow: hidden;
}

.flash-offer.waiting {
  border-color: rgba(255, 255, 255, 0.28);
}

.flash-copy,
.flash-code-wrap,
.flash-timer-wrap,
.flash-offer .button {
  position: relative;
  z-index: 1;
}

.flash-label,
.flash-code-wrap small,
.flash-timer-wrap small {
  color: #ffe079;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.flash-copy strong {
  display: block;
  margin-top: 2px;
  font-family: "Salsa", cursive;
  font-size: 27px;
  font-weight: 400;
}

.flash-copy p {
  margin: 2px 0 0;
  color: #cbd2e8;
  font-size: 12px;
}

.flash-code-wrap,
.flash-timer-wrap {
  min-width: 130px;
  padding: 10px 15px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  text-align: center;
}

.flash-code-wrap b,
.flash-timer-wrap strong {
  display: block;
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 21px;
  letter-spacing: 0.04em;
}

.button-dark {
  color: var(--navy-dark);
  background: var(--yellow);
}

.button-dark:hover {
  background: #ffd064;
  transform: translateY(-2px);
}

.button-dark:disabled {
  color: #828799;
  background: #e1e4ed;
  cursor: wait;
  transform: none;
}

.flash-offer .button.auto-applied:disabled {
  color: var(--navy-dark);
  background: var(--yellow);
  cursor: default;
  opacity: 1;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  padding: 40px;
  border: 2px solid #e7e9f0;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(44, 64, 115, 0.08);
}

.price-card.featured {
  border-color: var(--coral);
  background: linear-gradient(180deg, #fff8f8, #fff);
  box-shadow: 0 22px 60px rgba(239, 78, 87, 0.16);
  transform: translateY(-12px);
}

.popular-badge {
  position: absolute;
  top: -17px;
  right: 28px;
  padding: 7px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-tag {
  margin: 0 0 4px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 34px;
}

.price {
  margin-top: 15px;
  color: var(--navy-dark);
  font-family: "Salsa", cursive;
  font-size: 58px;
  line-height: 1.1;
}

.price span {
  margin-right: 3px;
  font-size: 28px;
  vertical-align: 18px;
}

.price-subtitle {
  margin: 3px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.price-card ul {
  display: grid;
  flex: 1;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 27px;
  color: #4f5360;
  font-size: 14px;
}

.price-card li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.price-card .button {
  width: 100%;
}

.batch-difference-strip {
  display: grid;
  max-width: 960px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 32px auto 0;
  overflow: hidden;
  border: 1px solid #e3e6ef;
  border-radius: 18px;
  background: #e3e6ef;
  box-shadow: 0 12px 32px rgba(44, 64, 115, 0.08);
}

.batch-difference-strip > div {
  padding: 22px 24px;
  background: var(--white);
}

.batch-difference-strip span {
  display: block;
  margin-bottom: 4px;
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.batch-difference-strip strong {
  color: var(--navy);
  font-family: "Salsa", cursive;
  font-size: 21px;
  font-weight: 400;
}

.batch-difference-strip p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.coupon-callout {
  width: fit-content;
  margin: 24px auto 0;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--navy);
  background: #fff6cc;
  font-size: 13px;
  font-weight: 700;
}

.carousel {
  position: relative;
}

.carousel-track {
  display: grid;
  grid-auto-columns: minmax(300px, 40%);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 26px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--coral) #f0e5e5;
  scrollbar-width: thin;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: var(--coral);
}

.sample-card,
.worksheet-card {
  margin: 0;
  padding: 13px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(44, 64, 115, 0.1);
  scroll-snap-align: start;
}

.sample-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.sample-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 2.9;
  border-radius: 11px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.sample-zoom-trigger:hover img {
  transform: scale(1.025);
}

.sample-zoom-trigger:focus-visible {
  outline: 4px solid rgba(229, 75, 82, 0.3);
  outline-offset: 3px;
}

.sample-zoom-trigger span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--white);
  background: rgba(30, 43, 82, 0.92);
  box-shadow: 0 6px 16px rgba(30, 43, 82, 0.24);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sample-card figcaption,
.worksheet-card figcaption {
  padding: 9px 3px 1px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.carousel-actions {
  justify-content: flex-end;
  margin-top: 15px;
}

.carousel-actions button {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.carousel-actions button:hover {
  background: var(--coral);
}

.worksheet-heading {
  margin-top: 82px;
}

.worksheets-track {
  grid-auto-columns: minmax(250px, 28%);
}

.worksheet-card img {
  width: 100%;
  aspect-ratio: 0.71;
  border: 1px solid #eee;
  border-radius: 9px;
  object-fit: cover;
  object-position: top;
}

.gift-section {
  overflow: hidden;
}

.gift-grid {
  display: grid;
  min-height: 580px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.gift-copy {
  position: relative;
  z-index: 1;
}

.gift-benefits {
  display: grid;
  gap: 17px;
}

.gift-benefits article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border-radius: 14px;
  background: #fff8f5;
}

.gift-benefits img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.gift-benefits h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
}

.gift-benefits p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.gift-child {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: bottom;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.story-grid blockquote {
  margin: 0;
  padding: 25px 0 25px 28px;
  border-left: 5px solid var(--yellow);
  color: var(--white);
  font-family: "Salsa", cursive;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.42;
}

.quote-author {
  margin: 15px 0 0 32px;
  color: #ffe3e3;
  font-size: 14px;
  font-weight: 700;
}

.story-grid img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

.review-heading {
  margin-top: 55px;
  text-align: center;
}

.review-heading h3 {
  margin: 4px 0 8px;
  color: var(--white);
  font-size: 31px;
}

.review-notice {
  width: fit-content;
  margin: 13px auto 0;
  padding: 6px 11px;
  border-radius: 999px;
  color: #7e3d12;
  background: #ffe8a5;
  font-size: 10px;
  font-weight: 800;
}

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

.review-card {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 13px 35px rgba(106, 42, 48, 0.15);
}

.review-mark {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  color: #a12d35;
  background: #ffe5e6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-card blockquote {
  margin: 18px 0;
  color: #41444e;
  font-family: "Salsa", cursive;
  font-size: 19px;
  line-height: 1.55;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.proof-offer-section {
  background: #fffaf6;
}

.student-video-gallery {
  display: grid;
  max-width: 1180px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin: 46px auto 0;
}

.proof-offer-grid {
  display: grid;
  max-width: 1120px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: stretch;
  gap: 28px;
  margin: 46px auto 0;
}

.proof-offer-grid.offer-only {
  grid-template-columns: 1fr;
}

.student-video-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(44, 64, 115, 0.1);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(44, 64, 115, 0.13);
}

.student-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-dark);
}

.student-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.student-video-caption {
  flex: 1;
  padding: 24px 26px 26px;
}

.student-video-caption span {
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.student-video-caption strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-family: "Salsa", cursive;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
}

.student-video-caption p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.proof-offer-grid .flash-offer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 18px;
  min-height: 100%;
  margin: 0;
  padding: 28px;
}

.proof-offer-grid .flash-copy,
.proof-offer-grid .flash-offer .button {
  grid-column: 1 / -1;
}

.proof-offer-grid.offer-only .flash-offer {
  width: min(100%, 720px);
  margin-inline: auto;
}

.proof-offer-grid .flash-copy strong {
  margin-top: 6px;
  font-size: 32px;
  line-height: 1.22;
}

.proof-offer-grid .flash-copy p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
}

.proof-offer-grid .flash-code-wrap,
.proof-offer-grid .flash-timer-wrap {
  min-width: 0;
}

.sample-lightbox {
  position: fixed;
  z-index: 320;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

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

.sample-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(18, 25, 49, 0.9);
  cursor: zoom-out;
}

.sample-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  max-height: calc(100vh - 44px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  color: var(--white);
  background: var(--navy-dark);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.sample-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.sample-lightbox-header small {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sample-lightbox-header h2 {
  margin: 0;
  color: var(--white);
  font-size: 25px;
}

.sample-lightbox-header button,
.sample-zoom-controls button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.sample-lightbox-header button:hover,
.sample-zoom-controls button:hover {
  border-color: var(--yellow);
  color: var(--navy-dark);
  background: var(--yellow);
}

.sample-zoom-controls {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-bottom: 12px;
}

.sample-zoom-controls button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.sample-lightbox-viewport {
  display: grid;
  max-height: calc(100vh - 235px);
  place-items: start center;
  overflow: auto;
  border-radius: 12px;
  background: #f7f2ed;
  overscroll-behavior: contain;
}

.sample-lightbox-viewport img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin-inline: auto;
}

.sample-lightbox-dialog > p {
  margin: 10px 0 0;
  color: #cbd2e8;
  font-size: 11px;
  text-align: center;
}

.modal-open {
  overflow: hidden;
}

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

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

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 25, 49, 0.86);
}

.video-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  color: var(--white);
  background: var(--navy-dark);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.video-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.video-dialog-header small {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-dialog-header h2 {
  margin: 0;
  color: var(--white);
  font-size: 27px;
}

.video-dialog-header button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #0b1021;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-link {
  display: inline-block;
  margin-top: 12px;
  color: #ffe079;
  font-size: 12px;
  font-weight: 800;
}

.enroll-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)),
    url("../images/form-bg.png") center/cover;
}

.enroll-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 75px;
}

.enroll-intro {
  position: sticky;
  top: 30px;
}

.enroll-intro > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 16px;
}

.support-note {
  display: grid;
  gap: 7px;
  margin-top: 30px;
  padding: 23px;
  border-radius: 16px;
  color: var(--white);
  background: var(--navy);
}

.support-note strong {
  color: #ffe06e;
  font-family: "Salsa", cursive;
  font-size: 20px;
  font-weight: 400;
}

.support-note span {
  padding-left: 17px;
  position: relative;
  font-size: 14px;
}

.support-note span::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.enrollment-form {
  padding: 38px;
  border: 1px solid #ececf2;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-alert {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
}

.form-alert.error {
  color: #8a2027;
  background: #ffe7e8;
}

.form-alert.success {
  color: #126244;
  background: #e6f7ef;
}

.batch-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.handwriting-style-fieldset {
  margin-bottom: 26px;
}

.handwriting-style-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.handwriting-style-option {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 112px;
  padding: 15px;
  border: 2px solid #e7e9f0;
  border-radius: 13px;
  cursor: pointer;
  background: #fff;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.handwriting-style-option:hover {
  transform: translateY(-2px);
}

.handwriting-style-option.selected {
  border-color: var(--navy);
  background: #f4f6fd;
  box-shadow: 0 9px 22px rgba(30, 50, 105, 0.1);
}

.handwriting-style-option.both-style.selected {
  border-color: var(--coral);
  background: #fff5f5;
}

.handwriting-style-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--coral);
}

.handwriting-style-option span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.handwriting-style-option strong {
  color: var(--navy);
  font-size: 15px;
}

.handwriting-style-option small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.handwriting-style-option > b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: transparent;
  background: #edf0f6;
  font-size: 12px;
}

.handwriting-style-option.selected > b {
  color: #fff;
  background: var(--navy);
}

.handwriting-style-option em {
  padding: 6px 8px;
  border-radius: 99px;
  color: #8a3f34;
  background: #ffe0dc;
  font-family: "Salsa", cursive;
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
}

.batch-fieldset legend,
.form-step-title {
  width: 100%;
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-step-title {
  margin-top: 28px;
}

.form-step-title span {
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
}

.batch-option {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  padding: 16px 18px;
  border: 2px solid #e7e9f0;
  border-radius: 13px;
  cursor: pointer;
  transition: border 160ms ease, background 160ms ease;
}

.batch-option.selected {
  border-color: var(--navy);
  background: #f4f6fd;
}

.batch-option.special-option.selected {
  border-color: var(--coral);
  background: #fff5f5;
}

.batch-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--coral);
}

.batch-option span {
  display: flex;
  flex-direction: column;
}

.batch-option strong,
.batch-option b {
  color: var(--navy);
  font-size: 15px;
}

.batch-option small {
  color: var(--muted);
  font-size: 12px;
}

.batch-option b {
  font-family: "Salsa", cursive;
  font-size: 19px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field > span {
  color: #464956;
  font-size: 12px;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #dfe1e8;
  border-radius: 9px;
  color: var(--ink);
  background: #fbfbfd;
}

.field input:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(44, 64, 115, 0.1);
  outline: none;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.coupon-row .button {
  min-height: 49px;
  padding-inline: 19px;
}

.coupon-message {
  min-height: 22px;
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.coupon-message.success {
  color: var(--green);
}

.coupon-message.error {
  color: var(--coral-dark);
}

.price-summary {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 17px 18px;
  border-radius: 13px;
  background: #f6f7fb;
}

.price-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.price-summary strong {
  color: var(--navy);
}

.price-summary #discount-amount {
  color: var(--green);
}

.price-summary .total-row {
  margin-top: 5px;
  padding-top: 10px;
  border-top: 1px dashed #cfd2dc;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.price-summary .total-row strong {
  color: var(--coral-dark);
  font-family: "Salsa", cursive;
  font-size: 24px;
  font-weight: 400;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 18px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--coral);
}

.submit-button {
  width: 100%;
}

.form-footnote {
  margin: 10px 0 0;
  color: #888b94;
  font-size: 10px;
  text-align: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.related-programs {
  background: #fff;
}

.related-program-grid {
  display: grid;
  max-width: 960px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 40px auto 0;
}

.related-program-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 240px;
  align-content: end;
  overflow: hidden;
  padding: 30px;
  border-radius: 22px;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(44, 64, 115, 0.17);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-program-card::before {
  content: "";
  position: absolute;
  top: -44px;
  right: -28px;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.related-program-card:hover {
  box-shadow: 0 22px 55px rgba(44, 64, 115, 0.23);
  transform: translateY(-4px);
}

.related-program-card.ai-card {
  background: linear-gradient(145deg, #34206f, #6754d9);
}

.related-program-card.maths-card {
  background: linear-gradient(145deg, #0d6c6f, #17a58c);
}

.related-program-card span {
  position: relative;
  z-index: 1;
  color: #fff0a8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-program-card strong {
  position: relative;
  z-index: 1;
  font-family: "Salsa", cursive;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.related-program-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.55;
}

.related-program-card b {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: var(--white);
  font-size: 12px;
}

.tracking-pixel,
.tracking-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
}

.faq-wrap {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 11px;
}

.faq-list details {
  border: 1px solid #e6e7ed;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(44, 64, 115, 0.05);
}

.faq-list summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--coral);
  font-family: "Salsa", cursive;
  font-size: 24px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 48px 0 18px;
  color: #e7eafd;
  background: var(--navy-dark);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px;
}

.footer-grid strong {
  color: var(--white);
  font-family: "Salsa", cursive;
  font-size: 25px;
  font-weight: 400;
}

.footer-grid p {
  margin: 4px 0;
  color: #acb5d7;
  font-size: 13px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-grid nav a {
  color: #d9def0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: #ffe06e;
}

.copyright {
  width: min(calc(100% - 40px), var(--container));
  margin: 36px auto 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8993b8;
  font-size: 11px;
  text-align: center;
}

.mobile-enroll-bar {
  display: none;
}

.thank-you-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
  background: var(--pink);
}

.thank-you-card {
  width: min(100%, 700px);
  padding: 46px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you-card h1 {
  color: var(--navy);
  font-size: 44px;
}

.thank-you-card p {
  color: var(--muted);
}

.reference-box {
  margin: 24px 0;
  padding: 13px;
  border: 1px dashed var(--navy);
  border-radius: 10px;
  color: var(--navy);
  background: #f6f7fb;
  font-weight: 800;
}

.payment-status {
  margin: 18px 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.payment-status.success {
  color: #146046;
  background: #e4f5ed;
}

.payment-status.warning {
  color: #765006;
  background: #fff1c2;
}

.community-invite {
  margin: 28px 0;
  padding: 25px;
  border: 1px solid #cdebd8;
  border-radius: 18px;
  background: linear-gradient(145deg, #f2fff7, #ffffff);
}

.community-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #1fa855;
  font-size: 12px;
  font-weight: 900;
}

.community-invite h2 {
  margin: 10px 0 5px;
  color: var(--navy);
  font-size: 25px;
}

.community-invite > p {
  margin: 0;
  line-height: 1.6;
}

.community-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.button-whatsapp {
  color: var(--white);
  background: #168d47;
}

.button-whatsapp:hover {
  background: #0f7338;
  transform: translateY(-2px);
}

.button-whatsapp-outline {
  border: 2px solid #168d47;
  color: #126f39;
  background: var(--white);
}

.button-whatsapp-outline:hover {
  color: var(--white);
  background: #168d47;
  transform: translateY(-2px);
}

.community-invite .community-pending {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #4f6558;
  background: #e7f7ed;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 0.88fr;
    gap: 40px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .module-layout,
  .gift-grid,
  .story-grid,
  .enroll-grid {
    gap: 42px;
  }

  .price-card {
    padding: 32px;
  }

  .flash-offer {
    grid-template-columns: 1fr auto auto;
  }

  .flash-offer .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .proof-offer-grid {
    grid-template-columns: 1fr;
  }

  .proof-offer-grid .flash-offer {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid,
  .split-layout,
  .module-layout,
  .gift-grid,
  .story-grid,
  .enroll-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-areas:
      "copy"
      "visual"
      "details";
    gap: 52px;
  }

  .hero-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .illustration-column {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .module-child,
  .gift-child,
  .story-grid img {
    max-width: 560px;
    margin-inline: auto;
  }

  .enroll-intro {
    position: static;
  }

  .carousel-track {
    grid-auto-columns: minmax(280px, 68%);
  }

  .worksheets-track {
    grid-auto-columns: minmax(230px, 43%);
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .related-program-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 70px;
  }

  .thank-you-page {
    padding: 14px 12px 84px;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 0;
    padding: 0 0 105px;
  }

  .hero::after {
    bottom: 0;
    height: 105px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-visual {
    margin-top: 0;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    font-size: 26px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .highlight-stroke {
    display: block;
    width: 100%;
    margin: 25px 0 21px;
    padding: 16px 17px 18px;
    font-size: 31px;
    text-align: center;
  }

  .hero-arrow {
    position: static;
    width: 92px;
    height: auto;
    margin: 3px auto -22px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
  }

  .offer-line strong {
    font-size: 25px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .video-watch-badge {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 10px 12px;
  }

  .video-watch-badge strong {
    font-size: 14px;
  }

  .trust-row {
    gap: 7px;
  }

  .trust-row span {
    font-size: 10px;
  }

  .section-title {
    margin-bottom: 28px;
    font-size: 34px;
  }

  .benefit-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card:nth-child(even) {
    transform: none;
  }

  .section-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .section-cta .button {
    width: 100%;
  }

  .step-item {
    grid-template-columns: 50px 1fr;
    padding: 14px;
  }

  .step-number {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  .module-card {
    padding: 22px 20px 22px 74px;
  }

  .module-card::before {
    width: 52px;
  }

  .price-card,
  .price-card.featured {
    min-height: 0;
    padding: 30px 25px;
    transform: none;
  }

  .pricing-grid {
    gap: 32px;
  }

  .price-card li {
    line-height: 1.55;
  }

  .batch-difference-strip {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .coupon-callout {
    border-radius: 12px;
    text-align: center;
  }

  .flash-offer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 18px;
    text-align: center;
  }

  .proof-offer-grid .flash-offer {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .flash-copy strong {
    font-size: 24px;
  }

  .flash-code-wrap,
  .flash-timer-wrap {
    width: 100%;
  }

  .flash-code-wrap b {
    overflow-wrap: anywhere;
    font-size: 18px;
  }

  .carousel-track,
  .worksheets-track {
    grid-auto-columns: 88%;
  }

  .carousel-actions {
    justify-content: stretch;
  }

  .carousel-actions button {
    flex: 1;
    min-height: 46px;
  }

  .gift-grid {
    gap: 22px;
  }

  .story-grid blockquote {
    font-size: 24px;
  }

  .review-heading h3 {
    font-size: 26px;
  }

  .student-video-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 32px;
  }

  .student-video-caption {
    padding: 20px;
  }

  .student-video-caption strong {
    font-size: 21px;
  }

  .sample-lightbox {
    padding: 8px;
  }

  .sample-lightbox-dialog {
    max-height: calc(100vh - 16px);
    padding: 12px;
    border-radius: 14px;
  }

  .sample-lightbox-header {
    align-items: stretch;
    flex-direction: column;
  }

  .sample-lightbox-header h2 {
    font-size: 21px;
  }

  .sample-zoom-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sample-zoom-controls button {
    min-height: 46px;
    padding: 8px 6px;
    font-size: 10px;
  }

  .sample-lightbox-viewport {
    max-height: calc(100vh - 250px);
  }

  .video-modal {
    padding: 10px;
  }

  .video-dialog {
    padding: 14px;
  }

  .video-dialog-header {
    align-items: stretch;
    flex-direction: column;
  }

  .video-dialog-header button {
    width: 100%;
  }

  .enrollment-form {
    padding: 24px 18px;
  }

  .form-grid,
  .coupon-row {
    grid-template-columns: 1fr;
  }

  .handwriting-style-options {
    grid-template-columns: 1fr;
  }

  .handwriting-style-option {
    min-height: 0;
  }

  .coupon-row .button {
    width: 100%;
  }

  .batch-option {
    grid-template-columns: 18px 1fr;
    gap: 10px;
    padding: 15px 13px;
  }

  .batch-option small {
    line-height: 1.45;
  }

  .batch-option b {
    grid-column: 2;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-grid nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .mobile-enroll-bar {
    position: fixed;
    z-index: 100;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 13px;
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 10px 30px rgba(24, 34, 64, 0.35);
    font-family: "Salsa", cursive;
    text-decoration: none;
  }

  .mobile-enroll-bar strong {
    color: #ffe06e;
    font-weight: 400;
  }

  .thank-you-card {
    padding: 34px 22px;
  }

  .thank-you-card h1 {
    font-size: 35px;
  }

  .reference-box {
    overflow-wrap: anywhere;
  }

  .community-invite {
    padding: 22px 16px;
  }

  .community-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .community-actions .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 54px 0;
  }

  .highlight-stroke {
    font-size: 27px;
  }

  .section-title {
    font-size: 30px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-row span {
    display: grid;
    min-width: 0;
    place-items: center;
    padding-inline: 5px;
    text-align: center;
  }

  .module-card {
    padding: 20px 16px 20px 64px;
  }

  .price-card,
  .price-card.featured {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .price-card h3 {
    font-size: 30px;
  }

  .price {
    font-size: 50px;
  }

  .batch-difference-strip > div,
  .review-card {
    padding: 20px 17px;
  }

  .student-video-caption {
    padding: 18px 16px 20px;
  }

  .student-video-caption strong {
    font-size: 19px;
  }

  .proof-offer-grid {
    margin-top: 32px;
  }

  .enrollment-form {
    padding: 21px 14px;
    border-radius: 16px;
  }

  .batch-option strong,
  .batch-option b {
    font-size: 14px;
  }

  .batch-option small {
    font-size: 11px;
  }

  .price-summary > div {
    align-items: flex-start;
  }

  .mobile-enroll-bar {
    padding-inline: 14px;
    font-size: 13px;
  }

  .thank-you-card {
    padding: 28px 16px;
  }

  .thank-you-card h1 {
    font-size: 31px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Conversion-focused, admin-configurable thank-you experience */
.thank-you-conversion-page {
  display: block;
  min-height: 100vh;
  padding: 0;
  color: #243443;
  background:
    radial-gradient(circle at 10% 2%, rgba(255, 210, 84, 0.22), transparent 25%),
    linear-gradient(180deg, #f4fbfa 0, #f8f9fc 42%, #fffaf0 100%);
}

.thank-you-topbar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(13, 93, 96, 0.13);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.thank-you-topbar > a {
  display: grid;
  color: #0b5d61;
  text-decoration: none;
}

.thank-you-topbar > a strong {
  font-family: "Salsa", cursive;
  font-size: 23px;
  font-weight: 400;
}

.thank-you-topbar > a span {
  color: #7b8691;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.thank-you-topbar > span {
  color: #587078;
  font-size: 11px;
  font-weight: 800;
}

.thank-you-topbar > span i {
  margin-right: 6px;
  color: #11907e;
}

.thank-you-shell {
  width: min(calc(100% - 36px), 1180px);
  margin: 0 auto;
  padding: 58px 0 70px;
}

.thank-you-confirmation {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border: 1px solid #d5e9e5;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(13, 76, 83, 0.1);
  text-align: center;
}

.thank-you-confirmation::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 300px;
  height: 300px;
  border: 48px solid rgba(19, 151, 132, 0.07);
  border-radius: 50%;
}

.confirmation-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #16a88c, #08736e);
  box-shadow: 0 12px 28px rgba(17, 142, 124, 0.27);
  font-size: 27px;
}

.thank-you-confirmation h1 {
  position: relative;
  z-index: 1;
  margin: 4px 0 12px;
  color: #0a555e;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.confirmation-lead {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  color: #687785;
  font-size: 16px;
  line-height: 1.75;
}

.thank-you-confirmation .payment-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
}

.confirmation-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
  padding: 12px;
  border-radius: 17px;
  background: #f3f8f8;
}

.confirmation-summary > div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-right: 1px solid #d9e6e6;
}

.confirmation-summary > div:last-child {
  border-right: 0;
}

.confirmation-summary span {
  color: #87929b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confirmation-summary strong {
  overflow-wrap: anywhere;
  color: #173f48;
  font-size: 12px;
}

.thank-you-private-offer {
  position: relative;
  margin-top: 30px;
  overflow: hidden;
  padding: 54px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 214, 85, 0.16), transparent 28%),
    linear-gradient(135deg, #0a414b 0%, #075f62 55%, #0b8075 100%);
  box-shadow: 0 30px 70px rgba(8, 66, 72, 0.24);
}

.offer-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 22px;
  border-radius: 0 0 16px 0;
  color: #173841;
  background: #ffd75d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.private-offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 64px;
}

.offer-eyebrow {
  margin: 0 0 8px;
  color: #ffe27e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.private-offer-copy h2 {
  max-width: 650px;
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.private-offer-copy > p:not(.offer-eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 15px;
  line-height: 1.7;
}

.private-offer-copy ul {
  display: grid;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.private-offer-copy li {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.private-offer-copy li i {
  width: 22px;
  color: #ffdb67;
}

.private-offer-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 45px rgba(0, 30, 35, 0.24);
  backdrop-filter: blur(12px);
}

.private-offer-card > span {
  color: #ffe78d;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.private-offer-card h3 {
  margin: 5px 0 12px;
  color: #fff;
  font-family: "Salsa", cursive;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.private-offer-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.private-offer-price strong {
  color: #fff;
  font-family: "Salsa", cursive;
  font-size: 47px;
  font-weight: 400;
}

.private-offer-price del {
  color: rgba(255, 255, 255, 0.55);
}

.private-offer-saving {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #124045;
  background: #ffdd6c;
  font-size: 10px;
  font-weight: 900;
}

.private-offer-code,
.private-offer-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.private-offer-code span,
.private-offer-timer span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.private-offer-code code,
.private-offer-timer strong {
  color: #ffe274;
  font-size: 17px;
  font-weight: 900;
}

.private-offer-button {
  width: 100%;
  margin-top: 16px;
  color: #143e45;
  background: #ffd75a;
}

.private-offer-button:hover {
  color: #143e45;
  background: #ffe584;
}

.private-offer-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.56;
}

.private-offer-pending {
  display: block;
  margin-top: 15px;
  padding: 11px;
  border-radius: 9px;
  color: #ffeaa2;
  background: rgba(0, 0, 0, 0.14);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.private-offer-card > small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 9px;
  text-align: center;
}

.thank-you-private-offer.offer-expired .offer-ribbon {
  background: #cbd7d7;
}

.thank-you-community,
.thank-you-recommendations {
  padding: 68px 0 18px;
}

.thank-you-section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.thank-you-section-heading p {
  margin: 0;
  color: #0d8d7e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thank-you-section-heading h2 {
  margin: 6px 0 10px;
  color: #0a5660;
  font-size: clamp(32px, 4vw, 46px);
}

.thank-you-section-heading span {
  color: #73808c;
  font-size: 14px;
  line-height: 1.65;
}

.community-channel-grid,
.thank-you-program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.community-channel-card {
  display: grid;
  min-height: 255px;
  align-content: start;
  padding: 27px;
  border: 1px solid #dfe7e8;
  border-radius: 20px;
  color: #263f47;
  background: #fff;
  box-shadow: 0 14px 38px rgba(27, 77, 82, 0.08);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.community-channel-card:hover,
.thank-you-program-card:hover {
  box-shadow: 0 20px 48px rgba(27, 77, 82, 0.15);
  transform: translateY(-4px);
}

.community-channel-card > i {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-size: 22px;
}

.community-channel-card.whatsapp > i { background: #23a85a; }
.community-channel-card.telegram > i { background: #269ed8; }
.community-channel-card.youtube > i { background: #e73838; }
.community-channel-card.class-channel > i { background: #31588f; }
.community-channel-card.specific > i { background: #7257c9; }

.community-channel-card > span {
  color: #879198;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-channel-card > strong {
  margin-top: 5px;
  font-family: "Salsa", cursive;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.community-channel-card > b {
  margin-top: auto;
  padding-top: 22px;
  color: #0b8074;
  font-size: 11px;
}

.community-pending {
  padding: 20px;
  border: 1px dashed #b8cfcb;
  border-radius: 14px;
  color: #647676;
  background: #f5fbf9;
  text-align: center;
}

.thank-you-recommendations {
  padding-top: 48px;
}

.thank-you-program-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #e4dfd2;
  border-radius: 22px;
  color: #2e3e45;
  background: #fff;
  box-shadow: 0 14px 38px rgba(85, 65, 32, 0.07);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.thank-you-program-card > span {
  color: #0a8d7e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.thank-you-program-card h3 {
  margin: 7px 0 12px;
  color: #0c5860;
  font-size: 25px;
  line-height: 1.2;
}

.thank-you-program-card > p {
  display: -webkit-box;
  overflow: hidden;
  color: #78818a;
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.thank-you-program-card footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #edf0ed;
}

.thank-you-program-card footer strong { color: #1a4d54; }
.thank-you-program-card footer b { color: #0b8a7c; }

.thank-you-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #dce5e4;
}

.thank-you-footer-action p {
  margin: 0;
  color: #7a868d;
  font-size: 11px;
}

@media (max-width: 900px) {
  .confirmation-summary,
  .community-channel-grid,
  .thank-you-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .private-offer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .private-offer-card {
    width: min(100%, 520px);
  }
}

@media (max-width: 620px) {
  .thank-you-topbar {
    min-height: 66px;
    padding: 12px 16px;
  }

  .thank-you-topbar > span {
    display: none;
  }

  .thank-you-shell {
    width: min(calc(100% - 24px), 1180px);
    padding: 28px 0 90px;
  }

  .thank-you-confirmation,
  .thank-you-private-offer {
    padding: 32px 18px;
    border-radius: 20px;
  }

  .thank-you-private-offer {
    padding-top: 58px;
  }

  .confirmation-summary,
  .community-channel-grid,
  .thank-you-program-grid {
    grid-template-columns: 1fr;
  }

  .confirmation-summary > div {
    border-right: 0;
    border-bottom: 1px solid #d9e6e6;
  }

  .confirmation-summary > div:last-child {
    border-bottom: 0;
  }

  .private-offer-copy h2 {
    font-size: 33px;
  }

  .private-offer-card {
    padding: 22px 18px;
  }

  .thank-you-community,
  .thank-you-recommendations {
    padding-top: 54px;
  }

  .thank-you-footer-action {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .thank-you-footer-action .button {
    width: 100%;
  }
}

/* Final BrainUpKids palette pass for confirmation pages */
.thank-you-conversion-page {
  color: #313a56;
  background: #f6f8fd;
}

.thank-you-topbar {
  border-bottom-color: rgba(38, 55, 102, 0.14);
}

.thank-you-topbar > span,
.thank-you-topbar > span i {
  color: #31588f;
}

.thank-you-confirmation,
.thank-you-community,
.thank-you-recommendations {
  border-color: #dce3f2;
}

.thank-you-confirmation h1,
.thank-you-section-heading h2,
.private-offer-copy h2,
.thank-you-program-card h3 {
  color: #263766;
}

.confirmation-icon {
  background: #4b86c6;
  box-shadow: 0 14px 34px rgba(75, 134, 198, 0.28);
}

.thank-you-confirmation::after {
  border-color: rgba(234, 104, 168, 0.08);
}

.private-offer-layout {
  background: #263766;
}
