/* 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: 44px 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: 58px; padding: 17px 28px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-body); font-size: 21px; font-weight: 700;
  border: 0; border-radius: var(--radius); cursor: pointer;
  text-align: center; width: 100%; max-width: 460px; 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: 12px; grid-template-columns: 1fr 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 span:last-child { white-space: nowrap; }
/* side-by-side on phones too, tightened to fit */
@media (max-width: 560px) {
  .math .cols { gap: 9px; }
  .math .col { padding: 12px 11px; }
  .math .col h3 { font-size: 14px; }
  .math .row { font-size: 12px; gap: 6px; padding: 6px 0; }
}
.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: flex; gap: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 4px 2px 16px; }
.peek figure { margin: 0; flex: 0 0 auto; width: 300px; scroll-snap-align: center; }
.peek img { width:100%; display:block; 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; }
.scrollhint { text-align: center; font-size: 14px; color: var(--muted); margin-top: 2px; }
/* match OMW mobile: full 86vw pages, no cap, only at phone widths */
@media (max-width: 640px) {
  .peek figure { width: 86vw; }
  section { padding: 24px 0; }                   /* tighter vertical rhythm on phones */
  .meet { gap: 12px; }
}

/* Sticky mobile buy bar (mirrors OMW): appears after hero scrolls away, mobile only */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  align-items: center; gap: 12px; background: var(--band); color: var(--band-ink);
  padding: 10px 14px; box-shadow: 0 -6px 20px rgba(0,0,0,.35); }
.sticky.on { display: flex; }
.sticky .sl { flex: 1; min-width: 0; line-height: 1.25; }
.sticky .sl b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky .sl span { font-size: 13px; opacity: .85; }
.sticky a { flex: none; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 13px 18px; border-radius: 9px; }
@media (min-width: 769px) { .sticky.on { display: none; } }
@media (max-width: 768px) { body { padding-bottom: 72px; } }

/* 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; height: auto; }
/* placed AFTER the base rule so it wins on phones: full-width Hazel photo */
@media (max-width: 640px) { .meet img { max-width: 100%; width: 100%; } }

/* 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; }

/* Bertha-style single-product offer */
.product { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; display:grid; grid-template-columns:1fr; gap:22px; box-shadow:var(--shadow); align-items:start; }
.product-cover { text-align:center; }
.product-cover img { display:block; margin-left:auto; margin-right:auto; width:70%; max-width:260px; border-radius:4px; box-shadow:0 18px 44px rgba(58,42,28,.26); }
.product-info .pre { font-family:var(--font-head); font-style:italic; color:var(--muted); font-size:16px; }
.product-info h3 { font-family:var(--font-head); font-size:30px; margin:4px 0 4px; line-height:1.1; }
.product-info .prodstars { display:flex; align-items:center; gap:8px; margin:4px 0 6px; font-size:14px; color:var(--muted); }
.product-info .prodstars .stars { font-size:17px; }
.product-info .credit { color:var(--muted); font-size:14px; margin:0 0 6px; }
.checklist { list-style:none; padding:0; margin:14px 0; }
.checklist li { padding:6px 0 6px 28px; position:relative; font-size:15px; line-height:1.45; }
.checklist li::before { content:"\2713"; position:absolute; left:0; color:#2E7D4F; font-weight:800; }
.price-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:16px 0 14px; }
.price-row .now { font-family:var(--font-head); font-weight:900; font-size:42px; color:var(--accent); line-height:1; }
.price-row .was { color:var(--muted); text-decoration:line-through; font-size:20px; }
.price-row .savebadge { background:var(--band); color:#fff; font-size:12px; font-weight:800; letter-spacing:.05em; padding:7px 13px; border-radius:999px; }
.secure { text-align:center; color:var(--muted); font-size:13px; margin-top:10px; }
.crosssell { border-top:1px dashed var(--line); margin-top:24px; padding-top:24px; display:grid; grid-template-columns:1fr; gap:18px; align-items:start; }
.xs-covers { display:flex; gap:10px; justify-content:center; }
.xs-covers img { width:96px; border-radius:3px; box-shadow:0 6px 18px rgba(58,42,28,.22); }
.xs-text .lbl { font-weight:800; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin:0 0 4px; }
.xs-box { background:var(--band); color:var(--band-ink); border-radius:var(--radius); padding:18px; text-align:center; }
.xs-box .big { font-family:var(--font-head); font-weight:700; font-size:18px; line-height:1.3; }
.xs-box .big .was { text-decoration:line-through; opacity:.7; font-size:14px; }
.xs-box .btn { width:100%; max-width:none; }
.xs-note { text-align:center; font-size:13px; color:var(--muted); margin-top:10px; }
.xs-lib { display:block; text-align:center; margin-top:12px; border:1.5px solid var(--line); border-radius:var(--radius); padding:12px; font-weight:600; font-size:14px; color:var(--ink); }
.xs-lib b { color:var(--accent); }

/* Desktop */
@media (min-width: 760px) {
  body { font-size: 19px; }
  .review-cards { grid-template-columns: 1fr 1fr; }
  .math .cols { grid-template-columns: 1fr 1fr; }
  .meet { grid-template-columns: 300px 1fr; }
  .peek figure { width: 300px; }
  .peek figcaption { font-size: 15px; }
  .form-row { flex-direction: row; }
  .form-row .btn { width: auto; }
}
@media (min-width: 820px) {
  .product { grid-template-columns: 290px 1fr; gap:40px; padding:36px; }
  .product-cover img { width:100%; max-width:280px; }
  .product-info .btn { width:100%; max-width:none; }
  .crosssell { grid-template-columns: 200px 1fr 330px; gap:28px; }
  .xs-covers { justify-content:flex-start; }
}

/* VSL video block (above reviews) */
.vsl-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.vsl-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
