/* ==========================================================================
   KPX Official — Shared Design System
   NOTE: Trainerize plan-picker modal styles live at the bottom of this file
   under the "Trainerize checkout modal" section.
   Brand pulled from live site (kpxofficial.com): deep purple #3E0087,
   magenta CTA #F20154, ink #000, white, lavender #F2EBFD. Fonts: Montserrat
   (body/headings) + Poppins (display). See brand.html for the source of truth.
   ========================================================================== */

:root {
  --purple:   #3E0087;   /* primary brand — headings, structure, dark fields */
  --purple-2: #2B0060;   /* deeper purple for gradients */
  --magenta:  #F20154;   /* accent / primary CTA — action only */
  --ink:      #0B0B0F;   /* near-black dark sections + body text */
  --white:    #FFFFFF;
  --lavender: #F2EBFD;   /* tint background surface */
  --muted:    #737373;   /* secondary body text */
  --muted-2:  #9D96A8;   /* muted on light */
  --line:     #E4E0EC;   /* hairlines / borders */
  --line-cd:  #CDCDCD;
  --brand-color: var(--magenta); /* README button system hook */
  /* Edgy system: zero rounding, hard shadows, angled cuts. */
  --radius:   0px;
  --radius-sm: 0px;
  --shadow:   10px 10px 0 rgba(11,11,15,0.14);
  --shadow-sm: 6px 6px 0 rgba(11,11,15,0.10);
  --shadow-mag: 8px 8px 0 rgba(242,1,84,0.28);
  --slant: 14px;          /* size of the angled corner cut */
  --line-hair: 2px;       /* heavier structural hairlines */
  --maxw: 1180px;
  --ff: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-display: "Poppins", var(--ff);
  /* Reusable angled clips */
  --clip-slant: polygon(var(--slant) 0, 100% 0, 100% calc(100% - var(--slant)), calc(100% - var(--slant)) 100%, 0 100%, 0 var(--slant));
  --clip-tag: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--ff); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
/* Tighter, connected rhythm — less white space, sharper section seams. */
.section { padding: 46px 0; }
.section-tight { padding: 30px 0; }
@media (min-width: 1024px){ .container { padding-inline: 24px; } .section { padding: 64px 0; } .section-tight { padding: 40px 0; } }

/* Structural seams that visually bolt sections together */
.section, .section-tight { border-bottom: var(--line-hair) solid var(--line); }
.bg-ink, .bg-grad, .bg-purple { border-bottom-color: rgba(255,255,255,.10); }
.bg-lav { border-bottom-color: #ddd3ee; }

.bg-purple { background: var(--purple); color: #fff; }
.bg-ink    { background: var(--ink); color: #fff; }
.bg-lav    { background: var(--lavender); }
.bg-grad   { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 60%, var(--ink) 100%); color:#fff; }

/* ---------- Typography helpers ---------- */
.eyebrow { display:inline-flex; align-items:center; gap:10px; font-size:12px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:var(--magenta); margin-bottom:12px; }
.eyebrow::before { content:""; width:26px; height:3px; background:var(--magenta); transform:skewX(-30deg); }
.eyebrow.on-dark { color:#fff; opacity:.9; }
.eyebrow.on-dark::before { background:var(--magenta); }
.display { font-family: var(--ff-display); font-weight:800; text-transform:uppercase; letter-spacing:-0.02em; line-height:.95; }
h1, .h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); }
h2, .h2 { font-size: clamp(1.7rem, 4.2vw, 3rem); }
h3, .h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: var(--muted); }
.lead.on-dark { color: rgba(255,255,255,.85); }
.stroke { color: currentColor; }
.text-magenta { color: var(--magenta); }
.text-purple { color: var(--purple); }

/* ---------- Buttons (README standard, brand=magenta) ---------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:15px 32px; border-radius:0; border:2px solid var(--magenta);
  background:var(--magenta); color:#fff; font-weight:800; font-size:15px;
  text-transform:uppercase; letter-spacing:.08em; cursor:pointer;
  transition:background .18s ease, color .18s ease, transform .12s ease, box-shadow .18s ease;
  min-height:48px; line-height:1;
}
.btn:hover { background:#fff; color:var(--magenta); transform:translate(-2px,-2px); box-shadow:6px 6px 0 var(--magenta); }
.btn:active { transform:translate(0,0); box-shadow:none; }
.btn-outline { background:transparent; color:var(--magenta); }
.btn-outline:hover { background:var(--magenta); color:#fff; }
.btn-on-dark { border-color:#fff; background:#fff; color:var(--purple); }
.btn-on-dark:hover { background:transparent; color:#fff; }
.btn-ghost { border-color:rgba(255,255,255,.55); background:transparent; color:#fff; }
.btn-ghost:hover { background:#fff; color:var(--purple); }
.btn-lg { padding:17px 38px; font-size:16px; }
.btn-block { width:100%; }
.btn-purple { border-color:var(--purple); background:var(--purple); color:#fff; }
.btn-purple:hover { background:#fff; color:var(--purple); }

/* ---------- Header / Nav ---------- */
.site-header { position:sticky; top:0; z-index:900; background:var(--ink); color:#fff; border-bottom:1px solid rgba(255,255,255,.08); }
.topbar { background:var(--purple); color:#fff; font-size:12.5px; }
.topbar .container { display:flex; align-items:center; justify-content:space-between; min-height:38px; gap:12px; }
.topbar a { opacity:.9; } .topbar a:hover { opacity:1; }
.topbar-contact { white-space:nowrap; }
.topbar-links { display:none; align-items:center; gap:22px; }
.topbar-links a { font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:#fff; border-bottom:2px solid transparent; padding:9px 0; transition:opacity .15s, border-color .15s; }
.topbar-links a:hover, .topbar-links a.active { opacity:1; border-color:rgba(255,255,255,.7); }
@media (min-width:1024px){ .topbar-links { display:flex; } }
.nav { display:flex; align-items:center; justify-content:space-between; min-height:72px; gap:16px; }
.nav .brand img { width:150px; height:auto; }
.nav-links { display:none; align-items:center; gap:26px; }
.nav-links a { font-size:14px; font-weight:600; letter-spacing:.02em; text-transform:uppercase; padding:10px 2px; min-height:44px; display:inline-flex; align-items:center; color:#fff; border-bottom:2px solid transparent; transition:color .15s, border-color .15s; }
.nav-links a:hover, .nav-links a.active { color:var(--magenta); border-color:var(--magenta); }
.nav-actions { display:flex; align-items:center; gap:12px; }
.nav-actions .btn { padding:11px 20px; font-size:13px; min-height:44px; }
.hamburger { display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; background:transparent; border:2px solid rgba(255,255,255,.3); border-radius:0; color:#fff; cursor:pointer; }
.hamburger svg { width:22px; height:22px; }
.mobile-panel { display:none; flex-direction:column; background:var(--ink); border-top:1px solid rgba(255,255,255,.08); padding:10px 20px 20px; }
.mobile-panel.open { display:flex; }
.mobile-panel a { color:#fff; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.09); font-weight:600; text-transform:uppercase; font-size:14px; }
.mobile-panel-label { display:block; margin-top:14px; padding-bottom:6px; font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--muted-2); }
.mobile-panel-label + a { border-top:1px solid rgba(255,255,255,.09); }
.mobile-panel .btn { margin-top:16px; }
@media (min-width:1024px){ .nav-links { display:flex; } .hamburger { display:none; } }

/* ---------- Hero ---------- */
.hero { position:relative; width:100%; min-height:520px; height:78vh; max-height:760px; display:flex; align-items:center; color:#fff; overflow:hidden; }
.hero.hero-sm { min-height:440px; height:56vh; }
.hero .hero-media { position:absolute; inset:0; z-index:0; }
.hero .hero-media img, .hero .hero-media video { width:100%; height:100%; object-fit:cover; }
.hero .hero-scrim { position:absolute; inset:0; z-index:1;
  background: linear-gradient(115deg, rgba(11,11,15,.86) 0%, rgba(43,0,96,.72) 55%, rgba(242,1,84,.30) 100%); }
.hero .container { position:relative; z-index:2; }
.hero h1 { font-family:var(--ff-display); text-transform:uppercase; margin-bottom:18px; max-width:16ch; }
.hero .lead { max-width:52ch; }
.hero-cues { display:flex; flex-wrap:wrap; gap:12px; margin:26px 0 0; }
.hero-badges { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:26px; font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; opacity:.9; }
.hero-badges span { display:inline-flex; align-items:center; gap:8px; }
.hero-badges span::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--magenta); }

/* on-screen text sequence chips */
.seq { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:24px; }
.seq .chip { font-family:var(--ff-display); font-weight:700; text-transform:uppercase; font-size:14px; letter-spacing:.02em; padding:8px 16px; border:1px solid rgba(255,255,255,.35); border-radius:0; clip-path:var(--clip-slant); --slant:6px; }
.seq .chip.hot { background:var(--magenta); border-color:var(--magenta); }
.seq .arrow { opacity:.6; }

/* ---------- Video block ---------- */
.videobox { position:relative; border-radius:0; clip-path:var(--clip-slant); --slant:22px; overflow:hidden; box-shadow:var(--shadow); background:var(--ink); aspect-ratio:16/9; border:var(--line-hair) solid var(--ink); }
.videobox img, .videobox video { width:100%; height:100%; object-fit:cover; }
.videobox .play { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(11,11,15,.28); border:0; cursor:pointer; color:#fff; transition:background .2s; }
.videobox .play:hover { background:rgba(11,11,15,.14); }
.videobox .play .disc { width:78px; height:78px; border-radius:50%; background:var(--magenta); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 30px rgba(242,1,84,.5); }
.videobox .play .disc svg { width:30px; height:30px; margin-left:4px; }
.videobox .vlabel { position:absolute; left:16px; bottom:16px; z-index:2; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; background:var(--magenta); padding:7px 14px; border-radius:0; clip-path:var(--clip-tag); }

/* ---------- Cards / grids ---------- */
/* Tighter gaps + a shared magenta seam so cards read as one connected slab. */
.grid { display:grid; gap:2px; grid-template-columns:1fr; background:var(--line); border:var(--line-hair) solid var(--ink); }
.grid > * { margin:0; }
@media (min-width:768px){ .grid-2 { grid-template-columns:repeat(2,1fr); } .grid-3 { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .grid-3 { grid-template-columns:repeat(3,1fr); } .grid-4 { grid-template-columns:repeat(4,1fr); } }
@media (min-width:768px) and (max-width:1023px){ .grid-4 { grid-template-columns:repeat(2,1fr); } }
/* Standalone cards keep the angled cut + hard shadow; gridded cards butt together. */
.card { background:#fff; border:var(--line-hair) solid var(--ink); border-radius:0; padding:26px; box-shadow:var(--shadow-sm); transition:transform .14s, box-shadow .14s; height:100%; position:relative; }
.card:hover { transform:translate(-3px,-3px); box-shadow:var(--shadow); z-index:2; }
.grid .card { border:0; box-shadow:none; }
.grid .card:hover { transform:none; box-shadow:none; background:var(--lavender); z-index:auto; }
.card .num { font-family:var(--ff-display); font-size:2.6rem; font-weight:800; color:var(--purple); line-height:1; margin-bottom:10px; }
.card h3 { color:var(--purple); }
.card.dark { background:var(--ink); border-color:var(--magenta); color:#fff; }
.card.dark h3 { color:#fff; }
.icon-badge { width:54px; height:54px; border-radius:0; clip-path:var(--clip-slant); --slant:8px; background:var(--purple); color:#fff; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.icon-badge svg { width:26px; height:26px; }

/* choose-your-path selector */
.path-card { display:block; position:relative; overflow:hidden; border-radius:0; clip-path:var(--clip-slant); --slant:20px; min-height:260px; color:#fff; box-shadow:var(--shadow-sm); border:var(--line-hair) solid var(--ink); }
.path-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; transition:transform .4s; }
.path-card:hover img { transform:scale(1.06); }
.path-card .veil { position:absolute; inset:0; z-index:1; background:linear-gradient(180deg, rgba(11,11,15,.15) 0%, rgba(43,0,96,.85) 100%); }
.path-card .path-body { position:relative; z-index:2; padding:26px; display:flex; flex-direction:column; justify-content:flex-end; height:100%; min-height:260px; }
.path-card .who { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--magenta); margin-bottom:8px; }
.path-card h3 { font-family:var(--ff-display); text-transform:uppercase; margin-bottom:6px; }
.path-card .go { margin-top:14px; font-weight:700; font-size:13px; letter-spacing:.06em; text-transform:uppercase; display:inline-flex; gap:8px; align-items:center; }

/* program / pricing cards */
.plan { background:#fff; border:var(--line-hair) solid var(--ink); border-radius:0; padding:30px; height:100%; display:flex; flex-direction:column; box-shadow:var(--shadow-sm); }
.plan.featured { border:2px solid var(--magenta); box-shadow:var(--shadow-mag); position:relative; transform:translateY(-6px); }
.plan .tag { position:absolute; top:-15px; left:50%; transform:translateX(-50%); background:var(--magenta); color:#fff; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; padding:7px 20px; border-radius:0; clip-path:var(--clip-slant); --slant:7px; }
.plan .price { font-family:var(--ff-display); font-size:2.6rem; font-weight:800; color:var(--purple); line-height:1; margin:6px 0 4px; }
.plan .price small { font-size:.9rem; color:var(--muted); font-weight:600; }
.plan ul { list-style:none; padding:0; margin:18px 0 24px; flex:1; }
.plan li { padding:9px 0 9px 30px; position:relative; border-bottom:1px solid var(--line); font-size:15px; }
.plan li::before { content:""; position:absolute; left:0; top:13px; width:18px; height:18px; border-radius:50%; background:var(--lavender);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E0087' stroke-width='3'><path d='M20 6L9 17l-5-5'/></svg>"); background-size:12px; background-position:center; background-repeat:no-repeat; }

/* ---------- Stats ---------- */
.stats { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; text-align:center; }
@media (min-width:768px){ .stats { grid-template-columns:repeat(4,1fr); } }
.stat .n { font-family:var(--ff-display); font-size:clamp(2rem,5vw,3.2rem); font-weight:800; color:var(--magenta); line-height:1; }
.stat .l { font-size:13px; letter-spacing:.06em; text-transform:uppercase; opacity:.85; margin-top:6px; }

/* ---------- Testimonials ---------- */
.quote { background:#fff; color:var(--ink); border:var(--line-hair) solid var(--ink); border-left:6px solid var(--magenta); border-radius:0; padding:26px; box-shadow:var(--shadow-sm); height:100%; }
.quote p { font-size:15.5px; }
.quote .who { font-weight:700; color:var(--purple); margin-top:12px; }
.quote .meta { font-size:12.5px; color:var(--muted); }
.disclaimer { font-size:12px; color:var(--muted); margin-top:14px; }

/* ---------- Forms ---------- */
.field { margin-bottom:22px; }
.field label { display:block; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#4b5563; margin-bottom:10px; }
.field.on-dark label { color:rgba(255,255,255,.8); }
input, select, textarea {
  width:100%; padding:0 0 0 18px; min-height:52px; line-height:1.5;
  border:2px solid var(--line-cd); border-radius:0; font-family:var(--ff); font-size:15px;
  color:var(--ink); background:#fff; box-sizing:border-box; -webkit-appearance:none; transition:border-color .2s;
}
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--magenta); }
textarea { resize:vertical; min-height:140px; padding-top:14px; }
.form-row { display:grid; grid-template-columns:1fr; gap:18px; }
@media (min-width:640px){ .form-row { grid-template-columns:1fr 1fr; } }
.form-card { background:#fff; border-radius:0; border:var(--line-hair) solid var(--ink); box-shadow:var(--shadow); padding:30px; }
@media (min-width:768px){ .form-card { padding:40px; } }
.trust-row { display:flex; flex-wrap:wrap; gap:8px 18px; font-size:12.5px; color:var(--muted); margin-top:14px; }
.trust-row span { display:inline-flex; align-items:center; gap:6px; }
.trust-row svg { width:15px; height:15px; color:var(--purple); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position:fixed; left:0; right:0; bottom:0; z-index:800; display:none; padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:var(--ink); border-top:1px solid rgba(255,255,255,.12); box-shadow:0 -6px 24px rgba(0,0,0,.28); }
.sticky-cta .btn { width:100%; }
.sticky-cta.show { display:block; }
@media (min-width:1024px){ .sticky-cta { display:none !important; } }

/* ---------- FAQ ---------- */
.faq { border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:#fff; }
.faq details { border-bottom:1px solid var(--line); }
.faq details:last-child { border-bottom:0; }
.faq summary { list-style:none; cursor:pointer; padding:20px 54px 20px 22px; font-weight:700; color:var(--purple); position:relative; font-size:16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; position:absolute; right:22px; top:50%; transform:translateY(-50%); font-size:24px; color:var(--magenta); font-weight:400; }
.faq details[open] summary::after { content:"–"; }
.faq .a { padding:0 22px 22px; color:var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background:var(--ink); color:#fff; padding:56px 0 28px; }
.site-footer .brand img { width:150px; margin-bottom:16px; }
.foot-grid { display:grid; grid-template-columns:1fr; gap:32px; }
@media (min-width:640px){ .foot-grid { grid-template-columns:1.4fr 1fr 1fr; } }
@media (min-width:1024px){ .foot-grid { grid-template-columns:1.6fr 1fr 1fr 1.3fr; } }
.site-footer h4 { font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--magenta); margin-bottom:16px; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer li a { display:inline-block; padding:7px 0; font-size:14px; color:rgba(255,255,255,.78); }
.site-footer li a:hover { color:#fff; }
.foot-news input { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.18); color:#fff; }
.foot-news input::placeholder { color:rgba(255,255,255,.5); }
.social { display:flex; gap:12px; margin-top:16px; }
.social a { width:42px; height:42px; border-radius:0; clip-path:var(--clip-slant); --slant:7px; border:1px solid rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; color:#fff; transition:background .2s,color .2s; }
.social a:hover { background:var(--magenta); border-color:var(--magenta); }
.social svg { width:18px; height:18px; }
.foot-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top:40px; padding-top:22px; display:flex; flex-wrap:wrap; gap:10px 20px; justify-content:space-between; font-size:12.5px; color:rgba(255,255,255,.6); }

/* ---------- Modal ---------- */
.modal-overlay { position:fixed; inset:0; z-index:1000; background:rgba(11,11,15,.6); backdrop-filter:blur(3px); display:none; align-items:center; justify-content:center; padding:20px; }
.modal-overlay.open { display:flex; }
.modal { background:#fff; border-radius:0; border:2px solid var(--ink); max-width:520px; width:100%; box-shadow:var(--shadow); overflow:hidden; animation:pop .22s ease; max-height:90vh; overflow-y:auto; }
.modal--lg { max-width:940px; }
.modal--xl { max-width:1140px; }
@keyframes pop { from{ transform:translateY(14px) scale(.98); opacity:0 } to{ transform:none; opacity:1 } }
.modal .modal-head { background:var(--purple); color:#fff; padding:22px 26px; display:flex; align-items:center; justify-content:space-between; }
.modal .modal-head h3 { margin:0; color:#fff; }
.modal .modal-body { padding:26px; }
.modal .modal-close { background:transparent; border:0; color:#fff; cursor:pointer; width:40px; height:40px; font-size:26px; line-height:1; }
.modal .step-pill { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--magenta); margin-bottom:8px; }

/* Back button */
.modal-back-btn {
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:none;
  border:var(--line-hair) solid var(--line);
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  padding:6px 14px;
  cursor:pointer;
  margin-bottom:4px;
  transition:color .15s, border-color .15s;
}
.modal-back-btn:hover { color:var(--purple); border-color:var(--purple); }

/* ---- Step 1: Training type hub ---- */
.trn-hub {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:4px;
}
@media (max-width:480px) { .trn-hub { grid-template-columns:1fr; } }

.trn-hub-btn {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
  background:#fff;
  border:2px solid var(--line);
  padding:28px 20px 24px;
  cursor:pointer;
  transition:border-color .18s, box-shadow .18s, transform .18s;
}
.trn-hub-btn:hover {
  border-color:var(--purple);
  box-shadow:0 4px 18px rgba(62,0,135,.13);
  transform:translateY(-2px);
}
.trn-hub-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  border-radius:50%;
  background:var(--lavender);
  color:var(--purple);
  flex-shrink:0;
}
.trn-hub-icon svg { width:36px; height:36px; }
.trn-hub-label {
  font-family:var(--ff-display);
  font-size:1.05rem;
  font-weight:800;
  text-transform:uppercase;
  color:var(--purple);
  letter-spacing:-.01em;
}
.trn-hub-sub {
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
}

/* ---- Step 2a: online plan grid inside modal ---- */
.tzm-plan-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media (max-width:680px) { .tzm-plan-grid { grid-template-columns:1fr; } }

/* ---- Step 2b: in-person option cards ---- */
.trn-ip-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:4px;
}
@media (max-width:480px) { .trn-ip-options { grid-template-columns:1fr; } }

.trn-ip-card {
  border:var(--line-hair) solid var(--line);
  padding:24px 20px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.trn-ip-icon {
  width:48px;
  height:48px;
  color:var(--purple);
}
.trn-ip-icon svg { width:100%; height:100%; }
.trn-ip-card h4 {
  font-family:var(--ff-display);
  font-size:.95rem;
  font-weight:800;
  text-transform:uppercase;
  color:var(--purple);
  margin:0;
}
.trn-ip-card p {
  font-size:13px;
  color:var(--muted);
  margin:0;
  flex:1;
}
.trn-ip-card .btn { margin-top:auto; font-size:13px; padding:10px 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity:0; transform:translateY(22px); }
.reveal.in { opacity:1; transform:none; transition:opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity:1 !important; transform:none !important; }
  html { scroll-behavior:auto; }
  .path-card img { transition:none; }
  .hero .hero-media video { display:none; }
  .hero .hero-media { background:center/cover no-repeat url('../img/hero-video-poster.jpg'); }
}

/* ---------- Utilities ---------- */
.center { text-align:center; }
.mx-auto { margin-inline:auto; }
.maxw-720 { max-width:720px; }
.maxw-620 { max-width:620px; }
.mt-0 { margin-top:0; } .mb-0 { margin-bottom:0; }
.mt-4 { margin-top:1.5rem; } .mt-6 { margin-top:2.25rem; }
.flex { display:flex; } .wrap { flex-wrap:wrap; } .gap { gap:14px; } .items-center { align-items:center; }
.cta-row { display:flex; flex-wrap:wrap; gap:14px; }
.pill-list { display:flex; flex-wrap:wrap; gap:10px; list-style:none; padding:0; margin:16px 0 0; }
.pill-list li { font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; padding:8px 16px; border-radius:0; clip-path:var(--clip-slant); --slant:6px; background:var(--purple); color:#fff; }
.split { display:grid; grid-template-columns:1fr; gap:28px; align-items:center; }
@media (min-width:900px){ .split { grid-template-columns:1fr 1fr; gap:40px; } .split.wide-left { grid-template-columns:1.15fr .85fr; } }
.rounded-media { border-radius:0; clip-path:var(--clip-slant); --slant:22px; overflow:hidden; box-shadow:var(--shadow); border:var(--line-hair) solid var(--ink); }
.skip-link { position:absolute; left:-9999px; top:0; background:var(--magenta); color:#fff; padding:10px 16px; z-index:1200; }
.skip-link:focus { left:8px; top:8px; }

/* ==========================================================================
   FUNNEL — ClickFunnels-style long-form landing page (funnel.html only)
   Single conversion goal, guided sequence, one animated idea per screen.
   All animation is one-shot + reveals into a completed resting state.
   ========================================================================== */

/* Minimal funnel header: logo + one CTA, no navigation. */
.fx-header { position:sticky; top:0; z-index:900; background:var(--ink); color:#fff; border-bottom:var(--line-hair) solid rgba(255,255,255,.1); }
.fx-header .container { display:flex; align-items:center; justify-content:space-between; min-height:66px; gap:16px; }
.fx-header .brand img { width:142px; height:auto; display:block; }
.fx-header .btn { padding:11px 20px; font-size:13px; min-height:44px; }

/* Section rhythm — tight, connected. Funnel uses centered narrative blocks. */
.fx-lede { max-width:60ch; }
.fx-kicker { display:block; font-family:var(--ff-display); text-transform:uppercase; letter-spacing:-0.01em; }

/* Hero growth-curve visual */
.fx-hero .container { display:grid; grid-template-columns:1fr; gap:34px; align-items:center; }
@media (min-width:960px){ .fx-hero .container { grid-template-columns:1.05fr .95fr; gap:48px; } }
.fx-viz { background:rgba(255,255,255,.04); border:var(--line-hair) solid rgba(255,255,255,.14); padding:22px; }
.fx-viz .cap { font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.62); margin:0 0 12px; }
.fx-viz svg { width:100%; height:auto; display:block; overflow:visible; }
.fx-cta-note { font-size:13px; color:rgba(255,255,255,.7); margin:14px 0 0; }
.fx-cta-note.on-light { color:var(--muted); }

/* Draw + fade animation primitives (JS toggles .fx-go on the section) */
.fx-draw { stroke-dasharray:var(--len,600); stroke-dashoffset:var(--len,600); }
.fx-go .fx-draw { transition:stroke-dashoffset 1.4s cubic-bezier(.22,1,.36,1); stroke-dashoffset:0; }
.fx-pop { opacity:0; transform:translateY(8px); }
.fx-go .fx-pop { opacity:1; transform:none; transition:opacity .5s ease, transform .5s ease; }
.fx-go .fx-pop.d1 { transition-delay:.5s; } .fx-go .fx-pop.d2 { transition-delay:.8s; }
.fx-go .fx-pop.d3 { transition-delay:1.1s; } .fx-go .fx-pop.d4 { transition-delay:1.4s; }

/* Credibility bar */
.fx-cred { display:flex; flex-wrap:wrap; justify-content:center; gap:14px 40px; align-items:center; text-align:center; }
.fx-cred .item { display:flex; flex-direction:column; gap:2px; }
.fx-cred .n { font-family:var(--ff-display); font-weight:800; font-size:clamp(1.5rem,3.4vw,2.2rem); color:var(--magenta); line-height:1; }
.fx-cred .l { font-size:12px; letter-spacing:.06em; text-transform:uppercase; opacity:.85; }
.fx-cred .sep { width:2px; height:38px; background:rgba(255,255,255,.16); display:none; }
@media (min-width:768px){ .fx-cred .sep { display:block; } }

/* Problem cards (numbered, connected slab) */
.fx-prob { display:grid; grid-template-columns:1fr; gap:2px; background:var(--line); border:var(--line-hair) solid var(--ink); }
@media (min-width:860px){ .fx-prob { grid-template-columns:repeat(3,1fr); } }
.fx-prob .cell { background:#fff; padding:28px; }
.fx-prob .cell .k { font-family:var(--ff-display); font-weight:800; color:var(--magenta); font-size:14px; letter-spacing:.1em; margin-bottom:10px; }
.fx-prob .cell h3 { color:var(--purple); margin-bottom:8px; }
.fx-prob .cell p { margin:0; color:var(--muted); font-size:15px; }

/* Leaky funnel visual */
.fx-leak { max-width:520px; margin-inline:auto; }
.fx-leak .stage { display:flex; align-items:center; justify-content:space-between; gap:14px; background:#fff; border:var(--line-hair) solid var(--ink); padding:16px 20px; margin-bottom:2px; clip-path:var(--clip-slant); --slant:12px; }
.fx-leak .stage .lbl { font-family:var(--ff-display); font-weight:800; text-transform:uppercase; color:var(--purple); font-size:15px; }
.fx-leak .stage .val { font-family:var(--ff-display); font-weight:800; color:var(--ink); font-size:18px; }
.fx-leak .drop { display:flex; align-items:center; justify-content:flex-end; gap:8px; height:26px; }
.fx-leak .leak { font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--magenta); opacity:0; transform:translateX(-6px); }
.fx-go .fx-leak .leak { opacity:1; transform:none; transition:opacity .45s ease, transform .45s ease; }
.fx-go .fx-leak .drop:nth-of-type(2) .leak { transition-delay:.35s; }
.fx-go .fx-leak .drop:nth-of-type(4) .leak { transition-delay:.7s; }
.fx-go .fx-leak .drop:nth-of-type(6) .leak { transition-delay:1.05s; }
.fx-leak .leak::before { content:"↳ "; opacity:.7; }

/* The gap — current vs potential bars */
.fx-gap { display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:768px){ .fx-gap { grid-template-columns:1fr 1fr; gap:2px; background:rgba(255,255,255,.12); border:var(--line-hair) solid rgba(255,255,255,.16); } }
.fx-gap .col { padding:26px; background:transparent; }
@media (min-width:768px){ .fx-gap .col { background:var(--ink); } }
.fx-gap .col.pot { background:linear-gradient(135deg, var(--purple-2), var(--ink)); }
.fx-gap .tag { font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.6); margin-bottom:16px; }
.fx-gap .col.pot .tag { color:var(--magenta); }
.fx-gap .row { margin-bottom:14px; }
.fx-gap .row .rl { font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:rgba(255,255,255,.7); margin-bottom:6px; }
.fx-gap .bar { height:14px; background:rgba(255,255,255,.12); overflow:hidden; }
.fx-gap .fill { height:100%; width:0; background:rgba(255,255,255,.35); }
.fx-gap .col.pot .fill { background:linear-gradient(90deg, var(--purple), var(--magenta)); }
.fx-go .fx-gap .fill { transition:width 1.2s cubic-bezier(.22,1,.36,1); }

/* New opportunity / method badge */
.fx-method { display:grid; grid-template-columns:1fr; gap:2px; background:var(--line); border:var(--line-hair) solid var(--ink); margin-top:34px; }
@media (min-width:860px){ .fx-method { grid-template-columns:repeat(3,1fr); } }
.fx-method .m { background:#fff; padding:26px; }
.fx-method .m .mi { width:54px; height:54px; clip-path:var(--clip-slant); --slant:8px; background:var(--purple); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--ff-display); font-weight:800; font-size:20px; margin-bottom:14px; }
.fx-method .m h3 { color:var(--purple); margin-bottom:6px; }
.fx-method .m p { margin:0; color:var(--muted); font-size:15px; }

/* How it works — 3 steps with a self-drawing connector line */
.fx-steps { position:relative; display:grid; grid-template-columns:1fr; gap:24px; }
@media (min-width:860px){ .fx-steps { grid-template-columns:repeat(3,1fr); gap:20px; } }
.fx-stepline { display:none; }
@media (min-width:860px){
  .fx-stepline { display:block; position:absolute; top:34px; left:8%; right:8%; height:3px; }
  .fx-stepline svg { width:100%; height:3px; overflow:visible; }
}
.fx-step { position:relative; }
.fx-step .no { width:68px; height:68px; clip-path:var(--clip-slant); --slant:10px; background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--ff-display); font-weight:800; font-size:26px; margin-bottom:16px; position:relative; z-index:2; transition:background .3s ease; }
.fx-go .fx-step.lit .no { background:var(--magenta); }
.fx-step h3 { color:var(--purple); margin-bottom:6px; }
.fx-step p { margin:0; color:var(--muted); }

/* Outcomes — feature→benefit list */
.fx-out { display:grid; grid-template-columns:1fr; gap:2px; background:var(--line); border:var(--line-hair) solid var(--ink); }
@media (min-width:768px){ .fx-out { grid-template-columns:1fr 1fr; } }
.fx-out .o { background:#fff; padding:24px 26px; display:flex; gap:16px; align-items:flex-start; }
.fx-out .o .tick { flex:0 0 auto; width:30px; height:30px; background:var(--lavender); color:var(--purple); display:grid; place-items:center; clip-path:var(--clip-slant); --slant:6px; }
.fx-out .o .tick svg { width:18px; height:18px; }
.fx-out .o strong { display:block; color:var(--purple); margin-bottom:3px; }
.fx-out .o span { color:var(--muted); font-size:15px; }

/* Story */
.fx-story { display:grid; grid-template-columns:1fr; gap:40px; align-items:start; }
@media (min-width:900px){ .fx-story { grid-template-columns:1fr 1fr; gap:52px; align-items:center; } }
.fx-story .beats { list-style:none; margin:20px 0 0; padding:0; }
.fx-story .beats li { position:relative; padding:0 0 20px 26px; border-left:3px solid rgba(255,255,255,.2); }
.fx-story .beats li:last-child { padding-bottom:0; }
.fx-story .beats li::before { content:""; position:absolute; left:-8px; top:2px; width:13px; height:13px; background:var(--magenta); }
.fx-story .beats li strong { color:var(--magenta); }

/* Proof — before/after mini bar charts + testimonials */
.fx-proof-charts { display:grid; grid-template-columns:1fr; gap:2px; background:var(--line); border:var(--line-hair) solid var(--ink); }
@media (min-width:640px){ .fx-proof-charts { grid-template-columns:repeat(3,1fr); } }
.fx-chart { background:#fff; padding:22px; text-align:center; }
.fx-chart .ct { font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--purple); margin-bottom:14px; }
.fx-chart .cols { display:flex; align-items:flex-end; justify-content:center; gap:18px; height:130px; }
.fx-chart .colwrap { display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; }
.fx-chart .b { width:44px; background:var(--line); height:0; display:flex; align-items:flex-start; justify-content:center; }
.fx-chart .b.after { background:linear-gradient(180deg, var(--magenta), var(--purple)); }
.fx-go .fx-chart .b { transition:height 1.1s cubic-bezier(.22,1,.36,1); }
.fx-chart .bl { font-size:11px; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); margin-top:8px; }
.fx-chart .bv { font-family:var(--ff-display); font-weight:800; color:var(--ink); font-size:15px; margin-top:6px; }
.fx-chart .b.after .bv { color:#fff; }
.fx-chart .b .bv { padding-top:6px; }

/* Offer transition + stack */
.fx-stack { max-width:640px; margin-inline:auto; background:#fff; border:var(--line-hair) solid var(--ink); box-shadow:var(--shadow); }
.fx-stack .si { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:20px 24px; border-bottom:1px solid var(--line); opacity:0; transform:translateY(8px); }
.fx-go .fx-stack .si { opacity:1; transform:none; transition:opacity .5s ease, transform .5s ease; }
.fx-go .fx-stack .si:nth-child(2){ transition-delay:.15s; } .fx-go .fx-stack .si:nth-child(3){ transition-delay:.3s; }
.fx-go .fx-stack .si:nth-child(4){ transition-delay:.45s; } .fx-go .fx-stack .si:nth-child(5){ transition-delay:.6s; }
.fx-go .fx-stack .si:nth-child(6){ transition-delay:.75s; }
.fx-stack .si .txt strong { display:block; color:var(--purple); margin-bottom:3px; }
.fx-stack .si .txt span { color:var(--muted); font-size:14px; }
.fx-stack .si .inc { flex:0 0 auto; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--purple); background:var(--lavender); padding:6px 12px; clip-path:var(--clip-slant); --slant:5px; white-space:nowrap; }
.fx-stack .si.bonus .inc { color:#fff; background:var(--magenta); }
.fx-stack .total { padding:24px; text-align:center; background:var(--ink); color:#fff; }
.fx-stack .total .price { font-family:var(--ff-display); font-weight:800; font-size:clamp(2rem,6vw,3rem); color:#fff; line-height:1; }
.fx-stack .total .sub { font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.72); margin-top:8px; }
.fx-stack .total .free { color:var(--magenta); font-weight:800; }

/* Risk reversal */
.fx-risk { max-width:720px; margin-inline:auto; text-align:center; background:#fff; border:var(--line-hair) solid var(--ink); box-shadow:var(--shadow-sm); padding:34px; }
.fx-risk .seal { width:64px; height:64px; margin:0 auto 16px; background:var(--purple); color:#fff; display:grid; place-items:center; clip-path:var(--clip-slant); --slant:10px; }
.fx-risk .seal svg { width:32px; height:32px; }
.fx-risk h3 { color:var(--purple); }
.fx-risk p { margin:0 auto; max-width:56ch; color:var(--muted); }

/* Final CTA */
.fx-final { text-align:center; }
.fx-final h2 { max-width:20ch; margin-inline:auto; }
.fx-final .lead { max-width:52ch; margin-inline:auto; }

/* Reduced motion / no-JS: everything rests in its completed state */
@media (prefers-reduced-motion: reduce){
  .fx-draw { stroke-dashoffset:0 !important; transition:none !important; }
  .fx-pop, .fx-leak .leak, .fx-stack .si { opacity:1 !important; transform:none !important; transition:none !important; }
  .fx-step .no { background:var(--magenta) !important; }
}

/* ==========================================================================
   DISTINCT PAGE LAYOUTS — per-page visual grammar
   Same Hook → Story → Offer sequence; visibly different layout per page.
   No new JS files. No new external assets. All funnel-page.js hooks intact.
   ========================================================================== */

/* --------------------------------------------------------------------------
   INDEX.HTML — Magazine / Editorial
   Giant typographic hero (SVG panel removed); autoplay video background on
   the §3 problem section; stacked full-width numbered problem rows.
   -------------------------------------------------------------------------- */

/* Editorial hero: single column, massive uppercase headline */
.idx-hero .container { grid-template-columns:1fr; max-width:900px; }
.idx-hero h1.display { font-size:clamp(3rem,9.5vw,6rem) !important; text-transform:uppercase; letter-spacing:-0.03em; line-height:0.93; }
.idx-hero .fx-viz { display:none !important; }

/* Video-background problem section (§3) */
.idx-vid-section { position:relative; overflow:hidden; }
.idx-vid-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; pointer-events:none; }
.idx-vid-section::before { content:''; position:absolute; inset:0; background:rgba(14,10,38,.83); z-index:1; pointer-events:none; }
.idx-vid-section .container { position:relative; z-index:2; }
.idx-vid-section .eyebrow { color:rgba(255,255,255,.72); }
.idx-vid-section h2 { color:#fff; }
.idx-vid-section .lead { color:rgba(255,255,255,.82); }

/* Stacked numbered rows — replaces the 3-col prob card grid */
.idx-prob-rows { display:flex; flex-direction:column; gap:2px; margin-top:36px; }
.idx-prob-rows .row { display:flex; align-items:center; gap:22px; background:rgba(255,255,255,.92); padding:20px 28px; }
.idx-prob-rows .row .k { font-family:var(--ff-display); font-weight:800; color:var(--magenta); font-size:clamp(2.2rem,6vw,3.6rem); line-height:1; min-width:56px; text-align:center; flex:0 0 auto; }
.idx-prob-rows .row .body h3 { color:var(--purple); margin-bottom:6px; }
.idx-prob-rows .row .body p { margin:0; color:var(--muted); font-size:15px; }

/* --------------------------------------------------------------------------
   GET-RIPPED.HTML — Bold / Aggressive
   Magenta stat panel in the hero right column; slab-number problem rows.
   -------------------------------------------------------------------------- */

/* Override fx-viz to become a magenta stat accent panel */
.gr-hero .fx-viz { background:var(--magenta); padding:40px 32px; display:flex !important; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:220px; border:none; }
.gr-hero .fx-viz .cap { display:none; }
.gr-hero .fx-viz svg { display:none; }

/* Big price/stat inside the magenta panel */
.gr-hero-stat { font-family:var(--ff-display); font-weight:800; font-size:clamp(3.4rem,11vw,6.8rem); color:#fff; line-height:1; }
.gr-hero-stat sup { font-size:0.36em; vertical-align:top; margin-top:0.18em; }
.gr-hero-sub { font-size:13px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.88); margin-top:14px; }
.gr-hero-note { font-size:12px; color:rgba(255,255,255,.65); margin-top:10px; max-width:22ch; }

/* Slab-number problem rows — replaces 3-col cell grid */
.gr-prob { display:flex; flex-direction:column; gap:3px; margin-top:36px; }
.gr-prob .gr-row { display:flex; align-items:stretch; }
.gr-prob .gr-row .kk { background:var(--magenta); color:#fff; font-family:var(--ff-display); font-weight:800; font-size:clamp(2rem,5vw,3rem); min-width:76px; display:flex; align-items:center; justify-content:center; flex:0 0 auto; clip-path:var(--clip-slant); --slant:10px; }
.gr-prob .gr-row .body { background:#fff; padding:22px 26px; flex:1; }
.gr-prob .gr-row .body h3 { color:var(--purple); margin-bottom:6px; }
.gr-prob .gr-row .body p { margin:0; color:var(--muted); font-size:15px; }

/* --------------------------------------------------------------------------
   BREAK-THE-PLATEAU.HTML — Data-Led
   Centered hero (no SVG panel); big-stat problem trio; featured KPX2 band.
   -------------------------------------------------------------------------- */

/* Centered minimal hero */
.btp-hero .container { grid-template-columns:1fr !important; max-width:800px; margin-inline:auto; text-align:center; }
.btp-hero .fx-viz { display:none !important; }
.btp-hero .fx-lede { max-width:56ch; margin-inline:auto; }
.btp-hero .cta-row { justify-content:center; }
.btp-hero .fx-cta-note { text-align:center; }
.btp-hero h1.display { font-size:clamp(2.4rem,7.5vw,5rem) !important; }

/* Big-stat problem trio — replaces 3-col cell grid */
.btp-stat-trio { display:grid; grid-template-columns:1fr; gap:2px; background:var(--line); margin-top:36px; }
@media (min-width:640px){ .btp-stat-trio { grid-template-columns:repeat(3,1fr); } }
.btp-stat-trio .st { background:#fff; padding:28px 22px; text-align:center; }
.btp-stat-trio .st .stk { font-family:var(--ff-display); font-weight:800; font-size:clamp(2.2rem,5.5vw,3.8rem); color:var(--magenta); line-height:1; margin-bottom:10px; }
.btp-stat-trio .st h3 { color:var(--purple); margin-bottom:6px; font-size:16px; }
.btp-stat-trio .st p { margin:0; color:var(--muted); font-size:14px; }

/* Featured tier band — highlights KPX2 after method tiles */
.btp-featured { background:var(--purple); color:#fff; padding:28px 24px; text-align:center; }
.btp-featured .btp-feat-label { font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--magenta); margin-bottom:8px; }
.btp-featured .btp-feat-h { font-family:var(--ff-display); font-weight:800; font-size:clamp(1.2rem,3vw,1.8rem); color:#fff; margin-bottom:8px; }
.btp-featured .btp-feat-p { font-size:15px; color:rgba(255,255,255,.78); max-width:52ch; margin-inline:auto; margin-bottom:0; }

/* --------------------------------------------------------------------------
   BUILT-FOR-BUSY-MEN.HTML — Real-life / Grounded
   5-day week-schedule grid in hero viz panel; stripe-top method tiles.
   -------------------------------------------------------------------------- */

/* Hero viz: show week schedule, hide growth curve SVG */
.bbm-hero .fx-viz svg { display:none; }
.bbm-hero .fx-viz .cap { margin-bottom:12px; }

/* Mon–Fri week grid visual */
.bbm-week { display:grid; grid-template-columns:repeat(5,1fr); gap:4px; }
.bbm-week .day { display:flex; flex-direction:column; align-items:center; gap:5px; }
.bbm-week .day .dl { font-size:9px; letter-spacing:.07em; text-transform:uppercase; color:rgba(255,255,255,.55); font-weight:700; }
.bbm-week .day .db { width:100%; height:68px; background:rgba(255,255,255,.08); position:relative; overflow:hidden; }
.bbm-week .day .db .fill { position:absolute; bottom:0; left:0; right:0; }
.bbm-week .day.done .db .fill { background:linear-gradient(180deg,var(--purple),var(--magenta)); }
.bbm-week .day.missed .db .fill { background:rgba(255,255,255,.18); }
.bbm-week .day .dp { font-size:9px; color:rgba(255,255,255,.6); font-weight:700; letter-spacing:.04em; text-align:center; }

/* Stripe-top accent on method tiles */
.bbm-method .m { border-top:4px solid transparent; }
.bbm-method .m:nth-child(1) { border-top-color:rgba(255,255,255,.3); }
.bbm-method .m:nth-child(2) { border-top-color:var(--magenta); }
.bbm-method .m:nth-child(3) { border-top-color:var(--purple); }

/* --------------------------------------------------------------------------
   ADVANCED-PHYSIQUE.HTML — Premium / Minimal
   Full-width centered dark hero (no SVG); watermark pillar method tiles
   with the center column featured in dark purple.
   -------------------------------------------------------------------------- */

/* Centered hero: hide SVG column, center text block */
.ap-hero .container { grid-template-columns:1fr !important; text-align:center; }
.ap-hero .fx-viz { display:none !important; }
.ap-hero .fx-lede { max-width:56ch; margin-inline:auto; }
.ap-hero .cta-row { justify-content:center; }
.ap-hero .fx-cta-note { text-align:center; }
.ap-hero h1.display { font-size:clamp(2.4rem,7vw,4.8rem) !important; }

/* Pillar method tiles: tall 3-col, center tile dark/featured */
.ap-pillars { display:grid; grid-template-columns:1fr; gap:2px; background:var(--line); margin-top:36px; }
@media (min-width:640px){ .ap-pillars { grid-template-columns:repeat(3,1fr); } }
.ap-pillars .ap-p { background:#fff; padding:44px 28px 36px; display:flex; flex-direction:column; position:relative; overflow:hidden; }
.ap-pillars .ap-p .ap-wm { position:absolute; right:-6px; bottom:-16px; font-family:var(--ff-display); font-weight:800; font-size:6rem; line-height:1; pointer-events:none; user-select:none; color:rgba(0,0,0,.04); }
.ap-pillars .ap-p .mi { width:52px; height:52px; clip-path:var(--clip-slant); --slant:8px; background:var(--purple); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--ff-display); font-weight:800; font-size:18px; margin-bottom:18px; flex:0 0 auto; }
.ap-pillars .ap-p h3 { color:var(--purple); margin-bottom:8px; }
.ap-pillars .ap-p p { margin:0; color:var(--muted); font-size:15px; flex:1; }
/* Featured center pillar */
.ap-pillars .ap-p:nth-child(2) { background:var(--purple); }
.ap-pillars .ap-p:nth-child(2) .mi { background:var(--magenta); }
.ap-pillars .ap-p:nth-child(2) h3 { color:#fff; }
.ap-pillars .ap-p:nth-child(2) p { color:rgba(255,255,255,.75); }
.ap-pillars .ap-p:nth-child(2) .ap-wm { color:rgba(255,255,255,.05); }

/* Reduced motion: disable week-bar transitions */
@media (prefers-reduced-motion: reduce){
  .bbm-week .day .db .fill { transition:none !important; }
}

/* ==========================================================================
   Trainerize checkout modal — plan picker (.tzm-*)
   ========================================================================== */
.tzm-sub { font-size:14px; color:var(--muted); margin-bottom:20px; }
.tzm-grid { display:grid; grid-template-columns:1fr; gap:12px; }
@media (min-width:600px){ .tzm-grid { grid-template-columns:repeat(3,1fr); gap:10px; } }

.tzm-card-img {
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:4px;
  margin-bottom:14px;
  display:block;
}

.tzm-card {
  position:relative;
  border:var(--line-hair) solid var(--line);
  padding:22px 18px 20px;
  display:flex;
  flex-direction:column;
  gap:6px;
  background:#fff;
}
.tzm-card--featured {
  border-color:var(--purple);
  background:var(--lavender);
  box-shadow:var(--shadow-sm);
}

.tzm-badge {
  display:inline-block;
  background:var(--magenta);
  color:#fff;
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:4px 10px;
  margin-bottom:4px;
  clip-path:var(--clip-tag);
  align-self:flex-start;
}

.tzm-plan-name {
  font-family:var(--ff-display);
  font-size:1.15rem;
  font-weight:800;
  text-transform:uppercase;
  color:var(--purple);
  letter-spacing:-.01em;
}
.tzm-price {
  font-family:var(--ff-display);
  font-size:2rem;
  font-weight:800;
  color:var(--ink);
  line-height:1;
  margin:4px 0;
}
.tzm-price sup { font-size:.9rem; vertical-align:top; margin-top:4px; }
.tzm-price span { font-size:.85rem; font-weight:600; color:var(--muted); }

.tzm-tagline { font-size:13px; color:var(--muted); margin:0 0 6px; }

.tzm-feats {
  list-style:none;
  margin:0 0 14px;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1;
}
.tzm-feats li {
  font-size:13px;
  display:flex;
  gap:7px;
  align-items:flex-start;
  color:var(--ink);
}
.tzm-feats li svg { flex-shrink:0; margin-top:1px; }

.tzm-cta { margin-top:auto; font-size:13px; padding:12px 14px; }
.tzm-card--featured .tzm-cta { background:var(--purple); border-color:var(--purple); }
.tzm-card--featured .tzm-cta:hover { background:var(--magenta); border-color:var(--magenta); }

/* ==========================================================================
   Plan comparison table (.kpx-compare-*)
   ========================================================================== */
.kpx-compare-wrap {
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  margin-top:44px;
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
}

.kpx-compare {
  width:100%;
  min-width:520px;
  border-collapse:collapse;
  background:#fff;
  font-size:14px;
}

/* Header row */
.kpx-compare thead tr { border-bottom:3px solid var(--purple); }
.kpx-compare-plan {
  text-align:center;
  padding:20px 16px 16px;
  width:18%;
  vertical-align:bottom;
}
.kpx-compare-plan--featured {
  background:var(--lavender);
  border-left:var(--line-hair) solid var(--purple);
  border-right:var(--line-hair) solid var(--purple);
}
.plan-badge {
  display:block;
  background:var(--magenta);
  color:#fff;
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:3px 10px;
  margin:0 auto 8px;
  width:max-content;
  clip-path:var(--clip-tag);
}
.plan-name {
  display:block;
  font-family:var(--ff-display);
  font-weight:800;
  font-size:.95rem;
  text-transform:uppercase;
  color:var(--purple);
  letter-spacing:-.01em;
  margin-bottom:4px;
}
.plan-price {
  display:block;
  font-family:var(--ff-display);
  font-size:1.7rem;
  font-weight:800;
  color:var(--ink);
  line-height:1;
}
.plan-price small { font-size:.75rem; font-weight:600; color:var(--muted); }

/* Feature label column */
.kpx-compare-feature {
  padding:14px 16px;
  text-align:left;
  color:var(--ink);
  font-weight:600;
  width:46%;
  border-bottom:var(--line-hair) solid var(--line);
}

/* Data cells */
.kpx-compare tbody tr:last-child .kpx-compare-feature,
.kpx-compare tbody tr:last-child .kpx-compare-check { border-bottom:none; }

.kpx-compare tbody tr:nth-child(even) { background:rgba(0,0,0,.025); }
.kpx-compare tbody tr:nth-child(even) .kpx-compare-check--featured { background:rgba(62,0,135,.06); }

.kpx-compare-check {
  text-align:center;
  padding:14px 10px;
  border-bottom:var(--line-hair) solid var(--line);
  vertical-align:middle;
}
.kpx-compare-check--featured {
  background:rgba(62,0,135,.04);
  border-left:var(--line-hair) solid var(--purple);
  border-right:var(--line-hair) solid var(--purple);
}

.chk { width:20px; height:20px; display:inline-block; vertical-align:middle; }
.kpx-compare-no { color:var(--muted); font-size:1.1rem; font-weight:300; }

/* CTA row */
.kpx-compare-cta-row { background:#fff !important; border-top:2px solid var(--line); }
.kpx-compare-cta-row .kpx-compare-check--featured { background:var(--lavender) !important; }

.kpx-compare-btn {
  font-size:12px;
  padding:10px 14px;
  white-space:nowrap;
}
.kpx-compare-btn--featured {
  background:var(--purple);
  border-color:var(--purple);
}
.kpx-compare-btn--featured:hover {
  background:var(--magenta);
  border-color:var(--magenta);
}

/* Mobile: scroll hint */
@media (max-width:540px) {
  .kpx-compare-wrap::after {
    content:"← Scroll to compare →";
    display:block;
    text-align:center;
    font-size:11px;
    color:var(--muted);
    padding:8px 0 4px;
    letter-spacing:.08em;
  }
}

/* ==========================================================================
   Get Started page — app download + onboarding (.gs-*)
   ========================================================================== */

/* App store download buttons */
.gs-app-btns {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
  align-items:center;
}
.gs-app-btn {
  display:inline-flex;
  align-items:center;
  gap:12px;
  background:var(--ink);
  color:#fff;
  border:2px solid var(--ink);
  padding:12px 22px;
  text-decoration:none;
  font-family:var(--ff-display);
  font-weight:700;
  font-size:.92rem;
  letter-spacing:.01em;
  transition:background .18s, border-color .18s, transform .15s;
  white-space:nowrap;
}
.gs-app-btn:hover { background:var(--purple); border-color:var(--purple); transform:translateY(-2px); }
.gs-app-btn svg { flex-shrink:0; }
.gs-app-btn-sub { font-size:10px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; opacity:.7; display:block; line-height:1; }
.gs-app-btn-label { font-size:1.05rem; display:block; line-height:1.1; }

/* Trainerize profile CTA band */
.gs-profile-band {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:var(--lavender);
  border:var(--line-hair) solid var(--purple);
  padding:28px 32px;
  margin-top:44px;
}
.gs-profile-band p { margin:0; color:var(--ink); font-size:15px; max-width:52ch; }
.gs-profile-band strong { color:var(--purple); }
@media (max-width:600px) { .gs-profile-band { padding:22px 20px; } }

/* How it works onboarding steps */
.gs-steps {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:28px;
  margin-top:44px;
  counter-reset:gs-step;
}
.gs-step {
  position:relative;
  padding:28px 24px 24px;
  border:var(--line-hair) solid var(--line);
  background:#fff;
  display:flex;
  flex-direction:column;
  gap:10px;
  counter-increment:gs-step;
}
.gs-step::before {
  content:counter(gs-step, decimal-leading-zero);
  font-family:var(--ff-display);
  font-size:2.6rem;
  font-weight:900;
  color:var(--lavender);
  line-height:1;
  position:absolute;
  top:16px;
  right:20px;
  pointer-events:none;
  user-select:none;
}
.gs-step-icon {
  width:44px;
  height:44px;
  background:var(--lavender);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--purple);
  flex-shrink:0;
}
.gs-step-icon svg { width:24px; height:24px; }
.gs-step h4 {
  font-family:var(--ff-display);
  font-size:.9rem;
  font-weight:800;
  text-transform:uppercase;
  color:var(--ink);
  margin:0;
  letter-spacing:.02em;
}
.gs-step p {
  font-size:14px;
  color:var(--muted);
  margin:0;
  line-height:1.6;
}
.gs-step a { font-size:14px; color:var(--magenta); font-weight:700; }


