/* Calm Weighs Nothing — sales page
   Palette sampled from the book itself: cover green, trail gold, page cream. */

:root {
  --ink: #17302a;          /* cover green, darkest */
  --green: #2e5e50;        /* chapter headings, table headers */
  --green-soft: #e4ece7;
  --gold: #d4a018;         /* cover rule + badge */
  --gold-ink: #8a6508;     /* gold that passes text contrast */
  --cream: #faf6ec;
  --paper: #fffdf7;
  --line: #e6dfcc;
  --text: #22302b;
  --muted: #5d6a63;

  /* verdict series — validated (dataviz validator, light, surface #FAF6EC) */
  --poison: #c4461e;
  --poison-bg: #fbe7dc;
  --half: #b98a0c;
  --half-bg: #fcf2d9;
  --rx: #1f8a5c;
  --rx-bg: #e2f1e8;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(23, 48, 42, .06), 0 8px 24px rgba(23, 48, 42, .08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 14px;
}
.section-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-family: var(--sans); font-weight: 700; font-size: .8rem;
  margin-right: 10px; vertical-align: middle;
}
.rule { width: 72px; height: 4px; background: var(--gold); border: 0; margin: 18px 0 26px; }
.center .rule { margin-left: auto; margin-right: auto; }
.lede { font-size: 1.2rem; color: var(--muted); font-style: italic; }

section { padding: 96px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--ink); color: #e9efe9; }
section.dark h2, section.dark h3, section.dark strong { color: #fff; }
section.dark .chart-card h3, section.dark .chart-card strong { color: var(--ink); }
section.dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem;
  text-decoration: none;
  background: var(--gold); color: var(--ink);
  padding: 18px 30px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 2px 0 #a97f10, 0 10px 24px rgba(212, 160, 24, .35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #e0ad22; box-shadow: 0 4px 0 #a97f10, 0 16px 30px rgba(212, 160, 24, .4); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn .price-pill { background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .9rem; }
.btn-lg { font-size: 1.2rem; padding: 22px 38px; }
.btn-ghost {
  background: transparent; color: var(--green); box-shadow: none;
  border: 2px solid var(--green); padding: 14px 24px;
}
.btn-ghost:hover { background: var(--green); color: #fff; box-shadow: none; }
.cta-note { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-top: 14px; }
.cta-note span { white-space: nowrap; }
section.dark .cta-note { color: #b9c7bf; }
.cta-row { margin-top: 34px; }

/* ---------- Promo bar ---------- */
.promo {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: #fff;
  font-family: var(--sans); font-size: .88rem;
}
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.promo b { color: var(--gold); }
.timer { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .04em; }
.promo a { color: var(--ink); background: var(--gold); padding: 6px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; background:
  radial-gradient(1200px 500px at 85% 0%, rgba(212,160,24,.12), transparent 60%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero .sub { font-size: 1.22rem; color: var(--muted); max-width: 560px; }
.book {
  position: relative; transform: perspective(1400px) rotateY(-14deg) rotateX(2deg);
  border-radius: 4px 10px 10px 4px; overflow: hidden;
  box-shadow: -18px 24px 40px rgba(23,48,42,.28), -2px 2px 0 #d9d1ba, -4px 4px 0 #cfc6ab, -6px 6px 0 #c4ba9d;
  transition: transform .5s ease;
}
.book::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12), transparent); z-index: 1; }
.book:hover { transform: perspective(1400px) rotateY(-6deg) rotateX(1deg); }
.book-wrap { position: relative; max-width: 400px; margin: 0 auto; }
.seal {
  position: absolute; right: -18px; bottom: 60px; z-index: 2;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--ink); color: #fff; border: 3px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--sans); text-align: center; line-height: 1.1; transform: rotate(8deg);
  box-shadow: var(--shadow);
}
.seal b { font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.seal small { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 2.1rem; color: var(--green); font-family: var(--serif); line-height: 1.1; }
.stat span { font-family: var(--sans); font-size: .78rem; color: var(--muted); }

/* ---------- Story ---------- */
.story .narrow p { font-size: 1.12rem; }
.dropcap::first-letter { float: left; font-size: 4.2rem; line-height: .9; padding: 6px 10px 0 0; color: var(--green); font-weight: 700; }
.pull {
  font-size: 1.6rem; line-height: 1.35; color: var(--ink); font-style: italic;
  border-left: 4px solid var(--gold); padding: 6px 0 6px 24px; margin: 36px 0;
}
.pull cite { display: block; font-style: normal; font-family: var(--sans); font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* ---------- Verdict boxes (mirrors the book) ---------- */
.verdict { border-left: 5px solid; border-radius: 4px; padding: 18px 22px; margin: 0 0 16px; }
.verdict .tag { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.verdict h4 { margin: 4px 0 6px; font-size: 1.15rem; }
.verdict p { margin: 0; font-size: .98rem; }
.verdict.poison { background: var(--poison-bg); border-color: var(--poison); }
.verdict.poison .tag { color: var(--poison); }
.verdict.half { background: var(--half-bg); border-color: var(--half); }
.verdict.half .tag { color: var(--gold-ink); }
.verdict.rx { background: var(--rx-bg); border-color: var(--rx); }
.verdict.rx .tag { color: var(--rx); }

/* ---------- Charts ---------- */
.chart-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative;
}
.chart-card h3 { margin-bottom: 4px; }
.chart-card .chart-sub { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.chart-src { font-family: var(--sans); font-size: .74rem; color: var(--muted); margin-top: 16px; }
.chart-toggle {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--sans); font-size: .75rem; font-weight: 600; color: var(--green);
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer;
}
.chart-toggle:hover { border-color: var(--green); }
.chart-table { display: none; }
.chart-card.show-table .chart-body { display: none; }
.chart-card.show-table .chart-table { display: block; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }

/* stacked verdict bar */
.stack { display: flex; height: 64px; gap: 2px; border-radius: 6px; overflow: hidden; }
.stack .seg { height: 100%; position: relative; cursor: default; transition: filter .15s; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--sans); font-weight: 700; font-size: 1.1rem; }
.stack .seg:hover { filter: brightness(1.08); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-family: var(--sans); font-size: .85rem; color: var(--text); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }

/* horizontal bars */
.hbars { display: grid; gap: 12px; }
.hbar { display: grid; grid-template-columns: 170px 1fr 52px; gap: 14px; align-items: center; font-family: var(--sans); font-size: .86rem; }
.hbar .lbl { color: var(--text); }
.hbar .track { display: block; height: 22px; position: relative; }
.hbar .fill { display: block; height: 100%; background: var(--green); border-radius: 0 4px 4px 0; width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.hbar .fill.hl { background: var(--gold); }
.hbar .val { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.hbar:hover .fill { filter: brightness(1.1); }

/* donut */
.donut-wrap { position: relative; width: 260px; height: 260px; margin: 0 auto; }
.donut-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-wrap circle { fill: none; stroke-width: 34; transition: stroke-dasharray 1.2s ease; cursor: default; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.donut-center b { font-size: 3rem; color: var(--ink); line-height: 1; }
.donut-center span { font-family: var(--sans); font-size: .8rem; color: var(--muted); }

/* timeline line chart */
.linechart svg { width: 100%; height: auto; overflow: visible; }
.linechart .grid line { stroke: var(--line); stroke-width: 1; }
.linechart .axis text { font-family: var(--sans); font-size: 12px; fill: var(--muted); }

/* tooltip */
.tip {
  position: fixed; z-index: 100; pointer-events: none; opacity: 0;
  background: var(--ink); color: #fff; font-family: var(--sans); font-size: .8rem;
  padding: 8px 12px; border-radius: 6px; max-width: 260px; line-height: 1.4;
  transform: translate(-50%, calc(-100% - 12px)); transition: opacity .12s;
}
.tip.on { opacity: 1; }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .9rem; }
th { background: var(--green); color: #fff; text-align: left; font-weight: 600; padding: 14px 16px; font-size: .82rem; letter-spacing: .02em; }
td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) td { background: #fbf8ef; }
td.tip-cell { font-weight: 600; color: var(--ink); }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill.poison { background: var(--poison-bg); color: var(--poison); }
.pill.half { background: var(--half-bg); color: var(--gold-ink); }
.pill.rx { background: var(--rx-bg); color: var(--rx); }
.yes { color: var(--rx); font-weight: 700; }
.no { color: var(--poison); font-weight: 700; }
.compare th:nth-child(2), .compare td:nth-child(2) { background: #f2f7f3; }
.compare th:nth-child(2) { background: var(--ink); }
.compare td { text-align: center; }
.compare td:first-child { text-align: left; font-weight: 500; }

.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; font-family: var(--sans); }
.filter-row button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px;
  font: inherit; font-size: .82rem; font-weight: 500; cursor: pointer; color: var(--text);
}
.filter-row button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Author ---------- */
.author-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 20%; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.creds span { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--green-soft); color: var(--green); padding: 6px 12px; border-radius: 999px; }
.timeline { list-style: none; padding: 0; margin: 28px 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 26px; font-size: .98rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--cream); }
.timeline b { font-family: var(--sans); color: var(--green); margin-right: 8px; }

/* ---------- Inside / parts ---------- */
.parts { display: grid; gap: 14px; }
.part { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.part summary { list-style: none; cursor: pointer; padding: 20px 24px; display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; }
.part summary::-webkit-details-marker { display: none; }
.part .pn { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--gold-ink); text-transform: uppercase; }
.part .pt { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.part .ps { font-family: var(--sans); font-size: .82rem; color: var(--muted); display: block; font-weight: 400; }
.part .chev { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s; font-family: var(--sans); color: var(--green); }
.part[open] .chev { transform: rotate(45deg); }
.part .body { padding: 0 24px 22px 96px; }
.part ul { margin: 0; padding: 0; list-style: none; }
.part li { padding: 8px 0; border-top: 1px dashed var(--line); font-size: 1rem; }
.part li b { font-family: var(--sans); font-size: .78rem; color: var(--gold-ink); margin-right: 8px; }

/* ---------- Look inside ---------- */
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.page-thumb { background: #fff; border-radius: 4px; box-shadow: var(--shadow); overflow: hidden; cursor: zoom-in; transition: transform .2s; border: 1px solid var(--line); padding: 0; }
.page-thumb:hover { transform: translateY(-4px) rotate(-.4deg); }
.page-thumb figcaption { font-family: var(--sans); font-size: .78rem; color: var(--muted); padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; }
.lightbox { position: fixed; inset: 0; background: rgba(15,30,26,.88); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.on { display: flex; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ---------- Feature boxes ---------- */
.boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.box .ico { font-size: 1.4rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--green-soft); color: var(--green); margin-bottom: 12px; font-family: var(--sans); font-weight: 700; }
.box h3 { font-size: 1.12rem; margin-bottom: 6px; }
.box p { font-size: .98rem; color: var(--muted); margin: 0; }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { padding: 10px 0 10px 34px; position: relative; border-top: 1px solid var(--line); }
.fit li::before { position: absolute; left: 0; top: 10px; font-family: var(--sans); font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; }
.fit .for li::before { content: "✓"; background: var(--rx-bg); color: var(--rx); }
.fit .notfor li::before { content: "✕"; background: var(--poison-bg); color: var(--poison); }

/* ---------- Offer ---------- */
.offer { background: var(--paper); border: 2px solid var(--gold); border-radius: 16px; box-shadow: 0 20px 60px rgba(23,48,42,.15); overflow: hidden; max-width: 820px; margin: 0 auto; }
.offer-head { background: var(--ink); color: #fff; padding: 22px 32px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--sans); }
.offer-head b { color: var(--gold); }
.offer-body { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding: 36px 32px; align-items: start; }
.stack-list { list-style: none; padding: 0; margin: 0 0 20px; font-family: var(--sans); font-size: .92rem; }
.stack-list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.stack-list li span:first-child::before { content: "✓"; color: var(--rx); font-weight: 700; margin-right: 10px; }
.stack-list .v { color: var(--muted); white-space: nowrap; }
.stack-list .total { font-weight: 700; border-bottom: 0; color: var(--ink); }
.stack-list .total span:first-child::before { content: ""; margin: 0; }
.stack-list .total .v { text-decoration: line-through; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 14px; margin: 6px 0 4px; }
.price b { font-size: 3.6rem; color: var(--ink); line-height: 1; }
.price s { font-family: var(--sans); color: var(--muted); font-size: 1.3rem; }
.price em { font-family: var(--sans); font-style: normal; font-size: .8rem; font-weight: 700; background: var(--poison-bg); color: var(--poison); padding: 4px 10px; border-radius: 999px; }
.secure { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-top: 14px; display: flex; gap: 14px; flex-wrap: wrap; }

.guarantee { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; max-width: 820px; margin: 48px auto 0; background: var(--green-soft); border-radius: var(--radius); padding: 28px; }
.badge-g { width: 120px; height: 120px; border-radius: 50%; background: var(--green); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--sans); text-align: center; border: 4px dashed rgba(255,255,255,.4); outline: 4px solid var(--green); }
.badge-g b { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: #fff; }
.badge-g span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.guarantee h3 { margin-bottom: 6px; }
.guarantee p { margin: 0; font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; color: var(--ink); position: relative; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--sans); font-size: 1.4rem; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* ---------- Final + footer ---------- */
.final { text-align: center; background: var(--ink) url("img/dust-portrait.jpg") center 30% / cover; position: relative; }
.final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,48,42,.92), rgba(23,48,42,.82)); }
.final .wrap { position: relative; }
footer { background: #10231e; color: #9fb0a8; font-family: var(--sans); font-size: .8rem; padding: 40px 0 110px; }
footer a { color: #cfe0d6; }
footer .fine { max-width: 820px; line-height: 1.6; }

/* ---------- Sticky mobile CTA + exit modal ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--line); padding: 12px 16px; display: none; box-shadow: 0 -8px 24px rgba(23,48,42,.12); transform: translateY(110%); transition: transform .25s; }
.mobile-cta.on { transform: translateY(0); }
.mobile-cta .btn { width: 100%; justify-content: center; padding: 16px; }

.modal { position: fixed; inset: 0; z-index: 300; background: rgba(15,30,26,.7); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.on { display: flex; }
.modal-card { background: var(--cream); border-radius: 16px; max-width: 520px; width: 100%; padding: 40px 36px 32px; text-align: center; position: relative; border-top: 6px solid var(--gold); }
.modal-card .x { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 1.6rem; color: var(--muted); cursor: pointer; }
.modal-card .alt-link { display: block; margin-top: 14px; font-family: var(--sans); font-size: .85rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hbar .fill, .donut-wrap circle { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .two-col, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid .book-wrap { max-width: 300px; order: -1; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .pages { grid-template-columns: repeat(2, 1fr); }
  .offer-body { grid-template-columns: 1fr; }
  .offer-body .book-wrap { max-width: 200px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  section { padding: 68px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0 !important; border-top: 1px solid var(--line); }
  .boxes, .fit { grid-template-columns: 1fr; }
  .hbar { grid-template-columns: 110px 1fr 40px; font-size: .78rem; }
  .part .body { padding-left: 24px; }
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .mobile-cta { display: block; }
  .promo .cta-mini { display: none; }
  .seal { right: -6px; width: 96px; height: 96px; }
  .seal b { font-size: 1.6rem; }
}

/* five-minute routine breakdown */
.stack .seg { white-space: nowrap; font-size: .92rem; }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; font-family: var(--sans); font-size: .8rem; color: var(--muted); line-height: 1.45; }
.steps4 b { display: block; color: var(--ink); font-size: .85rem; margin-bottom: 2px; }
@media (max-width: 680px) { .steps4 { grid-template-columns: 1fr 1fr; } .stack .seg { font-size: .78rem; } }

/* water-treatment matrix: text carries the value, color only reinforces it */
.matrix td, .matrix th { text-align: center; padding: 10px 8px; font-size: .8rem; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix td:first-child { font-weight: 600; color: var(--ink); }
.matrix td.y { color: var(--rx); font-weight: 600; }
.matrix td.n { color: var(--poison); font-weight: 600; background: #fdf1eb !important; }
.matrix td.m { color: var(--gold-ink); }

/* let grid columns shrink below their tables' min-content; tables scroll inside .tbl-wrap */
.two-col > *, .split > *, .hero-grid > *, .offer-body > *, .fit > * { min-width: 0; }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.tiles3 .stat { padding: 16px 6px; }
@media (max-width: 680px) { .tiles3 .stat b { font-size: 1.5rem; } .chart-card { padding: 22px 18px; } }
.btn { max-width: 100%; flex-wrap: wrap; justify-content: center; text-align: center; }
@media (max-width: 400px) { .btn-lg { font-size: 1.02rem; padding: 18px 22px; } }

.author-grid { grid-template-columns: .9fr 1.1fr; }

@media (max-width: 680px) {
  .author-grid { grid-template-columns: 1fr; }
  .author-photo { aspect-ratio: 4/3; }
  .chart-toggle { position: static; float: right; margin: 0 0 8px 12px; }
  .part summary { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 18px; }
  .part .pn { grid-column: 1 / -1; }
  .part .chev { grid-row: 2; grid-column: 2; }

  /* tables that become cards on small screens */
  table.stack-sm thead { display: none; }
  table.stack-sm, table.stack-sm tbody, table.stack-sm tr, table.stack-sm td { display: block; width: 100% !important; }
  table.stack-sm tr { padding: 14px 16px; border-top: 1px solid var(--line); }
  table.stack-sm tr:first-child { border-top: 0; }
  table.stack-sm td { border: 0; padding: 2px 0; background: transparent !important; }
  table.stack-sm td.tip-cell { font-size: 1rem; margin-bottom: 4px; }
  table.stack-sm td[data-l]::before { content: attr(data-l) ": "; font-weight: 600; color: var(--ink); }
  table.stack-sm tbody tr:nth-child(even) { background: #fbf8ef; }
  table.ladder td:first-child { font-weight: 600; color: var(--ink); }
  table.ladder td:nth-child(2) { color: var(--muted); font-size: .85rem; }
}
@media (min-width: 961px) { .sticky-card { position: sticky; top: 80px; } }

/* exit-intent popup with the book */
.exit-card { max-width: 760px; display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; text-align: left; padding: 44px 40px 34px; animation: pop .25s ease; }
.exit-book .book { transform: perspective(1200px) rotateY(-12deg); }
.exit-copy h3 { font-size: 2rem; margin-bottom: 10px; }
.exit-copy > p { font-size: 1rem; color: var(--muted); }
.exit-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 6px 0 18px; font-family: var(--sans); }
.exit-price b { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); line-height: 1; }
.exit-price s { color: var(--muted); font-size: 1.1rem; }
.exit-price > span { font-size: .8rem; color: var(--poison); font-weight: 600; }
.exit-copy .btn { width: 100%; }
.exit-card .alt-link { background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 680px) {
  .exit-card { grid-template-columns: 1fr; gap: 20px; padding: 32px 22px 24px; text-align: center; }
  .exit-book { max-width: 140px; margin: 0 auto; }
  .exit-price { justify-content: center; }
}
.exit-copy > p.cta-note { font-size: .8rem; margin-top: 10px; }
