/* Page styles. Niche-agnostic: all color/type comes from tokens.css.
   Mobile-first, no sideways scroll, tap targets >= 44px, zero layout shift. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 7vw, 48px); }
h2 { font-size: clamp(24px, 5vw, 34px); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 52px 0; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0 0 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-body); font-size: 18px; font-weight: 700;
  border: 0; border-radius: var(--radius); cursor: pointer;
  text-align: center; width: 100%; max-width: 420px; white-space: nowrap;
  box-shadow: var(--shadow); transition: transform .06s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }

/* Sticky promo bar */
.promobar {
  position: sticky; top: 0; z-index: 40;
  background: var(--band); color: var(--band-ink);
  text-align: center; font-size: 14px; font-weight: 600;
  padding: 9px var(--gutter);
}
.promobar b { color: var(--accent); }

/* Hero */
.hero { padding-top: 40px; text-align: center; }
.hero-grid { max-width: 1060px; margin: 0 auto; }
.hero h1 .closer { color: var(--accent); display: block; }
.hero .sub { font-size: 19px; color: var(--ink); max-width: 38ch; margin: 0 auto 18px; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 18px; }
.starline { font-size: 14px; color: var(--muted); margin: 6px 0 22px; }
.hero-media { margin: 24px auto 0; max-width: 460px; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 860px) {
  .hero { text-align: left; padding-top: 56px; padding-bottom: 8px; }
  .hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
  .hero h1 { font-size: clamp(38px, 4.4vw, 56px); }
  .hero .sub { margin: 0 0 22px; max-width: 42ch; }
  .hero .eyebrow { margin-top: 0; }
  .hero .btn { width: auto; }
  .hero-media { margin: 0; max-width: none; aspect-ratio: 4/5; }
}
.hero-media .play { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; }
.hero-media .play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 22px; color: var(--ink); }

/* Spec badges */
.badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.badge { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }

/* Trust row */
.trust { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: center; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }

/* Reviews */
.review-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.review .stars { font-size: 16px; }
.review blockquote { margin: 8px 0 12px; font-size: 17px; }
.review cite { font-style: normal; font-weight: 600; font-size: 14px; }
.review cite small { color: var(--muted); font-weight: 400; }

/* Honest math */
.math { background: var(--band); color: var(--band-ink); }
.math h2 { color: var(--band-ink); }
.math .cols { display: grid; gap: 18px; grid-template-columns: 1fr; }
.math .col { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; }
.math .col h3 { color: var(--band-ink); font-size: 18px; }
.math .row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: 15px; }
.math .row:last-child { border-bottom: 0; font-weight: 700; color: var(--accent); }
.math .close { text-align: center; max-width: 44ch; margin: 18px auto 0; color: var(--band-ink); }

/* Look inside */
.peek { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.peek figure { margin: 0; }
.peek img { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); background:#fff; }
.peek figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Curiosity bullets */
.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; }
.bullets li .pg { color: var(--accent); font-weight: 700; white-space: nowrap; font-size: 14px; }
.statrow { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 22px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 30px; color: var(--accent); }
.stat small { color: var(--muted); font-size: 13px; }

/* How it works */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }

/* Offer cards */
.offer-grid { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
.tier { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--accent); border-width: 2.5px; box-shadow: var(--shadow); }
.tier .tier-badge { align-self: flex-start; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.tier h3 { font-size: 22px; margin-bottom: 4px; }
.tier .price { font-family: var(--font-head); font-size: 40px; color: var(--ink); line-height: 1; margin: 6px 0; }
.tier .was { color: var(--muted); text-decoration: line-through; font-size: 18px; margin-left: 8px; -webkit-text-decoration-color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 12px 0 18px; }
.tier ul li { padding: 6px 0 6px 24px; position: relative; font-size: 15px; }
.tier ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.tier .btn { margin-top: auto; }
.reassure { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Meet the persona */
.meet { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center; }
.meet img { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 300px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--ink); }

/* Lead magnet + ask-me forms */
.capture { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.capture.band { background: var(--band); color: var(--band-ink); }
.capture.band h2, .capture.band p { color: var(--band-ink); }
.form-row { display: flex; gap: 10px; flex-direction: column; max-width: 420px; margin: 14px auto 0; }
.form-row input, .form-row textarea { min-height: 50px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; font-family: var(--font-body); background: #fff; color: var(--ink); }
.form-row textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 13px; margin-top: 8px; }

/* Footer */
footer { background: var(--band); color: var(--band-ink); padding: 40px 0; font-size: 14px; }
footer a { color: var(--band-ink); text-decoration: underline; }
footer .foot-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }

/* Modal (video + popups) */
.modal { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; background: rgba(28, 20, 12, .62); padding: var(--gutter); }
.modal.open { display: grid; }
.modal .box { background: var(--paper); border-radius: var(--radius); max-width: 440px; width: 100%; padding: 28px; position: relative; text-align: center; }
.modal .box.video { max-width: 760px; padding: 0; background: #000; }
.modal .box.video video, .modal .box.video iframe { width: 100%; aspect-ratio: 16/9; display: block; border: 0; border-radius: var(--radius); }
.modal .x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); z-index: 2; }

/* Social-proof toast (OFF by default; warm archetype does not use it) */
.toast { position: fixed; left: 16px; bottom: 16px; z-index: 50; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 14px; max-width: 290px; display: none; }
.toast.show { display: block; }

/* Desktop */
@media (min-width: 760px) {
  body { font-size: 19px; }
  .review-cards { grid-template-columns: 1fr 1fr; }
  .math .cols { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .meet { grid-template-columns: 300px 1fr; }
  .peek { grid-template-columns: repeat(4, 1fr); }
  .form-row { flex-direction: row; }
  .form-row .btn { width: auto; }
}
