/* Chess Mentor Academy — marketing site
   Brand: navy from the knight logo (#0A2448), gold from chessmentoracademy.com (#D5AA50). */
:root {
  --ink: #0b1424;
  --navy-900: #121e31;
  --navy-800: #0a2448;
  --navy-700: #23395b;
  --navy-600: #2f4e78;
  --navy-100: #d6dfec;
  --gold-100: #f6ecd4;
  --gold-400: #e0bf74;
  --gold-500: #d5aa50;
  --gold-600: #a8822f;
  --cream: #f7f3ea;
  --cream-2: #efe8d8;
  --text: #eef0f4;
  --text-dim: #a9b4c6;

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-caps: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --f-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
em { font-style: italic; color: var(--gold-400); }
::selection { background: var(--gold-500); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; align-content: center; gap: 22px;
  background: var(--ink);
}
.loader__shield { height: 96px; width: auto; animation: shieldPulse 1.6s var(--ease) infinite; }
.loader__count { font-family: var(--f-caps); font-size: 14px; letter-spacing: .3em; color: var(--gold-400); }
.loader__bar { width: 160px; height: 1px; background: rgba(198,165,92,.2); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold-500); transition: width .3s ease; }
@keyframes shieldPulse { 50% { transform: translateY(-4px); filter: drop-shadow(0 10px 20px rgba(198,165,92,.35)); } }

/* ---------- Stage ---------- */
#stage {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh;
  z-index: 0; display: block;
}
.stage-vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,20,36,.92) 0%, rgba(11,20,36,.55) 34%, rgba(11,20,36,0) 58%),
    radial-gradient(120% 90% at 70% 50%, transparent 55%, rgba(11,20,36,.7) 100%);
}
.no-webgl #stage { display: none; }
.no-webgl .stage-vignette {
  background: radial-gradient(80% 70% at 75% 45%, #23395b 0%, #0b1424 70%);
}

main, .footer { position: relative; z-index: 2; overflow-x: clip; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: rgba(255,255,255,.28);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 600 14px/1 var(--f-body); letter-spacing: .02em;
  overflow: hidden; cursor: pointer; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s;
}
.btn span { position: relative; z-index: 1; display: inline-block; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: var(--hover, var(--gold-400));
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--gold { --bg: var(--gold-500); --fg: var(--ink); --bd: var(--gold-500); --hover: var(--gold-100); }
.btn--ghost { --bg: rgba(11,20,36,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { --fg: var(--ink); color: var(--ink); }
.btn--navy { --bg: var(--navy-800); --fg: var(--cream); --bd: var(--navy-800); --hover: var(--gold-500); }
.btn--navy:hover { color: var(--ink); }
.btn--sm { padding: 11px 20px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, backdrop-filter .4s, padding .4s, transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(11,20,36,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(198,165,92,.12); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 40px; width: auto; }
.nav__brand span { font-family: var(--f-caps); font-weight: 600; font-size: 15px; letter-spacing: .08em; line-height: 1.1; display: flex; flex-direction: column; }
.nav__brand small { font-size: 10px; letter-spacing: .38em; color: var(--gold-400); }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 14px; color: var(--text-dim); position: relative; transition: color .3s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold-500); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__login { font-size: 14px; color: var(--text-dim); }
.nav__login:hover { color: var(--text); }
.nav__burger { display: none; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 22px; }
.menu-open .nav__burger span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 var(--gutter);
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease);
}
.mobile-menu a:not(.btn) { font-family: var(--f-display); font-size: 40px; line-height: 1.1; }
.mobile-menu .btn { margin-top: 20px; align-self: flex-start; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }

@media (max-width: 960px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: block; }
  .nav__actions .btn { display: none; }
}

/* ---------- Common ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-caps); font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--gold-600); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2, .parents h2, .trial h2 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(42px, 6.2vw, 92px); line-height: .98; letter-spacing: -.015em;
}
.section-head__lede { margin-top: 24px; font-size: clamp(16px, 1.3vw, 19px); color: var(--text-dim); max-width: 560px; }
.section-head--center .section-head__lede { margin-left: auto; margin-right: auto; }
.light { background: var(--cream); color: var(--navy-900); }
.light .section-head__lede { color: #4f5d74; }
.light em { color: var(--gold-600); }

/* Split-text reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 100px;
  position: relative;
}
.hero__inner { max-width: 640px; }
.hero__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(54px, 8vw, 124px); line-height: .92; letter-spacing: -.02em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > * { display: inline-block; }
.hero__lede { margin-top: 30px; max-width: 470px; font-size: clamp(16px, 1.35vw, 19px); color: var(--text-dim); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 32px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-caps); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-dim);
}
.hero__scroll i { position: relative; width: 60px; height: 1px; background: rgba(255,255,255,.2); overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--gold-500); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- Story ---------- */
.story { height: 420vh; position: relative; }
.story__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; padding: 0 var(--gutter);
}
.story__chapters { position: relative; width: min(520px, 100%); height: 380px; }
.chapter {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s;
}
.chapter.is-active { opacity: 1; visibility: visible; }
.chapter > * { transform: translateY(30px); transition: transform .9s var(--ease); }
.chapter.is-active > * { transform: none; }
.chapter.is-active > :nth-child(2) { transition-delay: .06s; }
.chapter.is-active > :nth-child(3) { transition-delay: .12s; }
.chapter__num { font-family: var(--f-caps); font-size: 12px; letter-spacing: .3em; color: var(--gold-400); text-transform: uppercase; margin-bottom: 22px; }
.chapter h2 { font-family: var(--f-display); font-size: clamp(42px, 5.6vw, 84px); line-height: .98; letter-spacing: -.015em; }
.chapter p { margin-top: 24px; color: var(--text-dim); font-size: clamp(16px, 1.25vw, 18px); max-width: 440px; }
.story__progress { position: absolute; left: var(--gutter); bottom: 40px; display: flex; gap: 10px; }
.story__dot { width: 34px; height: 2px; background: rgba(255,255,255,.18); transition: background .4s, width .5s var(--ease); }
.story__dot.is-active { background: var(--gold-500); width: 56px; }

.notation {
  position: absolute; right: var(--gutter); bottom: 40px; width: 230px;
  padding: 18px 20px; border-radius: 16px;
  background: rgba(11,20,36,.55); border: 1px solid rgba(198,165,92,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.notation__head { display: flex; flex-direction: column; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.notation__head span { font-family: var(--f-display); font-size: 22px; font-style: italic; }
.notation__head small { font-size: 11px; color: var(--text-dim); letter-spacing: .06em; }
.notation__moves { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 24px 1fr 1fr; row-gap: 4px; font: 500 13px/1.6 ui-monospace, 'SF Mono', Menlo, monospace; }
.notation__moves li { display: contents; }
.notation__moves .n { color: rgba(255,255,255,.3); }
.notation__moves .m { color: rgba(255,255,255,.28); transition: color .3s; padding: 0 4px; border-radius: 4px; }
.notation__moves .m.is-played { color: var(--text); }
.notation__moves .m.is-current { color: var(--ink); background: var(--gold-500); }

@media (max-width: 760px) {
  .eyebrow { font-size: 11px; letter-spacing: .18em; gap: 10px; }
  .eyebrow::before { width: 18px; }
  .stage-vignette { background: linear-gradient(180deg, rgba(11,20,36,.92) 0%, rgba(11,20,36,.6) 45%, rgba(11,20,36,0) 75%); }
  .hero { align-items: flex-start; padding-top: 120px; }
  .story__sticky { align-items: flex-start; padding-top: 96px; }
  .story__chapters { height: 300px; }
  .chapter { justify-content: flex-start; }
  .notation { left: var(--gutter); right: var(--gutter); bottom: 24px; width: auto; padding: 12px 16px; }
  .notation__moves { grid-template-columns: repeat(6, auto); column-gap: 6px; }
  .notation__head { flex-direction: row; justify-content: space-between; align-items: baseline; margin-bottom: 8px; padding-bottom: 8px; }
  .notation__head span { font-size: 18px; }
  .story__progress { display: none; }
}

/* ---------- Solid zone ---------- */
.solid-zone { position: relative; z-index: 3; background: var(--ink); }

/* Stats */
.stats { padding: clamp(80px, 10vw, 140px) 0 0; border-top: 1px solid rgba(198,165,92,.15); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--gutter); }
.stat { padding: 0 28px; border-left: 1px solid rgba(198,165,92,.18); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: block; font-family: var(--f-display); font-size: clamp(46px, 5.4vw, 92px); line-height: 1; color: var(--gold-400); }
.stat__label { display: block; margin-top: 10px; color: var(--text-dim); font-size: 14px; max-width: 220px; }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

.marquee { margin-top: 28px; padding: 26px 0; border-top: 1px solid rgba(198,165,92,.15); border-bottom: 1px solid rgba(198,165,92,.15); overflow: hidden; }
.marquee span { font-family: var(--f-display); font-style: italic; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; white-space: nowrap; }
.marquee i { font-style: normal; font-size: clamp(28px, 3.5vw, 48px); color: var(--gold-500); }

/* Programs */
.programs { padding: clamp(100px, 12vw, 180px) var(--gutter); border-radius: 40px 40px 0 0; margin-top: -1px; }
.programs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.program {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 28px 30px; border-radius: 24px;
  background: #fff; border: 1px solid rgba(26,43,69,.08);
  box-shadow: 0 1px 0 rgba(26,43,69,.04), 0 24px 50px -30px rgba(26,43,69,.35);
  transition: translate .5s var(--ease), box-shadow .6s;
}
.program:hover { translate: 0 -6px; box-shadow: 0 1px 0 rgba(26,43,69,.04), 0 40px 70px -30px rgba(26,43,69,.45); }
.program__glyph {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px;
  font-size: 38px; line-height: 1; color: var(--navy-800);
  background: linear-gradient(145deg, var(--gold-100), #fff);
  border: 1px solid rgba(198,165,92,.35);
}
.program__level { margin-top: 30px; font-family: var(--f-caps); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-600); }
.program h3 { font-family: var(--f-display); font-size: 30px; line-height: 1.05; margin-top: 8px; }
.program p { margin-top: 14px; color: #4f5d74; font-size: 15px; }
.program ul { list-style: none; margin: 22px 0 18px; padding: 18px 0 0; border-top: 1px solid rgba(26,43,69,.08); display: grid; gap: 8px; font-size: 14px; }
.program li::before { content: '◆'; color: var(--gold-500); font-size: 9px; margin-right: 10px; vertical-align: 2px; }
.program__link { margin-top: auto; font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; }
.program__link span { transition: transform .4s var(--ease); }
.program:hover .program__link span { transform: translateX(6px); }
.program--featured { background: var(--navy-800); color: var(--cream); border-color: transparent; }
.program--featured p { color: var(--text-dim); }
.program--featured ul { border-color: rgba(255,255,255,.1); }
.program--featured .program__glyph { background: linear-gradient(145deg, var(--navy-600), var(--navy-800)); color: var(--gold-400); border-color: rgba(198,165,92,.4); }
.program--featured .program__level { color: var(--gold-400); }
@media (max-width: 1100px) { .programs__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .programs__grid { grid-template-columns: 1fr; } .programs { border-radius: 28px 28px 0 0; } }

/* Platform */
.platform { padding: clamp(100px, 12vw, 180px) var(--gutter); background: radial-gradient(70% 50% at 50% 30%, #1a2b45 0%, var(--ink) 70%); }
.device-wrap { perspective: 1600px; max-width: 1080px; margin: 0 auto; }
.device {
  border-radius: 18px; overflow: hidden;
  background: #f4f1ea; color: var(--navy-900);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(198,165,92,.25), 0 0 80px rgba(198,165,92,.08);
  transform-origin: 50% 0%;
  transform: rotateX(28deg) scale(.88);
}
.device__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #e7e1d4; }
.device__bar i { width: 11px; height: 11px; border-radius: 50%; background: #cfc6b4; }
.device__bar span { margin-left: 14px; font-size: 12px; color: #7a8395; }
.device__body { display: grid; grid-template-columns: 200px 1fr; min-height: 440px; }
.device__side { background: var(--navy-900); color: #b5c0d2; padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.device__brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-caps); color: #fff; margin-bottom: 18px; padding: 0 8px; letter-spacing: .12em; }
.device__brand img { height: 22px; width: auto; }
.device__side span { padding: 9px 12px; border-radius: 8px; }
.device__side span.is-on { background: var(--navy-700); color: #fff; box-shadow: inset 2px 0 0 var(--gold-500); }
.device__main { padding: 26px; }
.device__hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.device__hello small { display: block; color: #7a8395; font-size: 12px; }
.device__hello strong { font-family: var(--f-display); font-size: 28px; font-weight: 600; }
.device__cards { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.dcard { background: #fff; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; border: 1px solid rgba(26,43,69,.06); }
.dcard small { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); font-weight: 700; }
.dcard strong { font-size: 16px; }
.dcard .muted { font-size: 13px; color: #7a8395; }
.dcard--board { grid-row: span 3; gap: 16px; }
.dcard--board > div:last-child { display: flex; flex-direction: column; gap: 6px; }
.dcard--chart svg { width: 100%; height: 70px; margin-top: 6px; }
.chip { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--gold-100); color: var(--gold-600); }
.chip--live { background: #e3f2e7; color: #2e7d4a; }
.progress { height: 6px; border-radius: 6px; background: #eee8db; overflow: hidden; margin: 6px 0 2px; }
.progress span { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); border-radius: inherit; }
.miniboard { width: 100%; max-width: 300px; aspect-ratio: 1; flex: none; container-type: inline-size; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 3px var(--gold-500); }
.miniboard i { display: grid; place-items: center; font-style: normal; font-size: 9.5cqw; line-height: 1; }
.miniboard i.l { background: #ecdfc3; }
.miniboard i.d { background: var(--navy-600); }
.miniboard i.w { color: #fff; text-shadow: 0 0 1px #000, 0 1px 1px #000; }
.miniboard i.b { color: #0b1424; }
.miniboard i.d.b { color: #050a12; }
.miniboard i.hl { box-shadow: inset 0 0 0 2px var(--gold-400); }
@media (max-width: 860px) {
  .device__body { grid-template-columns: 1fr; }
  .device__side { display: none; }
  .device__cards { grid-template-columns: 1fr; }
  .dcard--board { grid-row: auto; }
  .miniboard { max-width: 240px; }
}

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 1080px; margin: clamp(60px, 8vw, 110px) auto 0; background: rgba(198,165,92,.15); border: 1px solid rgba(198,165,92,.15); border-radius: 20px; overflow: hidden; }
.feature { background: var(--ink); padding: 32px 26px; transition: background .4s; }
.feature:hover { background: #111c30; }
.feature__ico { font-size: 34px; color: var(--gold-400); line-height: 1; }
.feature h3 { font-family: var(--f-display); font-size: 26px; margin-top: 18px; }
.feature p { color: var(--text-dim); font-size: 14px; margin-top: 8px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* Parents */
.parents { padding: clamp(100px, 12vw, 180px) var(--gutter); border-radius: 40px 40px 0 0; }
.parents__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.parents__copy { position: sticky; top: 120px; }
.parents__copy .btn { margin-top: 36px; }
.parents__list { list-style: none; margin: 0; padding: 0; }
.parents__list li { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 32px 0; border-top: 1px solid rgba(26,43,69,.12); }
.parents__list li:last-child { border-bottom: 1px solid rgba(26,43,69,.12); }
.parents__list li > span { font-family: var(--f-caps); color: var(--gold-600); font-size: 13px; letter-spacing: .15em; padding-top: 8px; }
.parents__list h3 { font-family: var(--f-display); font-size: 32px; line-height: 1.1; }
.parents__list p { color: #4f5d74; margin-top: 8px; }
@media (max-width: 860px) { .parents__grid { grid-template-columns: 1fr; } .parents__copy { position: static; } }

/* FAQ */
.faq { padding: 0 var(--gutter) clamp(100px, 12vw, 180px); }
.faq__list { max-width: 900px; }
.faq details { border-top: 1px solid rgba(26,43,69,.12); }
.faq details:last-child { border-bottom: 1px solid rgba(26,43,69,.12); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px 0; font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(26,43,69,.2); transition: background .3s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--navy-900); transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--gold-500); border-color: var(--gold-500); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 60px 30px 0; color: #4f5d74; max-width: 700px; }

/* ---------- Trial (canvas visible) ---------- */
.trial { min-height: 100vh; display: flex; align-items: center; padding: 140px var(--gutter); }
.trial__inner { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(40px, 6vw, 100px); align-items: center; width: 100%; max-width: 1100px; }
.trial__copy p:not(.eyebrow) { margin-top: 24px; color: var(--text-dim); max-width: 420px; font-size: 18px; }
.trial__form {
  padding: 34px; border-radius: 24px;
  background: rgba(18,30,49,.6); border: 1px solid rgba(198,165,92,.22);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: grid; gap: 16px;
}
.field { position: relative; }
.field input, .field select {
  width: 100%; padding: 26px 16px 10px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(11,20,36,.55);
  color: var(--text); font: 500 15px var(--f-body); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .3s, background .3s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold-400) 50%), linear-gradient(135deg, var(--gold-400) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--navy-900); }
.field input:focus, .field select:focus { border-color: var(--gold-500); background: rgba(11,20,36,.8); }
.field label { position: absolute; left: 17px; top: 18px; font-size: 15px; color: var(--text-dim); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field label.is-fixed { transform: translateY(-10px) scale(.75); color: var(--gold-400); }
.field.is-invalid input { border-color: #e07a6b; }
.field-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
.trial__note { min-height: 1.4em; font-size: 14px; color: var(--gold-400); text-align: center; }
@media (max-width: 860px) {
  .trial { align-items: flex-end; }
  .trial__inner { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { background: var(--cream); color: var(--navy-900); padding: 80px var(--gutter) 30px; z-index: 3; }
.footer__top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid rgba(26,43,69,.12); }
.footer__logo { width: 200px; }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 110px); flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__cols h4 { font-family: var(--f-caps); font-size: 12px; letter-spacing: .24em; color: var(--gold-600); margin-bottom: 6px; text-transform: uppercase; }
.footer__cols a { color: #4f5d74; transition: color .3s; }
.footer__cols a:hover { color: var(--navy-900); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; font-size: 13px; color: #7a8395; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .device { transform: none; }
}

/* ===================================================================
   Sections added with the chessmentoracademy.com content
=================================================================== */

/* Hero extras */
.hero__inner { max-width: 700px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-dim); }
.hero__points li::before { content: '✓'; color: var(--gold-400); margin-right: 8px; }
.mobile-menu a.mobile-menu__small { font-family: var(--f-body); font-size: 18px; color: var(--text-dim); }

/* Stats + countries */
.stats__intro { margin: clamp(70px, 8vw, 110px) var(--gutter) 0; font-family: var(--f-caps); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-400); text-align: center; }
.stats__note { margin: 22px var(--gutter) 0; text-align: center; font-size: 14px; color: var(--text-dim); }

/* Why online */
.why { padding: clamp(100px, 12vw, 170px) var(--gutter) clamp(100px, 12vw, 170px); }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.why .features { margin-top: 0; }
@media (max-width: 860px) { .features--3 { grid-template-columns: 1fr; } }

/* Programs */
.program__meta { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--gold-600); margin-bottom: 18px; }
.program--featured .program__meta { color: var(--gold-400); }
.program li { line-height: 1.45; }
.programs__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(10,36,72,.12); }
.programs__foot p { color: #4f5d74; }

/* What's included */
.included { padding: 0 var(--gutter) clamp(100px, 12vw, 170px); }
.included__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(10,36,72,.1); border: 1px solid rgba(10,36,72,.1); border-radius: 24px; overflow: hidden; }
.included__grid li { background: var(--cream); padding: 34px 30px; transition: background .4s; }
.included__grid li:hover { background: #fff; }
.included__grid span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 26px; color: var(--navy-800); background: var(--gold-100); border: 1px solid rgba(213,170,80,.4); }
.included__grid h3 { font-family: var(--f-display); font-size: 28px; margin-top: 20px; }
.included__grid p { color: #4f5d74; margin-top: 8px; font-size: 15px; }
@media (max-width: 960px) { .included__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .included__grid { grid-template-columns: 1fr; } }

/* Achievement band */
.achievement { padding: clamp(80px, 10vw, 130px) var(--gutter); background: radial-gradient(60% 120% at 20% 50%, rgba(213,170,80,.16) 0%, transparent 60%), var(--ink); border-top: 1px solid rgba(213,170,80,.15); border-bottom: 1px solid rgba(213,170,80,.15); }
.achievement__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1100px; margin: 0 auto; }
.achievement__num { display: grid; place-items: center; width: clamp(150px, 18vw, 220px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(213,170,80,.45); box-shadow: 0 0 80px rgba(213,170,80,.15), inset 0 0 40px rgba(213,170,80,.08); text-align: center; }
.achievement__num span { font-family: var(--f-display); font-size: clamp(80px, 10vw, 130px); line-height: .8; color: var(--gold-400); }
.achievement__num small { display: block; margin-top: -40%; font-family: var(--f-caps); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-dim); align-self: end; padding-bottom: 22%; }
.achievement h2 { font-family: var(--f-display); font-size: clamp(40px, 5vw, 76px); line-height: 1; }
.achievement p:not(.eyebrow) { margin-top: 18px; font-size: clamp(16px, 1.4vw, 20px); color: var(--text-dim); max-width: 560px; }
@media (max-width: 700px) { .achievement__inner { grid-template-columns: 1fr; justify-items: start; } }

/* Testimonials */
.testimonials { padding: clamp(100px, 12vw, 170px) 0; }
.testimonials__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 0 var(--gutter); }
.testimonials__head .section-head { margin-bottom: 0; }
.testimonials__nav { display: flex; gap: 10px; flex: none; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--text); font-size: 18px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.round-btn:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink); }
.testimonials__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: clamp(40px, 5vw, 64px) var(--gutter) 10px; scrollbar-width: none; outline: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 min(400px, 84vw); scroll-snap-align: start; margin: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 34px 30px; border-radius: 24px; background: linear-gradient(160deg, #13213a, #0e1a2e); border: 1px solid rgba(213,170,80,.16);
}
.quote blockquote { margin: 0; }
.quote blockquote::before { content: '“'; display: block; font-family: var(--f-display); font-size: 72px; line-height: .6; color: var(--gold-500); margin-bottom: 14px; }
.quote h3 { font-family: var(--f-display); font-size: 26px; line-height: 1.15; }
.quote p { margin-top: 12px; color: var(--text-dim); }
.quote figcaption { display: flex; flex-direction: column; font-size: 13px; color: var(--text-dim); padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.quote figcaption b { font-size: 16px; color: var(--text); font-weight: 600; }
@media (max-width: 700px) { .testimonials__head { flex-direction: column; align-items: flex-start; } }

/* Platform */
.platform .features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .platform .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .platform .features { grid-template-columns: 1fr; } }
.platform__note { text-align: center; margin-top: 28px; font-size: 14px; color: var(--text-dim); }
.platform__note a { color: var(--gold-400); }

/* FAQ */
.faq { padding: clamp(100px, 12vw, 180px) var(--gutter); border-radius: 40px 40px 0 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__grid .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq__help { margin-top: 40px; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid rgba(10,36,72,.08); }
.faq__help h3 { font-family: var(--f-display); font-size: 26px; }
.faq__help p { color: #4f5d74; margin: 6px 0 20px; }
.faq details a { color: var(--gold-600); text-decoration: underline; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid .section-head { position: static; } .faq { border-radius: 28px 28px 0 0; } }

/* Demo form */
.trial__inner { max-width: 1180px; grid-template-columns: 1fr minmax(320px, 520px); }
.trial__ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: var(--text); }
.trial__ticks li::before { content: '✓'; color: var(--gold-400); margin-right: 10px; }
.trial__title { font-family: var(--f-display); font-size: 26px; margin-bottom: 4px; }
.field-row--phone { grid-template-columns: minmax(118px, .8fr) 2fr; }
.field-row { grid-template-columns: 1fr 1fr; }
.field select:invalid { color: var(--text-dim); }
.field.is-invalid select { border-color: #e07a6b; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-dim); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold-500); flex: none; }
.check.is-invalid span { color: #f0a497; }
.trial__note { color: var(--text-dim); }
.trial__note.is-error { color: #f0a497; }
.trial__note.is-ok { color: var(--gold-400); }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .field-row--phone { grid-template-columns: 110px 1fr; } }

/* Footer */
.footer__brand { max-width: 320px; }
.footer__tag { font-family: var(--f-display); font-style: italic; font-size: 22px; margin-top: 20px; color: var(--navy-800); }
.footer__brand p:last-child { color: #4f5d74; margin-top: 6px; font-size: 15px; }
.footer__bottom { flex-wrap: wrap; }

/* WhatsApp button */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: #1fa855; color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  transition: transform .4s var(--ease), opacity .4s;
}
.whatsapp svg { width: 24px; height: 24px; }
.whatsapp:hover { transform: translateY(-3px); }
.is-loading .whatsapp { opacity: 0; }
@media (max-width: 600px) { .whatsapp span { display: none; } .whatsapp { padding: 14px; } }

/* Separate left-side entry point for the demo form; WhatsApp stays on the right. */
.demo-chat {
  position: fixed; left: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 18px 12px 14px; border: 1px solid rgba(213,170,80,.55);
  border-radius: 999px; background: #101e32; color: #f4e7c7; font: 600 14px/1.2 var(--f-body);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); cursor: pointer;
  transition: transform .25s var(--ease), opacity .25s;
}
.demo-chat svg { width: 22px; height: 22px; flex: 0 0 auto; }
.demo-chat:hover { transform: translateY(-3px); }
.is-loading .demo-chat { opacity: 0; }
@media (max-width: 600px) {
  .demo-chat { left: 12px; bottom: 14px; min-height: 46px; padding: 11px 14px 11px 12px; gap: 8px; font-size: 13px; }
  .whatsapp { right: 12px; bottom: 14px; }
}
body.demo-modal-open .demo-chat { visibility: hidden; }

/* ===================================================================
   Curriculum page
=================================================================== */
.page-curriculum { background: radial-gradient(90% 60% at 80% 0%, #15284a 0%, var(--ink) 60%) var(--ink); }
.page-curriculum .nav { background: rgba(11,20,36,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__links a[aria-current="page"] { color: var(--text); }
.cur-hero { padding: clamp(150px, 18vw, 220px) var(--gutter) clamp(60px, 7vw, 90px); max-width: 920px; }
.cur-hero h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(50px, 7.5vw, 110px); line-height: .95; letter-spacing: -.02em; }
.cur-hero__lede { margin-top: 26px; max-width: 560px; color: var(--text-dim); font-size: clamp(16px, 1.35vw, 19px); }

.cur-tabs {
  position: sticky; top: 70px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 var(--gutter); padding: 8px; border-radius: 999px; width: max-content; max-width: calc(100% - 2 * var(--gutter));
  background: rgba(18,30,49,.8); border: 1px solid rgba(213,170,80,.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.cur-tabs::-webkit-scrollbar { display: none; }
.cur-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-dim); white-space: nowrap; transition: background .3s, color .3s; }
.cur-tabs a span { font-size: 18px; color: var(--gold-400); }
.cur-tabs a:hover { color: var(--text); }
.cur-tabs a.is-active { background: var(--gold-500); color: var(--ink); }
.cur-tabs a.is-active span { color: var(--ink); }

.level { padding: clamp(80px, 9vw, 120px) var(--gutter) 20px; scroll-margin-top: 80px; }
.level__head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid rgba(213,170,80,.18); }
.level__glyph { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 24px; font-size: 52px; color: var(--gold-400); background: linear-gradient(145deg, #1b2f52, #0e1a2e); border: 1px solid rgba(213,170,80,.35); }
.level__head .eyebrow { margin-bottom: 10px; }
.level__head h2 { font-family: var(--f-display); font-size: clamp(36px, 4.4vw, 64px); line-height: 1; }
.level__aud { color: var(--text-dim); margin-top: 8px; }
.level__details { margin-top: 32px; padding: 28px 32px; border-radius: 20px; background: linear-gradient(135deg, #1b2f52, #13233f); border: 1px solid rgba(213,170,80,.28); }
.level__details h3 { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; margin: 0 0 18px; }
.level__details ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 40px; font-size: 16px; color: var(--text); }
.level__details li { position: relative; padding-left: 22px; line-height: 1.4; }
.level__details li::before { content: '\25B6\FE0E'; position: absolute; left: 0; top: .32em; font-size: 10px; color: var(--gold-400); }
.level__details b { color: var(--gold-400); font-weight: 700; }
.level__subhead { margin: 44px 0 0; font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; color: var(--gold-400); }
.level__subhead + .level__months { margin-top: 20px; }
.level__months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.month { padding: 26px 24px; border-radius: 20px; background: rgba(18,30,49,.6); border: 1px solid rgba(255,255,255,.07); }
.month__num { font-family: var(--f-caps); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-400); }
.month h3 { font-family: var(--f-display); font-size: 26px; margin: 6px 0 14px; }
.month ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.month li { position: relative; padding-left: 18px; }
.month li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: var(--gold-500); }
.month li.is-test { margin-top: 4px; padding: 8px 12px; border-radius: 10px; background: rgba(213, 170, 80, .12); border: 1px solid rgba(213, 170, 80, .35); font-size: 13.5px; color: var(--text); }
.month li.is-test::before { display: none; }
.month li.is-test b { margin-right: 6px; color: var(--gold-400); font-weight: 700; letter-spacing: .02em; }
.level__cta { display: inline-block; margin-top: 28px; font-weight: 600; color: var(--gold-400); }
.level__cta:hover { color: var(--gold-100); }

.cur-foot { margin-top: clamp(80px, 10vw, 140px); padding: clamp(90px, 11vw, 150px) var(--gutter); border-radius: 40px 40px 0 0; text-align: center; }
.cur-foot h2 { font-family: var(--f-display); font-size: clamp(40px, 5.6vw, 84px); line-height: 1; }
.cur-foot p { max-width: 640px; margin: 22px auto 34px; color: #4f5d74; font-size: 17px; }

@media (max-width: 1000px) { .level__months { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .level__months { grid-template-columns: 1fr; } .level__glyph { width: 64px; height: 64px; font-size: 38px; border-radius: 18px; } .page-curriculum .nav { padding-top: 12px; padding-bottom: 12px; } .cur-tabs { position: fixed; top: 64px; left: 0; margin: 0 var(--gutter); background: rgba(18,30,49,.96); backdrop-filter: none; -webkit-backdrop-filter: none; transform: translateZ(0); } .level__details { padding: 22px 20px; } .level__details ul { grid-template-columns: 1fr; font-size: 15px; } }

/* Glyph sizing and the WhatsApp button's clearance */
.program__glyph { font-size: 40px; font-family: 'Segoe UI Symbol', 'Apple Symbols', 'DejaVu Sans', serif; }
.included__grid span { font-size: 28px; font-family: 'Segoe UI Symbol', 'Apple Symbols', 'DejaVu Sans', var(--f-body); }
.notation { bottom: 92px; }
@media (max-width: 760px) { .notation { bottom: 84px; } }
.level__glyph, .cur-tabs a span { font-family: 'Segoe UI Symbol', 'Apple Symbols', 'DejaVu Sans', serif; }
@media (max-width: 860px) {
  .trial__inner { grid-template-columns: 1fr; }
  .trial__form { padding: 24px 18px; }
}

/* ===================================================================
   Round 2: cards instead of table grids, bigger level type,
   FAQ help panel, social links
=================================================================== */

/* Grids that read as tables become separate cards */
.features { gap: 18px; background: none; border: 0; border-radius: 0; overflow: visible; }
.feature { border-radius: 22px; background: linear-gradient(160deg, #13213a, #0e1a2e); border: 1px solid rgba(213,170,80,.16); padding: 32px 28px; transition: transform .5s var(--ease), border-color .4s; }
.feature:hover { background: linear-gradient(160deg, #162744, #0f1c32); border-color: rgba(213,170,80,.35); transform: translateY(-4px); }
.included__grid { gap: 18px; background: none; border: 0; border-radius: 0; overflow: visible; }
.included__grid li { background: #fff; border-radius: 22px; border: 1px solid rgba(10,36,72,.08); box-shadow: 0 1px 0 rgba(10,36,72,.04), 0 24px 50px -34px rgba(10,36,72,.4); transition: transform .5s var(--ease), box-shadow .5s; }
.included__grid li:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 1px 0 rgba(10,36,72,.04), 0 34px 60px -30px rgba(10,36,72,.45); }

/* Larger type on each level */
.program { padding: 36px 30px 32px; }
.program__level { font-size: 12px; }
.program h3 { font-size: clamp(30px, 2.4vw, 36px); }
.program p { font-size: 16.5px; line-height: 1.55; }
.program ul { font-size: 15.5px; gap: 10px; }
.program__meta { font-size: 13px; }
.program__link { font-size: 15.5px; }
.level__head h2 { font-size: clamp(40px, 5vw, 72px); }
.level__aud { font-size: clamp(16px, 1.3vw, 19px); }
.month h3 { font-size: 29px; }
.month ol { font-size: 16px; gap: 10px; }
.month li.is-test { font-size: 14.5px; }
.month__num { font-size: 12px; }

/* FAQ: help panel under the questions */
.faq__help { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 30px; border-radius: 22px; background: #fff; border: 1px solid rgba(10,36,72,.08); box-shadow: 0 24px 50px -34px rgba(10,36,72,.35); }
.faq__help h3 { font-size: 30px; }
.faq__help p { margin: 6px 0 0; }
.faq__help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--line { --fg: var(--navy-800); --bd: rgba(10,36,72,.25); --hover: var(--gold-100); }

/* Footer social links */
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(10,36,72,.18); color: var(--navy-800); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.footer__social a:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--cream); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }

@media (max-width: 600px) {
  .faq__help { padding: 24px 20px; }
  .faq__help-actions, .faq__help-actions .btn { width: 100%; }
  .program { padding: 30px 24px 26px; }
}
/* Spam trap field for the demo form: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.trial__form { position: relative; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Consistency: controls use the site font; light sections use the logo navy */
button, input, select, textarea { font-family: inherit; }
.round-btn { font-family: var(--f-body); }
.light, .footer { color: var(--navy-800); }
.faq summary i::before, .faq summary i::after { background: var(--navy-800); }

/* Phones: flat dashboard mock-up, readable labels, comfortable tap targets */
@media (max-width: 759px) {
  .device { transform: none; }
  .eyebrow { font-size: 12px; letter-spacing: .16em; }
}
.check input { width: 22px; height: 22px; margin-top: 0; }
.check { align-items: center; min-height: 44px; }
.platform__note a, .footer__up { display: inline-block; padding: 10px 0; }
.footer__cols a { padding: 3px 0; }

/* ===================================================================
   Spacing system: one scale for sections, headings, cards and text.
   Values scale smoothly from phones to large screens.
=================================================================== */
:root {
  --sp-section: clamp(72px, 9vw, 136px);   /* top/bottom of each section */
  --sp-band: clamp(56px, 6.5vw, 96px);      /* slimmer bands (stats, achievement, footer) */
  --sp-head: clamp(36px, 4.2vw, 60px);      /* section heading → its content */
  --sp-gap: clamp(14px, 1.6vw, 20px);       /* between cards */
  --card-py: clamp(24px, 2.5vw, 32px);      /* card padding */
  --card-px: clamp(20px, 2.2vw, 28px);
}

/* Sections */
.why, .programs, .platform, .faq { padding-top: var(--sp-section); padding-bottom: var(--sp-section); }
.testimonials { padding: var(--sp-section) 0; }
.included { padding: 0 var(--gutter) var(--sp-section); }
.stats { padding-top: var(--sp-band); }
.stats__intro { margin-top: var(--sp-band); }
.marquee { margin-top: 20px; }
.stats__note { margin-top: 18px; }
.why { padding-top: var(--sp-band); }
.achievement { padding: var(--sp-band) var(--gutter); }
.trial { padding: var(--sp-section) var(--gutter); }
.footer { padding: var(--sp-band) var(--gutter) 28px; }
.footer__top { padding-bottom: var(--sp-head); }

/* Heading blocks: label → heading → intro → content */
.eyebrow { margin-bottom: 18px; }
.section-head { margin-bottom: var(--sp-head); }
.section-head__lede { margin-top: 20px; }
.testimonials__track { padding-top: var(--sp-head); }
.platform .features { margin-top: var(--sp-head); }
.programs__foot { margin-top: var(--sp-head); padding-top: 24px; }
.platform__note { margin-top: 24px; }
.faq__help { margin-top: var(--sp-head); }

/* Cards: same padding, gaps and inner rhythm everywhere */
.programs__grid, .included__grid, .features, .testimonials__track, .level__months, .trial__ticks { gap: var(--sp-gap); }
.program, .included__grid li, .feature, .quote, .faq__help, .month { padding: var(--card-py) var(--card-px); }
.program__level { margin-top: 22px; }
.program h3 { margin-top: 6px; }
.program p, .included__grid p, .feature p, .quote p, .faq__help p { margin-top: 10px; line-height: 1.6; }
.program ul { margin: 20px 0 16px; padding-top: 16px; }
.program__meta { margin-bottom: 16px; }
.included__grid h3, .feature h3 { margin-top: 18px; }
.quote { gap: 24px; }
.quote blockquote::before { margin-bottom: 10px; }
.quote figcaption { padding-top: 16px; }
.month h3 { margin: 6px 0 14px; }

/* Demo form: equal row and column spacing */
.trial__form { padding: var(--card-py) var(--card-px); gap: 16px; }
.field-row { gap: 16px; }
.trial__title { margin-bottom: 0; }
.trial__copy p:not(.eyebrow) { margin-top: 20px; }
.trial__ticks { margin-top: 24px; gap: 10px; }

/* Sentences: comfortable line length and line height */
.section-head__lede, .hero__lede, .chapter p, .trial__copy p, .achievement p { line-height: 1.6; }
.hero__lede { margin-top: 24px; }
.hero__ctas { margin-top: 32px; }
.hero__points { margin-top: 24px; }
.chapter p { margin-top: 20px; }
.achievement p:not(.eyebrow) { margin-top: 16px; }

/* Curriculum page */
.cur-hero { padding-bottom: var(--sp-head); }
.level { padding-top: var(--sp-section); }
.level__head { padding-bottom: var(--sp-gap); gap: var(--sp-gap) 28px; }
.level__months { margin-top: var(--sp-head); }
.cur-foot { margin-top: var(--sp-section); padding: var(--sp-section) var(--gutter); }

@media (max-width: 760px) {
  .hero { padding-bottom: 72px; }
  .trial { min-height: 0; }
  .programs__foot { flex-direction: column; align-items: flex-start; }
  .programs__foot .btn { width: 100%; }
}

/* Headings in cards and panels: tight leading like the section headings */
.trial__title, .faq__help h3, .included__grid h3, .feature h3, .quote h3, .month h3, .program h3, .parents__list h3 { line-height: 1.15; }
.trial__title { font-size: clamp(24px, 2.2vw, 28px); }

/* Footer bottom row: tidy alignment, and clear of the WhatsApp button on phones */
.footer__bottom { align-items: center; gap: 8px 24px; }
@media (max-width: 760px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 76px; }
  .footer__cols { gap: 28px 40px; }
}
.trial h2 em { display: block; }
.level { scroll-margin-top: 140px; }

/* ===================================================================
   Tagline and readable labels
=================================================================== */
:root { --gold-ink: #7a5c14; } /* deeper gold for small text on light backgrounds (5.6:1 on cream) */

/* "The First Step to Thinking Ahead" */
.hero__tagline {
  margin-top: 20px; font-family: var(--f-display); font-style: italic; font-weight: 600;
  font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; color: var(--gold-400);
}
.hero__tagline + .hero__lede { margin-top: 14px; }
.loader__tagline { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--gold-100); opacity: .85; }
.footer__tag { font-weight: 600; }

/* Level names: bold, larger, high contrast */
.program__level {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 22px;
  font-family: var(--f-body); font-size: 13px; font-weight: 800; letter-spacing: .14em;
  color: var(--gold-ink);
}
.program--featured .program__level { color: var(--gold-400); }
.program__meta { font-weight: 700; color: var(--gold-ink); }
.program--featured .program__meta { color: var(--gold-400); }

/* Section labels: bolder everywhere, deeper gold on light backgrounds */
.eyebrow { font-weight: 700; font-size: 12.5px; }
.eyebrow--dark, .light .eyebrow { color: var(--gold-ink); }
.light em { color: #96721f; }               /* large italic heading words: 4.0:1, fine for big text */
.faq details a, .platform__note a { font-weight: 600; }
.faq details a { color: var(--gold-ink); }

/* Curriculum labels */
.month__num { font-weight: 700; }
.level__head .eyebrow { font-size: 13px; }
.cur-tabs a { font-weight: 700; }
.stats__intro, .chapter__num { font-weight: 700; }

@media (max-width: 760px) {
  .eyebrow { font-size: 12px; }
  .program__level { font-size: 12.5px; }
}
@media (max-width: 760px) {
  .stage-vignette { background: linear-gradient(180deg, rgba(11,20,36,.94) 0%, rgba(11,20,36,.82) 50%, rgba(11,20,36,.35) 72%, rgba(11,20,36,0) 88%); }
}
@media (max-width: 760px) {
  .hero__points, .hero__scroll { display: none; }
}

/* Shorter pinned "Our approach" scroll: about 2 screens on desktop, 1.5 on phones.
   The camera moves, the game and the chapter changes scale with it automatically. */
.story { height: 300vh; height: 300svh; }
@media (max-width: 760px) { .story { height: 240vh; height: 240svh; } }
/* Membership note: clear breathing room below the feature cards */
.platform__note { margin-top: clamp(40px, 4.5vw, 56px); font-size: 15px; line-height: 1.6; }
.platform__note a { display: inline; padding: 8px 0; }  /* keeps the tap area without breaking the line spacing */

/* Hover lifts use the separate `translate` property, so they never fight the
   scroll-in animations (which animate `transform`) and leave cards offset */
.feature, .included__grid li { transition: translate .5s var(--ease), border-color .4s, box-shadow .5s, background .4s; }
.feature:hover, .included__grid li:hover { transform: none; translate: 0 -4px; }
.program { transition: box-shadow .6s; }

/* ===================================================================
   Demo form: compact on phones
=================================================================== */
/* Optional fields tucked into an expandable row (all screen sizes) */
.optional { border-top: 1px dashed rgba(255,255,255,.14); padding-top: 12px; }
.optional summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 36px;
  font-size: 14px; font-weight: 600; color: var(--gold-400);
}
.optional summary::-webkit-details-marker { display: none; }
.optional summary::before { content: '+'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; font-size: 14px; line-height: 1; transition: transform .3s var(--ease); }
.optional[open] summary::before { content: '−'; }
.optional summary span { font-weight: 500; color: var(--text-dim); }
.optional .field-row { margin-top: 12px; }

@media (max-width: 760px) {
  .trial { padding-top: 56px; padding-bottom: 56px; }
  .trial__inner { gap: 28px; }
  .trial h2 { font-size: clamp(38px, 11vw, 46px); }
  .trial__copy p:not(.eyebrow) { margin-top: 14px; font-size: 16px; }
  /* ticks become one compact row of tags */
  .trial__ticks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-size: 13px; }
  .trial__ticks li { padding: 6px 12px; border-radius: 999px; background: rgba(213,170,80,.12); border: 1px solid rgba(213,170,80,.25); }
  .trial__ticks li::before { margin-right: 6px; }

  .trial__form { gap: 12px; padding: 20px 16px; border-radius: 20px; }
  .trial__title { font-size: 22px; }
  .field input, .field select { padding: 21px 14px 7px; font-size: 16px; border-radius: 10px; } /* 16px stops iOS zooming in */
  .field label { left: 15px; top: 14px; font-size: 15px; }
  .field input:focus + label, .field input:not(:placeholder-shown) + label, .field label.is-fixed { transform: translateY(-9px) scale(.72); }
  .field-row { gap: 12px; }
  .field-row--pair { grid-template-columns: 1.35fr 1fr; }
  .field-row--phone { grid-template-columns: 104px 1fr; }
  .optional .field-row { grid-template-columns: 1fr; }
  .check { min-height: 40px; font-size: 13.5px; }
  .trial__note { font-size: 13px; }
}
@media (max-width: 520px) {
  /* keep the paired rows side by side even on small phones */
  .field-row--pair { grid-template-columns: 1.35fr 1fr; }
  .field-row--phone { grid-template-columns: 104px 1fr; }
}
.optional summary { flex-wrap: wrap; }
.optional summary span { font-size: 13px; }
@media (max-width: 760px) {
  /* ticks flow as text, about two lines */
  .trial__ticks { display: block; margin-top: 16px; font-size: 14px; line-height: 1.9; color: var(--text); }
  .trial__ticks li { display: inline; padding: 0; background: none; border: 0; margin-right: 14px; white-space: nowrap; }
}
.field select { padding-right: 34px; text-overflow: ellipsis; }
.optional summary span { flex-basis: 100%; padding-left: 28px; margin-top: -4px; }

/* Course cards: level name beside the icon, larger */
.program__head { display: flex; align-items: center; gap: 16px; }
.program__head .program__glyph { flex: none; }
.program .program__level {
  display: flex; flex-direction: column; gap: 2px; margin: 0;
  font-family: var(--f-body); font-size: clamp(17px, 1.5vw, 19px); font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; color: var(--gold-ink);
}
.program .program__level small { font-size: 12px; font-weight: 700; letter-spacing: .2em; opacity: .8; }
.program--featured .program__level { color: var(--gold-400); }
.program__head + h3 { margin-top: 22px; }

/* Phones: chapter text gets its own dark, softly blurred panel so it stays
   readable over the moving board at every scroll position */
@media (max-width: 760px) {
  .chapter {
    justify-content: flex-start; padding: 20px 18px 22px; margin: 0 -6px; border-radius: 20px;
    background: linear-gradient(180deg, rgba(11,20,36,.86), rgba(11,20,36,.72));
    border: 1px solid rgba(213,170,80,.16);
    backdrop-filter: blur(8px) saturate(1.1); -webkit-backdrop-filter: blur(8px) saturate(1.1);
    bottom: auto;
  }
  .chapter h2, .chapter p, .chapter__num { text-shadow: 0 1px 12px rgba(11,20,36,.6); }
  .chapter p { color: #d4dbe6; }
  .story__chapters { height: auto; min-height: 300px; }
}
.program .program__level { align-items: flex-start; min-width: 0; font-size: clamp(16px, 1.3vw, 18px); letter-spacing: .07em; }
@media (max-width: 760px) { .program .program__level { font-size: 18px; letter-spacing: .09em; } }
.programs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1240px) { .programs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .programs__grid { grid-template-columns: minmax(0, 1fr); } }

/* Testimonial photos */
.quote figcaption { flex-direction: row; align-items: center; gap: 14px; }
.quote__who { display: flex; flex-direction: column; line-height: 1.35; }
.quote__avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(213,170,80,.55); box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); background: #1b2f52;
}
.quote__avatar--initial {
  display: grid; place-items: center; font-family: var(--f-display); font-size: 26px; font-weight: 600;
  color: var(--ink); background: linear-gradient(145deg, var(--gold-400), var(--gold-500)); border-color: rgba(213,170,80,.8);
}

/* ===================================================================
   Buttons: one size and alignment everywhere
=================================================================== */
.btn {
  min-height: 48px; padding: 0 28px; line-height: 1.2;
  font-family: var(--f-body); font-size: 14px; font-weight: 700; letter-spacing: .02em;
  text-align: center; white-space: nowrap; gap: 8px;
}
.btn span { display: inline-flex; align-items: center; justify-content: center; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }   /* header: same text, slightly shorter */
.btn--block { width: 100%; }

@media (max-width: 600px) {
  /* stacked buttons share one full width so their edges line up */
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__ctas .btn, .mobile-menu .btn, .programs__foot .btn, .faq__help-actions .btn { width: 100%; }
  .btn { min-height: 52px; font-size: 15px; }
  .mobile-menu .btn { margin-top: 24px; align-self: stretch; }
}

/* ===================================================================
   Phones: steady chapter panel (no jumping while scrolling)
   One panel on the container, sized to the tallest chapter; chapters
   stack in the same grid cell and only cross-fade inside it.
=================================================================== */
@media (max-width: 760px) {
  .story__chapters {
    display: grid; height: auto; min-height: 0;
    padding: 20px 18px 22px; margin: 0 -6px; border-radius: 20px;
    background: linear-gradient(180deg, rgba(11,20,36,.88), rgba(11,20,36,.76));
    border: 1px solid rgba(213,170,80,.16);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transform: translateZ(0);            /* own compositing layer: smooth on iOS */
  }
  .chapter {
    grid-area: 1 / 1; position: relative; inset: auto;
    padding: 0; margin: 0; border: 0; border-radius: 0; background: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    transition: opacity .45s ease, visibility .45s;
  }
  .chapter > *, .chapter.is-active > * { transform: none; transition: none; }
}

/* "Still have questions?": text left, WhatsApp button right, both centred vertically */
.faq__help { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 32px; }
.faq__help-text { min-width: 0; }
.faq__help-text h3 { margin: 0; }
.faq__help-text p { margin: 6px 0 0; max-width: 420px; }
.faq__help-actions { display: block; }
.faq__help .btn span { gap: 10px; }
.faq__help .btn svg { flex: none; }
@media (max-width: 600px) {
  .faq__help { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
  .faq__help-actions, .faq__help-actions .btn { width: 100%; }
}

/* Phones: the demo section's intro sits over the 3D board, so give it the
   same dark, softly blurred panel as the chapter text */
@media (max-width: 760px) {
  .trial__copy {
    padding: 22px 18px 24px; margin: 0 -6px; border-radius: 20px;
    background: linear-gradient(180deg, rgba(11,20,36,.88), rgba(11,20,36,.78));
    border: 1px solid rgba(213,170,80,.16);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .trial__copy p:not(.eyebrow), .trial__ticks { color: #d4dbe6; }
}

/* ===================================================================
   Testimonials: the cards slide with GPU transforms (see main.js), not
   by scrolling, so nothing re-snaps. Each card moves on its own rather
   than the whole rail, because Safari on iPhone tiles any moving layer
   wider than about 1,000 points and can drop it for a frame (a blink).
=================================================================== */
.testimonials__track { display: block; overflow: hidden; scroll-snap-type: none; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.testimonials__rail { display: flex; gap: var(--sp-gap); width: max-content; }
.testimonials__rail .quote { scroll-snap-align: none; transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.testimonials__rail.is-dragging .quote { transition: none; }
.quote__avatar { -webkit-user-drag: none; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .testimonials__rail .quote { transition: none; } }

/* ===================================================================
   Phones: no live blur over the 3D canvas. Blurring a WebGL canvas
   that redraws every frame makes iPhones flicker, so the panels use
   a nearly solid background instead. Chapters fade out first, then
   the next one fades in, so two texts never show at once.
=================================================================== */
@media (max-width: 760px) {
  .story__chapters, .trial__copy {
    backdrop-filter: none; -webkit-backdrop-filter: none; transform: none;
    background: linear-gradient(180deg, rgba(11,20,36,.95), rgba(11,20,36,.9));
  }
  .chapter { transition: opacity .25s ease, visibility 0s linear .25s; }
  .chapter.is-active { transition: opacity .35s ease .2s, visibility 0s; }
  .btn--ghost { backdrop-filter: none; -webkit-backdrop-filter: none; --bg: rgba(11,20,36,.82); }
  .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11,20,36,.94); }
  .trial__form { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(18,30,49,.94); }
}

/* ===================================================================
   Phones: the chapter panel is fixed to the screen instead of sticky.
   iPhone Safari makes sticky elements shake up and down while
   scrolling; fixed ones stay perfectly still. main.js adds .is-in to
   .story while it is on screen; the solid sections after it (higher
   z-index) slide over the panel just as before.
=================================================================== */
@media (max-width: 760px) {
  .story__chapters {
    position: fixed; top: 96px; left: calc(var(--gutter) - 6px); right: calc(var(--gutter) - 6px);
    width: auto; margin: 0; z-index: 2;
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
  }
  .story.is-in .story__chapters { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
  /* nothing sticky left in the story on phones: a fixed panel inside a
     sticky box still inherits the sticky jitter on iPhones */
  .story__sticky { position: static; height: auto; padding: 0; }
}

/* ===================================================================
   Countries strip
   Real flag images (identical on every device; emoji flags show as two
   letters on Windows), each flag centred on an upright name.
   Motion is in main.js: each country slides on its own, because Safari
   on iPhone tiles (and can briefly drop) any moving layer wider than
   about 1,000 points, which made a single long strip blink.
   The edge fades are plain overlays, not a CSS mask.
=================================================================== */
.marquee {
  --gap: clamp(36px, 4vw, 64px);
  position: relative; padding: clamp(18px, 2vw, 26px) 0;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; z-index: 1; width: 8%; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), rgba(11, 20, 36, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink), rgba(11, 20, 36, 0)); }
.marquee__track { display: flex; width: max-content; }
.marquee__set {
  display: flex; align-items: center; flex: none;
  gap: var(--gap); padding-right: var(--gap);     /* end padding = gap, so one list shift loops seamlessly */
}
.marquee .country {
  display: inline-flex; align-items: center; gap: .42em;
  font-family: var(--f-display); font-style: normal; font-weight: 600;
  font-size: clamp(22px, 2.5vw, 36px); line-height: 1.1; letter-spacing: .01em;
  color: var(--text); white-space: nowrap;
}
.marquee .country img {
  flex: none; width: 1.2em; height: .9em; object-fit: cover; border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 14px -6px rgba(0, 0, 0, .7);
  position: relative; top: .04em;   /* optical centre on Cormorant's x-height */
}

/* ===================================================================
   Hover never moves anything. When the page scrolls under a resting
   mouse, cards pass in and out of :hover one after another; any lift
   made them jump up and down ("dancing") and made Safari redraw their
   text. Hover now only changes colour, border and shadow.
=================================================================== */
.program:hover, .feature:hover, .included__grid li:hover,
.footer__social a:hover, .whatsapp:hover { translate: none; transform: none; }
.program, .feature, .included__grid li { transition: border-color .3s, box-shadow .4s, background .3s; }
.program:hover { border-color: rgba(198, 165, 92, .45); }
.program--featured:hover { border-color: rgba(224, 191, 116, .6); }
.whatsapp { transition: background .3s, box-shadow .3s, opacity .4s; }
.whatsapp:hover { box-shadow: 0 14px 32px -12px rgba(37, 211, 102, .6); }
/* The product window sits flat (no 3D tilt to straighten while scrolling) */
.device-wrap { perspective: none; }
.device { transform: none; }

/* Cards pop up on hover (lift + gold border + deeper shadow). While the
   page scrolls, hover is paused (main.js adds .is-scrolling) so cards
   sliding under a resting mouse don't jump one after another. */
.program, .feature, .included__grid li { transition: translate .45s var(--ease), border-color .3s, box-shadow .4s, background .3s; }
.program:hover, .feature:hover, .included__grid li:hover { translate: 0 -8px; }
.is-scrolling :is(.program, .feature, .included__grid li) { pointer-events: none; }

/* Each month: two themed blocks of four sessions */
.month__block + .month__block { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .09); }
.month h4 { margin: 0 0 12px; font-family: var(--f-caps); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c9d1de; }

/* What the student can do by the end of the month */
.month__goal { margin: 0 0 20px; padding-left: 14px; border-left: 2px solid rgba(213, 170, 80, .55); font-size: 15px; line-height: 1.55; color: #c9d1de; }
.month__goal b { display: block; margin-bottom: 5px; font-family: var(--f-caps); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }



/* ---------- Fixed free-demo modal ---------- */
.trial#trial {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  min-height: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(5, 12, 24, .72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.trial#trial.is-open { display: flex; }
.trial#trial .trial__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  width: min(100%, 980px);
  max-height: min(90vh, 820px);
  max-height: min(90dvh, 820px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(213,170,80,.32);
  border-radius: 22px;
  background: #101e32;
  box-shadow: 0 28px 90px rgba(0,0,0,.48);
}
.trial#trial .trial__copy { padding-right: 6px; }
.trial#trial .trial__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.trial#trial .trial__copy p:not(.eyebrow) { font-size: 15px; }
.trial#trial .trial__ticks { margin-top: 18px; font-size: 14px; }
.trial#trial .trial__form {
  width: 100%;
  max-width: 520px;
  padding: 24px;
  gap: 12px;
  background: rgba(18,30,49,.96);
}
.trial__close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(11,20,36,.92);
  color: #fff;
  font: 300 28px/1 var(--f-body);
  cursor: pointer;
}
.trial__close:hover, .trial__close:focus-visible { border-color: var(--gold-400); color: var(--gold-400); }
body.demo-modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body.demo-modal-open .whatsapp { display: none; }
.trial#trial .trial__inner,
.trial#trial .trial__form { touch-action: pan-y; }
@media (max-width: 760px) {
  .trial#trial { padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)); }
  .trial#trial .trial__inner {
    display: block;
    width: min(100%, 520px);
    max-height: 92vh;
    max-height: 92dvh;
    padding: 54px 16px 16px;
    border-radius: 16px;
  }
  .trial#trial .trial__copy { margin-bottom: 14px; }
  .trial#trial .trial__copy .eyebrow,
  .trial#trial .trial__copy p:not(.eyebrow),
  .trial#trial .trial__ticks { display: none; }
  .trial#trial .trial__copy h2 { font-size: 28px; margin: 0; }
  .trial#trial .trial__form { padding: 14px; gap: 10px; }
  .trial#trial .trial__title { font-size: 22px; padding-right: 20px; }
  .trial#trial .field input,
  .trial#trial .field select { min-height: 52px; padding-top: 22px; padding-bottom: 8px; font-size: 16px; }
  .trial#trial .field-row { gap: 8px; }
  .trial__close { top: 9px; right: 9px; }
}
@media (max-width: 390px) {
  .trial#trial .field-row { grid-template-columns: 1fr; }
  .trial#trial .field-row--phone { grid-template-columns: minmax(100px, .8fr) 1.4fr; }
}


/* Responsive demo modal: also handle tablet widths and iOS Safari's
   "Request Desktop Website" layout viewport. */
@media (max-width: 1024px) {
  .trial#trial .trial__inner {
    display: block;
    width: min(100%, 620px);
    max-height: 92vh;
    max-height: 92dvh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 54px 16px 16px;
  }
  .trial#trial .trial__copy { margin: 0 0 14px; }
  .trial#trial .trial__copy .eyebrow,
  .trial#trial .trial__copy p:not(.eyebrow),
  .trial#trial .trial__ticks { display: none; }
  .trial#trial .trial__copy h2 { font-size: clamp(25px, 4vw, 32px); margin: 0; }
  .trial#trial .trial__form { width: 100%; max-width: none; min-width: 0; padding: 16px; }
  .trial#trial .field-row { grid-template-columns: minmax(0, 1fr); }
  .trial#trial .field-row--phone { grid-template-columns: minmax(105px, .8fr) minmax(0, 1.4fr); }
  .trial#trial .field,
  .trial#trial .field input,
  .trial#trial .field select { min-width: 0; width: 100%; max-width: 100%; }
  .trial#trial .trial__title { font-size: clamp(20px, 3vw, 24px); }
}
@media (max-width: 430px) {
  .trial#trial { padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
  .trial#trial .trial__inner { width: 100%; padding: 48px 10px 10px; border-radius: 14px; }
  .trial#trial .trial__form { padding: 12px; gap: 10px; }
  .trial#trial .field-row { gap: 8px; }
  .trial#trial .field-row--phone { grid-template-columns: minmax(92px, .75fr) minmax(0, 1.5fr); }
  .trial#trial .field input,
  .trial#trial .field select { font-size: 16px; min-height: 50px; }
  .trial#trial .trial__close { top: 7px; right: 7px; }
}


/* Cross-browser responsive hardening: modal, form controls and small screens */
html, body { max-width: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.trial#trial { box-sizing: border-box; }
.trial#trial *, .trial#trial *::before, .trial#trial *::after { box-sizing: border-box; }
.trial#trial .trial__inner { min-width: 0; }
.trial#trial .trial__form,
.trial#trial .field,
.trial#trial .field-row { min-width: 0; }
.trial#trial .field input,
.trial#trial .field select,
.trial#trial button { max-width: 100%; }
@media (max-width: 1024px) {
  .trial#trial .trial__inner { grid-template-columns: minmax(0, 1fr); }
  .trial#trial .field-row:not(.field-row--phone) { grid-template-columns: minmax(0, 1fr); }
  .trial#trial .trial__form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 430px) {
  .trial#trial { height: 100vh; height: 100dvh; }
  .trial#trial .trial__inner { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .trial#trial .field-row--phone { grid-template-columns: minmax(88px, .7fr) minmax(0, 1.5fr); }
  .trial#trial .field input, .trial#trial .field select { font-size: 16px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .trial#trial { align-items: flex-start; overflow-y: auto; }
  .trial#trial .trial__inner { max-height: none; margin-block: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .trial#trial *, .trial#trial *::before, .trial#trial *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* ---------- Inline free-demo form at the end of every location page ---------- */
.trial#trial.trial--footer {
  display: flex;
  position: relative;
  inset: auto;
  z-index: auto;
  min-height: 0;
  height: auto;
  width: 100%;
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.trial#trial.trial--footer .trial__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  width: min(100%, 1100px);
  max-width: 1100px;
  max-height: none;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.trial#trial.trial--footer .trial__copy { display: block; margin: 0; padding: 0; }
.trial#trial.trial--footer .trial__copy .eyebrow,
.trial#trial.trial--footer .trial__copy p:not(.eyebrow),
.trial#trial.trial--footer .trial__ticks { display: block; }
.trial#trial.trial--footer .trial__copy h2 { font-size: clamp(34px, 4vw, 58px); margin: initial; }
.trial#trial.trial--footer .trial__copy p:not(.eyebrow) { font-size: 17px; }
.trial#trial.trial--footer .trial__ticks { margin-top: 22px; font-size: 14px; }
.trial#trial.trial--footer .trial__form {
  width: 100%;
  max-width: 520px;
  min-width: 0;
  padding: clamp(18px, 3vw, 30px);
  gap: 14px;
  background: rgba(18,30,49,.88);
}
.trial#trial.trial--footer .trial__close { display: none; }
@media (max-width: 1024px) {
  .trial#trial.trial--footer { padding: 64px var(--gutter); }
  .trial#trial.trial--footer .trial__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 680px);
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  .trial#trial.trial--footer .trial__copy { margin: 0 0 8px; }
  .trial#trial.trial--footer .trial__copy .eyebrow,
  .trial#trial.trial--footer .trial__copy p:not(.eyebrow),
  .trial#trial.trial--footer .trial__ticks { display: block; }
  .trial#trial.trial--footer .trial__copy h2 { font-size: clamp(30px, 5vw, 42px); }
  .trial#trial.trial--footer .trial__form { width: 100%; max-width: none; padding: 20px; }
}
@media (max-width: 600px) {
  .trial#trial.trial--footer { padding: 48px var(--gutter); align-items: stretch; }
  .trial#trial.trial--footer .trial__inner { width: 100%; gap: 20px; }
  .trial#trial.trial--footer .trial__copy h2 { font-size: clamp(28px, 8vw, 36px); }
  .trial#trial.trial--footer .trial__copy p:not(.eyebrow) { font-size: 15px; }
  .trial#trial.trial--footer .trial__form { padding: 16px; gap: 12px; }
}


/* ---------- Floating CTA opens the existing footer form ---------- */
.trial#trial.trial--footer.is-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 120;
  min-height: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(5, 12, 24, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.trial#trial.trial--footer.is-modal .trial__inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 520px);
  width: min(100%, 980px);
  max-height: min(92vh, 850px);
  max-height: min(92dvh, 850px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid rgba(213,170,80,.32);
  border-radius: 20px;
  background: #101e32;
  box-shadow: 0 28px 90px rgba(0,0,0,.48);
}
.trial#trial.trial--footer.is-modal .trial__copy { display: block; margin: 0; }
.trial#trial.trial--footer.is-modal .trial__copy .eyebrow,
.trial#trial.trial--footer.is-modal .trial__copy p:not(.eyebrow),
.trial#trial.trial--footer.is-modal .trial__ticks { display: block; }
.trial#trial.trial--footer.is-modal .trial__form { max-width: none; }
.trial#trial.trial--footer.is-modal .trial__close {
  display: grid;
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(11,20,36,.96);
  color: #fff;
  font: 300 28px/1 var(--f-body);
  cursor: pointer;
}
.trial__whatsapp-link {
  display: block;
  margin-top: 2px;
  color: var(--gold-400);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}
body.demo-modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body.demo-modal-open .whatsapp { visibility: hidden; }
.trial#trial.trial--footer.is-modal .trial__inner,
.trial#trial.trial--footer.is-modal .trial__form { touch-action: pan-y; }
@media (max-width: 760px) {
  .trial#trial.trial--footer.is-modal { padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)); }
  .trial#trial.trial--footer.is-modal .trial__inner {
    display: block;
    width: 100%;
    max-height: 94vh;
    max-height: 94dvh;
    padding: 52px 12px 12px;
    border-radius: 15px;
  }
  .trial#trial.trial--footer.is-modal .trial__copy { margin: 0 0 12px; }
  .trial#trial.trial--footer.is-modal .trial__copy .eyebrow,
  .trial#trial.trial--footer.is-modal .trial__copy p:not(.eyebrow),
  .trial#trial.trial--footer.is-modal .trial__ticks { display: none; }
  .trial#trial.trial--footer.is-modal .trial__copy h2 { font-size: 27px; margin: 0; }
  .trial#trial.trial--footer.is-modal .trial__form { padding: 14px; gap: 10px; }
}
/* Make mobile form controls reliably tappable and keep the iOS caret visible. */
.trial__form .field { isolation: isolate; }
.trial__form .field input,
.trial__form .field select {
  position: relative;
  z-index: 1;
  display: block;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
  caret-color: var(--gold-400);
  scroll-margin-block: 100px;
}
.trial__form .field label { z-index: 0; pointer-events: none; }
.trial__form .field input:focus,
.trial__form .field select:focus {
  outline: 2px solid rgba(213,170,80,.2);
  outline-offset: 1px;
}
@media (max-width: 760px) {
  .trial__form .field input,
  .trial__form .field select { min-height: 54px; font-size: 16px; }
}


/* Mobile form tap/focus reliability: keep fields above labels and prevent iOS zoom. */
@media (max-width: 760px) {
  .trial__form .field { position: relative; min-width: 0; }
  .trial__form .field input,
  .trial__form .field select,
  .trial__form .field textarea {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 56px;
    padding-top: 25px;
    padding-bottom: 12px;
    font-size: 16px !important;
    line-height: 1.35;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-user-select: text;
    user-select: text;
    -webkit-tap-highlight-color: rgba(213,170,80,.18);
  }
  .trial__form .field label {
    z-index: 1;
    pointer-events: none;
  }
  .trial__form .field input:focus,
  .trial__form .field select:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 2px rgba(213,170,80,.16);
  }
}


/* Native form interaction: do not route taps/scroll gestures through smooth-scroll layers. */
#trial .trial__form,
#trial .trial__form .field,
#trial .trial__form .field input,
#trial .trial__form .field select,
#trial .trial__form .field textarea,
#trial .trial__form button,
#trial .trial__form label {
  -webkit-transform: none;
  transform: none;
}
#trial .trial__form .field input,
#trial .trial__form .field select,
#trial .trial__form .field textarea {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto !important;
  touch-action: auto;
  user-select: text;
  -webkit-user-select: text;
  font-size: 16px !important;
}
#trial .trial__form .field { isolation: auto; }
#trial .trial__form .field label { pointer-events: none !important; }
#trial .trial__form :is(input, select, textarea, button) { position: relative; z-index: 4; }


/* Footer demo form: stable responsive layout across phone and tablet widths. */
.trial#trial.trial--footer,
.trial#trial.trial--footer * {
  box-sizing: border-box;
}
.trial#trial.trial--footer .trial__inner {
  min-width: 0;
}
.trial#trial.trial--footer .trial__form {
  min-width: 0;
  width: 100%;
}
.trial#trial.trial--footer .field-row,
.trial#trial.trial--footer .field,
.trial#trial.trial--footer .field input,
.trial#trial.trial--footer .field select {
  min-width: 0;
}
.trial#trial.trial--footer .field input,
.trial#trial.trial--footer .field select {
  width: 100%;
  max-width: 100%;
  min-height: 54px;
  font-size: 16px;
}
.trial#trial.trial--footer .field-row--phone {
  grid-template-columns: minmax(100px, .78fr) minmax(0, 1.5fr);
}
.trial#trial.trial--footer .check {
  min-width: 0;
  align-items: flex-start;
  line-height: 1.5;
}
.trial#trial.trial--footer .check input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin-top: 1px;
}
.trial#trial.trial--footer .trial__form > .btn {
  min-height: 54px;
  white-space: normal;
}
.trial#trial.trial--footer .optional summary {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
@media (max-width: 860px) {
  .trial#trial.trial--footer {
    min-height: 0;
    padding: 56px var(--gutter);
  }
  .trial#trial.trial--footer .trial__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 640px);
    gap: 22px;
  }
  .trial#trial.trial--footer .trial__copy {
    width: 100%;
    margin: 0;
  }
  .trial#trial.trial--footer .trial__copy h2 {
    max-width: 15ch;
    font-size: clamp(32px, 6vw, 44px);
    line-height: 1.08;
  }
  .trial#trial.trial--footer .trial__copy p:not(.eyebrow) {
    max-width: 52ch;
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.55;
  }
  .trial#trial.trial--footer .trial__ticks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
  }
  .trial#trial.trial--footer .trial__form {
    max-width: none;
    padding: 22px;
    gap: 14px;
  }
  .trial#trial.trial--footer .field-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  .trial#trial.trial--footer .field-row--phone {
    grid-template-columns: minmax(100px, .78fr) minmax(0, 1.5fr);
  }
}
@media (max-width: 600px) {
  .trial#trial.trial--footer {
    padding: 44px max(16px, var(--gutter));
  }
  .trial#trial.trial--footer .trial__inner {
    width: 100%;
    gap: 18px;
  }
  .trial#trial.trial--footer .trial__copy h2 {
    max-width: 13ch;
    font-size: clamp(29px, 8vw, 36px);
  }
  .trial#trial.trial--footer .trial__copy p:not(.eyebrow) {
    font-size: 15px;
  }
  .trial#trial.trial--footer .trial__ticks {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin-top: 14px;
    font-size: 13px;
  }
  .trial#trial.trial--footer .trial__form {
    padding: 16px;
    gap: 12px;
    border-radius: 16px;
  }
  .trial#trial.trial--footer .trial__title {
    font-size: 22px;
    line-height: 1.2;
  }
  .trial#trial.trial--footer .field-row,
  .trial#trial.trial--footer .field-row--pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .trial#trial.trial--footer .field-row--phone {
    grid-template-columns: minmax(96px, .78fr) minmax(0, 1.5fr);
  }
  .trial#trial.trial--footer .field input,
  .trial#trial.trial--footer .field select {
    min-height: 56px;
    padding: 23px 13px 9px;
    font-size: 16px !important;
    line-height: 1.35;
  }
  .trial#trial.trial--footer .field label {
    left: 14px;
    top: 15px;
    font-size: 14px;
  }
  .trial#trial.trial--footer .field input:focus + label,
  .trial#trial.trial--footer .field input:not(:placeholder-shown) + label,
  .trial#trial.trial--footer .field label.is-fixed {
    transform: translateY(-8px) scale(.74);
  }
  .trial#trial.trial--footer .optional summary {
    font-size: 14px;
    line-height: 1.4;
  }
  .trial#trial.trial--footer .check {
    gap: 10px;
    font-size: 13px;
  }
  .trial#trial.trial--footer .trial__form > .btn {
    width: 100%;
    min-height: 56px;
    padding: 14px 12px;
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .trial#trial.trial--footer {
    padding-inline: 12px;
  }
  .trial#trial.trial--footer .trial__form {
    padding: 13px;
  }
  .trial#trial.trial--footer .field-row--phone {
    grid-template-columns: minmax(88px, .75fr) minmax(0, 1.4fr);
    gap: 8px;
  }
}


/* Mobile intro panel above the footer demo form: keep the message balanced
   and prevent the headline's narrow desktop measure from creating excess height. */
@media (max-width: 760px) {
  .trial#trial.trial--footer .trial__copy {
    width: 100%;
    max-width: none;
    padding: 20px 18px 22px;
    margin: 0;
    border-radius: 18px;
  }
  .trial#trial.trial--footer .trial__copy h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(28px, 7.2vw, 36px);
    line-height: 1.08;
    letter-spacing: -.025em;
    text-wrap: balance;
    overflow-wrap: normal;
  }
  .trial#trial.trial--footer .trial__copy p:not(.eyebrow) {
    max-width: 58ch;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.5;
  }
  .trial#trial.trial--footer .trial__ticks {
    margin-top: 14px;
    gap: 7px;
  }
}
@media (max-width: 390px) {
  .trial#trial.trial--footer .trial__copy {
    padding: 18px 16px 20px;
  }
  .trial#trial.trial--footer .trial__copy h2 {
    font-size: clamp(27px, 7.4vw, 31px);
  }
  .trial#trial.trial--footer .trial__copy p:not(.eyebrow) {
    font-size: 14px;
  }
}


/* Fix: the phone row in the Chat with us modal must span the full form grid.
   Without this, iOS Safari places the row in one half-width form column. */
@media (max-width: 1024px) {
  .trial#trial.trial--footer.is-modal .trial__form .field-row--phone {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(112px, .38fr) minmax(0, 1fr);
    gap: 8px;
  }
  .trial#trial.trial--footer.is-modal .field-row--phone > .field,
  .trial#trial.trial--footer.is-modal .field-row--phone > .field input,
  .trial#trial.trial--footer.is-modal .field-row--phone > .field select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}
