/* ==========================================================================
   Creator Scaling funnel
   One typeface (Archivo, variable width + weight). One accent. Two grounds.
   Change the brand in the :root block. Everything else reads from it.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Dark ground */
  --bg: #080C08;
  --surface: #0E140E;
  --surface-2: #151D15;
  --line: rgba(240, 244, 240, 0.10);
  --ink: #F0F4F0;
  --ink-2: rgba(240, 244, 240, 0.74);
  --ink-3: rgba(240, 244, 240, 0.56);

  /* Accent */
  --accent: #4CAF50;
  --accent-hover: #5DBF61;
  --accent-text: #4CAF50;
  --accent-soft: rgba(76, 175, 80, 0.12);
  --on-accent: #061006;

  /* Shape and rhythm */
  --r-tile: 28px;
  --r-media: 24px;
  --r-field: 14px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(88px, 11vw, 168px);
  --nav-h: 56px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Light ground. Any section with this class remaps the same tokens. */
.sec--paper {
  --bg: #F0F4F0;
  --surface: #FFFFFF;
  --surface-2: #E5EBE5;
  --line: rgba(8, 12, 8, 0.12);
  --ink: #080C08;
  --ink-2: rgba(8, 12, 8, 0.74);
  --ink-3: rgba(8, 12, 8, 0.58);
  --accent-text: #2A7530;
  --accent-soft: rgba(76, 175, 80, 0.16);
  background: var(--bg);
  color: var(--ink);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #080C08;
  color: var(--ink);
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.cs { background: var(--bg); color: var(--ink); overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-hover); }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }

/* Headline split test: both versions ship, one shows. Set in assets/js/split.js. */
.v-b { display: none; }
[data-variant="b"] .v-a { display: none; }
[data-variant="b"] .v-b { display: inline; }
/* B's headline is longer, so it runs smaller to keep the video in the same place as A. */
[data-variant="b"] .hero h1, .hero h1.display--long { font-size: clamp(2rem, 5vw, 4.25rem); }
[data-variant="b"] .hero .lead, .hero .display--long ~ .lead { max-width: 46ch; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: #F0F4F0; color: #080C08; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #080C08; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */

.display {
  font-size: clamp(2.5rem, 7vw, 5.75rem);
  font-weight: 640;
  line-height: 0.98;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 630;
  line-height: 1.03;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 620;
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.lead {
  font-size: clamp(1.125rem, 1.7vw, 1.4375rem);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.body { color: var(--ink-2); text-wrap: pretty; }
.body + .body { margin-top: 1.1em; }
.small { font-size: 0.875rem; line-height: 1.5; color: var(--ink-3); }
.tag { font-size: 0.875rem; font-weight: 500; line-height: 1.3; color: var(--ink-3); letter-spacing: -0.005em; }
.accent { color: var(--accent-text); }

/* Figures: the one place the wide cut of the typeface appears at size */
.fig {
  font-stretch: 112%;
  font-weight: 620;
  font-size: clamp(2.75rem, 6.6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.fig--sm { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(820px + var(--gutter) * 2); }
.wrap--narrow { max-width: calc(640px + var(--gutter) * 2); }
.sec { padding-block: var(--section); background: var(--bg); color: var(--ink); }
.sec--tight-top { padding-top: 0; }
.sec__head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec__head .lead { margin-top: clamp(16px, 2vw, 24px); max-width: 680px; }
.center { text-align: center; margin-inline: auto; }
.stack-s > * + * { margin-top: 12px; }
.stack-m > * + * { margin-top: 24px; }
.stack-l > * + * { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  font-size: 1.0625rem; font-weight: 620; letter-spacing: -0.012em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s var(--ease);
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn:active { transform: scale(0.98); }
.btn--lg { min-height: 62px; padding: 0 38px; font-size: 1.1875rem; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn--quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--quiet:hover { background: var(--surface-2); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--surface-2); color: var(--ink-3); cursor: not-allowed; }
.btn--ink { background: var(--on-accent); color: #F0F4F0; }
.btn--ink:hover { background: #142014; color: #F0F4F0; }

.cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta--left { align-items: flex-start; }
.cta .small { max-width: 44ch; text-align: center; }
.cta--left .small { text-align: left; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(8, 12, 8, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(240, 244, 240, 0.08);
}
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark {
  display: inline-flex; align-items: center; gap: 0.38em;
  font-stretch: 125%; font-weight: 800; font-size: clamp(0.8125rem, 1.1vw, 0.9375rem); letter-spacing: 0.01em; line-height: 1;
  text-transform: uppercase; text-decoration: none; color: #F0F4F0; white-space: nowrap;
}
.mark:hover { color: #F0F4F0; }
.mark span { color: var(--accent); }
.mark svg { width: 1.15em; height: 1.15em; flex: none; }
.nav__step { font-size: 0.875rem; color: rgba(240, 244, 240, 0.6); }
.nav__cta { opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s; }
.nav__cta.is-on { opacity: 1; visibility: visible; transform: none; }
.nav-space { height: var(--nav-h); background: #080C08; }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(20px, 2.6vw, 36px); padding-bottom: clamp(64px, 8vw, 128px); text-align: center; }
.trusted { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 18px; max-width: 100%; padding: 8px 20px 8px 18px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.trusted__label { font-size: 0.875rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.trusted__row { display: flex; flex-wrap: nowrap; align-items: center; gap: 22px; }
.trusted__row li { display: inline-flex; align-items: center; gap: 9px; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.012em; color: var(--ink); white-space: nowrap; }
.trusted__row img { width: auto; height: 34px; }
.trusted__row .trusted__ufc { height: 14px; }
.trusted .short { display: none; }
.hero__who { display: table; margin-inline: auto; padding: 7px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); margin-bottom: clamp(12px, 1.6vw, 20px); }
.hero__proof { margin-top: 12px; }
.hero__proof { font-size: 0.875rem; line-height: 1.45; color: var(--ink-3); max-width: 46ch; margin-inline: auto; text-wrap: balance; }
.hero__proof b { font-weight: 500; color: var(--ink-2); }
.hero__who { font-size: clamp(0.9375rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.hero h1 { margin-top: clamp(14px, 1.8vw, 22px); }
.hero .lead { max-width: 40ch; margin: clamp(16px, 2.2vw, 28px) auto 0; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin-top: clamp(16px, 2vw, 24px); font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.trust li { padding: 0 14px; border-left: 1px solid var(--line); line-height: 1.2; }
.trust li:first-child { border-left: 0; }
.hero__media { margin-top: clamp(24px, 3.2vw, 44px); }
.hero .cta { margin-top: clamp(24px, 3.4vw, 44px); }
.promise { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); max-width: 50ch; text-wrap: balance; }
.promise b { color: var(--ink); font-weight: 600; }

/* The single load sequence. Pure CSS so nothing stays hidden if a script fails. */
@keyframes cs-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
[data-in] { animation: cs-rise 0.8s var(--ease) both; }
[data-in="1"] { animation-delay: 90ms; }
[data-in="2"] { animation-delay: 180ms; }
[data-in="3"] { animation-delay: 270ms; }
[data-in="4"] { animation-delay: 360ms; }

/* ---------- Media (video facade) ---------- */

.media { position: relative; width: 100%; max-width: 1040px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--r-media); overflow: hidden; background: var(--surface); isolation: isolate; }
.media img, .media iframe, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: #000; }
.media video { object-fit: contain; }
.media::after { content: ""; position: absolute; inset: 0; background: rgba(8, 12, 8, 0.14); z-index: 1; pointer-events: none; }
.media.is-playing::after, .media--plain::after { display: none; }
.media__play {
  position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 12px clamp(12px, 2.6vw, 30px);
  background: none; border: 0; cursor: pointer;
}
.media__pill {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 6px 22px 6px 6px; border-radius: 999px;
  background: rgba(240, 244, 240, 0.94); color: #080C08;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 1rem; font-weight: 620; letter-spacing: -0.012em; line-height: 1.15; text-align: left;
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.media__play:hover .media__pill { transform: scale(1.03); background: #FFFFFF; }
.media__disc { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #080C08; color: #F0F4F0; }
.media__disc svg { width: 15px; height: 15px; margin-left: 2px; }
.media--plain .media__play { align-items: center; padding: 12px; }
.media--plain .media__pill { background: var(--surface-2); color: var(--ink); }
.media--plain .media__disc { background: var(--ink); color: var(--bg); }

/* ---------- Proof tiles ---------- */

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.tile {
  grid-column: span 6;
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(40px, 6vw, 88px);
  padding: clamp(24px, 3.2vw, 44px);
  background: var(--surface); border-radius: var(--r-tile);
}
.tile--7 { grid-column: span 7; }
.tile--5 { grid-column: span 5; }
.tile--12 { grid-column: span 12; }
.tile--4 { grid-column: span 4; }
.tile__who { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tile__name { font-size: 1.0625rem; font-weight: 620; letter-spacing: -0.015em; }
.tile__unit { margin-top: 12px; font-size: 1.0625rem; font-weight: 560; letter-spacing: -0.012em; color: var(--accent-text); }
.tile__line { margin-top: 10px; color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }

.quote { font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.032em; text-wrap: balance; }
.quote--sm { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.22; letter-spacing: -0.022em; font-weight: 560; }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(12px, 1.6vw, 20px); }
.shots:empty { display: none; }
.shot { background: var(--surface); border-radius: var(--r-tile); padding: 12px; }
.shot img { width: 100%; border-radius: 18px; }
.shot figcaption { padding: 12px 8px 6px; font-size: 0.875rem; color: var(--ink-3); }
.clips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(12px, 1.6vw, 20px); }
.clips:empty { display: none; }
.clips .media { border-radius: var(--r-tile); }

/* ---------- Who said it ---------- */

.who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.who__pic { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.who__mono { display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); font-size: 0.8125rem; font-weight: 620; }
.who__wide { width: auto; height: 32px; border-radius: 7px; flex: none; }
.who__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.who__text b { font-weight: 620; letter-spacing: -0.012em; color: var(--ink); }
.who__text span { font-size: 0.8125rem; color: var(--ink-3); }
.tile .who { margin-top: 32px; }

.pull { display: flex; flex-direction: column; gap: 18px; margin-top: clamp(28px, 4vw, 44px); padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--surface); max-width: 62ch; }
.pull__q { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.45; letter-spacing: -0.012em; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.pull .who { margin-top: 0; }
.pull--center { display: flex; justify-content: center; }
.pull--center .pull { margin-top: clamp(32px, 4vw, 48px); text-align: left; }
.straight .pull, .founder .pull { margin-top: clamp(28px, 3.4vw, 40px); }

.case__quote { margin-top: clamp(20px, 2.6vw, 28px); padding-top: clamp(18px, 2.4vw, 24px); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.case__quote blockquote { font-size: 1.0625rem; line-height: 1.5; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.case__quote .who { margin-top: 0; }

/* ---------- The cut list (the one scroll moment) ---------- */

.cut { font-size: clamp(1.625rem, 5.6vw, 4.5rem); font-weight: 630; line-height: 1.14; letter-spacing: -0.04em; }
.cut li { color: rgba(240, 244, 240, 0.4); text-decoration: line-through; text-decoration-thickness: 0.055em; text-decoration-color: rgba(240, 244, 240, 0.4); }
.cut .cut__one { color: var(--accent); text-decoration: none; margin-top: 0.5em; text-wrap: balance; }
.js .cut li { color: var(--ink); text-decoration-color: transparent; transition: color 0.6s ease, text-decoration-color 0.6s ease; }
.js .cut li.is-cut { color: rgba(240, 244, 240, 0.36); text-decoration-color: rgba(240, 244, 240, 0.36); }
.js .cut .cut__one { color: rgba(240, 244, 240, 0.36); transition: color 0.8s ease; }
.js .cut .cut__one.is-on { color: var(--accent); }
.problem__after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 80px); margin-top: clamp(56px, 8vw, 120px); }

/* ---------- For / not for ---------- */

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks svg { width: 24px; height: 24px; margin-top: 2px; }
.checks--yes svg { color: var(--accent-text); }
.checks--no svg { color: var(--ink-3); }
.checks strong { color: var(--ink); font-weight: 600; }

/* ---------- Phases ---------- */

.phase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: start; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.phase:last-child { padding-bottom: 0; }
.phase__n { font-stretch: 118%; font-weight: 640; font-size: clamp(3.25rem, 7vw, 5.5rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--accent-text); }
.phase__name { margin-top: clamp(14px, 2vw, 22px); font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 630; letter-spacing: -0.035em; line-height: 1.05; }
.phase__when { margin-top: 8px; }
.phase__body { margin-top: clamp(16px, 2vw, 24px); }
.case { background: var(--surface); border-radius: var(--r-tile); padding: clamp(24px, 3.2vw, 44px); }
.case__name { margin-top: 6px; }
.case__story { margin-top: 16px; color: var(--ink-2); text-wrap: pretty; }
.case__result { margin-top: clamp(24px, 3vw, 36px); padding-top: clamp(20px, 2.6vw, 28px); border-top: 1px solid var(--line); }
.case__result p:last-child { margin-top: 10px; font-size: 1.0625rem; font-weight: 560; letter-spacing: -0.012em; }

/* ---------- Comparison ---------- */

.compare { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare th, .compare td { padding: clamp(16px, 2vw, 24px) clamp(14px, 2vw, 28px); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: 400; }
.compare thead th { font-size: 0.9375rem; font-weight: 560; color: var(--ink-3); padding-top: clamp(20px, 2.4vw, 32px); }
.compare tbody th { color: var(--ink-3); font-size: 0.9375rem; font-weight: 500; }
.compare th:first-child { width: 19%; padding-left: 0; }
.compare td { color: var(--ink-2); }
.compare .us { background: var(--surface); color: var(--ink); font-weight: 560; }
.compare thead .us { color: var(--accent); border-radius: var(--r-tile) var(--r-tile) 0 0; }
.compare tbody tr:last-child .us { border-radius: 0 0 var(--r-tile) var(--r-tile); border-bottom: 0; padding-bottom: clamp(24px, 3vw, 36px); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.straight { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 88px); margin-top: clamp(72px, 9vw, 136px); align-items: start; }

/* ---------- Guarantee ---------- */

.guarantee { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: end; background: var(--accent); color: var(--on-accent); border-radius: clamp(28px, 3.4vw, 44px); padding: clamp(28px, 6.5vw, 96px); }
.guarantee .tag { color: rgba(6, 16, 6, 0.76); }
.guarantee .h2 { margin-top: 14px; }
.guarantee__body { margin-top: clamp(20px, 2.6vw, 32px); max-width: 52ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; color: rgba(6, 16, 6, 0.88); }
.guarantee .cta { margin-top: clamp(28px, 4vw, 44px); }
.guarantee :focus-visible { outline-color: var(--on-accent); }
.guarantee__part { font-weight: 620; letter-spacing: -0.015em; }
.guarantee__terms { margin-top: 12px; }
.guarantee__terms li { padding: 13px 0; border-top: 1px solid rgba(6, 16, 6, 0.22); color: rgba(6, 16, 6, 0.88); }

/* ---------- Founder ---------- */

.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder__img { border-radius: var(--r-tile); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; }
.founder__img img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(32px, 4vw, 52px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.stats .fig { font-size: clamp(1.75rem, 2.7vw, 2.375rem); }
.founder .h2 { font-size: clamp(1.875rem, 3.7vw, 3.125rem); }
.stats p:last-child { margin-top: 8px; font-size: 0.9375rem; line-height: 1.4; color: var(--ink-3); }

/* ---------- FAQ ---------- */

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(20px, 2.4vw, 28px) 0; cursor: pointer; list-style: none; font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 22px; height: 22px; color: var(--ink-3); transition: transform 0.3s var(--ease); }
details[open] > summary .plus { transform: rotate(45deg); }
.faq details > p { padding: 0 0 clamp(22px, 2.6vw, 30px); max-width: 64ch; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Closing ---------- */

.close { text-align: center; }
.close .lead { max-width: 52ch; margin: clamp(20px, 2.6vw, 32px) auto 0; }
.close .body { max-width: 60ch; margin: 20px auto 0; }
.close .cta { margin-top: clamp(32px, 4vw, 48px); }

.foot { background: #080C08; color: rgba(240, 244, 240, 0.56); border-top: 1px solid rgba(240, 244, 240, 0.1); padding-block: clamp(36px, 5vw, 56px); font-size: 0.875rem; line-height: 1.55; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: rgba(240, 244, 240, 0.74); text-decoration: none; }
.foot a:not(.mark) { display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { color: #F0F4F0; }
.foot__legal { margin-top: 20px; max-width: 78ch; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 16px; text-align: left; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); }
.field label i { font-style: normal; color: var(--ink-3); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 56px; padding: 0 18px;
  background: var(--surface-2); color: var(--ink);
  border: 1.5px solid transparent; border-radius: var(--r-field);
  font: inherit; font-size: 1.0625rem; letter-spacing: -0.005em;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field textarea { padding: 16px 18px; min-height: 168px; line-height: 1.5; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: #E5746B; }
.field__hint { font-size: 0.8125rem; color: var(--ink-3); }
.field__err { font-size: 0.875rem; color: #F08F87; }
.form__status { font-size: 0.9375rem; color: #F08F87; min-height: 1.4em; }
.card { background: var(--surface); border-radius: var(--r-tile); padding: clamp(22px, 3.4vw, 40px); }

/* ---------- Opt-in ---------- */

.optin { padding-top: clamp(28px, 5vw, 72px); padding-bottom: clamp(64px, 8vw, 120px); text-align: center; }
.optin h1 { margin-top: clamp(18px, 2.6vw, 32px); }
.optin .lead { max-width: 44ch; margin: clamp(16px, 2.2vw, 28px) auto 0; }
.optin .card { max-width: 560px; margin: clamp(28px, 4vw, 48px) auto 0; }
.optin .card .small { text-align: center; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.figs > div { border-top: 1px solid var(--line); padding-top: clamp(20px, 2.6vw, 28px); }
.figs .tile__line { max-width: 34ch; }
.figs .fig { font-size: clamp(2.25rem, 4.2vw, 3.5rem); }

/* ---------- Two-column pages (book, intro call) ---------- */

.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(32px, 5vw, 72px); padding-bottom: var(--section); }
.duo h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.agenda { margin-top: clamp(28px, 4vw, 44px); counter-reset: a; }
.agenda li { counter-increment: a; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.agenda li::before { content: counter(a); font-stretch: 118%; font-weight: 640; font-size: 1.25rem; color: var(--accent-text); letter-spacing: -0.03em; }
.cal { min-height: 560px; background: var(--surface); border-radius: var(--r-tile); overflow: hidden; display: grid; }
.cal iframe { width: 100%; min-height: 720px; border: 0; background: #FFFFFF; }
.cal__empty { display: grid; place-content: center; justify-items: center; gap: 18px; padding: 40px 28px; text-align: center; color: var(--ink-3); }
.cal__empty svg { width: 40px; height: 40px; color: var(--ink-3); }

/* ---------- Confirmation ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.6vw, 56px); }
.steps li { border-top: 1px solid var(--line); padding-top: clamp(20px, 2.6vw, 28px); }
.steps .phase__n { font-size: clamp(2.5rem, 4.6vw, 3.75rem); }
.steps .h3 { margin-top: 16px; }
.steps .body { margin-top: 10px; }
.addcal { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.addcal:empty { display: none; }

/* ---------- Application ---------- */

.progress { position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 49; height: 3px; background: rgba(240, 244, 240, 0.08); }
.progress__bar { height: 100%; width: 0; background: var(--accent); border-radius: 0 3px 3px 0; transition: width 0.5s var(--ease); }
.apply { padding-top: clamp(40px, 8vw, 104px); padding-bottom: 120px; }
.apply__count { font-size: 0.9375rem; font-weight: 560; color: var(--accent-text); }
.apply__q { margin-top: 14px; font-size: clamp(1.625rem, 3.6vw, 2.75rem); font-weight: 630; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.apply__hint { margin-top: 12px; color: var(--ink-3); }
.apply__body { margin-top: clamp(24px, 3.4vw, 40px); }
.opts { display: grid; gap: 10px; }
.opt {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) 22px; align-items: center; gap: 14px;
  width: 100%; min-height: 62px; padding: 12px 20px 12px 16px;
  background: var(--surface); color: var(--ink);
  border: 1.5px solid transparent; border-radius: 16px; cursor: pointer; text-align: left;
  font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.008em;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.opt:hover { background: var(--surface-2); }
.opt kbd { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--ink-3); font: inherit; font-size: 0.8125rem; font-weight: 600; }
.opt svg { width: 22px; height: 22px; color: var(--accent); opacity: 0; transition: opacity 0.18s ease; }
.opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.opt[aria-pressed="true"] kbd { background: var(--accent); color: var(--on-accent); }
.opt[aria-pressed="true"] svg { opacity: 1; }
.apply__other { margin-top: 10px; }
.apply__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(24px, 3.4vw, 40px); }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; background: none; border: 0; cursor: pointer; color: var(--ink-3); font-size: 0.9375rem; font-weight: 500; }
.back:hover { color: var(--ink); }
.back svg { width: 18px; height: 18px; }
.apply__intro h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.apply__intro .lead { margin-top: 20px; max-width: 46ch; }
.apply__intro .form { margin-top: clamp(28px, 4vw, 44px); }
.review { min-height: 360px; display: grid; place-content: center; justify-items: center; gap: 24px; text-align: center; }
.review__dots { display: flex; gap: 8px; }
.review__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: cs-pulse 1.2s ease-in-out infinite; }
.review__dots i:nth-child(2) { animation-delay: 0.15s; }
.review__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes cs-pulse { 0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1); } }
@keyframes cs-swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.swap { animation: cs-swap 0.45s var(--ease) both; }

/* ---------- Prose pages (privacy, terms) ---------- */

.prose { padding-top: clamp(32px, 5vw, 72px); padding-bottom: var(--section); }
.prose h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.prose h2 { margin-top: 2em; font-size: 1.375rem; font-weight: 620; letter-spacing: -0.02em; }
.prose p, .prose li { margin-top: 0.9em; color: var(--ink-2); max-width: 68ch; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose .note { margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: var(--surface); color: var(--ink-2); }

/* ---------- Preflight (launch checklist, off when config.preflight is false) ---------- */

.preflight { position: fixed; z-index: 60; left: 12px; bottom: 12px; max-width: min(380px, calc(100vw - 24px)); background: #F0F4F0; color: #080C08; border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); font-size: 0.8125rem; line-height: 1.45; }
.preflight summary { padding: 10px 14px; cursor: pointer; font-weight: 620; list-style: none; min-height: 40px; display: flex; align-items: center; gap: 8px; }
.preflight summary::-webkit-details-marker { display: none; }
.preflight summary::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #D98A1F; flex: none; }
.preflight ul { max-height: 46vh; overflow: auto; padding: 0 14px 12px; }
.preflight li { padding: 6px 0; border-top: 1px solid rgba(8, 12, 8, 0.12); }
.todo { outline: 1.5px dashed #D98A1F; outline-offset: 3px; border-radius: 4px; }

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .tile, .tile--7, .tile--5, .tile--4 { grid-column: span 12; }
  .tile { gap: 36px; }
  .split, .phase, .founder, .straight, .duo, .problem__after, .guarantee { grid-template-columns: minmax(0, 1fr); }
  .founder__img { max-width: 520px; }
  .figs, .steps { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }

  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare tbody tr { padding: 22px 0; border-top: 1px solid var(--line); }
  .compare th:first-child { width: auto; }
  .compare tbody th { padding: 0 0 12px; border: 0; width: auto; font-size: 1.0625rem; font-weight: 620; color: var(--ink); }
  .compare td { padding: 8px 0; border: 0; display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; }
  .compare td::before { content: attr(data-l); color: var(--ink-3); font-size: 0.9375rem; font-weight: 500; }
  .compare td.us { background: none; padding: 8px 0; border-radius: 0 !important; }
  .compare td.us::before { color: var(--accent); }
}

@media (max-width: 520px) {
  .trust { font-size: 0.8125rem; }
  .trust li { padding: 0 9px; }
  .trust li:nth-child(4) { display: none; }
  .trusted { gap: 8px; padding: 6px 12px 6px 12px; }
  .trusted__label { font-size: 0.75rem; }
  .trusted__row { gap: 9px; }
  .trusted__row li { font-size: 0.75rem; gap: 5px; letter-spacing: -0.02em; }
  .trusted__row img { height: 22px; }
  .trusted__row .trusted__ufc { height: 9px; }
  .trusted .long { display: none; }
  .trusted .short { display: inline; }
  .trusted__row .trusted__bc { height: 26px; }
}
@media (max-width: 370px) {
  .trusted { gap: 6px; padding-inline: 10px; }
  .trusted__label, .trusted__row li { font-size: 0.6875rem; }
  .trusted__row { gap: 7px; }
  .trusted__row img { height: 20px; }
  .hero__proof { font-size: 0.8125rem; }
  .media__pill { min-height: 46px; font-size: 0.9375rem; padding-right: 18px; }
  .media__disc { width: 34px; height: 34px; }
  .stats .fig { font-size: 2rem; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .opt kbd { display: none; }
  .opt { grid-template-columns: minmax(0, 1fr) 22px; padding-left: 20px; }
  .btn--lg { width: 100%; padding: 0 24px; }
  .apply__nav .btn { padding: 0 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Smallest phones: the row only fits without the label. */
@media (max-width: 340px) {
  .trusted__label { display: none; }
}

/* Phones: let multi-word figures (Half a year's income) wrap onto two balanced lines instead of running off the card. */
@media (max-width: 520px) {
  .fig { white-space: normal; text-wrap: balance; overflow-wrap: normal; }
}
