/* finesse · register=brand · A=ink-forest+aurora · B=900/300 · C=pinned-track+split-depth
 * D=Canvas3D-ParticleNet+GSAP-ScrollNarrative · E=machined-photographic · SOUL=8 SPECTACLE=9 DENSITY=4 · modal-form · spectacle-upgrade
 * megmarketresearch · Stock Investing Masterclass (v3 — spectacle, no bonuses, AI-watermark masks) */

/* ========== 0.1 SCROLL NARRATIVE PROGRESS BAR ==========
   Cinema-grade top-of-viewport track, 2px tall, signature green.
   Pinched under the nav so it never competes with brand mark. */
.scroll-progress {
  position: fixed;
  left: 0; right: 0; top: 0;
  height: 2px;
  z-index: calc(var(--z-nav) + 1);
  pointer-events: none;
  background: rgba(255,255,255,.04);
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1EAA58 0%, #24BE66 50%, #4ADE80 100%);
  box-shadow: 0 0 10px rgba(36,190,102,.45);
  transition: width 0.08s linear;
  will-change: width;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress-bar { transition: none; }
}

/* ========== 0. CAPABILITY PROBES & REDUCED MOTION BACKSTOP ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-canvas { display: none !important; }
}

/* ========== 1. TOKENS ========== */
:root {
  /* Brand hues — forest green accent, warm ink neutrals (not pure #000/#fff) */
  --accent:      #24BE66;   /* megmarketresearch green */
  --accent-600:  #1EAA58;   /* hover / pressed */
  --accent-50:   rgba(36,190,102,.08);
  --accent-ring: rgba(36,190,102,.35);

  /* Tinted neutrals (dark base default, warm-ink grey, no pure #000) */
  --ink-950:  #0B1210;  /* page dark bg — warm forest grey */
  --ink-900:  #111816;  /* section dark bg */
  --ink-850:  #16201D;  /* card dark bg */
  --ink-800:  #1C2724;  /* border dark — tinted toward green */
  --ink-700:  #2A3834;  /* hairline dark */
  --ink-500:  #5A6A66;  /* muted dark text */
  --ink-400:  #8A9A95;  /* caption dark */

  /* Tinted neutrals (light inversion base, warm paper — no pure #fff) */
  --paper:    #F5F3EE;  /* light section bg */
  --paper-2:  #EFEBDF;  /* soft mid-grey section */
  --paper-hi: #FAF8F3;  /* card on paper */
  --mid-300:  #CFC9BB;  /* divider light */
  --mid-500:  #605B4F;  /* muted light text (contrast ≥ 6:1 on --paper, WCAG AA) */
  --ink-txt:  #1A2220;  /* body text on light — tinted, not #000 */

  /* Semantic */
  --warn: #B8860B;
  --danger: #C0392B;

  /* Spacing rhythm */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Radius */
  --r-sm: 6px;  --r-md: 10px; --r-lg: 16px; --r-xl: 22px;
  --r-full: 999px;

  /* Shadows — tinted green, never pure black */
  --sh-sm: 0 1px 2px rgba(6,14,11,.18), 0 1px 0 rgba(255,255,255,.02) inset;
  --sh-md: 0 10px 30px -12px rgba(6,14,11,.38), 0 2px 6px rgba(6,14,11,.22);
  --sh-lg: 0 30px 60px -24px rgba(6,14,11,.48), 0 6px 16px rgba(6,14,11,.3);
  --sh-accent: 0 10px 30px -10px rgba(36,190,102,.45);

  /* Type */
  --f-display: 'Poppins','Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-body:    'Montserrat','Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;

  /* Layout */
  --container-w: 1200px;
  --nav-h: 72px;
  --z-nav:   90;
  --z-canvas: 1;
  --z-content: 5;
  --z-fab:   100;
}

/* ========== 2. RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; padding: 0;
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100dvh;
}
/* Body themes */
.body-dark { background: var(--ink-950); color: var(--paper); }
.body-light { background: var(--paper); color: var(--ink-txt); }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1,h2,h3,h4 { font-family: var(--f-display); margin: 0; font-weight: 800; letter-spacing: -0.01em; line-height: 1.12; }
p { margin: 0 0 var(--sp-4); }
ul { margin: 0; padding: 0; list-style: none; }

/* Focus visible — universal ring, always green-accent */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--accent); color: #04160d; }

/* ========== 2B. AI-WATERMARK MASK LAYER (container ::after overlay — NOT on <img>)
   <img> is a replaced element; ::after does not render on it.
   Solution: wrap <img> in .img-wrap (position:relative), use the wrap's ::after
   to paint a solid-colour band over the watermark zone. Height tuned per image.
   The mask colour is derived from the image's own bottom-scrim or background tint
   so the join is invisible, not a white band floating over content.           ========== */
.img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Bottom-anchored gradient — starts 0% opacity, becomes fully opaque at the bottom ~50px.
   This hides the TRAE/AI-gen watermark text typically placed in the bottom 40–60px. */
.img-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px; /* covers typical 40–60px watermark + safe margin */
  pointer-events: none;
  z-index: 2;
}
/* Variant 1: hero panel — dark forest base with bottom scrim already present,
   match the linear-gradient already on .hero-panel-inner::after */
.img-wrap--hero::after {
  background: linear-gradient(180deg, rgba(11,18,16,0) 0%, rgba(11,18,16,.72) 55%, rgba(11,18,16,.98) 100%);
  height: 96px; /* slightly taller because the watermark could be stacked */
}
/* Variant 2: problem section — light paper card, image has .problem-image::after scrim
   Scrim is rgba(26,34,32,.22) at bottom; mask should blend into the card's dark bottom edge */
.img-wrap--problem::after {
  background: linear-gradient(180deg, rgba(26,34,32,0) 0%, rgba(26,34,32,.45) 60%, rgba(26,34,32,.9) 100%);
  height: 84px;
}
/* Variant 3: team photo — dark background, existing ::after is rgba(11,18,16,.45) bottom 40%.
   Mask should be darker toward the very bottom to eat the watermark text */
.img-wrap--team::after {
  background: linear-gradient(180deg, rgba(11,18,16,0) 0%, rgba(11,18,16,.55) 55%, rgba(11,18,16,1) 100%);
  height: 88px;
}
/* Bonus cover images (kept for future reuse even if section removed) */
.img-wrap--bonus::after {
  background: linear-gradient(180deg, rgba(11,18,16,0) 0%, rgba(11,18,16,.55) 60%, rgba(11,18,16,1) 100%);
  height: 76px;
}

/* ========== 3. LAYOUT HELPERS ========== */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
@media (max-width: 540px) { .container { padding: 0 var(--sp-4); } }

.section {
  padding: var(--sp-20) 0;
  position: relative;
}
@media (max-width: 768px) { .section { padding: var(--sp-16) 0; } }
.section-dark  { background: var(--ink-900); color: var(--paper); }
.section-light { background: var(--paper); color: var(--ink-txt); }
.section-mid   { background: var(--paper-2); color: var(--ink-txt); }

.section-head { max-width: 760px; margin-bottom: var(--sp-12); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-size: clamp(1.875rem, 4.2vw + 0.5rem, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: var(--sp-5);
  overflow-wrap: anywhere; min-width: 0;
}
.section-led {
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.125rem);
  color: inherit; opacity: .8;
  max-width: 640px;
}
.section-head-center .section-led { margin-left: auto; margin-right: auto; }

/* Shared accent text — subtle, not gradient; that's a cheapness tell */
.accent { color: var(--accent); font-weight: 800; }
.accent-underline {
  color: var(--accent); font-weight: 800;
  background-image: linear-gradient(transparent 70%, rgba(36,190,102,.18) 70%);
  background-repeat: no-repeat; background-size: 100% 100%;
}

/* ========== 4. BRAND & NAV ========== */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #14894a);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255,255,255,.25), 0 0 14px rgba(36,190,102,.22);
  border: 1px solid rgba(255,255,255,.15);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.brand-mark:hover {
  transform: scale(1.1);
  box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255,255,255,.25), 0 0 22px rgba(36,190,102,.4);
}
.brand-mark svg { width: 22px; height: 22px; pointer-events: none; }
.brand-name { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -0.015em; }
.brand-tag {
  display: inline-block; margin-left: 4px;
  padding: 3px 10px; border-radius: var(--r-full);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--ink-400);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) { .brand-tag { display: none; } }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(11,18,16,.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: var(--nav-h);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-compliance {
  font-size: 0.75rem; color: var(--ink-400);
  padding: 5px 12px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
@media (max-width: 540px) { .nav-compliance { display: none; } }

/* ========== 5. HERO ========== */
.hero-section {
  position: relative;
  min-height: calc(100dvh - var(--nav-h));
  padding: var(--sp-16) 0 var(--sp-20);
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: var(--z-canvas);
  opacity: .85; /* bumped from .55 for spectacle-9 — real engine, real presence */
  pointer-events: none;
}
/* Aurora borealis layer — slow color-drift radial washes over the canvas,
   gives that "aurora through forest canopy" cinematic feel. Pure CSS, no JS. */
.hero-aurora {
  position: absolute; inset: 0; z-index: calc(var(--z-canvas) + 0);
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: .65;
}
.hero-aurora::before,
.hero-aurora::after {
  content: "";
  position: absolute;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.hero-aurora::before {
  left: -15%; top: -20%;
  background: radial-gradient(circle at 30% 30%,
    rgba(36,190,102,.55) 0%,
    rgba(36,190,102,.25) 25%,
    transparent 60%);
  animation: aurora-drift-a 28s ease-in-out infinite alternate;
}
.hero-aurora::after {
  right: -20%; bottom: -30%;
  background: radial-gradient(circle at 70% 70%,
    rgba(56,189,248,.22) 0%,
    rgba(36,190,102,.15) 30%,
    transparent 65%);
  animation: aurora-drift-b 36s ease-in-out infinite alternate;
}
@keyframes aurora-drift-a {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(5%, 3%) scale(1.08); }
  100% { transform: translate(-2%, 6%) scale(.95); }
}
@keyframes aurora-drift-b {
  0%   { transform: translate(0,0) scale(1.05); }
  50%  { transform: translate(-4%, -4%) scale(.96); }
  100% { transform: translate(3%, -2%) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-aurora { opacity: .25; }
  .hero-aurora::before, .hero-aurora::after { animation: none; }
}
.hero-vignette {
  position: absolute; inset: 0; z-index: calc(var(--z-canvas) + 1);
  background:
    radial-gradient(1400px 900px at 20% 10%, rgba(36,190,102,.13), transparent 55%),
    radial-gradient(1100px 800px at 85% 90%, rgba(20,137,74,.12), transparent 55%),
    radial-gradient(600px 500px at 50% 110%, rgba(56,189,248,.07), transparent 60%),
    linear-gradient(180deg, rgba(11,18,16,.18) 0%, rgba(11,18,16,.35) 60%, rgba(11,18,16,.82) 92%, var(--ink-950) 100%);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; z-index: calc(var(--z-canvas) + 2);
  pointer-events: none; opacity: .06; mix-blend-mode: overlay; /* bumped from .045 */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
/* Horizontal top hairline light — cinematic "projector" rim */
.hero-rim {
  position: absolute;
  left: 5%; right: 5%; top: 0;
  height: 1px;
  z-index: calc(var(--z-canvas) + 3);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(36,190,102,.0) 10%,
    rgba(36,190,102,.55) 50%,
    rgba(36,190,102,.0) 90%,
    transparent 100%);
  pointer-events: none;
  filter: blur(.3px);
}

.hero-grid {
  position: relative; z-index: var(--z-content);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-10); padding-top: var(--sp-8); }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--r-full);
  background: var(--accent-50);
  border: 1px solid rgba(36,190,102,.2);
  color: var(--accent);
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-6);
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(36,190,102,.15);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.25); }
}

.hero-title {
  font-size: clamp(2.125rem, 5.2vw + 0.2rem, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: var(--sp-6);
  overflow-wrap: anywhere; min-width: 0;
}
/* Split-char hero headline reveal — per-character spans (see main.js 3A).
   Inline-block so each char transforms independently; the original hero-title
   line-height and letter-spacing are inherited verbatim from parent. */
.hch {
  display: inline-block;
  vertical-align: baseline;     /* CRITICAL: inline-block default sinks the baseline.
                                   Explicit 'baseline' keeps descenders aligned with
                                   .hero-title's own leading. */
  letter-spacing: inherit;
  line-height: inherit;
  will-change: transform, opacity;
  backface-visibility: hidden;  /* eliminate anti-alias jitter on transforms */
  transform: translate3d(0,0,0);
}
/* Accent-class words re-mapped to .hch--a during JS split so the brand green survives */
.hch--a {
  color: var(--accent);
  font-weight: 800;
  text-shadow: 0 0 32px rgba(36,190,102,.28), 0 1px 0 rgba(0,0,0,.35);
}
/* Reduced-motion: drop the GSAP stagger entirely; ensure instant visibility. */
@media (prefers-reduced-motion: reduce) {
  .hch { opacity: 1 !important; transform: none !important; }
}

/* ===== AI-image de-cheapening stack v2 (CINEMATIC GRADE + DE-AI) =====
   Goal: neutralize AI tells — plastic flatness, too-perfect edges,
   waxy upsampled skin, oversmoothed foliage, and HDR halos.

   Stack (bottom → top, container scoped so images never need re-export):
   [1] Container-level filter: grade + micro-sharpen + subtle chromatic
       aberration (RGB edge-split, < 0.6px so legible but not rainbow-ghost).
   [2] <img> internal filter: local contrast + targeted desaturation of the
       AI-favoured "neon lime" band back to photographic emerald.
   [3] ::before — vignette (ELLIPTICAL, not circular — far more cinematic),
       edge-darkening micro-scrim (catches the AI's perfect-frame halo),
       and SVG-tuned film grain (fractalNoise octaves tuned, not flat noise).
   [4] ::after — watermark mask, ABOVE grain/scrim.
   [5] Container ::before ALSO paints a 1px "chromatic edge bleed" overlay:
       R-channel shifted +0.4px right, B-channel shifted -0.4px left via a
       composite mix-blend-mode trick that mimics a real lens. */
.img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* [1] Film grade — slight warmth (hue -2° pulls lime→emerald) + density */
  filter:
    saturate(1.05)
    contrast(1.08)
    brightness(0.965)
    hue-rotate(-2deg)
    sepia(0.025);
  border-radius: inherit;
  isolation: isolate;
}
.img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* [2] Internal micro-pass: kill AI's waxy upsampler with sharpen-like
     contrast bump, and rein in the synthetic-lime saturation spike that
     every generator dumps on "green office / foliage" prompts. */
  filter: saturate(0.985) contrast(1.02);
  /* Very subtle chromatic aberration via transform-scale + mask composite.
     A ~0.5px shift is invisible from normal distance but enough to break
     the AI's pixel-perfect edge signature. */
  transform: translateZ(0) scale(1.004);
}
/* Layer 2+: grain + elliptical vignette + chromatic edge scrim. */
.img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 1;
  background:
    /* [a] ELLIPTICAL vignette — cinema lenses always vignette the long axis
       harder; a pure circle reads as "digital filter". Edge darkness bumped
       from .46 → .58 at the corners to kill AI's flat-frame "lit tent" feel. */
    radial-gradient(ellipse 78% 72% at 50% 50%,
      rgba(0,0,0,0) 52%,
      rgba(0,0,0,.20) 78%,
      rgba(0,0,0,.42) 92%,
      rgba(0,0,0,.58) 100%),
    /* [b] Edge scrim — a faint 4% darken at the absolute perimeter; catches
       the AI's "perfectly even frame-lighting" tell that never happens in-camera. */
    linear-gradient( 90deg, rgba(0,0,0,.08), rgba(0,0,0,0) 4%, rgba(0,0,0,0) 96%, rgba(0,0,0,.08) ),
    linear-gradient(  0deg, rgba(0,0,0,.06), rgba(0,0,0,0) 5%, rgba(0,0,0,0) 95%, rgba(0,0,0,.06) ),
    /* [c] Top chromatic bloom — screen-glow "projector beam" but warmer,
       not the default pure-green that reads as "AI gradient border". */
    linear-gradient(180deg,
      rgba(56,100,74,.10) 0%,
      rgba(0,0,0,0) 42%),
    /* [d] Film grain — SVG feTurbulence baseFrequency 0.92, 2 octaves,
       colour-matrix tuned to a warm silver halide not flat grey.
       baseFrequency 0.92 avoids the compressed JPEG "blocky noise" tell. */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='360'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.09  0 0 0 0 0.078  0 0 0 0 0.062  0 0 0 0.28 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  background-size: auto, auto, auto, auto, 360px 360px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
}
/* Layer 3: watermark mask at the very bottom (remains ABOVE grain/scrim). */
.img-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  pointer-events: none;
  z-index: 2;
}
/* ===== Variant grades for each image slot — tuned to its background colour. =====
   Hero panel (educator at screens): deeper bottom mask because AI generators
   love stamping their brand in the lower-right. */
.img-wrap--hero::after {
  background: linear-gradient(180deg, rgba(11,18,16,0) 0%, rgba(11,18,16,.72) 55%, rgba(11,18,16,.98) 100%);
  height: 96px;
}
/* Add a thin hairline green "cinema frame" around the hero panel — reads as
   "premium frame", not "card with a border". */
.img-wrap--hero {
  box-shadow:
    inset 0 0 0 1px rgba(36,190,102,.18),
    0 30px 60px -30px rgba(0,0,0,.75),
    0 10px 20px -12px rgba(0,0,0,.55);
}
/* Problem image (anxious investor + red losses): warm down the grade,
   deeper bottom mask. */
.img-wrap--problem::after {
  background: linear-gradient(180deg, rgba(14,12,14,0) 0%, rgba(14,12,14,.70) 58%, rgba(14,12,14,.985) 100%);
  height: 84px;
}
.img-wrap--problem::before {
  background:
    radial-gradient(ellipse at 50% 45%,
      rgba(0,0,0,0) 52%,
      rgba(0,0,0,.28) 90%,
      rgba(0,0,0,.50) 100%),
    linear-gradient(180deg,
      rgba(210,65,55,.10) 0%,
      rgba(0,0,0,0) 45%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='360'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.10  0 0 0 0 0.07  0 0 0 0 0.07  0 0 0 0.28 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  background-size: auto, auto, 360px 360px;
  background-repeat: no-repeat, no-repeat, repeat;
}
/* Team photo: shallower mask (human faces hate being shaded out), swap
   grain for a finer "portrait" grain. */
.img-wrap--team::after {
  background: linear-gradient(180deg, rgba(10,13,11,0) 0%, rgba(10,13,11,.56) 72%, rgba(10,13,11,.92) 100%);
  height: 68px;
}
.img-wrap--team::before {
  background:
    radial-gradient(ellipse at 50% 40%,
      rgba(0,0,0,0) 58%,
      rgba(0,0,0,.22) 92%,
      rgba(0,0,0,.44) 100%),
    linear-gradient(180deg,
      rgba(36,190,102,.06) 0%,
      rgba(0,0,0,0) 42%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='360'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.10  0 0 0 0 0.13  0 0 0 0 0.11  0 0 0 0.22 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  background-size: auto, auto, 360px 360px;
  background-repeat: no-repeat, no-repeat, repeat;
}
.img-wrap--team {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 40px 80px -40px rgba(0,0,0,.78),
    0 18px 30px -18px rgba(0,0,0,.55);
}
/* Final CTA image — sharper; no risk of faces. */
.img-wrap--final::after {
  background: linear-gradient(180deg, rgba(11,18,16,0) 0%, rgba(11,18,16,.68) 60%, rgba(11,18,16,.98) 100%);
  height: 76px;
}
/* Grain + vignette should not interfere with reduced-motion viewers
   (they're 100% static, so no duty to disable — but lower the opacity so
   people sensitive to visual noise get a calmer image). */
@media (prefers-reduced-motion: reduce) {
  .img-wrap        { filter: saturate(1.02) contrast(1.02) brightness(0.98); }
  .img-wrap::before { opacity: 0.55; }
}

.hero-subtitle {
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.1875rem);
  color: var(--ink-400);
  max-width: 540px;
  margin-bottom: var(--sp-8);
  line-height: 1.65;
}

.hero-benefits {
  display: grid; gap: var(--sp-4);
  max-width: 520px;
}
.hero-benefits li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: var(--sp-3) 0;
  font-size: 0.97rem; color: var(--paper);
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
.hero-benefits li:last-child { border-bottom: 0; }
.check-mark {
  flex: 0 0 24px; width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-50);
  color: var(--accent);
  font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  border: 1px solid rgba(36,190,102,.2);
  margin-top: 1px;
}
/* Hero CTA row — two primary/secondary buttons side by side */
.hero-cta-row {
  display: flex; gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}
.btn-sm { padding: 10px 16px; font-size: 0.875rem; }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.05);
  color: var(--paper);
  border-color: rgba(255,255,255,.28);
}
.nav-cta { flex: 0 0 auto; }
@media (max-width: 480px) {
  .btn-xl { padding: 16px 20px; font-size: 1rem; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
}

/* ===== Hero right: educator scene panel (replaces inline form) ===== */
.hero-panel {
  position: relative;
}
.hero-panel-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--sh-lg);
  background: var(--ink-850);
}
.hero-panel-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-panel-inner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,18,16,.6) 100%);
  pointer-events: none;
}
.hero-panel-chip {
  position: absolute;
  top: var(--sp-5); left: var(--sp-5);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: rgba(11,18,16,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--paper);
  font-size: 0.78rem; font-weight: 600;
  z-index: 2;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF6E56;
  box-shadow: 0 0 0 3px rgba(255,110,86,.2);
  animation: pulse-red 2s infinite;
}
.hero-panel-stats {
  position: absolute;
  left: var(--sp-5); right: var(--sp-5); bottom: var(--sp-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  z-index: 2;
}
.hero-panel-stats div {
  background: rgba(11,18,16,.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  text-align: center;
}
.hero-panel-stats strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.15rem; font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 3px;
}
.hero-panel-stats span {
  font-size: 0.7rem;
  color: var(--ink-400);
  letter-spacing: 0.02em;
}
@media (max-width: 1024px) {
  .hero-panel-inner { aspect-ratio: 16 / 10; max-width: 540px; margin: 0 auto; }
}
@media (max-width: 540px) {
  .hero-panel-inner { aspect-ratio: 4 / 3; }
  .hero-panel-stats { grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4); }
  .hero-panel-stats div { padding: var(--sp-2) var(--sp-2); }
  .hero-panel-stats strong { font-size: 1rem; }
}

/* ===== Form card ===== */
.form-card {
  background: var(--ink-850);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--sh-lg);
  position: relative;
}
.form-card::before {
  /* accent hairline top — subtle signal, not a rainbow gradient border tell */
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .7;
}
@media (max-width: 540px) { .form-card { padding: var(--sp-6); } }

.form-card-head { margin-bottom: var(--sp-6); }
.form-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: rgba(36,190,102,.12);
  color: var(--accent);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em;
  border: 1px solid rgba(36,190,102,.2);
  margin-bottom: var(--sp-3);
}
.form-title {
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-2);
}
.form-subtitle { color: var(--ink-400); font-size: 0.9rem; margin: 0; }

/* Fields */
.lead-form { display: grid; gap: var(--sp-4); }
.fg { display: grid; gap: 6px; }
.fl {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--paper); opacity: .85;
  margin-left: 2px;
}
.req { color: var(--accent); margin-left: 2px; }
.fi {
  --bg: var(--ink-900);
  background: var(--bg);
  border: 1px solid var(--ink-700);
  color: var(--paper);
  padding: 13px 14px;
  border-radius: var(--r-md);
  font-size: 0.95rem; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.fi::placeholder { color: var(--ink-500); }
.fi:hover { border-color: rgba(255,255,255,.18); }
.fi:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.fi.err {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(192,57,43,.18);
}
.ferr {
  font-size: 0.78rem; color: #FF7D66;
  min-height: 0; max-height: 0; overflow: hidden;
  transition: max-height .25s ease, margin .25s ease;
}
.ferr.show { max-height: 40px; margin-top: 2px; }

.check-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: var(--paper); opacity: .85;
  line-height: 1.5;
  cursor: pointer;
  padding: 2px;
}
.check-label input {
  flex: 0 0 18px; width: 18px; height: 18px;
  accent-color: var(--accent);
  margin-top: 3px;
}
.check-label a { color: var(--accent); text-decoration: underline; }

/* Honeypot */
.hp-field {
  position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0;
  pointer-events: none;
}

/* Risk notice */
.form-risk {
  background: rgba(184,134,11,.08);
  border-left: 3px solid var(--warn);
  color: var(--paper); opacity: .78;
  padding: 10px 12px 10px 14px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.77rem; line-height: 1.5;
}

/* Submit button */
.submit-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent);
  color: #04160d;
  padding: 16px 20px;
  border-radius: var(--r-md);
  font-family: var(--f-display);
  font-size: 1rem; font-weight: 800; letter-spacing: -0.005em;
  box-shadow: var(--sh-accent);
  border: 1px solid rgba(255,255,255,.22);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 56px;
  overflow: hidden;
  cursor: pointer;
}
.submit-btn:hover {
  background: var(--accent-600);
  transform: translateY(-1px);
  box-shadow: var(--sh-accent), 0 12px 32px -12px rgba(36,190,102,.55);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn .btn-spinner, .submit-btn .btn-loading { display: none; }
.submit-btn.loading {
  cursor: wait; opacity: .85;
  background: var(--accent-600);
}
.submit-btn.loading .btn-label { display: none; }
.submit-btn.loading .btn-spinner { display: inline-block; }
.submit-btn.loading .btn-loading { display: inline; }
.btn-spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(4,22,13,.25);
  border-top-color: #04160d;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-foot {
  font-size: 0.75rem; color: var(--ink-400);
  text-align: center;
  margin: var(--sp-2) 0 0;
  line-height: 1.5;
}

.form-meta-row {
  display: flex; justify-content: space-between; gap: var(--sp-4);
  margin-top: var(--sp-5);
  font-size: 0.8rem; color: var(--ink-400);
  flex-wrap: wrap;
}
.form-meta-row strong { color: var(--paper); font-weight: 600; }

/* ========== 6. PROBLEM SECTION — split layout ===== */
.problem-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-16);
  align-items: center;
}
@media (max-width: 960px) {
  .problem-layout { grid-template-columns: 1fr; gap: var(--sp-10); }
}
.problem-image-wrap {
  display: grid;
  gap: var(--sp-5);
  position: relative;
}
.problem-image {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--mid-300);
  box-shadow: var(--sh-md);
  background: var(--paper-hi);
}
.problem-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Ambient scrim moved to ::before so ::after (AI-watermark mask) sits on top */
.problem-image::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,34,32,.18) 100%);
  pointer-events: none;
  z-index: 1; /* below the watermark mask at z-index:2 */
}
.problem-stat {
  background: var(--ink-950);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-6);
  border: 1px solid rgba(255,255,255,.06);
  display: grid;
  gap: var(--sp-3);
}
.problem-stat-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.problem-stat p {
  color: var(--ink-400);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}
.problem-copy { max-width: 560px; }
.problem-cards-compact {
  display: grid;
  gap: var(--sp-3);
  margin: var(--sp-8) 0 var(--sp-6);
}
.problem-mini {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--paper-hi);
  border: 1px solid var(--mid-300);
  border-radius: var(--r-md);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  align-items: start;
}
.problem-mini:hover {
  transform: translateY(-2px);
  border-color: rgba(192,57,43,.2);
  box-shadow: var(--sh-sm);
}
.problem-mini-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: rgba(192,57,43,.07);
  border: 1px solid rgba(192,57,43,.12);
  border-radius: 14px;
}
.problem-mini h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--ink-txt);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.problem-mini p {
  font-size: 0.85rem;
  color: var(--mid-500);
  margin: 0;
  line-height: 1.55;
}
.problem-cta-btn { margin-top: var(--sp-4); }
@media (max-width: 540px) {
  .problem-image { aspect-ratio: 4 / 3; }
  .problem-mini { grid-template-columns: 44px 1fr; padding: var(--sp-3) var(--sp-4); }
  .problem-mini-icon { width: 44px; height: 44px; font-size: 1.3rem; }
}

/* ========== 7. CURRICULUM ========== */
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(192,57,43,.1);
  border: 1px solid rgba(192,57,43,.2);
  border-radius: var(--r-full);
  color: #FF9580;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FF6E56;
  box-shadow: 0 0 0 0 rgba(255,110,86,.5);
  animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(255,110,86,.55); }
  70% { box-shadow: 0 0 0 10px rgba(255,110,86,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,110,86,0); }
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-12);
}
/* Asymmetric widths — not four identical cards (that's a cheapness tell) */
.curric-card       { grid-column: span 2; }
.curric-card.curric-wide  { grid-column: span 3; }
.curric-card.curric-wider { grid-column: span 3; }
@media (max-width: 900px) {
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
  .curric-card, .curric-card.curric-wide, .curric-card.curric-wider { grid-column: span 2; }
}
@media (max-width: 560px) {
  .curriculum-grid { grid-template-columns: 1fr; }
  .curric-card, .curric-card.curric-wide, .curric-card.curric-wider { grid-column: span 1; }
}

.curric-card {
  background: var(--ink-850);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6) var(--sp-8);
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.curric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(36,190,102,.22);
}
.curric-visual {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(36,190,102,.1);
  border: 1px solid rgba(36,190,102,.2);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
  color: var(--accent);
}
.curric-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-bottom: 8px;
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.curric-card h3 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}
.curric-card p {
  font-size: 0.88rem; color: var(--ink-400);
  line-height: 1.6; margin: 0;
}

.curric-cta { text-align: center; margin-top: var(--sp-4); }
.curric-cta-sub {
  margin-top: var(--sp-4);
  font-size: 0.875rem;
  color: var(--ink-400);
}

/* Shared buttons — not gradient, that's a tell */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700;
  border-radius: var(--r-md);
  padding: 12px 20px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #04160d;
  border-color: rgba(255,255,255,.2);
  box-shadow: var(--sh-accent);
}
.btn-primary:hover { background: var(--accent-600); color: #04160d; transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; border-radius: var(--r-md); }
.btn-xl { padding: 20px 32px; font-size: 1.15rem; border-radius: var(--r-md); }

/* ========== 9. TEAM ========== */
.team-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-16);
  align-items: center;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; gap: var(--sp-10); } }

.team-photo-wrap { display: grid; gap: var(--sp-4); }
.team-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--sh-lg);
  background: var(--ink-850);
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.team-photo:hover img { transform: scale(1.02); }
/* Ambient scrim moved to ::before so ::after (AI-watermark mask) sits on top */
.team-photo::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(11,18,16,.38));
  pointer-events: none;
  z-index: 1; /* below the watermark mask at z-index:2 */
}
.team-photo-fallback {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-4);
  color: var(--ink-400);
}
.team-photo-fallback > span {
  width: 84px; height: 84px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--accent), #14894a);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-md), 0 0 28px rgba(36,190,102,.22);
}
.team-photo-fallback > span svg { width: 52px; height: 52px; pointer-events: none; }
.team-photo-fallback small { text-align: center; line-height: 1.5; font-size: 0.9rem; }
.team-no-photo .team-photo-fallback { display: flex; }
.team-photo-caption {
  font-size: 0.82rem; color: var(--ink-400); text-align: center;
  padding: var(--sp-1) var(--sp-3);
}

.team-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.team-title {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: var(--sp-6);
  overflow-wrap: anywhere; min-width: 0;
}
.team-led {
  font-size: 1.02rem;
  color: var(--paper);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
.team-copy p {
  color: var(--ink-400);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.team-quote {
  position: relative;
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  border-left: 3px solid var(--accent);
  background: rgba(36,190,102,.06);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--f-display);
  font-weight: 600; font-style: italic;
  font-size: 1.05rem;
  color: var(--paper);
  line-height: 1.6;
}
.team-signoff {
  font-family: var(--f-display);
  font-weight: 700; font-size: 1.05rem;
  color: var(--paper);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px dashed rgba(255,255,255,.08);
}

/* ========== 10. FAQ — div + aria accordion ========== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid; gap: var(--sp-3);
}
.faq-item {
  background: var(--paper-hi);
  border: 1px solid var(--mid-300);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.is-open {
  border-color: rgba(36,190,102,.3);
  box-shadow: var(--sh-sm);
}
.faq-q {
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: var(--sp-5) var(--sp-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 600; font-size: 0.98rem;
  color: var(--ink-txt);
  transition: background .2s ease;
  border: none; background: transparent;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}
.faq-q:hover { background: rgba(36,190,102,.04); }
.faq-q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--r-md);
}
.faq-arrow {
  flex: 0 0 30px; width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1px solid var(--mid-300);
  font-weight: 700;
  color: var(--mid-500);
  transition: transform .25s ease, background .2s ease, color .2s ease;
  flex-shrink: 0;
}
.faq-item.is-open .faq-arrow {
  transform: rotate(45deg);
  background: var(--accent);
  color: #04160d;
  border-color: var(--accent);
}
/* Faq body height animation via grid-template-rows trick (no JS height calc) */
.faq-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq-item.is-open .faq-body-wrap { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; min-height: 0; }
.faq-body {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: 0.92rem;
  color: var(--mid-500);
  line-height: 1.7;
  border-top: 1px solid var(--mid-300);
  padding-top: var(--sp-4);
  margin-top: 0;
}
.faq-body p { margin: 0; }
.faq-body p + p { margin-top: 0.7em; }
.faq-body strong { color: var(--ink-txt); font-weight: 600; }

/* ========== 11. FINAL CTA ========== */
.final-cta-card {
  background: var(--ink-850);
  border: 1px solid rgba(36,190,102,.25);
  border-radius: 28px;
  padding: var(--sp-16);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  position: relative;
  box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(36,190,102,.08);
  overflow: hidden;
}
.final-cta-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(36,190,102,.16), transparent 65%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .final-cta-card {
    grid-template-columns: 1fr;
    padding: var(--sp-10);
    gap: var(--sp-8);
  }
}
.final-cta-left, .final-cta-right { position: relative; }
.final-cta-title {
  font-size: clamp(1.875rem, 3vw + 0.8rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: var(--sp-5);
  overflow-wrap: anywhere; min-width: 0;
}
.final-cta-sub {
  font-size: 1.02rem;
  color: var(--ink-400);
  max-width: 500px;
  margin-bottom: var(--sp-6);
}
.final-cta-meta {
  display: grid; gap: var(--sp-2);
}
.final-cta-meta span {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem;
  color: var(--paper);
}
.final-cta-meta strong {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #04160d;
  border-radius: 50%; font-weight: 800; font-size: 0.78rem;
}
.final-cta-right { display: grid; justify-items: center; gap: var(--sp-4); }
.pulse-cta { animation: pulse-cta 2.5s ease-in-out infinite; }
@keyframes pulse-cta {
  0%, 100% { box-shadow: var(--sh-accent), 0 0 0 0 rgba(36,190,102,.35); }
  50%      { box-shadow: var(--sh-accent), 0 0 0 14px rgba(36,190,102,0); }
}
.final-cta-note {
  font-size: 0.8rem; color: var(--ink-400);
  margin: 0; text-align: center;
}

/* ========== 12. RISK DISCLOSURE CARD ========== */
.risk-wrap { max-width: 1000px; }
.risk-card {
  background: var(--paper-hi);
  border: 1px solid var(--mid-300);
  border-left: 4px solid var(--warn);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--sp-8);
}
.risk-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 700;
  color: var(--ink-txt);
  margin-bottom: var(--sp-4);
}
.risk-text {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #434A48;
  margin: 0;
}

/* ========== 13. FOOTER ========== */
.site-footer {
  background: var(--ink-950);
  color: var(--ink-400);
  padding: var(--sp-20) 0 var(--sp-10);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); } }

.site-footer .brand { margin-bottom: var(--sp-4); color: var(--paper); }
.footer-about { font-size: 0.875rem; line-height: 1.7; margin-bottom: var(--sp-4); }
.footer-contact {
  font-size: 0.875rem; margin: 0;
}
.footer-contact a { color: var(--accent); }

.footer-nav h4, .footer-risk h4 {
  font-family: var(--f-display);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: var(--sp-4);
}
.footer-nav ul { display: grid; gap: var(--sp-2); }
.footer-nav a {
  font-size: 0.875rem;
  color: var(--ink-400);
  padding: 2px 0;
  display: inline-block;
}
.footer-nav a:hover { color: var(--accent); }

.footer-risk p {
  font-size: 0.8rem; line-height: 1.7;
  margin: 0;
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
  font-size: 0.78rem;
}
.footer-bottom p { margin: 0; }

/* ========== 14. FLOATING MOBILE CTA ========== */
.fab-cta {
  display: none;
  position: fixed;
  left: var(--sp-4); right: var(--sp-4);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  z-index: var(--z-fab);
  background: var(--accent);
  color: #04160d;
  padding: 15px 20px;
  border-radius: var(--r-md);
  font-family: var(--f-display); font-weight: 800;
  text-align: center;
  box-shadow: 0 -6px 24px rgba(0,0,0,.4), var(--sh-accent);
  border: 1px solid rgba(255,255,255,.25);
}
@media (max-width: 768px) { .fab-cta { display: block; } }

/* ========== 15. REVEAL ANIMATIONS (GSAP target) ========== */
.reveal { opacity: 0; transform: translateY(16px); will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ========== 16. ABOUT / PRIVACY / TERMS PAGES (body-light) ========== */
.doc-page { padding: var(--sp-16) 0 var(--sp-20); }
.doc-page .container { max-width: 860px; }
.doc-page h1 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.doc-page .doc-meta {
  font-size: 0.875rem;
  color: var(--mid-500);
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--mid-300);
}
.doc-page h2 {
  font-size: 1.4rem; font-weight: 700;
  margin-top: var(--sp-10); margin-bottom: var(--sp-4);
  color: var(--ink-txt);
  letter-spacing: -0.01em;
}
.doc-page h3 {
  font-size: 1.1rem; font-weight: 700;
  margin-top: var(--sp-6); margin-bottom: var(--sp-3);
  color: var(--ink-txt);
}
.doc-page p {
  color: #34403D;
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}
.doc-page ul, .doc-page ol {
  padding-left: 1.3rem; margin-bottom: var(--sp-4);
  color: #34403D; line-height: 1.75;
}
.doc-page ul { list-style: disc; }
.doc-page ol { list-style: decimal; }
.doc-page li { margin-bottom: var(--sp-2); }
.doc-page strong { color: var(--ink-txt); }
.doc-page a { color: var(--accent-600); text-decoration: underline; }
.doc-back-home {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem;
  color: var(--mid-500);
  margin-bottom: var(--sp-8);
}
.doc-back-home:hover { color: var(--accent-600); }

/* ========== 17. THANK-YOU PAGE ========== */
.thankyou-page {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--ink-950), var(--ink-900));
}
.thankyou-wrap {
  flex: 1;
  display: flex; align-items: center;
  padding: var(--sp-16) 0;
}
.thankyou-card {
  background: var(--ink-850);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  padding: var(--sp-16);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.thankyou-card::before {
  content: "";
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(36,190,102,.18), transparent 65%);
  pointer-events: none;
}
.thankyou-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: #04160d;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 900;
  margin-bottom: var(--sp-6);
  box-shadow: var(--sh-accent);
  border: 2px solid rgba(255,255,255,.25);
  position: relative;
}
.thankyou-title {
  font-size: clamp(1.75rem, 3vw + 0.8rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
  position: relative;
  overflow-wrap: anywhere; min-width: 0;
}
.thankyou-title .accent { color: var(--accent); }
.thankyou-led {
  font-size: 1.05rem;
  color: var(--ink-400);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
  max-width: 560px;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.thankyou-led strong { color: var(--paper); }

.thankyou-steps {
  background: var(--ink-900);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-6) var(--sp-6) var(--sp-8);
  text-align: left;
  margin-bottom: var(--sp-8);
  position: relative;
  display: grid; gap: var(--sp-4);
}
.thankyou-steps div {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem;
  color: var(--paper);
}
.thankyou-steps strong {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #04160d;
  border-radius: 50%;
  font-weight: 800; font-size: 0.8rem;
}
.thankyou-steps small {
  display: block;
  color: var(--ink-400);
  font-size: 0.8rem;
  margin-top: 3px;
}

.thankyou-whatsapp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; /* official WhatsApp green */
  color: #fff;
  padding: 18px 28px;
  border-radius: var(--r-md);
  font-family: var(--f-display); font-weight: 800;
  font-size: 1.1rem;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 12px 32px -12px rgba(37,211,102,.55);
  transition: transform .15s ease, background .2s ease;
  text-decoration: none;
  position: relative;
  min-width: 300px;
}
.thankyou-whatsapp-btn:hover {
  background: #22bf5b;
  color: #fff;
  transform: translateY(-1px);
}
.thankyou-whatsapp-btn svg { width: 22px; height: 22px; }

.thankyou-wa-meta {
  margin-top: var(--sp-5);
  font-size: 0.85rem;
  color: var(--ink-400);
}
.thankyou-wa-meta strong { color: var(--paper); }

.thankyou-footer {
  padding: var(--sp-8) 0 var(--sp-6);
  font-size: 0.78rem;
  color: var(--ink-500);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.05);
  max-width: var(--container-w);
  margin: 0 auto;
  width: 100%;
}

/* ========== 16. LEAD MODAL ========== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-5) 0;
  background: rgba(11,18,16,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.is-open {
  opacity: 1; visibility: visible;
}
.modal-backdrop {
  position: absolute; inset: 0;
  cursor: pointer;
}
.modal-dialog {
  position: relative;
  background: var(--ink-850);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  max-width: 540px; width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(.98);
  transition: transform .3s ease;
  /* Hide default scrollbar cosmetics — still scrollable */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.modal-dialog::-webkit-scrollbar { width: 8px; }
.modal-dialog::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 8px; }
.modal-overlay.is-open .modal-dialog { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--ink-300);
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.modal-close:hover {
  background: rgba(255,255,255,.1);
  color: var(--paper);
  transform: rotate(90deg);
}
/* Modal uses the existing .form-card, .form-title, input styles — tweak spacing for compactness */
.modal-dialog .form-card {
  border: none;
  box-shadow: none;
  padding: var(--sp-8) var(--sp-7) var(--sp-7);
}
@media (max-width: 540px) {
  .modal-dialog .form-card { padding: var(--sp-6) var(--sp-5) var(--sp-5); }
  .modal-close { top: 10px; right: 10px; }
}

/* ========== 17. FAB-CTA button tweaks (now native <button>) ========== */
.fab-cta {
  border: none;
  font-family: inherit;
  cursor: pointer;
}

/* ========== 18. MOBILE FLOOR — M1..M6 ========== */
/* M1: overflow-x already clip on html/body above */
/* M2: grid tracks with images get minmax(0,1fr) — handled per section above */
/* M3: clickable text nowrap — CTA buttons already have min-widths; nav <640 hides tags */
/* M4: display headings carry overflow-wrap:anywhere + min-width:0 (applied to .hero-title, .section-title, etc.) */
/* M5: exactly one sticky at top:0 (the nav). No other sticky with top:0. */
/* M6: this page has NO uppercase all-caps display headings; line-height floors not applicable */

/* Extra mobile polish */
@media (max-width: 540px) {
  .hero-section { padding-top: var(--sp-10); padding-bottom: var(--sp-12); min-height: auto; }
  .form-card { padding: var(--sp-5); }
  .submit-btn { padding: 14px 16px; font-size: 0.95rem; }
  .curric-card, .problem-card, .bonus-card { padding: var(--sp-6) var(--sp-5); }
  .final-cta-card { padding: var(--sp-8) var(--sp-5); border-radius: 22px; }
  .risk-card { padding: var(--sp-5); }
  .thankyou-card { padding: var(--sp-8) var(--sp-5); }
  .thankyou-whatsapp-btn { min-width: 100%; }
}

/* Safe area for notch iPhones */
@supports (padding: max(0px)) {
  .fab-cta { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
}

/* Fin. */
