/* GENERATED by rebuild/build.mjs --whop (20261103234019). Edit rebuild/src/, then rebuild. */
/* REBUILD 60 sales page (reptheory.online/rebuild). Phone first; the house look of the approved product pages
   (black, Oswald, red), with one idea per screen. */
@font-face { font-family: "OswaldRB"; src: url("/fonts/oswald-sub.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "InterRB"; src: url("/fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ===================== SKIN =====================
   Every colour, glow and font on this page is here and nowhere else. Matched (2026-11-03) to the PDF's art direction,
   product/rebuild/design/ART-DIRECTION.md: black page, red = the one key thing (and TEST days), orange = brand,
   yellow = caution labels, and the track colours BUILD yellow / RECOMP violet / LEAN cyan. tools/art.py (og.jpg) and
   build.mjs (placeholder pages) use the same hex values. The PDF's Bahnschrift is a Windows font that can't be served
   on the web, so the page keeps Oswald (SIL OFL), the closest free condensed match. */
:root {
  --bg: #000000; --bg-2: #080808; --card: #0e0e0e; --card-2: #171717; --line: #2b2b2b; --line-2: #44423e;
  --ink: #f4f1ea; --soft: #d9d6cf; --dim: #a8a49c; --faint: #6f6b64; --on-accent: #ffffff; --on-gold: #1a1200;
  --accent: #e8322b; --accent-2: #ff4a3f; --accent-glow: rgba(232, 50, 43, .34); --accent-soft: rgba(232, 50, 43, .12);
  --brand: #f26b1d; --good: #6fe08a;
  --gold: #ffc23d; --gold-glow: rgba(255, 194, 61, .3);
  --test: #e8322b; --test-glow: rgba(232, 50, 43, .45);
  --trk-build: #ffc23d; --trk-recomp: #b48cff; --trk-lean: #3ec6e8;
  --trk-build-glow: rgba(255, 194, 61, .36); --trk-recomp-glow: rgba(180, 140, 255, .38); --trk-lean-glow: rgba(62, 198, 232, .34);
  --ph-1: #5e5b55; --ph-2: #a8a49c; --ph-3: #f4f1ea;
  --teen: #ffc23d; --teen-bg: rgba(255, 194, 61, .08); --teen-line: rgba(255, 194, 61, .42);
  --tg-bg: #0e1621; --tg-head: #17212b; --tg-in: #182533; --tg-out: #2b5278; --tg-text: #f5f5f5; --tg-dim: #8ea3b8; --phone: #1c1c1e;
  --bar-bg: rgba(0, 0, 0, .86); --shade: rgba(0, 0, 0, .9); --lb-bg: rgba(0, 0, 0, .92);
  --display: "OswaldRB", "Bahnschrift", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: "InterRB", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
[data-track="build"] { --trk: var(--trk-build); --trk-glow: var(--trk-build-glow); }
[data-track="recomp"] { --trk: var(--trk-recomp); --trk-glow: var(--trk-recomp-glow); }
[data-track="lean"] { --trk: var(--trk-lean); --trk-glow: var(--trk-lean-glow); }
/* ================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { display: block; overflow-x: clip; }
@supports not (overflow: clip) { main { overflow-x: hidden; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 10px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }
section { padding: 64px 0; scroll-margin-top: 56px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.02; margin: 0; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: clamp(40px, 10.5vw, 66px); }
em { font-style: normal; color: var(--accent-2); }
.head { margin-bottom: 26px; }
.head.center { text-align: center; }
.tag { display: block; margin-bottom: 12px; font: 500 13px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); }
.sub { margin: 12px 0 0; max-width: 34em; color: var(--dim); }
.center .sub { margin-inline: auto; }
.svgi { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 56px; padding: 0 24px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--accent); color: var(--on-accent); text-decoration: none; font: 700 19px/1.1 var(--display); letter-spacing: .05em; text-transform: uppercase; text-align: center;
  box-shadow: 0 12px 32px var(--accent-glow); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); background: var(--accent-2); }
.btn:active { transform: translateY(1px); }
.btn.big { min-height: 60px; font-size: 20px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.link { border: 0; background: none; padding: 8px; cursor: pointer; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.link:hover { color: var(--ink); }

/* top bar */
.bar { position: sticky; top: 0; z-index: 50; background: var(--bar-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { font: 700 22px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; }
.bar-cta { padding: 9px 14px; border-radius: 9px; border: 1.5px solid var(--line-2); font: 600 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.bar-cta:hover { border-color: var(--ink); }

/* hero */
.hero { position: relative; padding: 26px 0 30px; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -35vw; top: -25vw; width: 105vw; height: 105vw; max-width: 980px; max-height: 980px; background: radial-gradient(closest-side, var(--accent-glow), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.kicker { display: inline-block; padding: 8px 12px; background: var(--accent); color: var(--on-accent); font: 600 13px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; transform: skewX(-12deg); }
.h1 { margin: 16px 0 14px; font-size: clamp(64px, calc((100vw - 32px) / 3.7), 150px); line-height: .86; letter-spacing: -.005em; } /* "REBUILD" is ~3.5 em wide: always fits the 16 px gutters */
.h1 span, .h1 em { display: block; }
.h1 em { text-shadow: 0 0 46px var(--accent-glow); }
.tagline { text-wrap: balance; margin: 0 0 12px; font: 700 clamp(24px, 6.6vw, 34px)/1.05 var(--display); text-transform: uppercase; }
.tagline span { color: var(--dim); }
.lede { margin: 0 0 22px; max-width: 30em; color: var(--dim); font-size: clamp(17px, 4.4vw, 20px); }
.lede b { display: block; color: var(--ink); font-weight: 600; }
.hero .btn { width: 100%; max-width: 420px; }
.micro { margin: 12px 0 0; color: var(--dim); font: 500 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 6px; width: 100%; max-width: 440px; margin: 0 auto; }
.fig { margin: 0; display: grid; justify-items: center; animation: rise .9s var(--ease) both; }
.fig:nth-child(2) { animation-delay: .12s; } .fig:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.stand { position: relative; display: block; width: 100%; }
.stand::before { content: ""; position: absolute; left: -6%; right: -6%; bottom: -4%; height: 58%; background: radial-gradient(closest-side, var(--trk-glow), transparent 78%); pointer-events: none; }
.stand::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -2px; height: 3px; border-radius: 3px; background: var(--trk); box-shadow: 0 0 14px var(--trk-glow); }
.stand img { position: relative; width: 100%; }
.fig figcaption { margin-top: 12px; text-align: center; }
.fig b { display: block; font: 700 clamp(19px, 5.4vw, 28px)/1 var(--display); letter-spacing: .03em; color: var(--trk); }
.fig small { display: block; margin-top: 6px; font: 500 11px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* quiz (quiz.json v2: 5 taps, picture answers, a one-line reaction after each tap) */
.quiz { padding-top: 40px; }
.qcard { position: relative; max-width: 580px; margin: 0 auto; padding: 12px 14px 16px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 90px -50px var(--shade); }
.qtop { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 42px; margin-bottom: 12px; }
.qback { justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px 8px 4px; border: 0; border-radius: 9px; background: none; cursor: pointer; color: var(--soft); font: 600 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.qback:disabled { visibility: hidden; }
.qback .svgi { width: 20px; height: 20px; }
.qdots { display: flex; gap: 9px; align-items: center; }
.qdots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: background .3s, box-shadow .3s, transform .3s var(--ease); }
.qdots i.done { background: var(--accent); }
.qdots i.cur { background: var(--accent-2); transform: scale(1.3); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 14px var(--accent-glow); }
.qstep { justify-self: end; font: 600 15px/1 var(--display); letter-spacing: .14em; color: var(--dim); }
.qstage { display: grid; overflow: hidden; margin: -6px; padding: 6px; min-height: calc(clamp(170px, 30vh, 250px) + 190px); } /* = the tallest question, so the card never jumps */
.q { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; transition: transform .32s var(--ease), opacity .32s var(--ease); }
.q.from-r { transform: translateX(48px); opacity: 0; } .q.from-l { transform: translateX(-48px); opacity: 0; }
.q.to-l { transform: translateX(-48px); opacity: 0; pointer-events: none; } .q.to-r { transform: translateX(48px); opacity: 0; pointer-events: none; }
.qq { text-wrap: balance; margin: 0 2px 16px; font: 700 clamp(28px, 7.8vw, 40px)/1.04 var(--display); text-transform: uppercase; text-align: center; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 14px; border-radius: 16px; cursor: pointer; text-align: left;
  border: 1.5px solid var(--line-2); background: var(--bg-2); color: var(--ink); font: 600 17px/1.25 var(--body); transition: border-color .15s, background .15s, transform .12s var(--ease), box-shadow .2s; }
.opt:hover { border-color: var(--soft); }
.opt:active { transform: scale(.97); }
.opt .k { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); font: 600 14px/1 var(--display); color: var(--dim); }
.opt .l { flex: 1; min-width: 0; }
.opt .h { display: block; margin-top: 3px; font: 400 14px/1.3 var(--body); color: var(--dim); }
.opt .ck { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); color: transparent; transition: background .15s, border-color .15s, color .15s; }
.opt .ck .svgi { width: 16px; height: 16px; stroke-width: 3; }
.opt[aria-pressed="true"] { border-color: var(--accent-2); background: var(--accent-soft); }
.opt[aria-pressed="true"] .k { border-color: var(--accent-2); color: var(--ink); }
.opt[aria-pressed="true"] .ck { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent); }
.opt.picked { animation: tap .35s var(--ease); }
@keyframes tap { 40% { transform: scale(.94); } }
/* "figures": the three track bodies */
.opts.figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opt.qfig { flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; padding: 10px 6px 12px; text-align: center; overflow: hidden; }
.opt.qfig .pic { position: relative; display: block; width: 100%; height: clamp(170px, 30vh, 250px); }
.opt.qfig .pic::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 55%; background: radial-gradient(closest-side, var(--trk-glow), transparent 78%); opacity: .55; transition: opacity .2s; }
.opt.qfig .pic img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.opt.qfig .l { flex: none; font: 700 clamp(17px, 4.6vw, 21px)/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.opt.qfig .h { font-size: 12.5px; line-height: 1.25; }
.opt.qfig .ck { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; }
.opt.qfig:hover .pic::before, .opt.qfig[aria-pressed="true"] .pic::before { opacity: 1; }
.opt.qfig[aria-pressed="true"] { border-color: var(--trk); background: var(--bg-2); box-shadow: 0 0 0 1px var(--trk), 0 16px 34px -18px var(--trk-glow); }
.opt.qfig[aria-pressed="true"] .l { color: var(--trk); }
.opt.qfig[aria-pressed="true"] .ck { background: var(--trk); border-color: var(--trk); color: var(--on-gold); }
/* "icons": home or gym */
.opts.icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt.qico { flex-direction: column; justify-content: center; gap: 8px; min-height: 196px; padding: 20px 10px 18px; text-align: center; }
.opt.qico .icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); transition: transform .25s var(--ease); }
.opt.qico .icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.opt.qico .l { flex: none; font: 700 26px/1 var(--display); text-transform: uppercase; }
.opt.qico .h { margin-top: 0; }
.opt.qico .ck { position: absolute; top: 10px; right: 10px; }
.opt.qico[aria-pressed="true"] .icon { transform: scale(1.08); background: var(--accent-2); color: var(--on-accent); }
/* "chips": big bold answers */
.opts.chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts.chips.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt.qchip { justify-content: center; min-height: 104px; padding: 10px 8px; border-radius: 20px; text-align: center; font: 700 clamp(22px, 6.2vw, 30px)/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.opt.qchip .l { flex: none; }
.opt.qchip .ck { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; }
.opt.qchip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 12px 30px -12px var(--accent-glow); }
.opt.qchip[aria-pressed="true"] .ck { background: var(--on-accent); border-color: var(--on-accent); color: var(--accent); }
/* the reaction after a tap: a little chat bubble from the Coach */
.react-slot { display: flex; align-items: flex-end; min-height: 62px; margin-top: 14px; }
.react { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 9px 14px 9px 9px; border-radius: 20px 20px 20px 6px; background: var(--card-2); border: 1px solid var(--line-2); color: var(--ink); font: 600 15px/1.35 var(--body); animation: bubble .4s var(--ease) both; }
.react .ava { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 12px/1 var(--display); letter-spacing: .04em; }
@keyframes bubble { from { opacity: 0; transform: translateY(10px) scale(.94); } }
/* "Building your plan..." between the last tap and the ticket */
.building { display: grid; justify-items: center; align-content: center; gap: 22px; min-height: calc(clamp(170px, 30vh, 250px) + 320px); padding: 26px 8px; text-align: center; } /* = the quiz card, so nothing below jumps */
.building .b-line { margin: 0; font: 700 clamp(28px, 7.6vw, 38px)/1.05 var(--display); text-transform: uppercase; }
.building .code { width: min(440px, 100%); height: 48px; margin: 0; }
.building.go .code i { animation: print .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 16ms); }
.building.go .b-line { animation: bubble .4s var(--ease) both; }
.qcard.is-building .qtop, .qcard.is-building .qstage, .qcard.is-building .react-slot { display: none; }
.nojs { max-width: 580px; margin: 0 auto; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); color: var(--soft); text-align: center; }

/* result: the plan ticket */
.result { max-width: 580px; margin: 0 auto; }
.ticket { position: relative; border-radius: 24px; background: var(--card); border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 50px 100px -55px var(--trk-glow); }
.ticket.show { animation: ticket .75s var(--ease) both; }
@keyframes ticket { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.t-top { position: relative; padding: 18px 18px 20px; background: radial-gradient(120% 95% at 100% 0%, var(--trk-glow), transparent 62%); }
.t-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 16px; font: 500 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.t-main { font-family: var(--display); text-transform: uppercase; }
.t-before { display: block; font: 600 15px/1 var(--display); letter-spacing: .2em; color: var(--soft); }
.t-track { display: block; margin: 8px 0 6px; font: 700 clamp(76px, 23vw, 116px)/.88 var(--display); color: var(--trk); text-shadow: 0 0 40px var(--trk-glow); }
.t-after { text-wrap: balance; display: block; font: 600 clamp(19px, 5.2vw, 25px)/1.15 var(--display); color: var(--ink); }
.t-line { margin: 12px 0 0; color: var(--soft); font-size: 16px; }
.perf { position: relative; margin: 0 20px; border-top: 2px dashed var(--line-2); }
.perf::before, .perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); }
.perf::before { left: -33px; } .perf::after { right: -33px; }
.t-bot { padding: 18px 18px 16px; }
.t-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin: 0; }
.t-stats dt { font: 500 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.t-stats dd { margin: 6px 0 0; font: 700 21px/1.1 var(--display); text-transform: uppercase; }
.t-stats dd small { display: block; margin-top: 4px; font: 400 13px/1.3 var(--body); text-transform: none; color: var(--dim); }
.code { display: grid; grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 2px; align-items: end; height: 36px; margin-top: 20px; }
.code i { display: block; height: 64%; border-radius: 1px; background: var(--soft); opacity: .55; transform-origin: bottom; }
.code i.r { height: 100%; background: var(--test); opacity: 1; }
.ticket.show .code i { animation: print .5s var(--ease) both; animation-delay: calc(.35s + var(--k, 0) * 9ms); }
@keyframes print { from { transform: scaleY(0); } }
.code-cap { margin: 9px 0 0; font: 500 11px/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.after { display: grid; justify-items: center; gap: 14px; margin-top: 18px; text-align: center; }
.tip { display: flex; gap: 12px; align-items: flex-start; width: 100%; margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: left; color: var(--soft); }
.tip .svgi { color: var(--gold); margin-top: 1px; }
.all3 { text-wrap: balance; margin: 4px 0 2px; font: 700 20px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.after .btn { width: 100%; }
.teen { max-width: 580px; margin: 16px auto 0; padding: 14px 16px; border-radius: 14px; background: var(--teen-bg); border: 1px solid var(--teen-line); color: var(--ink); font-size: 16px; }
.teen b { color: var(--teen); }

/* what's inside */
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.feats li { padding: 14px 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.feats .ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); }
.feats b { display: block; font: 700 19px/1.08 var(--display); text-transform: uppercase; text-wrap: balance; }
.feats p { margin: 6px 0 0; color: var(--dim); font-size: 14.5px; line-height: 1.4; }

/* the 60 days */
.d60 { margin: 6px 0 0; }
.bars { display: grid; grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 2px; align-items: end; height: 90px; }
.bars i { display: block; height: 58%; border-radius: 2px; background: var(--ph-1); transform-origin: bottom; transition: transform .55s var(--ease), opacity .55s; }
.bars i.p2 { background: var(--ph-2); height: 70%; } .bars i.p3 { background: var(--ph-3); height: 82%; }
.bars i.r { height: 100%; background: var(--test); box-shadow: 0 0 12px var(--test-glow); }
.d60.pre:not(.in) .bars i { transform: scaleY(.06); opacity: .25; }
.marks { display: grid; grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 2px; margin-top: 8px; font: 600 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--test); }
.marks span { grid-row: 1; white-space: nowrap; justify-self: center; }
.marks span:first-child { justify-self: start; } .marks span:last-child { justify-self: end; }
.phases { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.phases li { padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--ph-1); }
.phases .ph2 { border-top-color: var(--ph-2); } .phases .ph3 { border-top-color: var(--ph-3); }
.phases small { font: 500 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.phases b { display: block; margin-top: 6px; font: 700 26px/1 var(--display); text-transform: uppercase; }
.phases p { margin: 6px 0 0; color: var(--soft); font-size: 15.5px; }
.note { margin: 16px 0 0; color: var(--dim); font-size: 15px; }

/* the Coach bot */
.coach-grid { display: grid; gap: 36px; align-items: center; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .svgi { color: var(--accent-2); stroke-width: 3; width: 20px; height: 20px; margin-top: 3px; }
.ticks b { font-weight: 700; }
.fine { margin: 18px 0 0; color: var(--dim); font-size: 14px; }
.phone-wrap { margin: 0; }
.phone { position: relative; width: min(310px, 86vw); margin: 0 auto; padding: 10px; border-radius: 44px; background: var(--phone); box-shadow: 0 60px 120px -50px var(--shade), inset 0 0 0 1px var(--line-2); }
.ex-badge { position: absolute; top: -12px; right: 22px; z-index: 2; padding: 7px 10px; border-radius: 7px; background: var(--gold); color: var(--on-gold); font: 700 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; transform: rotate(3deg); }
.ph-screen { border-radius: 34px; overflow: hidden; background: var(--tg-bg); }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 28px 14px 10px; background: var(--tg-head); }
.ph-ava { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 13px/1 var(--display); letter-spacing: .04em; }
.ph-head b { display: block; color: var(--tg-text); font-size: 14.5px; line-height: 1.2; }
.ph-head small { color: var(--tg-dim); font-size: 12px; }
.chat { display: grid; gap: 7px; padding: 12px 10px 18px; font-size: 13px; line-height: 1.38; color: var(--tg-text); }
.m { max-width: 86%; margin: 0; padding: 7px 10px 8px; border-radius: 14px; }
.m span, .m b { display: block; }
.m .dim { color: var(--tg-dim); }
.m.in { justify-self: start; background: var(--tg-in); border-bottom-left-radius: 4px; }
.m.out { justify-self: end; background: var(--tg-out); border-bottom-right-radius: 4px; }
.m.pic { width: 64%; padding: 3px; }
.m.pic img { border-radius: 11px; }
.ph-cap { margin: 14px 0 0; color: var(--dim); font-size: 13px; text-align: center; }

/* sample pages */
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 42vw, 200px); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.pg { scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.pg img { width: 100%; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 22px 40px -22px var(--shade); }
.pg span { display: block; margin-top: 9px; font: 600 14px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }

/* buyer reviews (rebuild/reviews.json) */
.rv-preview { display: inline-block; margin: 14px 0 0; padding: 7px 10px; border-radius: 7px; border: 1px dashed var(--gold); color: var(--gold); font: 600 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.rv-list { list-style: none; max-width: 760px; margin: 0; padding: 0; display: grid; gap: 12px; }
.rv { position: relative; padding: 18px 16px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.rv.is-ex { border-style: dashed; border-color: var(--line-2); }
.rv-ex { position: absolute; top: 12px; right: 12px; padding: 5px 8px; border-radius: 6px; border: 1.5px solid var(--gold); color: var(--gold); font: 700 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; transform: rotate(4deg); }
.rv-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-right: 76px; }
.rv:not(.is-ex) .rv-top { padding-right: 0; }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars i { display: block; width: 17px; height: 17px; color: var(--line-2); }
.rv-stars i.on { color: var(--gold); }
.rv-stars svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.rv-prod { font: 500 12px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.rv-prod b { color: var(--soft); font-weight: 600; }
.rv-q { margin: 12px 0 0; color: var(--ink); font-size: 16.5px; line-height: 1.55; }
.rv-q p { margin: 0; }
.rv-q.long:not(.open) p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.rv-more { margin: 6px 0 0; padding: 4px 0; border: 0; background: none; cursor: pointer; color: var(--ink); font: 600 15px/1.2 var(--body); text-decoration: underline; text-underline-offset: 3px; }
.rv-by { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 12px 0 0; color: var(--dim); font-size: 14px; }
.rv-by b { color: var(--ink); font-weight: 600; }
.rv-by > span::before { content: "·"; margin: 0 7px; color: var(--faint); }
.rv-verline { margin: 8px 0 0; }
.rv-ver { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 999px; background: var(--accent-soft); color: var(--soft); font-size: 12.5px; font-weight: 600; }
.rv-ver svg { width: 13px; height: 13px; fill: none; stroke: var(--accent-2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.rv-reply { margin: 14px 0 0 6px; padding: 2px 0 2px 14px; border-left: 2px solid var(--line-2); }
.rv-reply b { display: block; font: 600 12px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.rv-reply p { margin: 5px 0 0; color: var(--dim); font-size: 15px; line-height: 1.5; }

/* the offer */
.mine { display: inline-block; margin: 16px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--dim); font-size: 15px; }
.mine b { color: var(--ink); }
.offers { display: grid; gap: 22px; max-width: 880px; margin: 0 auto; }
.card-o { position: relative; display: flex; flex-direction: column; padding: 24px 20px 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-2); }
.card-o h3 { font-size: 30px; line-height: 1; }
.card-o h3 em, .card-o h3 .h3-sub { display: block; font-size: 22px; margin-top: 4px; }
.card-o h3 .h3-sub { color: var(--dim); }
.coach-card { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); }
.chip { position: absolute; top: -13px; left: 18px; padding: 7px 10px; border-radius: 7px; background: var(--accent); color: var(--on-accent); font: 600 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.o-price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.price-val { font: 700 58px/1 var(--display); visibility: hidden; animation: show-anyway 0s 4s forwards; }
@keyframes show-anyway { to { visibility: visible; } }
.rb-ready .price-val { visibility: visible; animation: none; }
.o-price small { font: 500 12px/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.o-list { list-style: none; flex: 1; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; align-content: start; }
.o-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.o-list .svgi { width: 20px; height: 20px; margin-top: 1px; color: var(--accent-2); stroke-width: 3; }
.o-fine { margin: 12px 0 0; color: var(--dim); font-size: 13px; text-align: center; }
.rb-teen .coach-card { display: none; }
.rb-teen .offers { max-width: 440px; }
.o-note { max-width: 880px; margin: 22px auto 0; color: var(--dim); font-size: 14px; text-align: center; }
.rules { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 880px; margin: 16px auto 0; padding: 0; }
.rules li { padding: 7px 12px; border-radius: 10px; text-align: center; border: 1px solid var(--line-2); color: var(--soft); font-size: 13.5px; }

/* FAQ */
.faq h2 { margin-bottom: 22px; }
.faq details { margin-bottom: 10px; padding: 0 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 0; cursor: pointer; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent-2); font: 700 24px/1 var(--display); transition: transform .2s; }
.faq details[open] { border-color: var(--accent-glow); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--dim); }

/* footer */
.foot { padding: 30px 0 44px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.foot p { margin: 0 0 10px; max-width: 70em; }
.foot a { color: var(--dim); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--soft); font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.fine-print { scroll-margin-top: 70px; }
.fine-print b { color: var(--soft); font-weight: 600; }
/* design-preview bundle only (build.mjs --preview) */
.pv-banner { margin: 0; padding: 7px 16px; background: var(--gold); color: var(--on-gold); text-align: center; font: 600 12.5px/1.35 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.dbg { margin-top: 18px !important; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--gold); color: var(--gold); font: 500 12.5px/1.5 var(--display); letter-spacing: .06em; }

/* lightbox + toast */
dialog.lb { max-width: min(94vw, 760px); max-height: 94vh; padding: 0; border: 0; overflow: visible; background: transparent; color: var(--ink); }
dialog.lb::backdrop { background: var(--lb-bg); }
dialog.lb img { width: auto; max-height: 84vh; margin: 0 auto; border-radius: 10px; }
dialog.lb p { margin: 12px 0 0; text-align: center; font: 600 15px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.lb-x, .lb-p, .lb-n { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; cursor: pointer; border: 1.5px solid var(--line-2); background: var(--bar-bg); color: var(--ink); }
.lb-x { top: 4px; right: 4px; } .lb-p { left: 4px; top: 42%; } .lb-n { right: 4px; top: 42%; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 80; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; transform: translate(-50%, 140%); opacity: 0; transition: transform .3s var(--ease), opacity .3s; pointer-events: none; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* wider screens */
@media (min-width: 640px) {
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .rb-teen .offers { grid-template-columns: minmax(0, 1fr); }
  .bars, .code { gap: 3px; } .marks { gap: 3px; }
  .t-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .qcard { padding: 18px 22px 24px; }
  .t-top, .t-bot { padding-inline: 26px; } .perf { margin-inline: 28px; } .perf::before { left: -41px; } .perf::after { right: -41px; }
}
@media (min-width: 900px) {
  section { padding: 88px 0; }
  .hero { padding: 54px 0 60px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; }
  .h1 { font-size: min(150px, calc((min(1120px, 100vw - 32px) - 48px) * .512 / 3.7)); } /* fits the left column (1.05 of 2.05) */
  .trio { max-width: 520px; gap: 12px; }
  .hero .btn { width: auto; }
  .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .coach-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .shelf { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; overflow-x: visible; }
  .lb-p { left: -64px; } .lb-n { right: -64px; } .lb-x { top: -18px; right: -64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .price-val { visibility: visible; }
}

/* generated: retest marks under the 60-day bar */
.marks [data-d="1"] { grid-column: 1; }
.marks [data-d="21"] { grid-column: 21; }
.marks [data-d="41"] { grid-column: 41; }
.marks [data-d="60"] { grid-column: 60; }
