/* NEXXED — tokens from DESIGN.md (WebVeda-style direction) */
:root {
  --bg: #FFFFFF;
  --soft: #F5F6FA;
  --line: #E4E6EF;
  --ink: #070815;
  --ink-2: #4B4E66;
  --muted: #9EA1B8;
  --indigo: #4353CF;
  --indigo-dk: #3442B5;
  --lavender: #ECEEFE;
  --navy: #232C6E;
  --navy-2: #2E3888;
  --night: #0B0D22;
  --peri: #AEB6FF;
  --strike: #D64545;
  --ok: #1F9D63;

  --f-head: "Radio Canada Big", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(40px, 5.6vw, 72px);
  --fs-h2: clamp(30px, 4vw, 46px);
  --fs-h3: clamp(20px, 1.8vw, 22px);
  --fs-lead: clamp(18px, 1.6vw, 20px);
  --fs-sm: 14px;

  --r-sm: 12px; --r: 20px; --r-lg: 32px; --r-pill: 999px;
  --shadow: 0 20px 50px -24px rgba(11, 13, 34, .35);
  --w: 1160px; --w-read: 760px;

  /* Optional: a real instructor photo behind the hero, e.g. url("img/hero.jpg") */
  --hero-photo: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0 0 16px; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 8px; }
.section--leaf :focus-visible, .hero :focus-visible { outline-color: var(--peri); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 40px, var(--w)); margin-inline: auto; }
.wrap--read { max-width: var(--w-read); }
.wrap--offer { max-width: 720px; }
.center { text-align: center; }
.narrow { max-width: 62ch; }

.tone { color: var(--indigo); }
.section--leaf .tone, .hero .tone { color: var(--peri); }
.eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--indigo); margin-bottom: 14px; }
.eyebrow--light { color: var(--peri); }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer; border: 0; transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { background: var(--indigo-dk); }
.btn--primary:active { transform: scale(.98); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 20px; }
.btn--xl { min-height: 58px; padding: 0 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--xl svg { transition: transform .15s ease; }
.btn--xl:hover svg { transform: translateX(3px); }
.btn--primary.pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(67, 83, 207, .45); } 50% { box-shadow: 0 0 0 12px rgba(67, 83, 207, 0); } }

/* ---------- Top bar + nav ---------- */
.topbar { background: var(--night); color: rgba(255, 255, 255, .85); font-size: var(--fs-sm); text-align: center; padding: 9px 16px; }
.topbar p { margin: 0; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar__sep { margin: 0 6px; opacity: .4; }
@media (max-width: 640px) { .topbar__sep { display: none; } .topbar strong { display: block; } }
[data-countdown] { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.topbar [data-countdown] { color: var(--peri); }

.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav__links { display: none; gap: 32px; font-weight: 500; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--ink); }
.nav__links a:hover { color: var(--indigo); }
@media (min-width: 760px) { .nav__links { display: flex; } }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 22px; width: auto; }
.logo span { display: inline-block; color: var(--ink); transform: skewX(-12deg); }
.logo--sm img { height: 18px; }

/* ---------- Hero: full-bleed photo ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; min-height: min(88vh, 760px); display: flex; align-items: center; padding: 72px 0 120px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,13,34,.92) 0%, rgba(11,13,34,.78) 38%, rgba(11,13,34,.25) 68%, rgba(11,13,34,0) 100%),
              linear-gradient(0deg, rgba(11,13,34,.55) 0%, transparent 35%); }
@media (max-width: 699px) {
  .hero { min-height: 0; padding: 300px 0 110px; align-items: flex-end; }
  .hero__bg img { object-position: 82% 30%; height: 62%; }
  .hero::before { background: linear-gradient(180deg, rgba(11,13,34,0) 0%, rgba(11,13,34,.2) 22%, rgba(11,13,34,.92) 46%, var(--night) 62%); }
  .hero { background: var(--night); }
}
.hero__in { max-width: var(--w); }
.badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); padding: 7px 14px 7px 12px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; margin-bottom: 22px; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 4px rgba(61,220,151,.22); animation: blink 1.6s ease-in-out infinite; }
.hero__title { font-size: var(--fs-hero); line-height: 1.02; font-weight: 600; margin-bottom: 20px; max-width: 12ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__lead { font-size: var(--fs-lead); line-height: 1.55; color: rgba(255,255,255,.85); max-width: 46ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__watch { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; text-decoration: none; font-size: 15px; }
.hero__watch-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
.hero__watch:hover .hero__watch-icon { background: #fff; color: var(--indigo); }
.hero__price { margin: 18px 0 0; font-size: var(--fs-sm); color: rgba(255,255,255,.75); }
.hero__price strong { color: #fff; font-size: 18px; font-family: var(--f-head); }
.hero__price s { color: rgba(255,255,255,.5); margin-right: 2px; }
.hero__price [data-countdown] { color: var(--peri); }

/* Fact band overlapping the hero */
.facts { list-style: none; margin: -64px 0 0; padding: 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: var(--r); box-shadow: 0 24px 60px -24px rgba(11,13,34,.3); border: 1px solid var(--line); overflow: hidden; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { padding: 22px 24px; display: grid; gap: 2px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts strong { font: 700 clamp(22px, 2.6vw, 30px)/1.1 var(--f-head); color: var(--indigo); }
.facts span { font-size: var(--fs-sm); color: var(--ink-2); }

/* VSL section */
.vslsec { padding: 72px 0 40px; }
.wrap--vsl { max-width: 960px; }
.vslsec h2 { margin-bottom: 28px; }
.vsl { width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; position: relative; box-shadow: 0 40px 80px -36px rgba(11,13,34,.55); }
.vsl iframe { width: 100%; height: 100%; border: 0; display: block; }
.vsl__poster { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; inset: 0; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff; padding: 20px; text-align: center; }
.vsl__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; z-index: -1; transition: transform .6s ease; }
.vsl__poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(11,13,34,.35), rgba(11,13,34,.75)); }
.vsl__poster:hover .vsl__img { transform: scale(1.03); }
.vsl__poster:focus-visible { outline: 3px solid var(--peri); outline-offset: -6px; }
.vsl__play { width: 84px; height: 84px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(67,83,207,.35); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(67,83,207,.6); } 100% { box-shadow: 0 0 0 26px rgba(67,83,207,0); } }
.vsl__play svg { margin-left: 3px; }
.vsl__label { font: 600 clamp(16px, 2vw, 21px)/1.3 var(--f-head); max-width: 30ch; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.vsl__label em { font-style: normal; color: rgba(255,255,255,.7); font-weight: 500; }
.vsl__sound { position: absolute; bottom: 14px; right: 14px; font-size: 12px; background: rgba(0,0,0,.5); padding: 5px 10px; border-radius: var(--r-pill); }
@media (max-width: 600px) { .vsl__sound { display: none; } .vsl__play { width: 64px; height: 64px; } }

/* Niche marquee */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); margin-top: 32px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { white-space: nowrap; padding: 10px 18px; border-radius: var(--r-pill); background: var(--soft); font-weight: 600; font-size: 15px; color: var(--ink); }
.marquee__track span:nth-child(3n+1) { background: var(--lavender); color: var(--indigo); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section--sand { background: var(--soft); }
.section--leaf { background: var(--navy); color: #fff; width: min(100% - 24px, 1240px); margin: 24px auto; border-radius: var(--r-lg);
  background-image: radial-gradient(70% 60% at 100% 0%, rgba(174, 182, 255, .18), transparent 60%); }
.section--leaf .lead { color: rgba(255, 255, 255, .75); }
.proofstrip { padding: 40px 0 0; }

/* Pain */
.pain { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 12px; }
.pain li { position: relative; padding: 18px 22px 18px 58px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.pain li::before { content: "!"; position: absolute; left: 20px; top: 19px; width: 24px; height: 24px; border-radius: 50%; background: #FDECEC; color: var(--strike); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.pain__turn { font-size: var(--fs-lead); }

/* Split */
.split { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 64px; } .split > :first-child { position: sticky; top: 110px; } }
.split--about { align-items: center; }
@media (min-width: 900px) { .split--about { grid-template-columns: 4fr 7fr; } .split--about > :first-child { position: static; } }
.nope { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.nope li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.nope .x { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lavender); color: var(--indigo); font-weight: 700; font-size: 13px; }
.nope strong { font-family: var(--f-head); font-weight: 600; font-size: 17px; }

/* Before / after */
.ba { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) { .ba { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.ba__col { border-radius: var(--r); padding: 32px; }
.ba__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ba__col li { padding-left: 30px; position: relative; }
.ba__col--before { background: var(--soft); color: var(--ink-2); }
.ba__col--before li::before { content: "✕"; position: absolute; left: 0; color: var(--strike); font-weight: 700; }
.ba__col--after { background: var(--navy); color: #fff; }
.ba__col--after li::before { content: "✓"; position: absolute; left: 0; color: var(--peri); font-weight: 700; }
.ba__arrow { display: grid; place-items: center; font: 600 32px/1 var(--f-head); color: var(--indigo); transform: rotate(90deg); }
@media (min-width: 900px) { .ba__arrow { transform: none; } }

/* Modules */
.modules { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .modules { grid-template-columns: 1fr 1fr; gap: 16px; } }
.module { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; transition: border-color .15s ease; }
.module:hover { border-color: var(--indigo); }
.module__n { grid-row: span 3; font: 600 15px/1 var(--f-head); background: var(--lavender); color: var(--indigo); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.module h3 { margin: 4px 0 2px; font-size: 19px; }
.module p { margin: 0; color: var(--ink-2); font-size: 15px; }
.module .module__meta { font-size: var(--fs-sm); font-weight: 600; color: var(--ok); margin-top: 8px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--soft); border-radius: var(--r); padding: 28px 24px; }
.steps__n { font: 600 15px/1 var(--f-head); color: #fff; background: var(--indigo); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; }
.steps p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* Stories */
.stories { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 900px) { .stories { grid-template-columns: repeat(3, 1fr); } }

/* Offer */
.offer { background: #fff; color: var(--ink); border-radius: 24px; padding: 32px 22px; margin-top: 40px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
@media (min-width: 700px) { .offer { padding: 44px; } }
.stack { list-style: none; padding: 0; margin: 0; }
.stack li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stack__tick { width: 24px; height: 24px; border-radius: 50%; background: #E3F6EC; color: var(--ok); display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 1px; }
.stack strong { font-family: var(--f-head); font-weight: 600; font-size: 17px; display: block; line-height: 1.3; }
.stack small { color: var(--ink-2); font-size: var(--fs-sm); display: block; margin-top: 3px; }
.stack__val { font: 600 15px/1.3 var(--f-head); color: var(--strike); white-space: nowrap; text-align: right; }
.stack li.is-bonus strong::before { content: "BONUS"; font: 700 10px/1 var(--f-body); letter-spacing: .08em; background: var(--lavender); color: var(--indigo); padding: 4px 7px; border-radius: 6px; margin-right: 8px; vertical-align: 3px; }
.stack__total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 0; font-weight: 600; color: var(--ink-2); }
.stack__total s { font: 600 22px/1 var(--f-head); color: var(--strike); }
.offer__price { text-align: center; margin: 28px 0 24px; padding: 24px; background: var(--lavender); border-radius: var(--r); }
.offer__today { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--indigo); margin: 0; }
.offer__big { font: 700 clamp(52px, 9vw, 76px)/1 var(--f-head); letter-spacing: -0.02em; margin: 8px 0; }
.offer__note { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; }
.offer__urgency { margin: 20px 0 0; text-align: center; font-size: var(--fs-sm); color: var(--ink-2); }
.offer__urgency [data-countdown] { color: var(--strike); }
.offer__pay { margin: 8px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--strike); margin-right: 6px; vertical-align: 1px; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Guarantee */
.guarantee { display: grid; gap: 28px; align-items: center; background: var(--soft); border-radius: var(--r-lg); padding: 32px; }
@media (min-width: 700px) { .guarantee { grid-template-columns: auto 1fr; padding: 48px; } }
.guarantee__seal { color: var(--ok); justify-self: center; }
.guarantee .eyebrow { color: var(--ok); }
.h2--sm { font-size: clamp(26px, 3vw, 34px); }
.guarantee p:last-child { margin-bottom: 0; }

/* Fit */
.fit { display: grid; gap: 20px; }
@media (min-width: 900px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit__col { border-radius: var(--r); padding: 32px; border: 1px solid var(--line); background: #fff; }
.fit__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fit__col li { padding-left: 30px; position: relative; }
.fit__col--yes { border-color: var(--indigo); box-shadow: inset 0 0 0 1px var(--indigo); }
.fit__col--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.fit__col--no { background: var(--soft); border-color: transparent; color: var(--ink-2); }
.fit__col--no li::before { content: "✕"; position: absolute; left: 0; color: var(--strike); font-weight: 700; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq details[open] { border-color: var(--indigo); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 17px/1.4 var(--f-head); position: relative; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(var(--indigo), var(--indigo)) center/16px 2px no-repeat, linear-gradient(var(--indigo), var(--indigo)) center/2px 16px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }

/* Close */
.close h2 { font-size: clamp(32px, 4.4vw, 50px); }
.close .btn { margin-top: 20px; background: #fff; color: var(--indigo); }
.close .btn:hover { background: var(--lavender); }
.close__ps { margin-top: 28px; color: rgba(255, 255, 255, .75); font-size: var(--fs-sm); }
.close__ps [data-countdown] { color: var(--peri); }

/* Footer */
.foot { padding: 48px 0 130px; font-size: var(--fs-sm); color: var(--ink-2); }
.foot__in { display: grid; gap: 10px; justify-items: center; text-align: center; }
.foot p { margin: 0; }
.foot a { color: var(--indigo); }
.foot__legal { max-width: 70ch; font-size: 12px; color: var(--muted); }
.foot__legal a { color: inherit; }

/* Sticky CTA — floating lavender pill */
.sticky {
  position: fixed; z-index: 50; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
  width: min(600px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 22px; background: var(--lavender); border: 1px solid #D9DCFB; border-radius: var(--r-pill);
  box-shadow: var(--shadow); transform: translate(-50%, 160%); transition: transform .25s ease;
}
.sticky.is-on { transform: translate(-50%, 0); }
.sticky__info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sticky__text { font-weight: 600; font-size: 15px; }
.sticky__text strong { font-family: var(--f-head); }
.sticky__timer { font-size: 12px; color: var(--ink-2); }
.sticky__timer [data-countdown] { color: var(--strike); }
.sticky .btn { flex: none; min-height: 48px; padding: 0 24px; }

/* ---------- Placeholders (owner must replace) ---------- */
.ph { position: relative; border: 2px dashed var(--strike); border-radius: var(--r); background: rgba(214, 69, 69, .04); color: var(--ink-2); padding: 30px 22px 22px; font-size: var(--fs-sm); margin: 0; }
.ph__tag { position: absolute; top: -11px; left: 16px; background: var(--strike); color: #fff; font: 700 11px/1 var(--f-body); letter-spacing: .08em; padding: 5px 8px; border-radius: 6px; }
.ph--inline { padding: 22px 20px 16px; }
.ph--small { margin-top: 16px; padding: 18px 16px 12px; font-size: 12px; }
.ph--card { min-height: 220px; display: flex; align-items: center; }
.ph--photo { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; max-width: 380px; width: 100%; justify-self: center; }
.ph code { background: var(--soft); padding: 1px 5px; border-radius: 4px; font-size: .95em; }


/* ---------- Image-led layouts ---------- */
.media-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .media-split { grid-template-columns: 1fr 1.1fr; gap: 72px; } .media-split--rev > figure { order: 2; } }
.media-split__img { position: relative; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px -36px rgba(11,13,34,.5); }
.media-split__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.media-split__img--tall img { aspect-ratio: 4 / 5; }
.media-split__img figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; color: #fff; font: 500 15px/1.45 var(--f-body); padding: 14px 16px; border-radius: 14px; background: rgba(11,13,34,.55); backdrop-filter: blur(8px); }
.media-split .pain { margin: 24px 0; }
.float-chip { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow); }
.rec { width: 10px; height: 10px; border-radius: 50%; background: #E5484D; animation: blink 1.2s ease-in-out infinite; }
section:not(.section--sand) .media-split__img img[src*="learning"] { aspect-ratio: 4 / 3.4; }

/* Before / after with photo */
.ba__col--after { position: relative; overflow: hidden; padding: 0; min-height: 420px; display: flex; align-items: flex-end; }
.ba__col--after > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ba__col--after::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,44,110,.05) 0%, rgba(35,44,110,.55) 40%, rgba(35,44,110,.95) 75%); }
.ba__after-body { position: relative; z-index: 1; padding: 32px; }
.ba__col--before { display: flex; flex-direction: column; justify-content: center; }

/* Section header with lead on the right */
.sec-head { display: grid; gap: 12px; align-items: end; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1.3fr 1fr; gap: 48px; } .sec-head .lead { margin-bottom: 20px; } }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--indigo), var(--lavender)); }
.timeline li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 12px 0; position: relative; }
.timeline__n { width: 40px; height: 40px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; font: 600 16px/1 var(--f-head); box-shadow: 0 0 0 6px #fff; }
.timeline h3 { margin: 6px 0 4px; font-size: 19px; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Community band */
.community { position: relative; width: min(100% - 24px, 1240px); margin: 24px auto; border-radius: var(--r-lg); overflow: hidden; display: grid; min-height: 560px; isolation: isolate; }
.community__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.community::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,13,34,0) 30%, rgba(11,13,34,.55) 55%, rgba(11,13,34,.92) 80%); }
.community__panel { justify-self: end; align-self: center; max-width: 480px; margin: 48px; color: #fff; }
.community__panel h2 { font-size: clamp(28px, 3.4vw, 40px); }
.community__panel .tone { color: var(--peri); }
.community__panel p { color: rgba(255,255,255,.82); }
.community__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.community__list li { padding-left: 30px; position: relative; font-weight: 500; }
.community__list li::before { content: "✓"; position: absolute; left: 0; color: var(--peri); font-weight: 700; }
@media (max-width: 799px) {
  .community { min-height: 0; }
  .community__img { position: relative; height: 300px; z-index: 0; }
  .community::before { display: none; }
  .community__panel { margin: 0; max-width: none; padding: 32px 24px 36px; background: var(--navy); justify-self: stretch; }
}

/* Offer bundle */
.offer__bundle { display: block; width: min(340px, 80%); margin: -120px auto 8px; filter: drop-shadow(0 30px 40px rgba(11,13,34,.35)); }
.offer { margin-top: 130px; }

/* Instructor */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 4fr 7fr; gap: 64px; } }
.about__photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: center; background: var(--lavender); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about__missing { display: none; }
.about__photo.is-missing img { display: none; }
.about__photo.is-missing .about__missing { display: grid; place-items: center; text-align: center; position: absolute; inset: 0; border-radius: 28px; }

/* Close with photo */
.close { position: relative; overflow: hidden; isolation: isolate; }
.close__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,28,78,.82), rgba(11,13,34,.92)); }
.close__in { position: relative; }

@media (min-width: 900px) { .ba { grid-template-columns: 1fr 1.35fr; } }
.ba__col--after > img { object-position: 60% 50%; }
.close__img { object-position: 75% 40%; }
@media (max-width: 899px) {
  .ba__col--after { display: block; min-height: 0; background: var(--navy); }
  .ba__col--after > img { position: relative; height: 220px; }
  .ba__col--after::after { inset: 0 0 auto 0; height: 220px; background: linear-gradient(180deg, transparent 50%, var(--navy)); }
  .ba__after-body { padding: 8px 28px 30px; }
}

/* ---------- Mentor ---------- */
.hero__trust { display: flex; align-items: center; gap: 10px; margin: -8px 0 26px; font-size: var(--fs-sm); color: rgba(255,255,255,.85); }
.hero__trust strong { color: #fff; }
.hero__trust-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: var(--indigo); border: 2px solid rgba(255,255,255,.6); }
.hero__trust-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scale(1.5); transform-origin: 50% 15%; }

.mentor { background: var(--night); color: #fff; padding: 96px 0 80px; margin-top: 56px; position: relative; overflow: hidden;
  background-image: radial-gradient(60% 50% at 20% 40%, rgba(67,83,207,.45), transparent 70%), radial-gradient(40% 40% at 100% 0%, rgba(174,182,255,.12), transparent 70%); }
.mentor__in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .mentor__in { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.mentor__visual { position: relative; max-width: 480px; width: 100%; justify-self: center; aspect-ratio: 4 / 5; }
.mentor__glow { position: absolute; inset: 12% 6% 0; border-radius: 50% 50% 32px 32px; background: linear-gradient(180deg, var(--indigo), var(--navy)); }
.mentor__cutout { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; -webkit-mask: linear-gradient(180deg, #000 85%, transparent); mask: linear-gradient(180deg, #000 85%, transparent); }
.mentor__badge { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); display: grid; line-height: 1.15; }
.mentor__badge strong { font: 700 24px/1.05 var(--f-head); color: var(--indigo); }
.mentor__badge span { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.mentor__badge--subs { left: -4%; top: 30%; animation: bob 5s ease-in-out infinite; }
.mentor__badge--views { right: -4%; bottom: 18%; animation: bob 5s ease-in-out 1.2s infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.mentor__copy h2 { font-size: clamp(32px, 4.2vw, 50px); }
.mentor__copy .tone { color: var(--peri); }
.mentor__lead { font-size: var(--fs-lead); line-height: 1.6; color: rgba(255,255,255,.82); }
.mentor__lead strong { color: #fff; }
.mentor__stats { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.mentor__stats li { padding: 20px 12px 20px 0; display: grid; gap: 4px; }
.mentor__stats li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
.mentor__stats strong { font: 700 clamp(26px, 3.4vw, 44px)/1 var(--f-head); color: #fff; font-variant-numeric: tabular-nums; }
.mentor__stats li:last-child strong { font-size: clamp(18px, 2vw, 24px); line-height: 1.2; color: var(--peri); }
.mentor__stats span { font-size: 13px; color: rgba(255,255,255,.65); }
.mentor__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.mentor__channel { color: var(--peri); font-weight: 600; text-decoration: none; }
.mentor__channel:hover { text-decoration: underline; }
.mentor__teach { margin-top: 64px; position: relative; border-radius: 28px; overflow: hidden; padding: 0; }
.mentor__teach img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 35%; border-radius: 28px; }
.mentor__teach figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 560px; display: flex; gap: 10px; align-items: center; background: rgba(11,13,34,.6); backdrop-filter: blur(10px); padding: 14px 18px; border-radius: 16px; font-weight: 500; }
@media (max-width: 700px) {
  .mentor { padding: 64px 0 56px; }
  .mentor__badge strong { font-size: 20px; }
  .mentor__badge--subs { left: 0; } .mentor__badge--views { right: 0; }
  .mentor__stats { grid-template-columns: 1fr 1fr; }
  .mentor__stats li:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .mentor__teach img { aspect-ratio: 4 / 3; }
  .mentor__teach figcaption { position: static; margin-top: 12px; background: rgba(255,255,255,.06); }
}

/* ============ MODALS (checkout + timed popup) ============ */
.modal { border: 0; padding: 0; border-radius: 24px; width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; color: var(--ink); background: #fff; box-shadow: 0 40px 80px -30px rgba(11,13,34,.6); }
.modal::backdrop { background: rgba(7,8,21,.62); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .28s cubic-bezier(.2,.8,.2,1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.modal__x:hover { background: var(--soft); }
.modal h2 { font-size: 22px; line-height: 1.2; margin: 0 0 6px; }

/* Checkout */
.co__head { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 0; }
.co__logo { height: 20px; width: auto; align-self: flex-start; }
.co__timer { margin: 0; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #FDECEC; color: #A32626; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--r-pill); }
.co__timer strong { font-variant-numeric: tabular-nums; }
.co__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--strike); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.co__summary { display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: center; margin: 16px 24px 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.co__summary img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: var(--lavender); }
.co__summary h2 { font-size: 17px; margin: 0 0 2px; }
.co__summary p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.co__price { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px !important; }
.co__price s { color: var(--strike); font-size: 15px; }
.co__price strong { font: 700 26px/1 var(--f-head); color: var(--ink); margin-left: auto; }
.co__form { display: grid; gap: 12px; padding: 18px 24px 24px; }
.co__form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.co__form input, .nudge__form input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #C9CCDA; border-radius: var(--r-sm); font: 400 16px var(--f-body); color: var(--ink); background: #fff; }
.co__form input:focus, .nudge__form input:focus { outline: 3px solid rgba(67,83,207,.35); border-color: var(--indigo); }
.co__phone { display: flex; align-items: stretch; }
.co__phone > span { display: grid; place-items: center; padding: 0 12px; border: 1px solid #C9CCDA; border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--soft); font-weight: 600; font-size: 15px; }
.co__phone input { border-radius: 0 var(--r-sm) var(--r-sm) 0 !important; }
.co__err { margin: 0; color: #B42318; font-size: 14px; font-weight: 500; }
.co__form .btn { margin-top: 4px; }
.co__form .btn:disabled { opacity: .7; cursor: progress; }
.co__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; color: var(--ink-2); }
.co__trust li { display: inline-flex; align-items: center; gap: 5px; }
.co__note { margin: 0; text-align: center; font-size: 12.5px; color: var(--ink-2); }
.co__done { padding: 40px 28px 36px; text-align: center; }
.co__tick { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 32px; }

/* Timed popup */
.nudge { width: min(440px, calc(100vw - 24px)); }
.nudge__top { position: relative; height: 190px; background: radial-gradient(120% 90% at 50% 100%, #4353CF 0%, #232C6E 55%, #0B0D22 100%); overflow: hidden; }
.nudge__img { position: absolute; left: 50%; bottom: -28px; height: 210px; width: auto; transform: translateX(-88%); }
.nudge__clock { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); background: #fff; border-radius: 16px; padding: 12px 14px; text-align: center; box-shadow: var(--shadow); }
.nudge__clock span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.nudge__clock strong { display: block; margin-top: 4px; font: 700 18px/1.1 var(--f-head); color: var(--strike); font-variant-numeric: tabular-nums; }
.nudge__body { padding: 20px 24px 24px; }
.nudge__body .eyebrow { margin-bottom: 6px; }
.nudge__body > p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.nudge__form { display: grid; gap: 10px; }
.nudge__skip { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--indigo); font: 600 14px var(--f-body); cursor: pointer; padding: 8px; }
.nudge__skip:hover { text-decoration: underline; }
@media (max-width: 420px) {
  .nudge__top { height: 160px; }
  .nudge__img { height: 180px; }
  .co__head, .co__form { padding-left: 18px; padding-right: 18px; }
  .co__summary { margin-left: 18px; margin-right: 18px; }
}
