/* ==========================================================================
   Rise Point Tutoring — styles
   Brand: logo navy + logo teal. Font: Plus Jakarta Sans. Photo-led layout.
   ========================================================================== */

:root {
  --navy-950: #061a3a;
  --navy-900: #0b2a55;   /* logo navy */
  --navy-800: #143a70;
  --navy-700: #23508f;
  --navy-100: #e6edf7;
  --navy-50:  #f2f6fb;

  --teal-700: #08766b;   /* teal for text on white (AA) */
  --teal-600: #0b8c7f;
  --teal-500: #11aa98;   /* logo teal */
  --teal-400: #3cc4b3;
  --teal-200: #b4e9e1;
  --teal-100: #d9f4ef;
  --teal-50:  #edfaf7;

  --white: #ffffff;
  --ink:   #0b1f3d;
  --ink-2: #44546b;
  --ink-3: #6c7a8f;
  --line:  #e2e8f0;
  --line-2:#cfd8e3;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(11, 42, 85, .06), 0 2px 6px rgba(11, 42, 85, .05);
  --shadow:    0 2px 6px rgba(11, 42, 85, .05), 0 16px 40px rgba(11, 42, 85, .10);
  --shadow-lg: 0 6px 14px rgba(11, 42, 85, .06), 0 30px 70px rgba(11, 42, 85, .16);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.4, .64, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 80px;

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--navy-900); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--teal-200); color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s var(--ease-out); }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }  /* layout styles must never override "hidden" */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--navy-50); }
.section--teal { background: var(--teal-50); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); }
.section-head p { margin-top: 16px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.eyebrow svg { width: 14px; height: 14px; color: var(--teal-500); }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.6; }
.hl { color: var(--teal-600); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-900); --fg: var(--white); --bd: var(--navy-900);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border: 2px solid var(--bd); border-radius: 12px;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 16.5px; white-space: nowrap;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn:hover { --bg: var(--navy-800); --bd: var(--navy-800); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(11, 42, 85, .22); }
.btn:active { transform: none; box-shadow: none; }
.btn .arrow { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--teal { --bg: var(--teal-500); --bd: var(--teal-500); --fg: var(--navy-950); }
.btn--teal:hover { --bg: var(--teal-400); --bd: var(--teal-400); --fg: var(--navy-950); box-shadow: 0 12px 24px rgba(17, 170, 152, .3); }
.btn--outline { --bg: transparent; --fg: var(--navy-900); --bd: var(--line-2); }
.btn--outline:hover { --bg: var(--white); --bd: var(--navy-900); --fg: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn--outline-light { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { --bg: rgba(255, 255, 255, .08); --bd: var(--white); --fg: var(--white); box-shadow: none; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-700); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease, transform .4s var(--ease-out); }
.site-header.is-scrolled { border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 52px; height: auto; transition: transform .5s var(--ease-back); }
.brand:hover .brand__mark { transform: translateY(-2px) rotate(-3deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--navy-900); }
.brand__sub { margin-top: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: .42em; color: var(--teal-600); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .2s ease, background-color .2s ease; }
.nav a:hover { color: var(--navy-900); background: var(--navy-50); }
.nav a[aria-current="page"] { color: var(--navy-900); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--teal-500); }
.header-cta { margin-left: 10px; }

.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); align-items: center; justify-content: center; }
.menu-btn span { position: relative; display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: background-color .2s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--white); padding: 16px var(--gutter) 40px; display: flex; flex-direction: column; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; overflow-y: auto; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .3s ease; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.mobile-menu nav a::after { content: "→"; font-size: 20px; color: var(--teal-600); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: .05s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .09s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .13s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .17s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .21s; }
.mobile-menu .btn { margin-top: 28px; }
body.menu-open { overflow: hidden; }
@media (max-width: 1040px) { .nav, .header-cta { display: none; } .menu-btn { display: inline-flex; } }
@media (min-width: 1041px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; min-height: min(760px, calc(100svh - var(--header-h))); }
.hero__copy { padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px) clamp(48px, 6vw, 88px) 0; max-width: 600px; }
.hero h1 { font-size: clamp(42px, 5.2vw, 70px); line-height: 1.04; letter-spacing: -.035em; }
.hero .lead { margin-top: 24px; max-width: 520px; }
.hero__pick { margin-top: 34px; }
.hero__pick-label { font-size: 16px; font-weight: 800; color: var(--navy-900); }
.hero__pick-row { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 540px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--white); font-weight: 700; color: var(--navy-900); line-height: 1.3; transition: border-color .25s ease, transform .25s var(--ease-out), box-shadow .25s ease, background-color .25s ease; }
.pick:hover { border-color: var(--teal-500); background: var(--teal-50); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pick__ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-900); transition: background-color .25s ease, color .25s ease; }
.pick:hover .pick__ico { background: var(--teal-500); color: var(--white); }
.pick__ico svg { width: 22px; height: 22px; }
.pick small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-top: 2px; }
.pick .arrow { margin-left: auto; width: 18px; height: 18px; flex-shrink: 0; color: var(--teal-600); transition: transform .3s var(--ease-out); }
.pick:hover .arrow { transform: translateX(3px); }
.hero__actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__note { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.hero__note svg { width: 18px; height: 18px; color: var(--teal-600); }

.hero__media { position: relative; align-self: stretch; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter))); }
.hero__photo { position: absolute; inset: 0; border-radius: var(--radius-xl) 0 0 var(--radius-xl); overflow: hidden; background: var(--navy-100); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 40%; }
.hero__badge { position: absolute; z-index: 2; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.hero__badge strong { display: block; font-size: 15px; font-weight: 800; color: var(--navy-900); line-height: 1.25; }
.hero__badge span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.hero__badge .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.hero__badge .ico svg { width: 22px; height: 22px; }
.hero__badge--live { left: -28px; top: 16%; }
.hero__badge--live .ico { background: var(--teal-50); color: var(--teal-600); }
.hero__badge--note { left: 8%; bottom: 8%; max-width: 330px; align-items: flex-start; }
.hero__badge--note .ico { background: var(--navy-900); color: var(--teal-400); }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #e2483d; vertical-align: 1px; animation: pulse 1.8s ease-in-out infinite; }

.js .hero__photo { clip-path: inset(0 0 0 100% round var(--radius-xl) 0 0 var(--radius-xl)); animation: wipe 1.3s .15s var(--ease-in-out) forwards; }
.js .hero__photo img { transform: scale(1.12); animation: settle 1.8s .15s var(--ease-out) forwards; }
.js .hero__badge--live { opacity: 0; transform: translateX(-20px); animation: rise .9s 1.1s var(--ease-out) forwards; }
.js .hero__badge--note { opacity: 0; transform: translateY(20px); animation: rise .9s 1.4s var(--ease-out) forwards; }

/* Facts strip */
.facts { border-block: 1px solid var(--line); background: var(--white); }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; }
.facts__item + .facts__item { border-left: 1px solid var(--line); }
.facts__item:first-child { padding-left: 0; }
.facts__ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.facts__ico svg { width: 23px; height: 23px; }
.facts__item strong { display: block; font-size: 16px; font-weight: 800; color: var(--navy-900); line-height: 1.3; }
.facts__item span { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Program cards ---------- */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.program { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program__img { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--navy-100); }
.program__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.program:hover .program__img img { transform: scale(1.05); }
.program__tag { position: absolute; left: 18px; top: 18px; padding: 7px 13px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 800; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.program__body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.program h3 { font-size: 28px; }
.program p { margin-top: 10px; color: var(--ink-2); }
.chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--navy-50); font-size: 14px; font-weight: 700; color: var(--navy-800); }
.program .link-arrow { margin-top: auto; padding-top: 24px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.step__num { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--white); font-size: 18px; font-weight: 800; }
.step:nth-child(even) .step__num { background: var(--teal-500); color: var(--navy-950); }
.step h3 { margin-top: 22px; font-size: 22px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

/* ---------- Split (photo + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--flip .split__media { order: 2; }
.split h2 { font-size: clamp(32px, 4vw, 48px); }
.split .lead { margin-top: 18px; }
.split .btn { margin-top: 32px; }
.split__media { position: relative; }
.photo { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 4.6; }
.photo--wide { aspect-ratio: 4 / 3.1; }
.split__media .float { position: absolute; z-index: 2; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 18px; }
.float--br { right: -24px; bottom: 32px; width: 300px; }
.float--bl { left: -24px; bottom: 32px; width: 320px; }
.float__row { display: flex; align-items: center; gap: 12px; }
.float__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-500); color: var(--navy-950); font-weight: 800; flex-shrink: 0; }
.float__avatar svg { width: 20px; height: 20px; }
.float strong { display: block; font-size: 15px; font-weight: 800; color: var(--navy-900); line-height: 1.3; }
.float span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.match-meter { margin-top: 12px; height: 8px; border-radius: 99px; background: var(--teal-50); overflow: hidden; }
.match-meter i { display: block; height: 100%; width: 100%; background: var(--teal-500); border-radius: 99px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s .7s var(--ease-out); }
.is-in .match-meter i { transform: scaleX(1); }

.ticks { margin-top: 28px; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; color: var(--ink-2); }
.ticks li strong { color: var(--navy-900); }
.ticks .tick { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-500); color: var(--white); display: grid; place-items: center; margin-top: 1px; }
.ticks .tick svg { width: 15px; height: 15px; }

/* Lesson note card */
.note-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.note-head .chip { padding: 4px 10px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: 12px; font-weight: 800; }
.note-list { margin-top: 10px; display: grid; gap: 8px; }
.note-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--navy-900); line-height: 1.45; }
.note-list .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line-2); display: grid; place-items: center; color: var(--white); transition: background-color .35s ease, border-color .35s ease; transition-delay: var(--t, 0s); }
.note-list .box svg { width: 12px; height: 12px; transform: scale(0); transition: transform .4s var(--ease-back); transition-delay: var(--t, 0s); }
.is-in .note-list .box { background: var(--teal-500); border-color: var(--teal-500); }
.is-in .note-list .box svg { transform: scale(1); }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price.price--best { background: var(--navy-900); border-color: var(--navy-900); }
.price.price--best h3, .price.price--best .price__amt { color: var(--white); }
.price.price--best .price__desc, .price.price--best .price__list li { color: rgba(255, 255, 255, .8); }
.price.price--best .price__per { color: var(--teal-400); }
.price.price--best .price__list { border-color: rgba(255, 255, 255, .14); }
.price__tag { position: absolute; top: 18px; right: 18px; padding: 5px 11px; border-radius: 999px; background: var(--teal-500); color: var(--navy-950); font-size: 12px; font-weight: 800; }
.price h3 { font-size: 15px; font-weight: 700; letter-spacing: .01em; color: var(--ink-2); }
.price__amt { margin-top: 16px; font-size: 54px; font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--navy-900); }
.price__amt sup { font-size: .42em; vertical-align: top; position: relative; top: .3em; margin-right: 3px; letter-spacing: 0; }
.price__per { margin-top: 10px; font-size: 14.5px; font-weight: 700; color: var(--teal-700); }
.price__desc { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.price__list { margin-top: 18px; display: grid; gap: 9px; padding-top: 18px; border-top: 1px solid var(--line); }
.price__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.price__list li::before { content: ""; position: absolute; left: 0; top: .22em; width: 17px; height: 17px; border-radius: 50%; background: var(--teal-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5-5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.price__spacer { flex: 1; min-height: 26px; }
.price-note { margin-top: 28px; text-align: center; font-size: 15px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s ease, box-shadow .3s ease; }
.faq details[open]:not(.is-closing) { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font-weight: 700; font-size: 17.5px; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--navy-50); transition: background-color .3s ease, transform .4s var(--ease-out); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px; border-radius: 2px; background: var(--navy-900); transition: transform .4s var(--ease-out); }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open]:not(.is-closing) .plus { background: var(--teal-500); transform: rotate(180deg); }
.faq details[open]:not(.is-closing) .plus::after { transform: rotate(0deg); }
.faq__body { overflow: hidden; }
.faq__body > div { padding: 0 24px 24px; color: var(--ink-2); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { max-width: 860px; margin: 0 auto 20px; font-size: clamp(26px, 3.2vw, 34px); }

/* ---------- CTA band ---------- */
.cta { position: relative; border-radius: var(--radius-xl); background: var(--navy-900); color: var(--white); display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.cta__copy { position: relative; z-index: 1; padding: clamp(40px, 6vw, 80px); }
.cta h2 { color: var(--white); font-size: clamp(34px, 4.4vw, 54px); }
.cta p { margin-top: 18px; max-width: 480px; font-size: 18px; color: rgba(255, 255, 255, .8); }
.cta__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta__photo { position: relative; min-height: 340px; border-radius: 0 var(--radius-xl) var(--radius-xl) 0; overflow: hidden; }
.cta__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__star { position: absolute; z-index: 2; width: 64px; height: 64px; color: var(--teal-500); right: calc(45% - 32px); top: 36px; }
.js .cta__star { transform: scale(0) rotate(-90deg); transition: transform 1s .3s var(--ease-back); }
.js .cta.is-in .cta__star { transform: none; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-50); }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 84px); }
.page-hero--plain .page-hero__grid { grid-template-columns: 1fr; text-align: center; }
.page-hero--plain .lead { margin-inline: auto; }
.page-hero--plain .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.035em; }
.page-hero .lead { margin-top: 20px; max-width: 580px; }
.page-hero .hero__actions { margin-top: 30px; }
.page-hero .photo { aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-lg); }
.js .page-hero .photo { clip-path: inset(0 0 0 100% round var(--radius-xl)); animation: wipe-r 1.2s .15s var(--ease-in-out) forwards; }
.js .page-hero .photo img { transform: scale(1.1); animation: settle 1.6s .15s var(--ease-out) forwards; }

/* Info cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info { padding: 30px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.info:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info__badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); }
.info h3 { margin-top: 20px; font-size: 24px; }
.info p { margin-top: 10px; color: var(--ink-2); }
.info .chips { margin-top: 18px; }
.info__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--teal-400); }
.info__ico svg { width: 26px; height: 26px; }

.policy { max-width: 860px; margin-inline: auto; display: grid; gap: 16px; }
.policy article { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.policy h3 { font-size: 22px; }
.policy p { margin-top: 10px; color: var(--ink-2); }

/* ---------- Booking ---------- */
.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.book__aside { position: sticky; top: calc(var(--header-h) + 28px); }
.book__aside h1 { font-size: clamp(38px, 4.6vw, 56px); letter-spacing: -.035em; }
.book__aside .lead { margin-top: 18px; }
.book__aside .photo { margin-top: 30px; aspect-ratio: 16 / 9; }
.next-steps { margin-top: 24px; display: grid; }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.next-steps .n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--white); font-weight: 800; }
.next-steps li:nth-child(2) .n { background: var(--teal-500); color: var(--navy-950); }
.next-steps strong { display: block; color: var(--navy-900); }
.next-steps span { font-size: 15px; color: var(--ink-2); }

.form-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
.form-card h2 { font-size: 28px; }
.form-card > p { margin-top: 8px; color: var(--ink-2); }
.form { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form__group { grid-column: 1 / -1; margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14.5px; font-weight: 700; color: var(--navy-900); }
.field .opt { font-weight: 500; color: var(--ink-3); }
.input, .select, .textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white); font-size: 16px; color: var(--navy-900); transition: border-color .2s ease, box-shadow .2s ease; -webkit-appearance: none; appearance: none; }
.textarea { min-height: 112px; resize: vertical; }
.select { padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230b2a55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(17, 170, 152, .18); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: #d0533d; background-color: #fff7f5; }
.field__err { display: none; font-size: 13.5px; font-weight: 600; color: #b8412c; }
.field.is-invalid .field__err { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white); font-size: 15px; font-weight: 700; color: var(--navy-900); transition: all .2s ease; }
.choice span::before { content: ""; width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid var(--line-2); background: var(--white) center / 11px no-repeat; transition: all .2s ease; }
.choice:hover span { border-color: var(--ink-3); }
.choice input:checked + span { border-color: var(--teal-500); background: var(--teal-50); }
.choice input:checked + span::before { border-color: var(--teal-500); background-color: var(--teal-500); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.choice input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal-600); }
.consent.is-invalid { color: #b8412c; }
.form__submit { grid-column: 1 / -1; margin-top: 6px; }
.form__submit .btn { width: 100%; min-height: 58px; font-size: 17px; }
.form__fine { grid-column: 1 / -1; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.form__error { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 12px; background: #fff1ee; color: #a63a27; font-size: 15px; font-weight: 600; }
.form__error.is-shown { display: block; }
.btn.is-loading { pointer-events: none; color: transparent; }
.btn.is-loading .arrow { opacity: 0; }
.btn.is-loading::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); animation: spin .8s linear infinite; }
.form-success { display: none; text-align: center; padding: clamp(24px, 5vw, 48px) 0; }
.form-card.is-sent .form, .form-card.is-sent > h2, .form-card.is-sent > p { display: none; }
.form-card.is-sent .form-success { display: block; animation: rise .7s var(--ease-out); }
.form-success__icon { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; background: var(--teal-500); color: var(--white); display: grid; place-items: center; animation: pop .6s .1s var(--ease-back) both; }
.form-success__icon svg { width: 40px; height: 40px; }
.form-success__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .45s var(--ease-out) forwards; }
.form-success h2 { font-size: clamp(30px, 4vw, 40px); }
.form-success p { margin: 14px auto 0; max-width: 420px; color: var(--ink-2); }
.form-success .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: clamp(64px, 8vw, 96px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-flex; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--white); }
.footer-about { margin-top: 20px; max-width: 320px; font-size: 15.5px; }
.footer-col h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footer-col ul { margin-top: 18px; display: grid; gap: 10px; }
.footer-col a { font-size: 15.5px; color: rgba(255, 255, 255, .84); transition: color .2s ease; }
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .5); }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost__num { font-size: clamp(110px, 18vw, 190px); font-weight: 800; letter-spacing: -.06em; color: var(--navy-900); line-height: .9; }
.lost__num span { color: var(--teal-500); }
.lost p { margin-top: 18px; color: var(--ink-2); font-size: 19px; }

/* ---------- Motion ---------- */
.js [data-enter] { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 1s); }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="photo"] { transform: none; clip-path: inset(10% 10% 10% 10% round var(--radius-xl)); transition: clip-path 1.2s var(--ease-out), opacity .6s ease; }
.js [data-reveal="photo"] img { transform: scale(1.14); transition: transform 1.6s var(--ease-out); }
.js [data-reveal="photo"].is-in { clip-path: inset(0 0 0 0 round var(--radius-xl)); }
.js [data-reveal="photo"].is-in img { transform: none; }
.js .float[data-pop] { opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .8s .5s var(--ease-out), transform .8s .5s var(--ease-out); }
.js .is-in .float[data-pop] { opacity: 1; transform: none; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0 round var(--radius-xl) 0 0 var(--radius-xl)); } }
@keyframes wipe-r { to { clip-path: inset(0 0 0 0 round var(--radius-xl)); } }
@keyframes wipe-flat { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.75); } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .prices { grid-template-columns: repeat(2, 1fr); }
  .facts__list { grid-template-columns: repeat(2, 1fr); }
  .facts__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 40px 0 36px; max-width: none; }
  .hero__media { margin: 0 calc(-1 * var(--gutter)); height: clamp(360px, 72vw, 540px); }
  .hero__photo { border-radius: 0; }
  .js .hero__photo { clip-path: inset(0 0 0 100%); animation-name: wipe-flat; }
  .hero__badge--live { left: 16px; top: 16px; }
  .hero__badge--note { left: auto; right: 16px; bottom: 16px; max-width: 320px; }
  .programs, .split, .book, .page-hero__grid { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .steps, .cards-3 { grid-template-columns: 1fr 1fr; }
  .book__aside { position: static; }
  .cta { grid-template-columns: 1fr; }
  .cta__photo { min-height: 280px; order: -1; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .cta__star { right: 28px; top: 248px; }
  .float--br { right: 16px; }
  .float--bl { left: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  :root { --header-h: 70px; }
  .brand__mark { width: 44px; }
  .brand__name { font-size: 19px; }
  .brand__sub { font-size: 8.5px; }
  .hero__pick-row { grid-template-columns: 1fr; }
  .hero__actions .btn, .page-hero .hero__actions .btn { flex: 1 1 100%; }
  .hero__badge { padding: 11px 13px; }
  .hero__badge .ico { width: 36px; height: 36px; }
  .hero__badge--note { left: 16px; max-width: none; }
  .facts__list { grid-template-columns: 1fr 1fr; }
  .facts__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 12px 20px 0 !important; border: 0 !important; }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--line) !important; }
  .facts__item strong { font-size: 15px; }
  .facts__item span { font-size: 13.5px; }
  .steps, .cards-3, .prices { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .program__body { padding: 24px 22px; }
  .cta__actions .btn { flex: 1 1 100%; }
  .cta__photo { min-height: 220px; }
  .cta__star { top: 188px; width: 52px; height: 52px; }
  .faq summary { padding: 18px; font-size: 16.5px; }
  .faq__body > div { padding: 0 18px 20px; }
  .split__media .float { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -48px 14px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="photo"] { opacity: 1; transform: none; clip-path: none; }
}

/* ==========================================================================
   Polish layer: icons, buttons, motion
   ========================================================================== */

/* ---------- Icons ---------- */
.ic { display: block; }
.facts__ico, .pick__ico, .info__ico, .hero__badge .ico { transition: transform .5s var(--ease-back), background-color .3s ease, color .3s ease; }
.facts__ico svg { width: 26px; height: 26px; }
.info__ico svg { width: 28px; height: 28px; }
.info:hover .info__ico { transform: rotate(-8deg) scale(1.08); background: var(--teal-500); color: var(--navy-950); }
.facts__item:hover .facts__ico { transform: translateY(-3px) rotate(-6deg); }
.pick__ico svg { width: 24px; height: 24px; }
.step__ic { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); transition: transform .5s var(--ease-back), background-color .3s ease, color .3s ease; }
.step__ic svg { width: 26px; height: 26px; }
.step:hover .step__ic { transform: rotate(-8deg) scale(1.08); background: var(--teal-500); color: var(--navy-950); }
.ticks .tick svg, .ic-check { width: 14px; height: 14px; }
.float__avatar .ic-check { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn { overflow: hidden; isolation: isolate; border-radius: 14px; padding: 0 10px 0 26px; gap: 14px; letter-spacing: -.005em; }
.btn:not(:has(.arrow)) { padding: 0 26px; }
.btn .arrow { box-sizing: content-box; width: 16px; height: 16px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .14); transition: transform .45s var(--ease-out), background-color .3s ease, color .3s ease; }
.btn:hover .arrow { transform: none; background: var(--teal-500); color: var(--navy-950); }
.btn .arrow { overflow: visible; }
.btn--teal .arrow { background: rgba(6, 26, 58, .12); }
.btn--teal:hover .arrow { background: var(--navy-900); color: var(--white); }
.btn--outline .arrow, .btn--outline-light .arrow { background: var(--navy-50); }
.btn--outline:hover .arrow { background: var(--navy-900); color: var(--white); }
.btn::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%; background: rgba(255, 255, 255, .22); transform: skewX(-20deg); transition: left .7s var(--ease-out); pointer-events: none; }
.btn:hover::before { left: 130%; }
.btn--outline::before { background: rgba(17, 170, 152, .12); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: 0 20px; border-radius: 12px; }
.btn .arrow svg, .btn svg.arrow path { transition: transform .45s var(--ease-out); }
.btn:hover .arrow { animation: nudge .6s var(--ease-out); }
@keyframes nudge { 0% { translate: 0 0; } 40% { translate: 5px 0; } 100% { translate: 0 0; } }
.pick .arrow { box-sizing: content-box; padding: 8px; border-radius: 10px; background: var(--teal-50); }
.pick:hover .arrow { background: var(--teal-500); color: var(--white); }
.link-arrow svg { box-sizing: content-box; width: 14px; height: 14px; padding: 6px; border-radius: 50%; background: var(--teal-50); transition: transform .3s var(--ease-out), background-color .3s ease, color .3s ease; }
.link-arrow:hover svg, .program:hover .link-arrow svg { background: var(--teal-500); color: var(--white); transform: translateX(4px); }

/* Nav hover underline */
.nav a::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--teal-500); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav a:hover::before { transform: scaleX(1); transform-origin: left; }
.nav a:hover { background: transparent; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: var(--teal-500); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }

/* ---------- Word-by-word headlines ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.js .split-ready .w > span { transform: translateY(108%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms + var(--wd, 0ms)); }
.js .split-ready.go .w > span, .js .is-in .split-ready .w > span, .js .split-ready.is-in .w > span { transform: none; }
.js h1.split-ready[data-enter] { opacity: 1; transform: none; animation: none; }

/* ---------- Hero extras ---------- */
.hero__photo img { will-change: translate; }
.js .hero__badge--live { animation: rise .9s 1.1s var(--ease-out) forwards, bob 6s 2.4s ease-in-out infinite; }
.js .hero__badge--note { animation: rise .9s 1.4s var(--ease-out) forwards, bob 7s 2.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* Parallax photos */
[data-parallax] img { scale: 1.12; translate: 0 var(--py, 0px); will-change: translate; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; background: var(--navy-900); color: var(--white); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(18px, 2vw, 24px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.marquee__item svg { width: 22px; height: 22px; color: var(--teal-500); animation: twinkle 3s ease-in-out infinite; }
.marquee__item:nth-child(even) { color: var(--teal-400); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes twinkle { 0%, 100% { rotate: 0deg; scale: 1; } 50% { rotate: 45deg; scale: .8; } }

/* ---------- Steps: top bar draws in ---------- */
.step { overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--teal-500); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms + 300ms); }
.step.is-in::before, .no-js .step::before { transform: scaleX(1); }
.js .step .step__num { transform: scale(.4); opacity: 0; transition: transform .7s var(--ease-back), opacity .4s ease; transition-delay: calc(var(--i, 0) * 120ms + 200ms); }
.js .step.is-in .step__num { transform: none; opacity: 1; }

/* ---------- Pricing best card ---------- */
.price.price--best { box-shadow: 0 0 0 5px var(--teal-100), var(--shadow); }
.price__amt [data-count] { font-variant-numeric: tabular-nums; }

/* ---------- CTA star ---------- */
.js .cta.is-in .cta__star svg { animation: twinkle 4s 1.4s ease-in-out infinite; }

/* ---------- Page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .4s var(--ease-out) both; }
.site-header { view-transition-name: header; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .js .split-ready .w > span { transform: none; }
  [data-parallax] img { translate: none; }
  .js .step .step__num { opacity: 1; transform: none; }
  .progress { display: none; }
}
@media (max-width: 640px) {
  .btn { padding-left: 22px; }
  .step__ic { top: 22px; right: 20px; }
}
.pick { gap: 12px; padding: 12px 12px 12px 14px; }
.pick > span:not(.pick__ico) { flex: 1; min-width: 0; white-space: nowrap; }
.pick .arrow { padding: 7px; }

/* ==========================================================================
   v3 sections: collage hero, personas, subject explorer, stacking steps,
   comparison, bento, test facts, pricing split, FAQ split, photo CTA
   ========================================================================== */

/* ---------- Collage hero ---------- */
.hero3 { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); background: var(--white); }
.hero3__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero3 h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.04em; }
.hero3 .lead { margin-top: 24px; max-width: 540px; }
.hero3__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero3__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero3__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--navy-900); }
.hero3__trust svg { width: 20px; height: 20px; color: var(--teal-600); }

.collage { position: relative; aspect-ratio: 1 / .98; }
.collage__shape { position: absolute; border-radius: var(--radius-xl); }
.collage__shape--teal { right: 0; top: 6%; width: 62%; height: 72%; background: var(--teal-100); }
.collage__shape--navy { left: 4%; bottom: 0; width: 34%; height: 30%; background: var(--navy-900); border-radius: 28px 28px 28px 120px; }
.collage__img { position: absolute; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); background: var(--navy-100); }
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__img--main { left: 14%; top: 0; width: 62%; height: 78%; }
.collage__img--a { right: 0; top: 30%; width: 34%; height: 38%; border-radius: 26px; }
.collage__img--b { left: 0; bottom: 6%; width: 36%; height: 30%; border-radius: 26px; }
.collage__chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 800; color: var(--navy-900); line-height: 1.25; }
.collage__chip small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.collage__chip .ci { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); flex-shrink: 0; }
.collage__chip .ci svg { width: 22px; height: 22px; }
.collage__chip--live { left: 2%; top: 12%; }
.collage__chip--match { right: 2%; bottom: 20%; }
.collage__chip--match .ci { background: var(--teal-500); color: var(--white); }
.collage__star { position: absolute; z-index: 3; right: 6%; top: 0; width: 46px; height: 46px; color: var(--teal-500); animation: twinkle 5s ease-in-out infinite; }
.js .collage__img, .js .collage__shape, .js .collage__chip { opacity: 0; }
.js .collage__shape--teal { transform: scale(.85); animation: rise 1.1s .05s var(--ease-out) forwards; }
.js .collage__img--main { transform: translateY(40px); animation: rise 1.1s .2s var(--ease-out) forwards; }
.js .collage__img--a { transform: translateX(30px); animation: rise 1s .45s var(--ease-out) forwards; }
.js .collage__img--b { transform: translateY(30px); animation: rise 1s .6s var(--ease-out) forwards; }
.js .collage__shape--navy { transform: translateX(-30px); animation: rise 1s .5s var(--ease-out) forwards; }
.js .collage__chip--live { transform: translateY(16px) scale(.94); animation: rise .8s 1s var(--ease-back) forwards, bob 6s 2s ease-in-out infinite; }
.js .collage__chip--match { transform: translateY(16px) scale(.94); animation: rise .8s 1.25s var(--ease-back) forwards, bob 7s 2.4s ease-in-out infinite; }

/* ---------- Personas ---------- */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persona { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-xl); overflow: hidden; color: var(--navy-900); transition: transform .5s var(--ease-out); }
.persona:hover { transform: translateY(-6px); }
.persona--teal { background: var(--teal-100); }
.persona--navy { background: var(--navy-900); color: var(--white); }
.persona--sky { background: var(--navy-100); }
.persona__img { margin: 14px 14px 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.persona__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.persona:hover .persona__img img { transform: scale(1.06); }
.persona__body { padding: 24px 26px 28px; }
.persona__tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--navy-900); }
.persona--navy .persona__tag { background: var(--teal-500); color: var(--navy-950); }
.persona h3 { margin-top: 14px; font-size: 26px; color: inherit; }
.persona p { margin-top: 10px; font-size: 16px; opacity: .85; }

/* ---------- Subject explorer (tabs) ---------- */
.explorer { border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.tabs { position: relative; display: flex; gap: 4px; padding: 10px; background: var(--navy-50); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; flex: 1; min-width: 120px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border: 0; border-radius: 14px; background: transparent; font-weight: 800; font-size: 16px; color: var(--ink-2); transition: color .3s ease; white-space: nowrap; }
.tab svg { width: 22px; height: 22px; }
.tab[aria-selected="true"] { color: var(--white); }
.tabs__ink { position: absolute; z-index: 0; top: 10px; bottom: 10px; left: 0; width: 0; border-radius: 14px; background: var(--navy-900); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); }
.panel[hidden] { display: none; }
.panel.is-entering > * { animation: rise .6s var(--ease-out) both; }
.panel.is-entering > *:nth-child(2) { animation-delay: .08s; }
.panel h3 { font-size: clamp(26px, 3vw, 34px); }
.panel__intro { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.topics { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.topic { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--navy-50); transition: background-color .25s ease, transform .25s var(--ease-out); }
.topic:hover { background: var(--teal-50); transform: translateX(3px); }
.topic svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--teal-600); margin-top: 1px; }
.topic strong { display: block; font-size: 15px; color: var(--navy-900); line-height: 1.3; }
.topic span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.panel__side { display: flex; flex-direction: column; gap: 14px; }
.panel__photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.panel__photo img { width: 100%; height: 100%; object-fit: cover; }
.panel__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-fact { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); }
.mini-fact b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--navy-900); }
.mini-fact span { font-size: 13px; color: var(--ink-2); }
.panel .btn { align-self: flex-start; }

/* ---------- Stacking step cards ---------- */
.stack { display: grid; gap: 28px; }
.stack__card { position: sticky; top: calc(var(--header-h) + 24px + var(--n, 0) * 18px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; min-height: 420px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-xl); box-shadow: 0 -10px 40px rgba(11, 42, 85, .08); }
.stack__card:nth-child(1) { --n: 0; background: var(--teal-100); }
.stack__card:nth-child(2) { --n: 1; background: var(--navy-100); }
.stack__card:nth-child(3) { --n: 2; background: var(--navy-900); color: var(--white); }
.stack__card:nth-child(3) h3 { color: var(--white); }
.stack__card:nth-child(3) .stack__steps li { color: rgba(255, 255, 255, .82); }
.stack__card:nth-child(3) .stack__steps b { background: var(--teal-500); color: var(--navy-950); }
.stack__label { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-900); }
.stack__card:nth-child(3) .stack__label { background: var(--teal-500); color: var(--navy-950); }
.stack__card h3 { margin-top: 18px; font-size: clamp(28px, 3.4vw, 42px); }
.stack__steps { margin-top: 22px; display: grid; gap: 14px; }
.stack__steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: var(--ink-2); }
.stack__steps b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-900); color: var(--white); font-size: 15px; }
.stack__steps strong { color: inherit; font-weight: 800; }
.stack__card:nth-child(3) .stack__steps strong { color: var(--white); }

/* UI mockups */
.mock { position: relative; background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; color: var(--navy-900); }
.mock__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 16px; }
.mock__title .chip { padding: 4px 10px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: 12px; font-weight: 800; }
.mock__field { margin-top: 12px; }
.mock__field label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.mock__input { margin-top: 5px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line); display: flex; align-items: center; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--navy-900); }
.mock__input.is-focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(17, 170, 152, .15); }
.mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock__pills { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.mock__pills span { padding: 6px 11px; border-radius: 9px; border: 1.5px solid var(--line); font-size: 12.5px; font-weight: 700; }
.mock__pills span.on { border-color: var(--teal-500); background: var(--teal-50); color: var(--teal-700); }
.mock__btn { margin-top: 16px; height: 46px; border-radius: 12px; background: var(--navy-900); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 14.5px; }
.caret { display: inline-block; width: 2px; height: 16px; margin-left: 2px; background: var(--teal-500); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.mock--call { padding: 12px; }
.call { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.call__tile { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--navy-100); }
.call__tile img { width: 100%; height: 100%; object-fit: cover; }
.call__tile span { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 11.5px; font-weight: 800; }
.call__bar { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 2px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.call__ctrls { display: flex; gap: 6px; }
.call__ctrls i { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-50); display: grid; place-items: center; }
.call__ctrls i svg { width: 16px; height: 16px; color: var(--navy-900); }
.call__ctrls i.end { background: #e2483d; }
.call__ctrls i.end svg { color: var(--white); }
.mock__toast { position: absolute; left: -26px; top: -22px; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.mock__toast .ci { width: 32px; height: 32px; border-radius: 10px; background: var(--teal-500); color: var(--white); display: grid; place-items: center; }
.mock__toast .ci svg { width: 18px; height: 18px; }
.mock__toast small { display: block; font-weight: 600; color: var(--ink-3); }

.mock--notes .note-list li { font-size: 14.5px; }
.mock__pay { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--navy-50); font-size: 14px; font-weight: 700; }
.mock__pay b { font-size: 18px; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; text-align: center; }
.compare th, .compare td { padding: 18px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; font-weight: 800; color: var(--ink-2); vertical-align: bottom; padding-top: 26px; }
.compare th[scope="row"] { text-align: left; font-weight: 700; color: var(--navy-900); padding-left: 28px; width: 34%; }
.compare .us { background: var(--navy-900); color: var(--white); }
.compare thead .us { border-radius: 22px 22px 0 0; color: var(--white); }
.compare tbody tr:last-child .us { border-radius: 0 0 22px 22px; }
.compare .us-name { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-size: 15px; color: var(--white); }
.compare .us-name svg { width: 28px; height: 28px; color: var(--teal-400); }
.yes, .no, .some { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.yes { background: var(--teal-500); color: var(--white); }
.yes svg { width: 15px; height: 15px; }
.no { background: var(--navy-50); color: var(--ink-3); font-weight: 800; }
.some { width: auto; height: auto; border-radius: 0; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.compare .us .yes { background: var(--teal-500); color: var(--navy-950); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 28px; background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { font-size: 22px; }
.tile p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.tile--a { grid-column: span 3; grid-row: span 2; background: var(--teal-100); border-color: transparent; }
.tile--b { grid-column: span 3; background: var(--navy-900); border-color: transparent; color: var(--white); }
.tile--b h3 { color: var(--white); }
.tile--b p { color: rgba(255, 255, 255, .78); }
.tile--c { grid-column: span 3; }
.tile--d { grid-column: span 2; padding: 0; }
.tile--d img { width: 100%; height: 100%; object-fit: cover; }
.tile--e { grid-column: span 2; }
.tile--f { grid-column: span 2; background: var(--navy-50); border-color: transparent; }
.tile .mock { margin-top: 22px; box-shadow: var(--shadow); }
.tile__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); margin-bottom: 18px; }
.tile__ic svg { width: 27px; height: 27px; }
.tile--b .tile__ic { background: rgba(255, 255, 255, .1); color: var(--teal-400); }
.cal { margin-top: 18px; display: flex; gap: 8px; }
.cal span { flex: 1; padding: 10px 6px; border-radius: 12px; background: rgba(255, 255, 255, .08); text-align: center; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.cal span b { display: block; font-size: 20px; color: var(--white); }
.cal span.on { background: var(--teal-500); color: var(--navy-950); }
.cal span.on b { color: var(--navy-950); }
.bubble { margin-top: 16px; display: grid; gap: 8px; }
.bubble span { justify-self: start; max-width: 90%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--navy-50); font-size: 14px; color: var(--navy-900); }
.bubble span.me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--teal-500); color: var(--navy-950); font-weight: 600; }

/* ---------- Test facts (dark) ---------- */
.testfacts { background: var(--navy-950); color: var(--white); }
.testfacts .section-head h2 { color: var(--white); }
.testfacts .section-head p { color: rgba(255, 255, 255, .72); }
.testfacts .eyebrow { color: var(--teal-400); }
.tests { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.test { padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius-xl); background: var(--navy-900); border: 1px solid rgba(255, 255, 255, .08); }
.test__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.test h3 { font-size: 40px; color: var(--white); letter-spacing: -.04em; }
.test__head span { font-size: 14px; font-weight: 700; color: var(--teal-400); }
.test__nums { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.test__nums div { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.test__nums b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--white); }
.test__nums span { font-size: 13.5px; color: rgba(255, 255, 255, .68); }
.test__sections { margin-top: 20px; display: grid; gap: 8px; }
.test__sections li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: rgba(255, 255, 255, .86); }
.test__sections li span { color: rgba(255, 255, 255, .55); font-size: 14px; white-space: nowrap; }
.test__note { margin-top: 26px; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.test__note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pricing split ---------- */
.price-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.price-split__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.price-split__intro h2 { font-size: clamp(32px, 4vw, 48px); }
.price-split__intro .lead { margin-top: 16px; }
.paysteps { margin-top: 28px; display: grid; gap: 4px; }
.paysteps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.paysteps .pi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.paysteps .pi svg { width: 22px; height: 22px; }
.paysteps strong { display: block; color: var(--navy-900); }
.paysteps span { font-size: 14.5px; color: var(--ink-2); }
.prices--2 { grid-template-columns: 1fr 1fr; }
.save { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: 12px; font-weight: 800; vertical-align: 1px; }
.price--best .save { background: var(--teal-500); color: var(--navy-950); }

/* ---------- FAQ split ---------- */
.faq-split { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-split__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-split__aside h2 { font-size: clamp(32px, 4vw, 48px); }
.faq-split__aside .lead { margin-top: 14px; }
.ask-card { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); color: var(--white); }
.ask-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ask-card div { padding: 20px 22px 24px; }
.ask-card strong { display: block; font-size: 18px; }
.ask-card span { display: block; margin-top: 4px; font-size: 14.5px; color: rgba(255, 255, 255, .75); }
.ask-card a { display: inline-flex; margin-top: 14px; font-weight: 800; color: var(--teal-400); }
.faq-split .faq { max-width: none; margin: 0; }

/* ---------- Photo CTA ---------- */
.pcta { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; }
.pcta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcta__card { position: relative; z-index: 1; margin: clamp(16px, 3vw, 36px); max-width: 560px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--navy-900); color: var(--white); }
.pcta__card h2 { color: var(--white); font-size: clamp(32px, 4vw, 50px); }
.pcta__card p { margin-top: 14px; font-size: 17.5px; color: rgba(255, 255, 255, .8); }
.pcta__card .cta__actions { margin-top: 28px; }
.pcta__star { position: absolute; z-index: 2; right: clamp(24px, 4vw, 48px); top: clamp(24px, 4vw, 48px); width: 64px; height: 64px; color: var(--white); animation: twinkle 5s ease-in-out infinite; }

/* ---------- v3 responsive ---------- */
@media (max-width: 1040px) {
  .hero3__grid, .price-split, .faq-split { grid-template-columns: 1fr; }
  .price-split__intro, .faq-split__aside { position: static; }
  .collage { max-width: 620px; margin-inline: auto; width: 100%; }
  .personas { grid-template-columns: 1fr 1fr; }
  .persona:last-child { grid-column: 1 / -1; }
  .panel { grid-template-columns: 1fr; }
  .stack__card { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--a, .tile--b, .tile--c, .tile--d, .tile--e, .tile--f { grid-column: span 1; grid-row: auto; }
  .tile--a { grid-column: 1 / -1; }
  .tile--d { min-height: 240px; }
  .tests { grid-template-columns: 1fr; }
  .mock__toast { left: 10px; }
}
@media (max-width: 640px) {
  .hero3 h1 { font-size: clamp(40px, 11vw, 52px); }
  .hero3__cta .btn { flex: 1 1 100%; }
  .collage__chip { padding: 9px 12px 9px 9px; font-size: 12.5px; }
  .collage__chip .ci { width: 30px; height: 30px; }
  .collage__chip small { font-size: 11px; }
  .personas, .bento, .prices--2 { grid-template-columns: 1fr; }
  .persona:last-child { grid-column: auto; }
  .topics, .panel__facts { grid-template-columns: 1fr; }
  .tab { min-width: 0; padding: 12px 14px; font-size: 15px; }
  .tab svg { display: none; }
  .test h3 { font-size: 32px; }
  .test__nums b { font-size: 24px; }
  .pcta { min-height: 600px; }
  .pcta__card .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .collage__img, .js .collage__shape, .js .collage__chip { opacity: 1; transform: none; }
  .caret { animation: none; }
}

.mock__toast { z-index: 3; }

/* Timeline (SAT page) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.timeline li { position: relative; padding: 28px 24px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--teal-500); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 150ms + 300ms); }
.timeline li.is-in::before { transform: scaleX(1); }
.timeline__wk { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--navy-900); color: var(--white); font-size: 12.5px; font-weight: 800; }
.timeline li:nth-child(even) .timeline__wk { background: var(--teal-500); color: var(--navy-950); }
.timeline h3 { margin-top: 16px; font-size: 21px; }
.timeline p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 1040px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .timeline { grid-template-columns: 1fr; } }

/* ==========================================================================
   v4: stronger contrast, highlighter accent, education icons, less text
   ========================================================================== */
:root {
  --ink-2: #2f3d52;
  --ink-3: #56647a;
  --sun-500: #ffbf2e;
  --sun-400: #ffc94a;   /* highlighter yellow */
  --sun-200: #ffe7a6;
  --sun-100: #fff5d9;
  --teal-50: #e4f6f2;
}
.lead { color: var(--ink-2); }

/* Eyebrow pill with graduation cap */
.eyebrow { gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: 12.5px; letter-spacing: .1em; }
.eyebrow svg, .eyebrow .ic-cap { width: 18px; height: 18px; color: var(--teal-600); }
.testfacts .eyebrow { background: rgba(255, 255, 255, .08); color: var(--sun-400); }
.testfacts .eyebrow svg { color: var(--sun-400); }
.section-head--center .eyebrow::after { display: none; }

/* Highlighter marks on key words */
mark.hl { position: relative; z-index: 0; background: none; color: inherit; white-space: nowrap; }
mark.hl::before { content: ""; position: absolute; z-index: -1; left: -.06em; right: -.06em; bottom: .04em; height: .4em; border-radius: 6px; background: var(--sun-400); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out) .45s; }
.go mark.hl::before, .is-in mark.hl::before, html:not(.js) mark.hl::before { transform: scaleX(1); }
.testfacts mark.hl::before, .stack__card:nth-child(3) mark.hl::before, .pcta mark.hl::before { background: var(--teal-500); opacity: .7; }

/* Graduation-cap badges (replace the old sparkles) */
.collage__star, .pcta__star, .cta__star { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-400); color: var(--navy-950); box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.collage__star svg, .pcta__star svg, .cta__star svg { width: 32px; height: 32px; }
.collage__star { right: 2%; top: -2%; }
.js .cta.is-in .cta__star svg { animation: none; }
.compare .us-name svg { color: var(--sun-400); }

/* Marquee: education icons instead of sparkles */
.marquee__item svg { width: 24px; height: 24px; color: var(--sun-400); animation: none; }
.marquee__item:nth-child(even) { color: var(--white); }
.marquee__item:nth-child(3n) { color: var(--sun-400); }

/* Personas: solid, high-contrast blocks */
.persona--teal { background: var(--teal-500); color: var(--navy-950); }
.persona--sky { background: var(--sun-400); color: var(--navy-950); }
.persona--teal h3, .persona--sky h3 { color: var(--navy-950); }
.persona p { opacity: 1; font-size: 16.5px; font-weight: 500; }
.persona--navy p { color: rgba(255, 255, 255, .85); }
.persona__tag { background: var(--white); }
.persona--navy .persona__tag { background: var(--sun-400); color: var(--navy-950); }
.persona__img { aspect-ratio: 4 / 3.3; }

/* Stacking cards: bold color, short points */
.stack__card { min-height: 460px; }
.stack__card:nth-child(1) { background: var(--teal-500); color: var(--navy-950); }
.stack__card:nth-child(2) { background: var(--sun-400); color: var(--navy-950); }
.stack__card:nth-child(1) h3, .stack__card:nth-child(2) h3 { color: var(--navy-950); }
.stack__label { background: var(--white); }
.stack__card:nth-child(3) .stack__label { background: var(--sun-400); }
.stack__points { margin-top: 26px; display: grid; gap: 12px; }
.stack__points li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .55); font-size: 17.5px; font-weight: 800; color: var(--navy-950); }
.stack__card:nth-child(3) .stack__points li { background: rgba(255, 255, 255, .08); color: var(--white); }
.stack__points .si { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--white); }
.stack__points .si svg { width: 24px; height: 24px; }
.stack__card:nth-child(3) .stack__points .si { background: var(--teal-500); color: var(--navy-950); }
.stack__points small { display: block; font-size: 13.5px; font-weight: 600; opacity: .75; }

/* Subject tiles (icons, not paragraphs) */
.tiles { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stile { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; border-radius: 18px; background: var(--navy-50); border: 1.5px solid transparent; transition: transform .35s var(--ease-out), border-color .3s ease, background-color .3s ease; }
.stile:hover { transform: translateY(-3px); background: var(--white); border-color: var(--teal-500); }
.stile .ti { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--white); transition: background-color .3s ease, color .3s ease, transform .5s var(--ease-back); }
.stile:nth-child(3n+2) .ti { background: var(--teal-500); color: var(--navy-950); }
.stile:nth-child(3n) .ti { background: var(--sun-400); color: var(--navy-950); }
.stile:hover .ti { transform: rotate(-8deg) scale(1.06); }
.stile .ti svg { width: 26px; height: 26px; }
.stile strong { font-size: 15.5px; font-weight: 800; color: var(--navy-900); line-height: 1.3; }
.tabs { background: var(--navy-900); border-bottom: 0; }
.tab { color: rgba(255, 255, 255, .7); }
.tab:hover { color: var(--white); }
.tab[aria-selected="true"] { color: var(--navy-950); }
.tabs__ink { background: var(--sun-400); }
.mini-fact { background: var(--teal-50); border-color: transparent; }
.mini-fact b { color: var(--navy-950); }

/* Bento: bolder */
.tile--a { background: var(--teal-500); }
.tile--a h3, .tile--a p { color: var(--navy-950); }
.tile--a .tile__ic { background: var(--navy-900); color: var(--white); }
.tile--f { background: var(--sun-400); }
.tile--f h3, .tile--f p { color: var(--navy-950); }
.tile--f .tile__ic { background: var(--navy-900); color: var(--white); }
.tile--b .tile__ic { color: var(--sun-400); }
.cal span.on { background: var(--sun-400); }

/* Pricing accents */
.price__tag { background: var(--sun-400); color: var(--navy-950); }
.save { background: var(--sun-100); color: #7a4e00; }
.price--best .save { background: var(--sun-400); color: var(--navy-950); }
.price.price--best { box-shadow: 0 0 0 5px var(--sun-200), var(--shadow); }
.paysteps .pi { background: var(--navy-900); color: var(--white); }

/* Collage & hero contrast */
.collage__shape--teal { background: var(--teal-500); }
.collage__shape--navy { background: var(--sun-400); }
.hero3__trust svg { color: var(--teal-600); }

/* Test facts */
.test__head span { color: var(--sun-400); }

@media (max-width: 1040px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .stack__points li { font-size: 16px; }
}

/* Bold info cards (inner pages) */
.cards-3 .info:nth-child(1) { background: var(--teal-500); border-color: transparent; }
.cards-3 .info:nth-child(2) { background: var(--navy-900); border-color: transparent; }
.cards-3 .info:nth-child(3) { background: var(--sun-400); border-color: transparent; }
.cards-3 .info:nth-child(1) h3, .cards-3 .info:nth-child(3) h3, .cards-3 .info:nth-child(1) p, .cards-3 .info:nth-child(3) p { color: var(--navy-950); }
.cards-3 .info:nth-child(2) h3 { color: var(--white); }
.cards-3 .info:nth-child(2) p { color: rgba(255, 255, 255, .85); }
.cards-3 .info:nth-child(2) .info__ico { background: var(--sun-400); color: var(--navy-950); }
.cards-3 .info .chips li { background: rgba(255, 255, 255, .6); color: var(--navy-950); }
.cards-3 .info:nth-child(2) .chips li { background: rgba(255, 255, 255, .1); color: var(--white); }
.page-hero { background: var(--teal-50); }
@media (prefers-reduced-motion: reduce) { mark.hl::before { transform: scaleX(1); } }

/* ==========================================================================
   Phone pass (≤640px)
   ========================================================================== */
@media (max-width: 640px) {
  .persona__img { aspect-ratio: 16 / 10; }
  .persona__body { padding: 20px 22px 24px; }
  .test__nums b { font-size: 22px; white-space: nowrap; }
  .price { padding: 22px 20px 20px; }
  .price__amt { font-size: 46px; }
  .price__spacer { min-height: 14px; }
  .steps, .timeline { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step { padding: 20px 16px; }
  .step__ic { display: none; }
  .step__num { width: 40px; height: 40px; font-size: 16px; }
  .step h3, .timeline h3 { margin-top: 14px; font-size: 17px; }
  .step p, .timeline p { font-size: 14px; }
  .timeline li { padding: 20px 16px; }
  .book__aside .photo { display: none; }
  .next-steps li { padding: 12px 0; }
  .section-head { margin-bottom: 32px; }

  /* Comparison table → one card per feature */
  .compare-wrap { overflow: visible; border: 0; background: none; box-shadow: none; border-radius: 0; }
  .compare { min-width: 0; display: block; }
  .compare thead { display: none; }
  .compare tbody { display: grid; gap: 10px; }
  .compare tr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
  .compare th[scope="row"] { grid-column: 1 / -1; width: auto; padding: 0 0 6px; border: 0; font-size: 16px; }
  .compare td { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; min-height: 64px; padding: 10px 4px; border: 0 !important; border-radius: 12px !important; background: var(--navy-50); font-size: 12.5px; }
  .compare td::before { content: attr(data-label); font-size: 11px; font-weight: 800; color: var(--ink-3); }
  .compare td.us { background: var(--navy-900); }
  .compare td.us::before { color: var(--sun-400); }
  .compare .yes, .compare .no { width: 26px; height: 26px; }
}

/* Header: Log in link + earlier collapse now that the menu has more links */
.nav__login { display: inline-flex !important; align-items: center; gap: 7px; }
.nav__login svg { width: 20px; height: 20px; color: var(--teal-600); }
@media (max-width: 1200px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { display: flex; }
}
