/* ==========================================================================
   6X AI Facebook Income · Freedom Builders — stylesheet
   Breakpoints: ≤1000px (tablet), ≤760px (mobile), ≥761px (desktop-only hero)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --milk: #fff8ef;
  --cream: #f3e9db;
  --orange: #e65318;
  --cta: #b83a0b;
  --cta-hover: #96300b;
  --ink: #302822;
  --muted: #74675c;
  --line: #e0d4c4;
  --field-border: #c9baaa;
  --peach: #ffac84;
  --peach-strong: #ffb68e;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font: 400 15px/1.75 'Be Vietnam Pro', Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, input { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

h1, h2, h3 { font-weight: 600; line-height: 1.28; margin: 0 0 20px; letter-spacing: -1px; }
h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.35; letter-spacing: -1.6px; }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: 19px; letter-spacing: -.4px; }
p { margin: 0 0 20px; color: var(--muted); }
strong { font-weight: 600; }
em { font-style: normal; color: var(--orange); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(1180px, calc(100% - 64px)); margin: auto; }
.section { padding-block: 80px; }
.cream { background: var(--cream); }
.dark { background: var(--ink); color: var(--milk); }
.cta { text-align: center; margin-top: 32px; }

.eyebrow {
  display: block;
  margin-bottom: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--cta);
}
.dark .eyebrow { color: var(--peach); }
.dark .btn { border-color: var(--orange); background: var(--orange); }
.dark .btn:hover { background: var(--cta); }

.heading { text-align: center; max-width: 950px; margin: 0 auto 40px; }
.heading h2 { margin-bottom: 20px; }
.heading > p { max-width: 820px; margin: 0 auto; font-size: 14px; }
.dark .heading > p { color: #d6c4b6; }

.skip { position: absolute; top: -100px; left: 10px; padding: 12px; background: #fff; z-index: 100; }
.skip:focus { top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 52px;
  padding: 14px 23px;
  border: 1px solid var(--cta);
  border-radius: 7px;
  background: var(--cta);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  transition: background .2s;
}
.btn:hover { background: var(--cta-hover); }
.btn.mini {
  min-height: 40px;
  padding: 10px 17px;
  border-color: var(--orange);
  background: var(--orange);
  font-size: 11px;
}
.btn.outline { background: transparent; color: var(--cta); }
.btn.outline:hover { background: var(--cream); }

/* ---------- Header & banner ---------- */
.preview-banner {
  padding: 8px 16px;
  background: var(--cream);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  text-align: center;
}
header { position: sticky; top: 0; z-index: 20; background: var(--ink); color: var(--milk); }
.nav { height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { font-size: 19px; font-weight: 600; letter-spacing: -.6px; }
.brand span { color: #ff9d72; }

/* ---------- Hero ---------- */
.hero { padding-block: 36px 56px; }
.hero-heading { text-align: center; }
.hero h1 em {
  display: inline-block;
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.hero-tag { margin-top: 24px; font-size: 20px; font-weight: 500; color: var(--ink); }
.hero-tag strong { color: var(--cta); font-weight: 700; }

.hero-grid { display: grid; align-items: start; }

.hero-photo {
  display: flex;
  flex-direction: column;
  justify-self: center;
  width: 100%;
  max-width: 280px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px #30282220;
  line-height: 0;
}

/* ---------- Signup form ---------- */
.signup { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fffdfa; }
.form-top { padding: 20px; background: var(--cream); border-bottom: 2px solid var(--orange); text-align: center; }
.form-top > span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  letter-spacing: .8px;
}
.form-top h3 { margin-bottom: 8px; font-size: 22px; }
.form-top p { margin: 0; font-size: 11px; }
.form-body { padding: 24px; }

.schedule {
  margin-bottom: 20px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.schedule strong { font-size: 14px; color: var(--ink); }

label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 500; }
input,
select {
  width: 100%;
  min-height: 48px;
  margin-bottom: 17px;
  padding: 12px;
  border: 1px solid var(--field-border);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}
select { font: inherit; font-size: 13px; cursor: pointer; }
select:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.signup .btn { width: 100%; padding-inline: 12px; font-size: 12px; }
.signup button[disabled] { opacity: .65; cursor: wait; }
.fine { margin: 14px 0 0; font-size: 10px; line-height: 1.8; }
.status { margin-top: 16px; font-size: 12px; color: var(--cta); }
.status:empty { display: none; }
.status.success { color: #226342; }

/* ERP form SDK (embed.v1.js): consent, data notice, errors and the status box it appends */
.consent { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 14px; font-weight: 400; line-height: 1.5; cursor: pointer; }
.consent input { width: 16px; min-height: 16px; height: 16px; margin: 1px 0 0; padding: 0; flex: none; accent-color: var(--orange); }
.privacy { margin-bottom: 16px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.privacy summary { cursor: pointer; }
.privacy > div, .privacy .edu-policy-links { margin-top: 6px; }
.privacy a { color: var(--cta); }
.edu-form-error { display: block; margin: -11px 0 13px; font-size: 11px; color: var(--cta); }
.signup .edu-form-status { padding: 0 24px 20px; font-size: 12px; line-height: 1.6; color: var(--cta); }
.signup .edu-form-status:empty { display: none; }
.signup .edu-form-status.edu-thank-you { color: #226342; }
.signup .edu-form-status p { margin: 0 0 6px; }
.signup .edu-zalo-btn { display: inline-block; margin: 4px 0 6px; font-weight: 600; color: var(--cta); }

/* ---------- 02 · Feedback rails ---------- */
.feedback-rails { display: grid; gap: 18px; }
.feedback-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  gap: 16px;
  padding: 3px 3px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--orange) var(--cream);
}
.feedback-image {
  display: block;
  width: 220px;
  min-height: 240px;
  margin: 0;
  padding: 0;
  border: 1px solid #cab9a4;
  border-radius: 10px;
  overflow: hidden;
  background: #221f1d;
  text-align: left;
  vertical-align: top;
  break-inside: avoid;
  scroll-snap-align: start;
}
.feedback-image:hover { border-color: var(--orange); }
.feedback-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 340px;
  aspect-ratio: 853 / 1844;
  object-fit: cover;
  object-position: top;
  background: #171717;
}
.disclaimer { max-width: 820px; margin: 24px auto 0; font-size: 10px; line-height: 1.9; text-align: center; }

/* ---------- 03 · Student results ---------- */
.student-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.student-result {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--milk);
  color: var(--ink);
  text-align: left;
}
.student-result:hover { border-color: var(--orange); box-shadow: 0 8px 24px #b83a0b12; }
.student-result img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #fff; }
.student-result span { display: block; padding: 14px 16px; font-size: 11px; font-weight: 600; color: var(--cta); }

/* ---------- 04 · Problems ---------- */
.problems { border-top: 1px solid #d4c4af; }
.problems article {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid #d4c4af;
}
.problems article > span { flex-shrink: 0; font-size: 11px; color: var(--cta); }
.problems p { margin: 0; font-size: 15px; color: var(--milk); }
.problems strong { color: var(--peach-strong); }
.bridge { margin: 30px 0 0; font-size: 17px; text-align: center; color: var(--milk); }
.bridge strong { color: var(--milk); }

/* ---------- 05 · Lessons ---------- */
.lesson-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.lesson-grid article { padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lesson-grid article:nth-child(even) { border-right: 0; }
.lesson-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.lesson-grid p { margin: 0; font-size: 13px; }
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--cta);
  font-size: 12px;
}

/* ---------- 06 · Outcomes ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid #deceba;
  border-radius: 12px;
  overflow: hidden;
  background: var(--milk);
}
.benefit-grid article { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-grid article:nth-child(3n) { border-right: 0; }
.benefit-grid article:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 20px;
  border-right: 0;
  border-bottom: 0;
}
.benefit-grid article:last-child .icon { grid-row: span 2; }
.benefit-grid h3 { margin-bottom: 12px; font-size: 17px; }
.benefit-grid p { margin: 0; font-size: 12px; line-height: 1.85; }
.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 9px;
  background: var(--cream);
  font-size: 20px;
}

/* ---------- 07 · Offline gallery & videos ---------- */
.offline-gallery,
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.offline-gallery { margin-bottom: 26px; }
.offline-gallery button {
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 11px;
  overflow: hidden;
  background: var(--ink);
}
.offline-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.offline-gallery button:hover img { transform: scale(1.04); }
.yt-video {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 11px;
  overflow: hidden;
  background: #17120e;
}
.yt-video img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.yt-video:hover img { transform: scale(1.04); }
.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 46px;
  border-radius: 12px;
  background: var(--cta);
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 20px #0005;
}
.yt-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}
.yt-video:hover .yt-play { background: var(--orange); }
.video-grid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 11px; background: #17120e; }

/* ---------- 08 · Teacher ---------- */
.teacher-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.teacher-photo { position: relative; height: 610px; border-radius: 14px; overflow: hidden; background: var(--cream); }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.experience {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 8px;
  background: var(--milk);
}
.experience strong { font-size: 40px; line-height: 1; color: var(--orange); }
.experience span { font-size: 11px; line-height: 1.7; }
.teacher-photo { position: sticky; top: 100px; }
.teacher-copy { padding-top: 4px; }
.teacher-copy p { font-size: 15px; line-height: 1.85; }
.teacher-copy strong { color: var(--ink); }
.teacher-copy .lead { font-size: 17px; color: var(--ink); }
.teacher-focus { margin: 4px 0 24px; padding: 20px 24px; border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; background: var(--cream); }
.teacher-focus > span { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; color: var(--cta); }
.teacher-focus p { margin: 0; color: var(--ink); }
.teacher-focus strong { color: var(--cta); }
.teacher-reasons { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: reason; }
.teacher-reasons li {
  position: relative;
  padding: 16px 18px 16px 62px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  counter-increment: reason;
}
.teacher-reasons li::before {
  content: '0' counter(reason);
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--cta);
  font-size: 12px;
  font-weight: 600;
}
.teacher-reasons strong { display: block; color: var(--ink); }
.teacher-copy .role { margin: 0; font-size: 16px; }
.teacher-copy .role strong { color: var(--cta); }

/* ---------- 09 · Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid #d6c5b0;
  border-radius: 12px;
  background: var(--milk);
}
.price-card.featured {
  position: relative;
  padding: 24px;
  border: 3px solid var(--orange);
  background: #fff2df;
  box-shadow: 0 16px 38px #b83a0b20;
  transform: translateY(-8px);
}
.featured-label {
  display: block;
  margin-bottom: 20px;
  padding: 9px 10px;
  border-radius: 5px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .6px;
  text-align: center;
}
.package-head { min-height: 160px; }
.package-head h3 { margin-bottom: 12px; font-size: 24px; }
.package-head p { margin: 0; font-size: 12px; }
.featured .package-head h3 { color: var(--cta); }
.price {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.featured .price { color: var(--cta); font-size: 38px; }

.ticks { flex: 1; margin: 20px 0 24px; padding: 0; list-style: none; }
.price-card:nth-child(3) .ticks { margin-bottom: 26px; }
.ticks li { position: relative; margin-bottom: 12px; padding-left: 25px; font-size: 12px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--cta); font-weight: 600; }
.price-card .btn { gap: 8px; padding-inline: 10px; font-size: 11px; }

/* ---------- 10 · Scenarios ---------- */
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scenario-grid article { padding: 28px; border: 1px solid #655345; border-radius: 10px; background: #ffffff04; }
.scenario-grid article > span { display: block; margin-bottom: 20px; font-size: 11px; color: var(--peach); }
.scenario-grid h3 { font-size: 18px; }
.scenario-grid p { margin: 0; font-size: 13px; color: #e0d0c2; }
.scenario-grid .best-case {
  border: 2px solid var(--orange);
  background: var(--milk);
  box-shadow: 0 14px 36px #0002;
  transform: translateY(-8px);
}
.scenario-grid .best-case h3 { font-size: 24px; color: var(--cta); }
.scenario-grid .best-case p { color: var(--ink); }
.scenario-grid .best-label {
  padding: 7px 10px;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 8px;
  letter-spacing: .7px;
}

/* ---------- 11 · Final signup ---------- */
.final-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.final-grid h2 { font-size: 36px; }
.final-grid > div > p { font-size: 14px; }
.final-schedule { margin-top: 30px; padding-top: 20px; border-top: 1px solid #cfbba3; font-size: 12px; }
.final-schedule strong { font-size: 16px; }

/* ---------- Footer & mobile CTA ---------- */
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px; }
footer .brand span { color: var(--orange); }
footer p { margin: 0; font-size: 11px; }
.mobile-cta { display: none; }

/* ---------- Dialogs ---------- */
dialog {
  width: calc(100% - 32px);
  max-width: 480px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--milk);
  color: var(--ink);
}
dialog::backdrop { background: #17120edb; }
.close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--milk);
  font-size: 25px;
  line-height: 1;
}

#lightbox {
  width: auto;
  max-width: min(95vw, 850px);
  max-height: 94vh;
  padding: 0;
  overflow: auto;
  background: #171717;
}
#lightbox img { display: block; width: auto; max-width: 100%; height: auto; margin: auto; }
#lightbox .close { position: sticky; top: 12px; float: right; margin: 12px 12px -48px 0; }

.flow-dialog {
  width: calc(100% - 28px);
  max-width: 460px;
  max-height: 94dvh;
  padding: 28px;
  overflow: auto;
  text-align: center;
  box-shadow: 0 24px 90px #0004;
}
.flow-dialog .eyebrow { margin: 0 25px 13px; }
.flow-dialog h2 { margin-bottom: 12px; font-size: 26px; letter-spacing: -.6px; }
.flow-dialog p { font-size: 12px; }
.flow-dialog .fine { margin-top: 14px; font-size: 9px; }
.flow-dialog > .btn { width: 100%; font-size: 12px; }
.flow-dialog .close { top: 10px; right: 10px; width: 28px; height: 28px; background: var(--cream); color: var(--ink); font-size: 21px; }
.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 8px auto 22px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--cta);
  font-size: 34px;
}

/* ==========================================================================
   Desktop-only hero layout (≥761px)
   ========================================================================== */
@media (min-width: 761px) {
  .hero-heading { max-width: 1040px; margin-inline: auto; }
  .hero-heading h1 { margin-bottom: 18px; font-size: clamp(32px, 3.2vw, 43px); line-height: 1.32; }
  .hero-tag { margin-top: 18px; margin-bottom: 14px; font-size: 18px; }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 28px;
    max-width: 1040px;
    margin: 30px auto 0;
  }
  .hero-photo {
    display: block;
    justify-self: stretch;
    align-self: start;
    max-width: none;
    box-shadow: 0 12px 30px #30282214;
  }
  .hero-photo > img { display: block; width: 100%; height: auto; object-fit: contain; background: #fff; }

  .hero-grid .signup { display: flex; flex-direction: column; }
  .hero-grid .form-top { padding: 20px 24px; }
  .hero-grid .form-top > span { margin-bottom: 10px; }
  .hero-grid .form-top h3 { font-size: 21px; }
  .hero-grid .form-top p { font-size: 10px; }
  .hero-grid .form-body { flex: 1; padding: 22px 26px; }
  .hero-grid .schedule { margin-bottom: 18px; padding-bottom: 17px; }
  .hero-grid input { margin-bottom: 16px; }
  .hero-grid .fine { font-size: 9px; }

  .featured .package-head { min-height: 115px; }
}

/* ==========================================================================
   Tablet (≤1000px)
   ========================================================================== */
@media (max-width: 1000px) {
  .teacher-grid { gap: 32px; }
  .price-card { padding: 20px; }
  .price { font-size: 30px; }
  .featured .price { font-size: 32px; }
  .final-grid { gap: 32px; }
  .final-grid h2 { font-size: 30px; }
}

/* ==========================================================================
   Mobile (≤760px)
   ========================================================================== */
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  body { padding-bottom: 78px; }
  .wrap { width: calc(100% - 36px); }
  .section { padding-block: 44px; }

  h1 { font-size: 30px; line-height: 1.4; letter-spacing: -1px; }
  h1 br { display: none; }
  .eyebrow { font-size: 11px; letter-spacing: 1px; }
  .btn { min-height: 48px; padding-inline: 18px; font-size: 14px; }
  .cta .btn { max-width: 100%; }

  .preview-banner { font-size: 10px; letter-spacing: .5px; }
  .nav { height: 64px; gap: 12px; }
  .brand { font-size: 16px; }
  .btn.mini { min-height: 40px; padding: 10px 14px; font-size: 12px; }

  .heading { margin-bottom: 28px; }
  .heading h2 { font-size: 28px; letter-spacing: -.8px; }
  .heading h2 br { display: none; }
  .heading > p { font-size: 14px; line-height: 1.8; }

  /* Hero */
  .hero { padding-bottom: 48px; }
  .hero h1 em { text-underline-offset: 5px; }
  .hero-tag { margin-top: 20px; font-size: 17px; line-height: 1.65; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 22px; }
  .hero-photo { max-width: 220px; }
  .form-body { padding: 20px; }
  .form-top p { font-size: 13px; }
  .form-top > span { font-size: 11px; }
  label { font-size: 14px; }
  input, select { font-size: 16px; margin-bottom: 14px; }
  .consent { font-size: 13px; }
  .consent input { width: 20px; min-height: 20px; height: 20px; }
  .privacy { font-size: 13px; }
  .signup .btn { font-size: 14px; }
  .fine { font-size: 12px; }
  .signup .edu-form-status { padding: 0 20px 20px; font-size: 14px; }

  /* Feedback */
  .feedback-rail { grid-auto-columns: 158px; gap: 12px; }
  .feedback-image { width: 158px; min-height: 210px; border-radius: 7px; }
  .disclaimer { font-size: 11px; }

  /* Results, gallery, videos */
  .student-results,
  .offline-gallery,
  .video-grid { grid-template-columns: 1fr; gap: 14px; }
  .student-result img { aspect-ratio: 16 / 10; }

  /* Problems */
  .problems article { gap: 18px; padding-block: 20px; }
  .problems p { font-size: 15px; line-height: 1.75; }
  .bridge { font-size: 16px; }

  /* Lessons */
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson-grid article,
  .lesson-grid article:nth-last-child(-n+2) { padding: 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .lesson-grid article:last-child { border-bottom: 0; }
  .lesson-grid h3 { font-size: 18px; }
  .lesson-grid p { font-size: 14px; }

  /* Outcomes */
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { padding: 24px; border-right: 0; }
  .benefit-grid article:last-child { grid-column: auto; display: block; }
  .benefit-grid h3 { font-size: 18px; }
  .benefit-grid p { font-size: 14px; }

  /* Teacher */
  .teacher-grid { grid-template-columns: 1fr; gap: 28px; }
  .teacher-photo { height: 390px; }
  .teacher-photo { position: relative; top: auto; }
  .teacher-copy p, .teacher-reasons li { font-size: 15px; }
  .teacher-copy .lead { font-size: 15px; }
  .teacher-focus { padding: 18px; }
  .teacher-reasons li { padding: 14px 14px 14px 54px; }
  .teacher-reasons li::before { left: 14px; top: 14px; }
  .teacher-copy .role { font-size: 15px; }

  /* Pricing */
  .pricing { grid-template-columns: 1fr; }
  .price-card { padding: 26px; }
  .price-card.featured { padding: 24px; transform: none; }
  .package-head { min-height: 0; margin-bottom: 20px; }
  .package-head h3 { font-size: 26px; }
  .package-head p { font-size: 14px; }
  .price { font-size: 36px; }
  .featured .price { font-size: 38px; }
  .ticks li { font-size: 14px; }
  .price-card .btn { font-size: 14px; }

  /* Scenarios */
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-grid article { padding: 24px; }
  .scenario-grid h3 { font-size: 20px; }
  .scenario-grid .best-case { transform: none; }

  /* Final signup & footer */
  .final-grid { grid-template-columns: 1fr; gap: 28px; }
  .final-grid h2 { font-size: 29px; }
  .final-grid > div > p { font-size: 14px; }
  footer { flex-wrap: wrap; gap: 16px; }
  footer p { font-size: 12px; }

  .mobile-cta {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    padding: 10px 18px max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--milk);
  }
  .mobile-cta .btn { width: 100%; min-height: 48px; font-size: 14px; }
  .mobile-cta.hidden { visibility: hidden; pointer-events: none; }

  /* Dialogs */
  .flow-dialog { padding: 25px 18px; }
  .flow-dialog h2 { font-size: 24px; }
  .flow-dialog > .btn { padding-inline: 10px; font-size: 13px; }
}

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