/* ============================================================
   MIND MUSCLE MASTERY — styles
   Architecture mirrors the Market Mastery site: design tokens up top,
   components read var(--brand-*) so the zone block at the very END of
   this file can recolor whole sections by overriding the tokens on a
   section id. Do not hardcode brand hexes inside zone sections.
   ============================================================ */

:root {
  --bg: #0b0712;
  --bg-soft: #120b1c;
  --panel: #170e22;
  --panel-2: #1e1330;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f1f8;
  --muted: #a89fb5;

  /* Brand: the purple half of the brain. Zones override these. */
  --brand: #c400ff;
  --brand-2: #7a2bff;
  --brand-soft: rgba(196, 0, 255, 0.14);
  --gradient: linear-gradient(120deg, #c400ff, #7a2bff);
  --glow: rgba(196, 0, 255, 0.35);

  --gold: #f5b83d;
  --green: #34d399;

  --font-display: "Archivo", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 132px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

/* Without this, iOS Safari auto-inflates small text (the header tagline
   especially), which is exactly how the header "stacks weird" on iPhone
   while looking fine everywhere else. Do not remove. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* height:auto is load-bearing: images carry width/height attributes for CLS,
   and without it max-width shrinks the width while the attribute height
   sticks, distorting every photo narrower than its natural size. */
img { max-width: 100%; height: auto; display: block; }
video { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

section { position: relative; padding: 110px 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }

p { color: var(--muted); }

/* Site-wide: never leave a single word hanging on its own last line
   (no-op in browsers without text-wrap support). text-wrap inherits, so
   setting it on body covers divs and spans too (FAQ answers, tier lines),
   not just p/li. Headings get balance, which splits multi-line headlines
   into even halves. */
body { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

a { color: inherit; text-decoration: none; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  border: 0; cursor: pointer;
  /* nowrap is load-bearing: inside the nav the button was wrapping "Apply
     Now" onto two lines and rendering as a tall blob. */
  white-space: nowrap; flex: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.main-nav .btn { font-weight: 700; font-size: 0.95rem; padding: 12px 22px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Conversion color never changes: re-pin the brand gradient so zones can't touch it. */
.btn-primary {
  background: linear-gradient(120deg, #c400ff, #7a2bff);
  color: #fff;
  box-shadow: 0 8px 30px rgba(196, 0, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(196, 0, 255, 0.5); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }

.btn-block { width: 100%; justify-content: center; }

/* ---- Preloader ---- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader-mark { width: min(260px, 55vw); animation: preloader-pulse 1.1s ease-in-out infinite; }
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.07); opacity: 1; }
}
body.is-loaded .preloader { opacity: 0; visibility: hidden; }

/* ---- Grain + cursor ---- */
.grain-overlay {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.cursor-dot, .cursor-ring {
  position: fixed; z-index: 250; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.3s ease;
}
.cursor-dot { width: 6px; height: 6px; background: var(--brand); }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(196, 0, 255, 0.55);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.3s ease;
}
.cursor-ring.is-hover { width: 52px; height: 52px; }
.cursor-ready .cursor-dot, .cursor-ready .cursor-ring { opacity: 1; }
.has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button { cursor: none; }

/* ---- Header ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: var(--header-h);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 7, 18, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .container {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { width: 46px; height: auto; }
/* Header runs as big as fits on one line (Jot's call): the bar is tall to
   hold it, and everything scales down at the mobile breakpoint where the nav
   collapses to the burger. */
.site-header .brand-mark { width: 112px; }
.site-header .brand-name { font-size: 1.15rem; }
.site-header .brand-name span { font-size: 0.72rem; }
@media (max-width: 960px) {
  :root { --header-h: 88px; }
  .site-header .brand-mark { width: 68px; }
  .site-header .brand-name { font-size: 0.95rem; }
  .site-header .brand-name span { font-size: 0.6rem; }
}
/* Phone widths (iPhone 16 Pro is 402px): the nowrap tagline was sliding under
   the burger. Scale the brand with the viewport so it always clears the
   toggle; vw-based so 360-430px all fit without another breakpoint. */
@media (max-width: 430px) {
  .site-header .brand { gap: 10px; }
  .site-header .brand-mark { width: 60px; }
  /* nowrap so the title can never stack; the calc keeps it sized to clear
     the burger on any phone width (360-430 verified). */
  .site-header .brand-name { white-space: nowrap; font-size: min(0.95rem, calc(7.5vw - 15px)); }
  .site-header .brand-name span { font-size: clamp(0.42rem, 2vw, 0.6rem); letter-spacing: 0.1em; }
}
/* Old-SE class widths. */
@media (max-width: 350px) {
  .site-header .brand-mark { width: 52px; }
  .site-header .brand-name span { font-size: 0.4rem; letter-spacing: 0.06em; }
}
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 0.92rem;
  letter-spacing: 0.04em; line-height: 1.15; display: flex; flex-direction: column;
}
/* One row always: the tagline was wrapping on the homepage where the nav
   squeezed the brand. nowrap + a tighter tracking keeps it identical on
   every page and every width. */
.brand-name span {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; color: var(--muted);
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-weight: 600; font-size: 0.95rem; color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.btn { color: #fff; }

/* Zone dots on nav links, keyed to section colors. If a section id changes,
   change these selectors too. */
.main-nav a[href="#training"]::before,
.main-nav a[href="#nutrition"]::before,
.main-nav a[href="#mindset"]::before,
.main-nav a[href="#results"]::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 8px; vertical-align: 1px;
}
.main-nav a[href="#training"]::before { background: #ff5a3c; }
.main-nav a[href="#nutrition"]::before { background: #34d399; }
.main-nav a[href="#mindset"]::before { background: #c400ff; }
.main-nav a[href="#results"]::before { background: #f5b83d; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--text);
  width: 42px; height: 42px; cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

.nav-scrim {
  position: fixed; inset: 0; z-index: 110; background: rgba(5, 3, 9, 0.6);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-scrim.is-visible { opacity: 1; visibility: visible; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .desktop-only { display: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 115;
    width: min(320px, 84vw);
    background: var(--bg-soft);
    border-left: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 40px 34px; gap: 22px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.15rem; }
}

/* ---- Sticky mobile CTA ---- */
.mobile-cta {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 105;
  transform: translateY(120%); opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  display: none;
}
.mobile-cta.is-visible { transform: none; opacity: 1; }
@media (max-width: 720px) { .mobile-cta { display: block; } }

/* ---- Reveal ---- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---- Section furniture ---- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.08rem; }

/* One size everywhere (Jot's call): every section tagline matches the
   "Proof, Not Promises" scale. The VSL "Start Here" keeps its bigger
   override further down. */
.eyebrow {
  display: inline-block; margin-bottom: 16px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(0.8rem, 3.4vw, 1.3rem);
  letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
  color: var(--brand);
}

.svc-marker {
  display: flex; align-items: center; gap: 18px; margin-bottom: 48px;
  font-family: var(--font-display);
}
.svc-marker .num { font-weight: 900; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--brand); line-height: 1; }
.svc-marker .name {
  font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text);
}
.svc-marker .line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--brand-soft), transparent); }

/* ---- Hero ---- */
/* The hero is budgeted to fit ABOVE THE FOLD through the Apply Now button
   (Jot's call): compact paddings, smaller logo and type than the default
   scale. If you add anything to the hero, re-check 1280x720 and 390x844. */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 18px) 0 40px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 0, 255, 0.22), transparent 65%);
  top: -160px; right: -140px; pointer-events: none;
  transform: translate(var(--px, 0), var(--py, 0));
}
.hero-glow-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(122, 43, 255, 0.18), transparent 65%);
  top: auto; right: auto; bottom: -180px; left: -160px;
}
.hero-inner { position: relative; z-index: 1; max-width: 850px; }

.hero-search {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted); font-size: 0.95rem;
}
.hero-search svg { width: 17px; height: 17px; flex: none; color: var(--brand); }
/* Fixed line box: without this the pill collapses ~7px every time the typing
   loop empties the span, shoving the headline down on every cycle. */
.hero-search-q { line-height: 22px; min-height: 22px; }
.hero-search-caret {
  width: 2px; height: 18px; background: var(--brand);
  animation: caret-blink 1.05s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.hero-logo-mark {
  width: min(150px, 34vw); height: auto;
  margin: 0 auto 16px;
  filter: drop-shadow(0 0 28px rgba(196, 0, 255, 0.35));
}

/* The hero headline runs a size down from the h1 default so the whole hero
   fits above the fold. The payoff line stands alone and never wraps. */
/* The outer min() kicks in on phones so "Your body won't change" and
   "until your mind does." each hold as ONE line (Jot's 3-line spec) even
   with Safari's wider metrics. text-wrap: initial opts the hero out of the
   heading balance rule: iOS Safari's balance + the hard <br> was restacking
   it as "Your / body / won't change". The breaks are hand-authored; balance
   adds nothing here. */
.hero h1 { font-size: min(clamp(1.9rem, 4.2vw, 3.1rem), 7.3vw); text-wrap: initial; }
/* Word-pair glue inside the hero h1 (see the index.html comment). */
.hero h1 .nb { white-space: nowrap; }
.h1-payoff {
  display: block;
  white-space: nowrap;
  font-size: clamp(1.7rem, 5vw, 3.1rem);
}

[data-kinetic] .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
[data-kinetic] .word > span {
  display: inline-block; transform: translateY(110%);
  animation: word-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes word-up { to { transform: none; } }

/* Wide on purpose: longer lines keep the paragraph short on screen. */
.lead { margin-top: 16px; font-size: 1.08rem; max-width: 800px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }

.hero-proof {
  display: inline-flex; flex-direction: column; gap: 2px;
  margin-top: 36px; padding: 16px 22px;
  border: 1px solid rgba(245, 184, 61, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(245, 184, 61, 0.07);
}
.hero-proof .hp-top {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.hero-proof .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse { 50% { opacity: 0.4; } }
.hero-proof .hp-amount {
  font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--gold);
  line-height: 1.15;
}
.hero-proof .hp-label { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.hero-proof .hp-sub { font-size: 0.85rem; color: var(--muted); }

.hero-microcopy { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
/* Proof above the fold: rating + client count, gold stars. */
.hero-proofline {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 18px; font-size: 0.95rem; color: var(--muted);
  flex-wrap: wrap;
}
.hero-proofline b { color: var(--text); font-family: var(--font-display); }
.hero-proofline .g-stars { display: inline-flex; gap: 2px; color: var(--gold); }
.hero-proofline .g-stars svg { width: 15px; height: 15px; }

/* The three pillar sections (Jot's calls): bigger eyebrows, and the gradient
   half of each heading drops to its own line. */
#training h2 .text-gradient, #nutrition h2 .text-gradient, #mindset h2 .text-gradient,
#results h2 .text-gradient, #programs h2 .text-gradient, .page-hero h1 .text-gradient {
  display: block;
}
/* Results subheading runs bigger and brighter than the default. */
#results .section-head p { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text); }
/* These two payoff lines never wrap; their own clamp keeps them fitting the
   column at every width. Mindset's longer line is allowed to wrap. */
#training h2 .text-gradient, #nutrition h2 .text-gradient {
  white-space: nowrap;
  font-size: clamp(1.2rem, 3.4vw, 2.6rem);
}

/* "Start Here" and "What you get" run WAY big on purpose (Jot's call). */
.vsl .eyebrow { font-size: clamp(1.3rem, 3vw, 1.9rem); letter-spacing: 0.16em; }
.hero-scrollcue {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  margin: 60px auto 0; color: var(--text);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 2rem); text-transform: uppercase; letter-spacing: 0.1em;
  width: 100%; text-align: center;
}
.hero-scrollcue svg { width: 30px; height: 30px; color: var(--brand); animation: cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-bob { 50% { transform: translateY(5px); } }

/* ---- VSL ---- */
.vsl { padding-top: 40px; }
.vsl-frame { display: flex; justify-content: center; }
.vsl-phone {
  position: relative;
  width: min(360px, 86vw);
  border-radius: 34px;
  border: 1px solid var(--line);
  background: #000;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(196, 0, 255, 0.12), 0 0 60px rgba(196, 0, 255, 0.1);
}
.vsl-phone video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 26px; background: #000;
}
.vsl-play {
  position: absolute; inset: 0; margin: auto;
  width: 84px; height: 84px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 40px rgba(196, 0, 255, 0.5);
  transition: transform 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.vsl-play svg { width: 34px; height: 34px; margin-left: 4px; }
.vsl-play:hover { transform: scale(1.07); }
.vsl-phone.is-playing .vsl-play { opacity: 0; visibility: hidden; }
.vsl-human {
  max-width: 560px; margin: 34px auto 0; text-align: center; font-size: 1rem;
}

/* ---- Split layout (training / nutrition / coach) ---- */
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 64px; align-items: center;
}
.split-flip .split-copy { order: 2; }
.split-flip .split-media { order: 1; }
.split-copy p { margin-top: 18px; font-size: 1.05rem; }
.split-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.split-media figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center; }

.check-list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--text); font-size: 1rem;
}
.check-list svg {
  width: 20px; height: 20px; flex: none; margin-top: 3px;
  color: var(--brand);
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-flip .split-copy { order: 1; }
  .split-flip .split-media { order: 2; }
}

/* ---- Nutrition sample card: macro ring + a day timeline ---- */
.nutri-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  padding: 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.macro-title {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--text);
  margin-bottom: 24px;
}
.macro-title span {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
.nutri-top { display: flex; gap: 26px; align-items: center; margin-bottom: 26px; }
.nutri-ring {
  position: relative; flex: none;
  width: 140px; height: 140px; border-radius: 50%;
  background: conic-gradient(#34d399 0 40%, #7ce7c0 40% 75%, #f5b83d 75% 100%);
  box-shadow: 0 0 34px rgba(52, 211, 153, 0.25);
  transform: scale(0.6) rotate(-70deg); opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.6s ease 0.15s;
}
[data-reveal].is-visible .nutri-ring { transform: none; opacity: 1; }
.nutri-ring-center {
  position: absolute; inset: 16px; border-radius: 50%;
  background: var(--panel);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1.2;
}
.nutri-ring-center b { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--text); }
.nutri-ring-center span { font-size: 0.68rem; color: var(--muted); }
.nutri-legend { display: grid; gap: 12px; text-align: left; }
.nutri-key { display: grid; grid-template-columns: 14px auto; gap: 2px 10px; align-items: center; }
.nutri-key i { width: 12px; height: 12px; border-radius: 4px; }
.nutri-key .k-protein { background: #34d399; }
.nutri-key .k-carbs { background: #7ce7c0; }
.nutri-key .k-fats { background: #f5b83d; }
.nutri-key b { font-size: 0.92rem; color: var(--text); }
.nutri-key span { grid-column: 2; font-size: 0.78rem; color: var(--muted); }
.nutri-day { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; }
.nutri-meal {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}
.nutri-meal .t {
  flex: none; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  color: var(--muted); width: 42px;
}
.nutri-meal .m { flex: 1; font-size: 0.88rem; color: var(--text); }
.nutri-meal svg { width: 16px; height: 16px; flex: none; color: var(--brand); }
.nutri-meal.is-life { border: 1px solid rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.07); }
.nutri-meal.is-life em {
  flex: none; font-style: normal; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand);
  border: 1px solid rgba(52, 211, 153, 0.45); border-radius: 999px; padding: 3px 10px;
}
@media (max-width: 480px) {
  .nutri-top { flex-direction: column; }
  .nutri-legend { text-align: center; }
  /* The "Planned for" pill was squeezing the meal text into a one-word-per-line
     column; below 480px the pill wraps onto its own row, aligned with the text. */
  .nutri-meal.is-life { flex-wrap: wrap; }
  .nutri-meal.is-life .m { flex: 1 1 calc(100% - 54px); }
  .nutri-meal.is-life em { margin-left: 54px; }
}

/* ---- Habit cards ---- */
.habit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.habit-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel), transparent);
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.habit-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.habit-num {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--font-display); font-weight: 800;
  margin-bottom: 18px;
}
.habit-card p { margin-top: 10px; font-size: 0.95rem; }
.mindset-line {
  margin-top: 44px; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text);
}
@media (max-width: 900px) { .habit-cards { grid-template-columns: 1fr; } }

/* ---- Results grid ---- */
.results-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.result-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.result-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 184, 61, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
/* No aspect-ratio crop: every photo shows in full at its natural proportions,
   so the baked-in labels and heads never get clipped or stretched. */
.result-card img { width: 100%; height: auto; }
.result-card figcaption { padding: 18px 20px 20px; display: grid; gap: 4px; }
.result-stat {
  font-family: var(--font-display); font-weight: 900; font-size: 1.4rem;
  color: var(--gold); line-height: 1.2;
}
.result-stat span { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.result-name { font-weight: 600; font-size: 0.92rem; color: var(--text); }
.result-quote { font-size: 0.88rem; color: var(--muted); font-style: italic; margin-top: 4px; }

/* Google review strip */
.greview {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 18px;
  max-width: 640px; margin: 40px auto 0;
  padding: 18px 26px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.greview:hover { transform: translateY(-3px); border-color: rgba(245, 184, 61, 0.5); }
.g-logo svg { width: 26px; height: 26px; display: block; }
.g-score {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--text);
}
.g-stars { display: inline-flex; gap: 2px; color: var(--gold); }
.g-stars svg { width: 16px; height: 16px; }
.g-count { font-size: 0.95rem; color: var(--muted); }
.g-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.92rem; color: var(--brand);
}
.g-cta svg { width: 15px; height: 15px; }

/* Horizontal review scroller: compact, swipeable, scroll-snapped. */
.greview-scroller { margin-top: 22px; }
.greview-track {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.grev-card {
  flex: 0 0 min(320px, 82vw);
  scroll-snap-align: start;
  margin: 0;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: linear-gradient(170deg, var(--panel), transparent);
  padding: 20px 22px;
  text-align: left;
}
.grev-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px;
}
.grev-head b { font-family: var(--font-display); font-size: 0.95rem; color: var(--text); }
/* Capped height with internal scroll keeps the strip compact even under the
   longest reviews; pre-line preserves reviewers' own paragraph breaks. */
.grev-card > p:not(.grev-head) {
  font-size: 0.88rem; color: var(--muted); line-height: 1.55;
  white-space: pre-line;
  max-height: 170px; overflow-y: auto; padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
/* Final scroller card: the proof ends at the APPLY button, with the Google
   link demoted to a footnote so verification stays possible without making
   an exit the last touch. */
.grev-more {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center;
  border-color: rgba(196, 0, 255, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.grev-more:hover { transform: translateY(-3px); border-color: var(--brand); }
.grev-more b { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); }
.grev-more .btn { font-size: 0.9rem; padding: 12px 20px; }
.grev-google { font-size: 0.8rem; color: var(--muted); text-decoration: underline; }
.grev-google:hover { color: var(--text); }
.grev-hint { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

.results-note {
  max-width: 640px; margin: 40px auto 0; text-align: center; font-size: 0.95rem;
}
.results-cta { text-align: center; margin-top: 36px; }

@media (max-width: 900px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .results-grid { grid-template-columns: 1fr; } }

/* ---- Coach ---- */
.coach-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.coach-chip {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 0.85rem; font-weight: 600; color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.coach-photos img { width: 100%; }

/* ---- Tier teaser ---- */
.tier-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier-mini {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel), transparent);
  padding: 30px 24px 26px;
  display: grid; gap: 8px; justify-items: center; text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tier-mini:hover { transform: translateY(-5px); border-color: var(--brand); }
/* Chess pieces stand FREE on a glowing board spot: no containing circle.
   They rise into place on reveal and lift off the board on hover. */
.tier-icon {
  position: relative;
  width: 112px; height: 128px; padding-bottom: 12px;
  display: flex; align-items: flex-end; justify-content: center;
  color: var(--muted);
}
/* The lit square under the piece. */
.tier-icon::after {
  content: ""; position: absolute; bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 74%; height: 16px; border-radius: 50%;
  background: radial-gradient(ellipse at center, currentColor, transparent 72%);
  filter: blur(8px); opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.tier-icon svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px currentColor); }
/* Silhouette pieces: alpha-mask PNGs painted with the tier color, so the
   artwork recolors exactly like the old SVGs did. */
.tier-icon .piece {
  position: relative; z-index: 1;
  width: 100%; height: 100%; display: block;
  background: currentColor;
  -webkit-mask: var(--piece) center bottom / contain no-repeat;
  mask: var(--piece) center bottom / contain no-repeat;
  filter: drop-shadow(0 0 14px currentColor);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.piece-pawn { --piece: url("../assets/piece-pawn.png"); }
.piece-knight { --piece: url("../assets/piece-knight.png"); }
.piece-queen { --piece: url("../assets/piece-queen.png?v=2"); }
.piece-king { --piece: url("../assets/piece-king.png?v=2"); }
/* Entrance: the piece rises onto its square as the card reveals. */
[data-reveal] .tier-icon .piece { opacity: 0; transform: translateY(20px) scale(0.9); }
[data-reveal].is-visible .tier-icon .piece {
  opacity: 1; transform: none;
  transition: opacity 0.5s ease 0.25s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}
/* Hover: pick the piece up off the board. */
.tier-mini:hover .tier-icon .piece, .tier-card:hover .tier-icon .piece {
  transform: translateY(-10px) rotate(-4deg);
}
.tier-mini:hover .tier-icon::after, .tier-card:hover .tier-icon::after {
  opacity: 0.3; transform: translateX(-50%) scaleX(0.78);
}

/* The two premium tiers gleam harder when handled: a hotter double glow on
   the piece, a brighter floor, and a colored halo on the whole card. */
:is(.tier-mini, .tier-card):is(.t-magenta, .t-gold):hover .tier-icon .piece {
  filter: drop-shadow(0 0 14px currentColor) drop-shadow(0 0 34px currentColor);
}
/* The gleam climbs the ladder: each tier hovers a little brighter than the
   one before it. Foundation stays quiet... */
:is(.tier-mini, .tier-card).t-green:hover .tier-icon .piece {
  filter: drop-shadow(0 0 14px currentColor) drop-shadow(0 0 22px currentColor);
}
:is(.tier-mini, .tier-card).t-green:hover .tier-icon::after {
  opacity: 0.5; transform: translateX(-50%) scaleX(0.88);
}
/* ...the floor pools gleam under the premium pieces: hot for the queen... */
:is(.tier-mini, .tier-card).t-magenta:hover .tier-icon::after {
  opacity: 0.8; transform: translateX(-50%) scaleX(0.95);
}
/* ...and the king burns brightest of all: widest, brightest pool and a
   third layer of glow on the piece itself. */
:is(.tier-mini, .tier-card).t-gold:hover .tier-icon::after {
  opacity: 1; transform: translateX(-50%) scaleX(1.12) scaleY(1.3);
}
:is(.tier-mini, .tier-card).t-gold:hover .tier-icon .piece {
  filter: drop-shadow(0 0 14px currentColor) drop-shadow(0 0 34px currentColor) drop-shadow(0 0 60px currentColor);
}
:is(.tier-mini, .tier-card).t-green:hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tier) 35%, transparent),
              0 14px 40px -14px color-mix(in srgb, var(--tier) 30%, transparent);
}
:is(.tier-mini, .tier-card):is(.t-magenta, .t-gold):hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tier) 55%, transparent),
              0 18px 50px -12px color-mix(in srgb, var(--tier) 45%, transparent);
}
/* Click: a quick hot flash, like snapping the piece down on the square. */
:is(.tier-mini, .tier-card):is(.t-magenta, .t-gold):active .tier-icon .piece {
  filter: drop-shadow(0 0 18px currentColor) drop-shadow(0 0 50px currentColor);
  transform: translateY(-2px) scale(0.98);
  transition-duration: 0.08s;
}
.tier-mini b { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.tier-line { font-size: 0.85rem; color: var(--muted); }
.tier-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: rgba(232, 121, 249, 0.12); color: #f0abfc; border: 1px solid rgba(232, 121, 249, 0.5);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 12px; white-space: nowrap;
}

/* Tier colors match the Market Mastery pricing ladder, in the same order:
   blue → green → magenta → gold. color-mix degrades to the default border
   on very old browsers, which is fine. */
.t-blue { --tier: #60a5fa; }
.t-green { --tier: #34d399; }
.t-magenta { --tier: #e879f9; }
.t-gold { --tier: #fbbf24; }
:is(.tier-mini, .tier-card):is(.t-blue, .t-green, .t-magenta, .t-gold) {
  border-color: color-mix(in srgb, var(--tier) 45%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tier) 13%, transparent), transparent 55%),
    linear-gradient(170deg, var(--panel), transparent);
}
:is(.tier-mini, .tier-card):is(.t-blue, .t-green, .t-magenta, .t-gold):hover {
  border-color: var(--tier);
}
:is(.tier-mini, .tier-card):is(.t-blue, .t-green, .t-magenta, .t-gold) .tier-icon { color: var(--tier); }
:is(.tier-mini, .tier-card):is(.t-blue, .t-green, .t-magenta, .t-gold) li svg { color: var(--tier); }
.tier-note {
  margin-top: 36px; text-align: center; font-size: 0.95rem; font-style: italic;
}
@media (max-width: 960px) { .tier-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .tier-row { grid-template-columns: 1fr; } }

/* ---- Process ---- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
  background: linear-gradient(170deg, var(--panel), transparent);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
/* Purple glow on hover; .in-focus is the touch equivalent, toggled by JS as
   each card crosses the middle of the viewport while scrolling. */
.process-step:hover, .process-step.in-focus {
  border-color: rgba(196, 0, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(196, 0, 255, 0.3), 0 16px 44px -12px rgba(196, 0, 255, 0.45);
  transform: translateY(-4px);
}
.process-step:hover .process-num, .process-step.in-focus .process-num {
  background: rgba(196, 0, 255, 0.3);
  box-shadow: 0 0 18px rgba(196, 0, 255, 0.5);
}
.process-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--font-display); font-weight: 800;
  margin-bottom: 16px;
}
.process-step p { margin-top: 8px; font-size: 0.92rem; }
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-list { grid-template-columns: 1fr; } }

/* ---- Application form ---- */
.apply-section {
  border: 1px solid rgba(196, 0, 255, 0.3);
  border-radius: 26px;
  background:
    radial-gradient(700px 340px at 12% 0%, rgba(196, 0, 255, 0.13), transparent 60%),
    linear-gradient(170deg, var(--panel), var(--bg-soft));
  padding: clamp(30px, 5vw, 60px);
}
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.apply-copy p { margin-top: 16px; font-size: 1.05rem; }
/* Honest scarcity: one coach, finite roster. */
.roster-line {
  margin-top: 14px; padding: 12px 18px;
  border-left: 3px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(196, 0, 255, 0.08);
  font-size: 0.95rem !important; color: var(--text) !important;
  text-align: left;
}
.tier-note a { color: var(--brand); text-decoration: underline; }
.apply-includes { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.apply-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text); }
.apply-includes svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--brand); }

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px;
}
.required { color: var(--brand); }
.form-row input, .form-row textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body); font-size: 1rem;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(196, 0, 255, 0.18);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.hint { font-size: 0.82rem; color: var(--muted); }
.error-msg { display: none; margin-top: 7px; font-size: 0.84rem; color: #ff7b7b; }
.form-row.has-error input, .form-row.has-error textarea { border-color: #ff5a5a; }
.form-row.has-error .error-msg { display: block; }
.form-send-error { margin-top: 12px; text-align: center; }
.form-send-error.is-visible { display: block; }

.form-progress { margin-bottom: 20px; font-size: 0.95rem; }
.form-progress b { color: var(--text); }
.form-step.is-hidden { display: none; }
.other-row.is-hidden { display: none; }
.form-backrow { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.form-back {
  background: none; border: 0; color: var(--muted); font-size: 0.9rem; cursor: pointer;
}
.form-back:hover { color: var(--text); }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-chip input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-chip label {
  display: inline-block; margin: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 0.9rem; font-weight: 500;
  transition: all 0.2s ease;
}
.checkbox-chip input:checked + label {
  background: var(--brand-soft); border-color: var(--brand); color: #fff;
}
.checkbox-chip input:focus-visible + label { box-shadow: 0 0 0 3px rgba(196, 0, 255, 0.3); }

form.is-hidden { display: none; }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.is-visible { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--green); margin: 0 auto 18px; }
.form-success p { margin-top: 8px; }

@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: linear-gradient(170deg, var(--panel), transparent);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[data-open="true"] { border-color: var(--brand); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; cursor: pointer;
  color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-align: left; padding: 20px 22px;
}
.faq-question svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s ease; color: var(--brand); }
.faq-item[data-open="true"] .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-answer-inner { padding: 0 22px 22px; color: var(--muted); font-size: 0.97rem; }
.faq-answer-inner a { color: var(--brand); text-decoration: underline; }

/* ---- Finale ---- */
.finale { padding: 0; }
.finale-wrap { height: 220vh; }
.finale-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.finale-inner { text-align: center; }
.finale-stage {
  position: relative; display: inline-block; margin-bottom: 30px;
  /* Painted background on purpose: the sticky ancestor creates a stacking
     context; keep a solid ground behind the glow. */
  background: var(--bg);
}
.finale-mark {
  width: min(380px, 70vw); height: auto;
  position: relative; z-index: 1;
  opacity: calc(var(--fp, 0) * 1.25);
  transform: scale(calc(0.6 + var(--fp, 0) * 0.4));
  filter: drop-shadow(0 0 calc(var(--fp, 0) * 40px) rgba(196, 0, 255, 0.55));
  /* No transition on purpose: these properties are scroll-scrubbed, and a
     transition only adds lag between the scroll and the frame. */
}
.finale-glow {
  position: absolute; inset: -60px; z-index: 0;
  background: radial-gradient(circle, rgba(196, 0, 255, calc(var(--fp, 0) * 0.3)), transparent 65%);
  pointer-events: none;
}
.finale-copy > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.finale-copy p { margin: 16px auto 26px; max-width: 480px; }
.finale.copy-in .finale-copy > * { opacity: 1; transform: none; }
.finale.copy-in .finale-copy > *:nth-child(2) { transition-delay: 0.12s; }
.finale.copy-in .finale-copy > *:nth-child(3) { transition-delay: 0.24s; }
.finale.is-static .finale-wrap { height: auto; padding: 110px 0; }
.finale.is-static .finale-pin { position: static; height: auto; }
.finale.is-static .finale-mark { opacity: 1; transform: none; filter: drop-shadow(0 0 30px rgba(196, 0, 255, 0.45)); }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 36px;
  background: var(--bg-soft);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand p { margin-top: 18px; font-size: 0.92rem; max-width: 300px; }
.footer-col h4 {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROGRAMS PAGE
   ============================================================ */
.page-hero {
  padding: calc(var(--header-h) + 90px) 0 60px;
  text-align: center;
}
.page-hero p { max-width: 620px; margin: 20px auto 0; font-size: 1.1rem; }

.tier-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.tier-card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(175deg, var(--panel), var(--bg-soft));
  padding: 34px 28px;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tier-card:hover { transform: translateY(-4px); }
.tier-card .tier-icon { width: 128px; height: 150px; margin-bottom: 14px; }
.tier-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.tier-card .tier-for { font-size: 0.92rem; color: var(--muted); margin-bottom: 22px; }
.tier-card ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
/* text-wrap: pretty stops single words hanging on their own last line
   (no-op in browsers that don't support it). */
.tier-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text); text-wrap: pretty; }
.tier-card .tier-for, .tier-mini .tier-line { text-wrap: pretty; }
.tier-card li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brand); }
.tier-card .btn { margin-top: auto; justify-content: center; }

.tier-card .tier-tag { top: -12px; }

/* Jot's call (2026-08-21): every card's feature list is the same fixed height,
   longer lists scroll inside it. Only where cards sit side by side; single
   column on phones keeps the full list (nested scroll is miserable on touch). */
@media (min-width: 621px) {
  .tier-cards { align-items: stretch; }
  .tier-card ul {
    height: 250px;
    overflow-y: auto;
    align-content: start;
    padding-right: 10px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(196, 0, 255, 0.35) rgba(255, 255, 255, 0.05);
  }
  .tier-card ul::-webkit-scrollbar { width: 6px; }
  .tier-card ul::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 3px; }
  .tier-card ul::-webkit-scrollbar-thumb { background: rgba(196, 0, 255, 0.35); border-radius: 3px; }
  .tier-card ul::-webkit-scrollbar-thumb:hover { background: rgba(196, 0, 255, 0.55); }
}

.ladder-note {
  text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel), transparent);
  max-width: 760px; margin: 56px auto 0; padding: 30px 34px;
}
.ladder-note h3 { margin-bottom: 10px; }
.ladder-note p { font-size: 0.97rem; }

@media (max-width: 1100px) { .tier-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tier-cards { grid-template-columns: 1fr; } }

/* ============================================================
   ZONE COLOR SYSTEM — end of file, on purpose.
   Sections re-tint by overriding the brand tokens on their id.
   Conversion elements (.btn-primary) re-pin the true brand gradient
   locally, so zones never touch the CTA color.
   01 Training = ember red    02 Nutrition = green
   03 Mindset  = brand purple
   Results = gold             Apply + FAQ = brand purple
   ============================================================ */

#training {
  --brand: #ff5a3c;
  --brand-2: #ff8c42;
  --brand-soft: rgba(255, 90, 60, 0.14);
  --gradient: linear-gradient(120deg, #ff5a3c, #ff8c42);
  background: linear-gradient(180deg, rgba(255, 90, 60, 0.05), rgba(255, 90, 60, 0.1));
}
#nutrition {
  --brand: #34d399;
  --brand-2: #0ea56f;
  --brand-soft: rgba(52, 211, 153, 0.13);
  --gradient: linear-gradient(120deg, #34d399, #0ea56f);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.045), rgba(52, 211, 153, 0.09));
}
#mindset {
  background: linear-gradient(180deg, rgba(196, 0, 255, 0.05), rgba(196, 0, 255, 0.1));
}
#results {
  --brand: #f5b83d;
  --brand-2: #f59e0b;
  --brand-soft: rgba(245, 184, 61, 0.13);
  --gradient: linear-gradient(120deg, #f5b83d, #f59e0b);
  background: linear-gradient(180deg, rgba(245, 184, 61, 0.04), rgba(245, 184, 61, 0.09));
}
#apply {
  background: linear-gradient(180deg, rgba(196, 0, 255, 0.05), rgba(196, 0, 255, 0.11));
}
#faq {
  background: linear-gradient(180deg, rgba(196, 0, 255, 0.02), rgba(196, 0, 255, 0.05));
}

/* The Four Levels subheading stays on one line on desktop (Jot's call);
   phones let it wrap rather than shrink it unreadable. */
@media (min-width: 700px) {
  #programs .section-head p { white-space: nowrap; max-width: none; font-size: clamp(0.9rem, 1.5vw, 1.08rem); }
}

/* Programs page zones */
#levels { background: linear-gradient(180deg, rgba(196, 0, 255, 0.03), rgba(196, 0, 255, 0.07)); }

/* ============================================================
   CENTERED TEXT (Jot's call, 2026-08-20): copy is centered across the
   whole site. Lists keep left-aligned lines inside a centered block so
   the check icons still line up.
   ============================================================ */
.hero-inner { margin: 0 auto; text-align: center; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero-ctas { justify-content: center; }

.split-copy { text-align: center; }
.check-list { display: inline-grid; text-align: left; max-width: 560px; }
.coach-chips { justify-content: center; }

.habit-card, .process-step { text-align: center; }
.habit-num, .process-num { margin-left: auto; margin-right: auto; }

.apply-copy { text-align: center; }
.apply-includes { display: inline-grid; text-align: left; }
.form-row label { text-align: left; }

.vsl-human { text-align: center; }
.faq-answer-inner { text-align: center; }
.faq-question { justify-content: center; position: relative; text-align: center; padding: 20px 52px; }
.faq-question svg { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); }
.faq-item[data-open="true"] .faq-question svg { transform: translateY(-50%) rotate(45deg); }

.tier-card { text-align: center; }
.tier-card .tier-icon { margin-left: auto; margin-right: auto; }
.tier-card ul { display: inline-grid; text-align: left; }

.footer-grid { text-align: center; }
.footer-brand p { margin-left: auto; margin-right: auto; }
.footer-brand .brand { justify-content: center; width: 100%; }
.footer-bottom { text-align: center; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-kinetic] .word > span { transform: none; animation: none; }
  .finale-mark { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   SCROLL GLOW (Jot's ask, 2026-08-21): things glow as you scroll.
   Rides the existing reveal system - as a card scrolls into view it
   blooms in its section's zone color, then settles to a faint halo.
   The halo lives on an ::after behind the card so each card's own
   shadows and hover states are untouched, and only opacity animates,
   which stays cheap on phones. Gradient headline text blooms too.
   color-mix() guards the block: engines without it just skip the glow.
   ============================================================ */
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .habit-card, .result-card, .tier-mini, .tier-card, .nutri-card,
  .process-step, .ladder-note {
    position: relative;
  }
  :is(.habit-card, .result-card, .tier-mini, .tier-card, .nutri-card,
      .process-step, .ladder-note)::after {
    content: "";
    position: absolute; inset: 0; border-radius: inherit;
    pointer-events: none; z-index: -1;
    box-shadow:
      0 0 18px color-mix(in srgb, var(--brand) 50%, transparent),
      0 0 46px 10px color-mix(in srgb, var(--brand) 30%, transparent);
    opacity: 0;
  }
  /* Tier cards glow their OWN piece color (blue pawn, green knight,
     magenta queen, gold king), not the section zone color (Jot's ask). */
  :is(.tier-mini, .tier-card):is(.t-blue, .t-green, .t-magenta, .t-gold)::after {
    box-shadow:
      0 0 18px color-mix(in srgb, var(--tier) 55%, transparent),
      0 0 46px 10px color-mix(in srgb, var(--tier) 32%, transparent);
  }
  /* Resting opacity lives here (not in an animation fill) so :hover below
     can brighten the halo; the bloom animation ends on the same value. */
  [data-reveal].is-visible:is(.habit-card, .result-card, .tier-mini,
      .tier-card, .nutri-card, .process-step, .ladder-note)::after,
  [data-reveal].is-visible :is(.habit-card, .result-card, .tier-mini,
      .tier-card, .nutri-card, .process-step, .ladder-note)::after {
    opacity: 0.38;
    transition: opacity 0.4s ease;
    animation: glow-bloom 1.9s ease calc(var(--stagger-i, 0) * 90ms);
  }
  [data-reveal].is-visible:is(.habit-card, .result-card, .tier-mini,
      .tier-card, .nutri-card, .process-step, .ladder-note):is(:hover, :active)::after,
  [data-reveal].is-visible :is(.habit-card, .result-card, .tier-mini,
      .tier-card, .nutri-card, .process-step, .ladder-note):is(:hover, :active)::after {
    opacity: 0.9;
  }
  @keyframes glow-bloom {
    0% { opacity: 0; }
    45% { opacity: 1; }
    100% { opacity: 0.38; }
  }

  /* .result-card clips its ::after (overflow:hidden for the photos), so the
     transformation cards glow through their own box-shadow instead. The
     :hover rule re-adds the lift shadow the animation would otherwise mask. */
  [data-reveal].is-visible.result-card,
  [data-reveal].is-visible .result-card {
    box-shadow: 0 0 30px color-mix(in srgb, var(--brand) 18%, transparent);
    animation: result-glow 1.9s ease calc(var(--stagger-i, 0) * 90ms);
  }
  [data-reveal].is-visible.result-card:hover,
  [data-reveal].is-visible .result-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45),
                0 0 30px color-mix(in srgb, var(--brand) 22%, transparent);
  }
  @keyframes result-glow {
    0% { box-shadow: 0 0 0 color-mix(in srgb, var(--brand) 0%, transparent); }
    45% { box-shadow: 0 0 52px color-mix(in srgb, var(--brand) 42%, transparent); }
    100% { box-shadow: 0 0 30px color-mix(in srgb, var(--brand) 18%, transparent); }
  }

  /* Gradient headline words bloom with their zone color as they reveal.
     The filter goes on the PARENT heading, never on .text-gradient itself:
     filter + background-clip:text on the same element makes the text
     INVISIBLE in Safari (this happened on Jot's iPhone - do not move it
     back onto the span). */
  [data-reveal].is-visible :is(h1, h2, h3):has(.text-gradient),
  [data-reveal].is-visible:is(h1, h2, h3):has(.text-gradient) {
    animation: text-glow 2s ease 0.15s forwards;
  }
  @keyframes text-glow {
    0% { filter: none; }
    45% { filter: drop-shadow(0 0 18px color-mix(in srgb, var(--brand) 65%, transparent)); }
    100% { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--brand) 28%, transparent)); }
  }

  /* Reduced motion: no bloom pulse, just the quiet resting glow. */
  @media (prefers-reduced-motion: reduce) {
    [data-reveal].is-visible:is(.habit-card, .result-card, .tier-mini,
        .tier-card, .nutri-card, .process-step, .ladder-note)::after,
    [data-reveal].is-visible :is(.habit-card, .result-card, .tier-mini,
        .tier-card, .nutri-card, .process-step, .ladder-note)::after {
      animation: none; opacity: 0.3;
    }
    [data-reveal].is-visible.result-card,
    [data-reveal].is-visible .result-card { animation: none; }
    [data-reveal].is-visible :is(h1, h2, h3):has(.text-gradient),
    [data-reveal].is-visible:is(h1, h2, h3):has(.text-gradient) {
      animation: none;
      filter: drop-shadow(0 0 10px color-mix(in srgb, var(--brand) 25%, transparent));
    }
  }
}

/* ============================================================
   PREMIUM POLISH (Jot's ask, 2026-08-21): max dopamine everywhere.
   Micro-interactions and light: breathing CTAs with a sheen sweep,
   glowing hovers, floating chess pieces, photo shine, star glow,
   nav underlines, focus glow, and a scroll progress bar (built by
   script.js). Conversion purple is hardcoded on purpose - the CTA
   never zone-tints. Everything transform/opacity-based or one-off.
   ============================================================ */

/* Primary CTA: breathing glow + a light sheen sweeping every ~5s. */
.btn-primary {
  position: relative; overflow: hidden;
  animation: cta-breathe 3.6s ease-in-out infinite;
}
@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 8px 30px rgba(196, 0, 255, 0.35); }
  50% { box-shadow: 0 10px 38px rgba(196, 0, 255, 0.58), 0 0 22px rgba(122, 43, 255, 0.4); }
}
.btn-primary::after {
  content: ""; position: absolute; top: -4px; bottom: -4px; left: -80%; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg); pointer-events: none;
  animation: cta-sheen 5.2s ease-in-out 1.4s infinite;
}
@keyframes cta-sheen {
  0%, 58% { left: -80%; }
  78%, 100% { left: 140%; }
}
/* animation:none on hover so the hover shadow wins over the breathe frames. */
.btn-primary:hover {
  animation: none;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 44px rgba(196, 0, 255, 0.65), 0 0 26px rgba(122, 43, 255, 0.45);
}
.btn:active { transform: translateY(0) scale(0.96); }

/* Ghost buttons glow their zone color on hover. */
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .btn-ghost:hover { box-shadow: 0 0 24px color-mix(in srgb, var(--brand) 28%, transparent); }
}

/* Nav links: gradient underline sweeps in on hover. */
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gradient); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s ease;
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }

/* Transformation photos: a shine sweeps across on hover/tap. */
.result-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.13) 50%, transparent 58%);
  transform: translateX(-130%);
}
.result-card:is(:hover, :active)::before { transform: translateX(130%); transition: transform 0.85s ease; }

/* Google stars glow gold. */
.g-stars svg { filter: drop-shadow(0 0 5px rgba(245, 184, 61, 0.55)); }

/* Chess pieces float gently once revealed (icon floats, so the piece's
   own hover pop transform is untouched). */
[data-reveal].is-visible .tier-icon { animation: piece-float 5.5s ease-in-out 1.4s infinite; }
@keyframes piece-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* FAQ rows light up on hover. */
.faq-item { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .faq-item:hover {
    border-color: color-mix(in srgb, var(--brand) 50%, transparent);
    box-shadow: 0 0 26px color-mix(in srgb, var(--brand) 10%, transparent);
  }
}

/* Form fields glow while focused. */
.form-row input:focus, .form-row textarea:focus {
  box-shadow: 0 0 0 3px rgba(196, 0, 255, 0.16), 0 0 22px rgba(196, 0, 255, 0.2);
}

/* Scroll progress bar (element built by script.js). */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 200; pointer-events: none;
}
.scroll-progress i {
  display: block; height: 100%;
  background: linear-gradient(90deg, #c400ff, #7a2bff, #c400ff);
  box-shadow: 0 0 12px rgba(196, 0, 255, 0.55);
  transform-origin: left; transform: scaleX(0);
}

/* Reduced motion: no perpetual animations; static states stay. */
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-primary::after,
  [data-reveal].is-visible .tier-icon { animation: none; }
  .result-card::before { display: none; }
}

/* ============================================================
   REVIEWS SPOTLIGHT + COACH SECTION LIFE (Jot's ask, 2026-08-21)
   ============================================================ */

/* Review scroller: the card nearest the center glows gold (zone --brand
   under #results) and the rest sit dimmed - every swipe rewards you with
   a fresh spotlight. .is-center is set by script.js on track scroll. */
.grev-card { transition: border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease; }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  /* Touch devices: scroll-center spotlight (.is-center set by script.js). */
  @media (hover: none) {
    .greview-track .grev-card { opacity: 0.72; }
    .greview-track .grev-card.is-center, .greview-track .grev-more { opacity: 1; }
    .greview-track .grev-card.is-center {
      border-color: color-mix(in srgb, var(--brand) 55%, transparent);
      box-shadow: 0 0 26px color-mix(in srgb, var(--brand) 22%, transparent);
    }
  }
  /* Desktop (Jot's call): the mouse is the spotlight - the hovered card
     glows and the rest dim; nothing dims until you point at the strip. */
  @media (hover: hover) and (pointer: fine) {
    .greview-track:hover .grev-card { opacity: 0.72; }
    .greview-track .grev-card:hover {
      opacity: 1;
      border-color: color-mix(in srgb, var(--brand) 55%, transparent);
      box-shadow: 0 0 26px color-mix(in srgb, var(--brand) 22%, transparent);
    }
  }

  /* Jot's photos glow in their zone color (purple in #coach, ember red in
     #training - the zone --brand does it for free), deepening with a
     gentle zoom on hover/tap. */
  .coach-photos img, #training .split-media img {
    border-color: color-mix(in srgb, var(--brand) 40%, transparent);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45),
                0 0 46px color-mix(in srgb, var(--brand) 22%, transparent);
    transition: box-shadow 0.45s ease, transform 0.45s ease;
  }
  :is(.coach-photos, #training .split-media):is(:hover, :active) img {
    transform: scale(1.015);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45),
                0 0 64px color-mix(in srgb, var(--brand) 38%, transparent);
  }

  /* Coach chips come alive on hover. */
  .coach-chip { transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
  .coach-chip:hover {
    border-color: var(--brand);
    box-shadow: 0 0 18px color-mix(in srgb, var(--brand) 30%, transparent);
    transform: translateY(-2px);
  }
}

/* Ambient light: two soft purple orbs drift slowly behind the coach
   section. Radial gradients (no filter blur), transform-only animation. */
#coach { overflow: hidden; }
#coach .container { position: relative; z-index: 1; }
#coach::before, #coach::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 540px; height: 540px; border-radius: 50%;
}
#coach::before {
  top: -160px; left: -180px;
  background: radial-gradient(circle, rgba(196, 0, 255, 0.13), transparent 65%);
  animation: coach-drift-a 14s ease-in-out infinite alternate;
}
#coach::after {
  bottom: -200px; right: -160px;
  background: radial-gradient(circle, rgba(122, 43, 255, 0.12), transparent 65%);
  animation: coach-drift-b 18s ease-in-out infinite alternate;
}
@keyframes coach-drift-a { to { transform: translate(80px, 45px) scale(1.15); } }
@keyframes coach-drift-b { to { transform: translate(-70px, -55px) scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  #coach::before, #coach::after { animation: none; }
  .greview-track .grev-card { opacity: 1; }
}

/* ============================================================
   COACH STORY READING GLOW (Jot's ask, 2026-08-21): the paragraphs
   light up word by word as you scroll, and the .hl phrases ignite
   purple when the light reaches them. .story-armed + .w spans are
   added by script.js; without JS (or with reduced motion) the copy
   reads normally with the .hl phrases statically branded.
   ============================================================ */
.split-copy .hl { font-style: normal; font-weight: 600; color: var(--brand); }
#coach.story-armed .split-copy p .w {
  opacity: 0.24;
  transition: opacity 0.35s ease, color 0.35s ease, text-shadow 0.35s ease;
}
#coach.story-armed .split-copy p .w.lit { opacity: 1; }
#coach.story-armed .split-copy .hl .w { color: inherit; }
#coach.story-armed .split-copy .hl .w.lit {
  color: var(--brand);
  text-shadow: 0 0 16px rgba(196, 0, 255, 0.45);
}
