/* ============================================================
   99ads WCS Funnel — shared design system
   Tokens extracted from 99ads.com + 99ads.com/playbook (2026-07-02)
   Fonts: Cabinet Grotesk (Fontshare), Inter + Instrument Serif (Google)
   ============================================================ */

:root {
  --bg: #0a070d;             /* near-black, purple tint */
  --bg-raise: #14101a;       /* raised card background */
  --bg-panel: #1a1522;       /* panel background */
  --text: #f0ebf5;           /* primary text */
  --text-dim: rgba(240, 235, 245, 0.66);
  --text-faint: rgba(240, 235, 245, 0.42);
  --red: #d63a47;            /* accent red (text, stats, serif italics) */
  --red-btn: #e21f26;        /* CTA red */
  --red-btn-hover: #c81b21;
  --red-glow: rgba(226, 31, 38, 0.22);
  --green: #4ade80;          /* checkmarks, confirmation */
  --line: rgba(255, 255, 255, 0.1);
  --radius-card: 14px;
  --radius-btn: 999px;
  --font-head: "Cabinet Grotesk", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --w-content: 1080px;
  --w-narrow: 720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4.5vw, 46px); }
h3 { font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -0.02em; }
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--red); letter-spacing: 0; }
.sub { color: var(--text-dim); font-size: clamp(16px, 2vw, 19px); line-height: 1.6; }
.eyebrow-serif { font-family: var(--font-serif); font-style: italic; color: var(--text-faint); font-size: 19px; }

/* ---------- layout ---------- */
.wrap { max-width: var(--w-content); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--w-narrow); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(52px, 7vw, 84px) 0; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 14px 24px; border-bottom: 1px solid var(--line);
  background: rgba(10, 7, 13, 0.85); backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 50;
}
.logo { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.logo .slashes { color: var(--red-btn); }
.logo .tld { color: var(--text-faint); font-weight: 500; }

/* ---------- pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(214, 58, 71, 0.35); border-radius: var(--radius-btn);
  color: var(--red); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 16px; background: rgba(214, 58, 71, 0.07);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  border-radius: var(--radius-btn); padding: 18px 42px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--red-btn); color: #fff; box-shadow: 0 10px 28px var(--red-glow); }
.btn-primary:hover { background: var(--red-btn-hover); transform: translateY(-1px); box-shadow: 0 14px 34px var(--red-glow); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 10px; }
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.25); }
.btn-block { width: 100%; }
.btn-decline {
  display: inline-block; margin-top: 14px; color: var(--text-faint);
  font-size: 14px; text-decoration: underline; background: none; border: none; cursor: pointer;
}
.btn-decline:hover { color: var(--text-dim); }

/* ---------- checkmark lists ---------- */
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); font-size: 15.5px; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.checks-row { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; list-style: none; }
.checks-row li { display: flex; gap: 8px; color: var(--text-dim); font-size: 14px; }
.checks-row li::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ---------- homepage-matched logo strip ---------- */
.logo-strip {
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 52px 0;
  position: relative;
}
.logo-strip-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.rhome-logo-band {
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  overflow: hidden;
}
.rhome-logo-band:hover .logo-strip-row { animation-play-state: paused; }
.logo-strip-row {
  display: flex;
  align-items: center;
  gap: 72px;
  flex-wrap: nowrap;
  width: max-content;
}
.logo-strip-row + .logo-strip-row { margin-top: 30px; }
.logo-strip-row img {
  display: block;
  filter: grayscale(1) brightness(1.65) contrast(0.9);
  height: 36px;
  max-width: 156px;
  object-fit: contain;
  opacity: 0.74;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
  width: auto;
}
.logo-strip-row img:hover {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
  transform: translateY(-3px) scale(1.05);
}
.rhome-logo-row--forward { animation: rhomeLogoScroll 118s linear infinite; }
.rhome-logo-row--reverse { animation: rhomeLogoScrollReverse 126s linear infinite; }
@keyframes rhomeLogoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rhomeLogoScrollReverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (hover: none) { .rhome-logo-band:hover .logo-strip-row { animation-play-state: running; } }
@media (prefers-reduced-motion: reduce) { .logo-strip-row { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ---------- pull-quote (the 10/10 thesis) ---------- */
.pullquote { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 4vw, 42px); line-height: 1.3; color: var(--text); letter-spacing: 0; }
.pullquote .hot { color: var(--red); }

/* ---------- header logo image ---------- */
.logo-img { height: 30px; width: auto; display: block; }

/* ---------- forms (checkout) ---------- */
.field { width: 100%; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; padding: 15px 16px; color: var(--text); font-family: var(--font-body); font-size: 15px; }
.field::placeholder { color: var(--text-faint); }
.field:focus { outline: none; border-color: rgba(214, 58, 71, 0.55); }
.field-row { display: flex; gap: 12px; }
.field-row .field { min-width: 0; }
.form-section-title { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 16px; }
.form-stack { display: flex; flex-direction: column; gap: 12px; }
.card-badges { display: flex; gap: 6px; align-items: center; }
.card-badges span { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px; color: var(--text-dim); }

/* ---------- checkout layout ---------- */
.checkout-wrap { max-width: 1040px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(340px, 400px); gap: 40px; align-items: start; justify-content: center; }
.checkout-grid > div { min-width: 0; }
.order-summary { position: sticky; top: 92px; }
.summary-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: var(--bg-panel); flex-shrink: 0; }
.summary-thumb-mono { width: 56px; height: 56px; border-radius: 10px; border: 1px solid rgba(214,58,71,0.4); background: var(--bg-panel); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; color: var(--red); font-size: 15px; flex-shrink: 0; }
.summary-item .name { font-size: 14.5px; line-height: 1.35; }
.summary-item .price { margin-left: auto; font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
.summary-item .price.free { color: var(--green); }
.discount-row { display: flex; gap: 10px; margin-top: 18px; }
.discount-row .field { flex: 1; }
@media (min-width: 1021px) {
  .checkout-grid { display: grid !important; grid-template-columns: minmax(0, 560px) minmax(340px, 400px) !important; gap: 40px; }
  .checkout-grid > .order-summary { order: 0 !important; position: sticky; top: 92px; }
}
@media (max-width: 1020px) { .checkout-grid { grid-template-columns: 1fr; } .order-summary { position: static; order: -1; } }

/* ---------- product hero (upsell pages) ---------- */
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.product-hero .visual img { width: 100%; border-radius: var(--radius-card); border: 1px solid var(--line); }
.doc-stack { position: relative; padding: 24px 32px 32px 8px; }
.doc-stack img { width: 78%; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.doc-stack img:first-child { position: relative; z-index: 2; transform: rotate(-2.5deg); }
.doc-stack img:last-child { position: absolute; top: 44px; right: 0; z-index: 1; transform: rotate(3deg); width: 72%; opacity: 0.9; }
@media (max-width: 820px) { .product-hero { grid-template-columns: 1fr; } }

/* ---------- curriculum card (CSS-built CS course visual) ---------- */
.curriculum-card { background: var(--bg-panel); border: 1px solid rgba(214,58,71,0.35); border-radius: var(--radius-card); padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.curriculum-card .cc-title { font-family: var(--font-head); font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.curriculum-card .cc-row { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--text-dim); }
.curriculum-card .cc-row:last-child { border-bottom: none; }
.curriculum-card .cc-row .cc-num { font-family: var(--font-head); font-weight: 800; color: var(--red); font-size: 12px; flex-shrink: 0; }
.upsell-header-gif { display: block; width: min(72%, 280px); margin: 0 auto 18px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28); }

/* ---------- testimonial cards ---------- */
.quote-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote-card blockquote { color: var(--text-dim); font-size: 15px; line-height: 1.65; }
.quote-card cite { font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--text); }
.quote-card cite small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--text-faint); font-size: 12.5px; margin-top: 2px; }
.video-grid, .testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.video-card figcaption { padding: 13px 16px 15px; color: var(--text); font-family: var(--font-head); font-size: 14px; font-weight: 700; line-height: 1.35; }
.video-card figcaption span { display: block; color: var(--text-faint); font-family: var(--font-body); font-size: 12.5px; font-weight: 500; margin-top: 3px; }

/* ---------- cards ---------- */
.card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 32px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.icon-chip { width: 42px; height: 42px; border-radius: 10px; background: rgba(214, 58, 71, 0.12); border: 1px solid rgba(214, 58, 71, 0.3); display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 19px; margin-bottom: 18px; }

/* ---------- module list ---------- */
.module { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.module:last-child { border-bottom: none; }
.module-num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--red); flex-shrink: 0; padding-top: 5px; }
.module h3 { margin-bottom: 6px; }
.module p { color: var(--text-dim); font-size: 15.5px; }

/* ---------- stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat { text-align: center; padding: 34px 16px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-card); }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 4vw, 46px); color: var(--red); letter-spacing: -0.03em; display: block; }
.stat .lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; margin-top: 6px; display: block; }

/* ---------- pricing ---------- */
.price-card { background: var(--bg-panel); border: 1px solid rgba(214, 58, 71, 0.4); border-radius: 20px; padding: 44px 40px; box-shadow: 0 24px 70px rgba(226, 31, 38, 0.09); }
.price-old { color: var(--text-faint); text-decoration: line-through; font-size: clamp(22px, 3vw, 30px); font-family: var(--font-head); font-weight: 700; }
.price-now { font-family: var(--font-head); font-weight: 800; font-size: clamp(52px, 7vw, 76px); letter-spacing: -0.04em; }
.price-note { color: var(--text-faint); font-size: 14px; }

/* ---------- guarantee / honesty boxes ---------- */
.softbox { background: var(--bg-raise); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 10px; padding: 26px 30px; }
.softbox p { color: var(--text-dim); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.wcs-faq-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 31, 38, 0.08), transparent 42%),
    var(--bg-raise);
  padding: clamp(64px, 8vw, 104px) 0;
}
.wcs-faq-list {
  background: rgba(10, 7, 13, 0.62);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  padding: 0;
}
details.faq {
  background: transparent;
  border-bottom: 1px solid var(--line);
  color: inherit;
  padding: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}
details.faq:last-child { border-bottom: none; }
details.faq[open] { background: rgba(214, 58, 71, 0.07); }
details.faq summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: var(--font-head);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  gap: 24px;
  justify-content: space-between;
  letter-spacing: -0.02em;
  line-height: 1.25;
  list-style: none;
  padding: 24px 32px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::marker { content: ""; }
details.faq summary::after {
  align-items: center;
  background: rgba(226, 31, 38, 0.1);
  border: 1px solid rgba(214, 58, 71, 0.35);
  border-radius: 999px;
  color: var(--red);
  content: "+";
  display: flex;
  flex: 0 0 30px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  height: 30px;
  justify-content: center;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease;
  width: 30px;
}
details.faq summary:hover { color: var(--red); }
details.faq[open] summary { color: var(--text); }
details.faq[open] summary::after {
  background: rgba(226, 31, 38, 0.18);
  content: "-";
  transform: rotate(180deg);
}
details.faq p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 680px;
  padding: 0 32px 28px;
}

/* ---------- confirmation bar (upsell pages) ---------- */
.confirm-bar { background: rgba(74, 222, 128, 0.08); border-bottom: 1px solid rgba(74, 222, 128, 0.25); color: var(--green); text-align: center; padding: 12px 20px; font-size: 14px; font-weight: 600; }

/* ---------- order summary ---------- */
.order-line { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.order-line .item { color: var(--text-dim); }
.order-line.total { border-bottom: none; font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.order-line.total .item { color: var(--text); }

/* ---------- modal (pre-checkout upsell popup) ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(5, 3, 8, 0.82); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal { background: var(--bg-panel); border: 1px solid rgba(214, 58, 71, 0.4); border-radius: 20px; max-width: 560px; width: 100%; padding: 44px 40px; max-height: 90vh; overflow-y: auto; }

/* ---------- survey / quiz ---------- */
.quiz-option {
  display: block; width: 100%; text-align: left; background: var(--bg-raise);
  border: 1px solid var(--line); border-radius: 10px; padding: 15px 20px;
  color: var(--text); font-family: var(--font-body); font-size: 15.5px;
  cursor: pointer; transition: border-color 0.12s ease, background 0.12s ease;
}
.quiz-option:hover { border-color: rgba(214, 58, 71, 0.5); }
.quiz-option.selected { border-color: var(--red); background: rgba(214, 58, 71, 0.09); }
.quiz-stack { display: flex; flex-direction: column; gap: 10px; }

/* ---------- countdown ---------- */
.countdown { font-family: var(--font-head); font-weight: 800; color: var(--red); font-size: 20px; letter-spacing: 0.02em; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 24px; text-align: center; }
.site-footer p { color: var(--text-faint); font-size: 12.5px; max-width: 760px; margin: 0 auto 10px; line-height: 1.6; }
.site-footer a { color: var(--text-faint); }

/* ---------- utility ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
.hidden { display: none !important; }

/* ---------- WordPress review-mode states ---------- */
.wcs-funnel-page { background: var(--bg); color: var(--text); font-family: var(--font-body); min-height: 100vh; }
.wcs-payment-pending {
  display: flex; flex-direction: column; gap: 4px; margin: 24px 0 14px; padding: 14px 16px;
  border: 1px solid rgba(214, 58, 71, 0.45); border-radius: 12px; background: rgba(214, 58, 71, 0.08);
  color: var(--text-dim); font-size: 14px;
}
.wcs-payment-pending strong { color: var(--text); font-family: var(--font-head); font-size: 15px; }
.wcs-payment-disabled { position: relative; opacity: 0.62; filter: blur(1.5px); pointer-events: none; user-select: none; }
.wcs-disabled-action, [data-payment-pending="true"], [data-access-pending="true"] { cursor: not-allowed; opacity: 0.58; pointer-events: none; }
.wcs-access-pending .product-line a::after { content: " pending"; font-family: var(--font-body); font-size: 11px; color: var(--text-faint); }
.wcs-payment-element { min-height: 180px; }
.wcs-mock-payment-box { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px dashed rgba(214, 58, 71, 0.55); border-radius: 12px; background: rgba(214, 58, 71, 0.08); color: var(--text-dim); }
.wcs-mock-payment-box strong { color: var(--text); font-family: var(--font-head); }
.wcs-commerce-message {
  margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255, 255, 255, 0.04); color: var(--text-dim); font-size: 13.5px;
}
.wcs-commerce-message[data-tone="warning"] { border-color: rgba(214, 58, 71, 0.45); background: rgba(214, 58, 71, 0.08); }
.wcs-commerce-message[data-tone="error"] { border-color: rgba(226, 31, 38, 0.65); background: rgba(226, 31, 38, 0.11); color: var(--text); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.wcs-launch-reminder {
  max-width: 760px; margin: 0 auto 28px; padding: 12px 16px; border: 1px dashed rgba(214, 58, 71, 0.45);
  border-radius: 10px; color: var(--text-faint); font-size: 12px; text-align: center;
}

/* ============================================================
   v3 — premium landing pass (2026-07-02)
   ============================================================ */

/* kicker: small red uppercase section label (replaces pill for most sections) */
.kicker { display: block; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }

/* hero */
.hero-v3 { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.hero-v3::before { content: ""; position: absolute; top: -320px; right: -180px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 31, 38, 0.13) 0%, transparent 62%); pointer-events: none; }
.hero-v3::after { content: ""; position: absolute; bottom: -360px; left: -220px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 31, 38, 0.07) 0%, transparent 62%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy h1 { font-size: clamp(36px, 4.6vw, 58px); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.glow-wrap { position: relative; }
.glow-wrap::before { content: ""; position: absolute; inset: 8%; background: radial-gradient(circle, rgba(226, 31, 38, 0.22) 0%, transparent 68%); filter: blur(28px); }
.glow-wrap img { position: relative; width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.float-chip { position: absolute; background: rgba(20, 16, 26, 0.92); border: 1px solid rgba(214, 58, 71, 0.4); border-radius: 10px; padding: 10px 16px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; backdrop-filter: blur(6px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.float-chip .fc-red { color: var(--red); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-copy { text-align: center; } .cta-row { justify-content: center; } .hero-copy .checks { max-width: 420px; margin: 0 auto; } }
@media (max-width: 640px) {
  .site-header { min-height: 58px; padding: 12px 18px; }
  .hero-v3 { padding: 24px 0 38px; }
  .hero-v3 .hero-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; }
  .hero-copy { text-align: left; }
  .hero-copy .pill { display: inline-flex; max-width: 100%; padding: 6px 11px; font-size: 10px; letter-spacing: 0.08em; line-height: 1.3; white-space: normal; text-align: left; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .pill { order: 1; }
  .hero-copy h1 { order: 2; font-size: clamp(32px, 8.7vw, 36px); line-height: 1.02; letter-spacing: -0.048em; max-width: 360px; }
  .hero-copy .cta-row { order: 3; }
  .hero-copy .sub { order: 4; }
  .hero-copy .checks { order: 5; }
  .hero-copy .sub { font-size: 14.5px; line-height: 1.5; }
  .hero-copy .mt-24 { margin-top: 12px; }
  .hero-copy .mt-32 { margin-top: 14px; }
  .cta-row { justify-content: stretch; gap: 10px; }
  .hero-copy .checks { margin: 0; max-width: none; }
  .checks-tight { gap: 7px; }
  .checks-tight li { font-size: 13.5px; }
  .hero-v3 .glow-wrap { grid-column: 1; max-width: 260px; margin: 2px auto 0; width: 100%; }
}

/* pain / plane panel */
.plane-panel { position: relative; background: linear-gradient(135deg, rgba(214, 58, 71, 0.09), rgba(20, 16, 26, 0.9)); border: 1px solid rgba(214, 58, 71, 0.38); border-radius: 18px; padding: clamp(28px, 4vw, 44px); overflow: hidden; }
.plane-panel::before { content: ""; position: absolute; top: -140px; right: -100px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 31, 38, 0.14), transparent 65%); pointer-events: none; }
.plane-panel h3 { font-size: clamp(22px, 3vw, 30px); position: relative; }
.plane-panel p { position: relative; }

/* audience cards */
.aud-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.aud-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 18px; padding: clamp(26px, 3.5vw, 38px); transition: border-color 0.2s ease; }
.aud-card:hover { border-color: rgba(214, 58, 71, 0.45); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--bg-panel); border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--text-dim); white-space: nowrap; }

/* media frame (course walkthrough placeholder) */
.media-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; border: 1.5px dashed rgba(214, 58, 71, 0.5); background: var(--bg-raise); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.media-frame .play-glyph { width: 64px; height: 64px; border-radius: 50%; background: rgba(226, 31, 38, 0.14); border: 1px solid rgba(214, 58, 71, 0.5); display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 22px; }
.media-frame.media-frame-gif { display: block; overflow: hidden; padding: 0; border-style: solid; }
.media-frame.media-frame-gif img { display: block; width: 100%; height: 100%; object-fit: cover; }
.facts-row { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; color: var(--text-dim); font-size: 14px; font-weight: 600; }
.facts-row span { display: flex; align-items: center; gap: 8px; }
.facts-row span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* modules grid (tighter than the old single-column list) */
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.module-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; transition: border-color 0.2s ease; }
.module-card:hover { border-color: rgba(214, 58, 71, 0.4); }
.module-card .m-num { font-family: var(--font-head); font-weight: 800; font-size: 12px; color: var(--red); letter-spacing: 0.12em; display: block; margin-bottom: 10px; }
.module-card h3 { font-size: 18px; margin-bottom: 8px; }
.module-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

@media (max-width: 640px) {
  .btn { padding: 16px 28px; font-size: 16px; width: 100%; }
  .module { flex-direction: column; gap: 8px; }
  .price-card, .modal { padding: 30px 22px; }
  .float-chip { display: none; }
}

/* ---------- compact-screen pass ---------- */
/* Keep the long-form funnel calm and comfortably tappable at phone widths. */
@media (max-width: 640px) {
  html, body { max-width: 100%; overflow-x: clip; }
  body { font-size: 15.5px; line-height: 1.58; }
  .wrap, .wrap-narrow { padding-left: 18px; padding-right: 18px; }
  section { padding: 46px 0; }
  h1 { font-size: clamp(31px, 10.2vw, 40px); line-height: 1.03; }
  h2 { font-size: clamp(28px, 8.6vw, 34px); line-height: 1.08; }
  h3 { font-size: 21px; }
  .sub { font-size: 15.5px; line-height: 1.58; }
  .eyebrow-serif { font-size: 17px; }
  .kicker { font-size: 10.5px; letter-spacing: 0.16em; }

  .site-header { padding-left: 18px; padding-right: 18px; }
  .logo-img { height: 26px; }
  .btn { min-height: 54px; padding: 15px 20px; line-height: 1.2; text-align: center; }
  .btn-decline { min-height: 44px; padding: 10px 2px; line-height: 1.35; }
  .cta-row { width: 100%; }
  .cta-row .btn { width: 100%; }
  .checks { gap: 10px; }
  .checks li { gap: 10px; font-size: 14.5px; line-height: 1.48; }
  .checks-row { align-items: flex-start; flex-direction: column; gap: 7px; }

  .hero-v3 { padding-top: 24px; }
  .hero-copy h1 { font-size: clamp(32px, 8.7vw, 36px); max-width: 360px; }
  .hero-copy .checks { margin-top: 18px; }
  .glow-wrap { width: min(100%, 260px); }
  .media-frame { aspect-ratio: 4 / 3; border-radius: 13px; }
  .media-frame.media-frame-gif { aspect-ratio: 16 / 10; }
  .facts-row { align-items: flex-start; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; justify-content: start; text-align: left; }
  .facts-row span { font-size: 13px; }
  .facts-row span::before { flex: 0 0 5px; }

  .logo-strip { padding: 34px 0; }
  .logo-strip-label { margin-bottom: 22px; padding: 0 18px; line-height: 1.45; }
  .logo-strip-row { gap: 38px; }
  .logo-strip-row + .logo-strip-row { margin-top: 20px; }
  .logo-strip-row img { height: 26px; max-width: 112px; }
  .card, .quote-card { padding: 22px 18px; border-radius: 12px; }
  .card-grid, .aud-grid, .modules-grid, .stats-grid, .video-grid, .testimonial-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .aud-grid { gap: 16px; }
  .aud-card, .module-card { padding: 22px 18px; }
  .module-card p { font-size: 14px; }
  .chip-row { gap: 7px; }
  .chip { font-size: 12px; padding: 5px 11px; }
  .stat { padding: 24px 14px; }
  .plane-panel, .softbox { padding: 22px 18px; }
  .price-card { border-radius: 16px; padding: 28px 18px; }
  .price-now { font-size: clamp(48px, 18vw, 62px); }
  .price-book { max-width: 218px; }

  .wcs-faq-section { padding: 54px 0; }
  .wcs-faq-list { border-radius: 14px; }
  details.faq summary { align-items: flex-start; font-size: 17px; gap: 14px; padding: 20px 18px; }
  details.faq summary::after { flex-basis: 28px; height: 28px; width: 28px; }
  details.faq p { font-size: 14.5px; line-height: 1.62; padding: 0 18px 22px; }

  .checkout-section { padding-top: 28px; }
  .checkout-grid { gap: 28px; }
  .order-summary { order: -1; }
  .summary-item { align-items: flex-start; gap: 11px; }
  .summary-item .name { font-size: 14px; }
  .summary-item .price { font-size: 15px; }
  .discount-row { align-items: stretch; }
  .discount-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 10px; }
  .discount-row .btn { min-height: 52px; padding: 0 14px; width: 100%; }
  .form-section { margin-top: 32px; }
  .form-section-title { font-size: 21px; margin-bottom: 12px; }
  .field { min-height: 52px; font-size: 16px; padding: 13px 14px; }
  .field-row { gap: 10px; }
  .card-panel-head { align-items: flex-start; padding: 14px; }
  .card-panel-body { padding: 14px; }
  .card-badges { flex-wrap: wrap; justify-content: flex-end; }
  .card-badges span { font-size: 9px; padding: 3px 5px; }

  .confirm-bar { padding: 11px 18px; font-size: 13px; line-height: 1.4; }
  .upsell-main { padding-top: 38px; padding-bottom: 42px; }
  .upsell-main .product-hero.mt-48 { margin-top: 32px; }
  .product-hero { gap: 26px; }
  .product-hero .price-card { width: 100%; }
  .doc-stack { margin: 0 auto; max-width: 310px; padding: 16px 24px 25px 4px; width: 100%; }
  .curriculum-card { padding: 22px 18px; }
  .price-line { gap: 8px; justify-content: center; }
  .quote-card blockquote { font-size: 14.5px; }
  .video-card figcaption { padding: 12px 14px 14px; }

  .quiz-option { font-size: 15px; line-height: 1.4; min-height: 54px; padding: 15px 16px; }
  .other-detail textarea.field { min-height: 124px; }
  .quiz-continue { margin-top: 18px; }
  .product-line { align-items: stretch; flex-direction: column; gap: 10px; padding: 17px 0; }
  .product-line .name { font-size: 15.5px; }
  .product-line .btn-secondary { min-height: 46px; width: 100%; }
  .dfy-panel { margin-top: 28px; }
  .site-footer { padding: 34px 18px; }
}

@media (max-width: 390px) {
  .field-row { flex-direction: column; }
  .facts-row { grid-template-columns: 1fr; }
  .card-panel-head { flex-direction: column; }
  .card-badges { justify-content: flex-start; }
}

/* Keyboard focus stays obvious on the dark funnel surfaces. */
:where(.btn, .btn-decline, .field, .quiz-option, .modal-close, .back-link):focus-visible {
  outline: 3px solid rgba(226, 31, 38, 0.72);
  outline-offset: 3px;
}
