:root {
  --bg: #f6f3ee;
  --card: #ffffff;
  --ink: #1c1917;
  --muted: #6b6560;
  --line: #e7e2da;
  --brand: #0f766e;
  --brand-ink: #ffffff;
  --brand-soft: #ccfbf1;
  --gold: #f59e0b;
  --gold-soft: #fef3c7;
  --bad: #b91c1c;
  --wa: #25d366;
  --mp: #009ee3;
  --shadow: 0 1px 2px rgba(28,25,23,.06), 0 8px 28px rgba(28,25,23,.08);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110f; --card: #1c1a17; --ink: #f5f5f4; --muted: #a8a29e; --line: #2e2b27;
    --brand: #2dd4bf; --brand-ink: #042f2e; --brand-soft: #134e4a;
    --gold-soft: #422006; --bad: #f87171; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 26px; border: 0; border-radius: 16px; font: inherit; font-weight: 800; font-size: 18px; text-decoration: none; cursor: pointer; transition: transform .1s; width: 100%; text-align: center; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 26px rgba(15,118,110,.32); }
.btn-buy { background: var(--gold); color: #451a03; box-shadow: 0 10px 26px rgba(245,158,11,.35); }
.btn-wa { background: var(--wa); color: #06351b; }
.btn-line { background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.btn svg { width: 22px; height: 22px; flex: none; }
.micro { font-size: 14px; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top a.small { font-size: 15px; font-weight: 700; color: var(--brand); text-decoration: none; }

/* Hero */
.hero { padding: 16px 0 48px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { font-size: clamp(34px, 9vw, 56px); margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--brand); }

/* Opt-in form */
.optin { background: var(--card); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); border: 2px solid var(--brand); scroll-margin-top: 16px; }
.optin-head { font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.optin label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.optin .opt { font-weight: 400; color: var(--muted); }
.optin input { display: block; width: 100%; height: 52px; margin-top: 6px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 17px; outline: 0; }
.optin input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.err { color: var(--bad); font-size: 14px; font-weight: 600; margin: 0 0 10px; min-height: 0; }
.err:empty { display: none; }
.fine { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* Planner mock */
.sheet-mock { background: #fff; color: #1c1917; border-radius: 14px; padding: 12px; font-size: 13px; transform: rotate(-2deg); box-shadow: 0 20px 40px rgba(0,0,0,.18); max-width: 320px; margin: 0 auto; }
.sheet-mock .hd { background: #0f766e; color: #fff; border-radius: 8px; padding: 8px; font-weight: 800; margin-bottom: 6px; }
.sheet-mock table { width: 100%; border-collapse: collapse; }
.sheet-mock td { border-bottom: 1px solid #ece7df; padding: 6px 4px; }
.sheet-mock td:last-child { text-align: right; font-weight: 700; }
.sheet-mock tr.t td { border: 0; color: #0f766e; font-weight: 800; font-size: 14px; }

/* Phone mock */
.phone { width: min(290px, 80vw); margin: 0 auto; border-radius: 44px; background: #1c1917; padding: 12px; box-shadow: 0 30px 60px rgba(28,25,23,.25); transform: rotate(2deg); }
.screen { border-radius: 34px; background: #f6f3ee; color: #1c1917; padding: 34px 14px 16px; overflow: hidden; font-size: 13px; }
.screen .ph-top { color: #78716c; font-size: 11px; font-weight: 600; }
.screen .ph-top b { display: block; color: #1c1917; font-size: 15px; }
.ph-card { background: #fff; border-radius: 16px; padding: 14px; margin-top: 10px; }
.ph-card small { color: #78716c; font-size: 11px; }
.ph-big { font-size: 32px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin: 2px 0 10px; }
.ph-bar { height: 8px; background: #ece7df; border-radius: 9px; overflow: hidden; }
.ph-bar i { display: block; height: 100%; width: 31%; background: #0f766e; border-radius: 9px; }
.ph-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.ph-stats div { background: #f6f3ee; border-radius: 10px; padding: 8px; font-size: 10px; color: #78716c; }
.ph-stats b { display: block; font-size: 16px; color: #1c1917; }
.ph-tip { background: #ccfbf1; border-radius: 10px; padding: 8px; margin-top: 8px; font-size: 11px; }
.ph-item { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 8px 10px; margin-top: 6px; }
.ph-item b { margin-left: auto; }
.ph-fab { margin-top: 10px; background: #0f766e; color: #fff; border-radius: 12px; text-align: center; font-weight: 800; padding: 10px; }

/* Stats / problem / steps */
.stats { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--card); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 40px; font-weight: 900; color: var(--brand); letter-spacing: -1px; }
.stat p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
.source { font-size: 12px; color: var(--muted); margin-top: 12px; }
.problem { background: var(--card); }
.pains { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 720px) { .pains { grid-template-columns: repeat(3, 1fr); } }
.pain { border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.pain .emo { font-size: 30px; }
.pain h3 { font-size: 19px; margin: 8px 0 6px; }
.pain p { margin: 0; color: var(--muted); font-size: 16px; }
.steps { display: grid; gap: 14px; counter-reset: s; margin-top: 26px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font-weight: 900; font-size: 20px; display: grid; place-items: center; margin-bottom: 12px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { max-width: 720px; margin: 24px auto 0; }
details { background: var(--card); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow); scroll-margin-top: 16px; }
summary { cursor: pointer; list-style: none; padding: 18px 50px 18px 18px; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--brand); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

.final { text-align: center; }
.final .btns { display: grid; gap: 12px; max-width: 420px; margin: 0 auto; }
footer { padding: 28px 0 calc(var(--safe-b) + 100px); text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
footer p { margin: 4px 0; }

/* Sticky CTA (mobile) */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(var(--safe-b) + 10px); background: var(--bg); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
.sticky.show { transform: none; }
.sticky .btn { min-height: 52px; font-size: 17px; }
@media (min-width: 860px) { .sticky { display: none; } footer { padding-bottom: 28px; } .btn { width: auto; } .final .btn { width: 100%; } }

/* ---------- Thank-you / upsell page ---------- */
.done { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); text-align: center; margin-top: 8px; }
.done .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 30px; font-weight: 900; margin: 0 auto 10px; }
.done h1 { font-size: clamp(26px, 6vw, 34px); margin-bottom: 6px; }
.done p { color: var(--muted); margin: 0 0 16px; }
.wait { text-align: center; padding: 34px 0 6px; }
.wait .pill { display: inline-block; background: var(--gold); color: #451a03; font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 99px; letter-spacing: .04em; }
.wait h2 { margin: 14px 0 8px; }
.offer-grid { display: grid; gap: 32px; align-items: center; margin-top: 18px; }
.offer-grid > :first-child { order: 2; }
@media (min-width: 860px) { .offer-grid { grid-template-columns: .9fr 1.1fr; } .offer-grid > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 900; font-size: 14px; display: grid; place-items: center; margin-top: 2px; }
.price-box { background: var(--card); border: 2px solid var(--gold); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.price b { font-size: 46px; font-weight: 900; letter-spacing: -1.5px; }
.price span { color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.pay-chips span { font-size: 12px; font-weight: 600; background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; }
.how { display: grid; gap: 10px; margin-top: 20px; counter-reset: h; }
.how div { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.how div::before { counter-increment: h; content: counter(h); flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: grid; place-items: center; }
.how b { color: var(--ink); }
.skip { display: block; text-align: center; color: var(--muted); font-size: 14px; margin: 18px auto 0; padding: 8px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .phone, .sheet-mock { transform: none; } }

/* Floating WhatsApp button (sits above the mobile sticky CTA) */
.wa-float { position: fixed; right: 16px; bottom: calc(var(--safe-b) + 16px); z-index: 30; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 18px 0 14px; border-radius: 999px; background: #25d366; color: #06351b; font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.22); transition: transform .15s; }
.wa-float:active { transform: scale(.96); }
.wa-float svg { width: 28px; height: 28px; flex: none; }
@media (min-width: 860px) { .wa-float, body.has-sticky .wa-float { bottom: 24px; right: 24px; } }
@media (max-width: 380px) { .wa-float span { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; } }

/* When the mobile sticky CTA is showing, lift the WhatsApp button and bubble above it */
body.has-sticky .wa-float { bottom: calc(var(--safe-b) + 90px); }
body.has-sticky .wa-bubble { bottom: calc(var(--safe-b) + 156px); }
.wa-float, .wa-bubble { transition: bottom .25s ease, opacity .3s, transform .3s; }

/* Help bubble next to the WhatsApp button */
.wa-bubble { position: fixed; right: 16px; bottom: calc(var(--safe-b) + 82px); z-index: 30; max-width: 240px; background: var(--card); color: var(--ink); border-radius: 16px 16px 4px 16px; padding: 12px 34px 12px 14px; font-size: 15px; line-height: 1.35; box-shadow: 0 10px 28px rgba(0,0,0,.18); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s, transform .3s; cursor: pointer; }
.wa-bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble b { display: block; }
.wa-bubble .x { position: absolute; top: 4px; right: 6px; width: 28px; height: 28px; border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; }
@media (min-width: 860px) { .wa-bubble, body.has-sticky .wa-bubble { right: 24px; bottom: 92px; } }

/* Offer-first thank-you page + planner delivery page */
.got { display: inline-block; color: var(--brand); font-weight: 800; font-size: 15px; margin: 0 0 14px; }
.hint { display: inline-block; margin: 16px auto 0; padding: 8px 14px; border-radius: 99px; background: var(--card); color: var(--muted); font-size: 14px; }
.free-exit { max-width: 420px; margin: 34px auto 10px; text-align: center; }
.btn-small { min-height: 46px; font-size: 15px; font-weight: 700; padding: 0 18px; color: var(--muted); }
.steps-wa { list-style: none; padding: 0; margin: 18px 0 0; text-align: left; display: grid; gap: 10px; }
.steps-wa li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.steps-wa b.n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 14px; }
.alt-email { margin-top: 22px; background: none; box-shadow: none; border-radius: 0; }
.alt-email summary { padding: 6px; font-weight: 600; cursor: pointer; color: var(--muted); font-size: 14px; text-decoration: underline; list-style: none; text-align: center; }
.alt-email summary::-webkit-details-marker { display: none; }
.alt-email form { margin-top: 12px; display: grid; gap: 10px; }
.alt-email input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.alt-email .msg { font-size: 14px; color: var(--muted); text-align: center; margin: 4px 0 0; }
.alt-email summary::after { content: none; }
.alt-email .msg { padding: 0; }
.have-planner { display: block; text-align: center; margin: 4px auto 0; padding: 9px 14px; border-radius: 12px; background: var(--gold-soft); color: #451a03; font-size: 14px; text-decoration: none; }

/* Offer page: benefits one by one, with app previews */
.sec-title { text-align: center; font-size: clamp(24px, 5.5vw, 32px); margin: 0 0 22px; }
.feats { padding-top: 46px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; margin-bottom: 34px; }
.feat.rev .feat-text { order: 2; }
.feat-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .05em; color: var(--brand); background: var(--brand-soft); padding: 5px 10px; border-radius: 99px; }
.feat h3 { font-size: 22px; margin: 10px 0 6px; line-height: 1.2; }
.feat p { color: var(--muted); margin: 0; }
.feat p b { color: var(--ink); }
.mock { background: var(--card); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); font-size: 14px; }
.m-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.m-lbl { font-size: 13px; color: var(--muted); }
.m-lbl.r { text-align: right; }
.m-big { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.5px; }
.m-date { font-size: 18px; }
.m-bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 10px 0 4px; }
.m-bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.m-bar.violet i { background: #7c3aed; }
.m-bar.gold i { background: var(--gold); }
.m-first { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--bg); font-size: 20px; }
.m-first small { display: block; font-size: 12px; color: var(--muted); }
.m-first b { display: block; font-size: 15px; }
.m-slider { position: relative; height: 8px; border-radius: 99px; background: var(--line); margin: 14px 0; }
.m-slider i { position: absolute; left: 0; top: 0; bottom: 0; width: 18%; background: var(--brand); border-radius: 99px; }
.m-slider i::after { content: ""; position: absolute; right: -10px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.m-note { margin: 0; line-height: 1.5; }
.m-note .win { color: var(--brand); }
.m-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.m-stats div { background: var(--bg); border-radius: 12px; padding: 10px; font-size: 12px; color: var(--muted); }
.m-stats b { display: block; font-size: 18px; color: var(--ink); }
.m-ok { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); }
.m-save { display: flex; justify-content: space-between; align-items: center; background: var(--bg); border-radius: 14px; padding: 12px; }
.m-save small { display: block; font-size: 12px; color: var(--muted); }
.m-save b { font-size: 20px; }
.m-save em { font-style: normal; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 8px 12px; border-radius: 10px; }
.m-tip { background: var(--gold-soft); border-radius: 14px; padding: 12px; }
.m-tip p { margin: 6px 0 0; color: var(--ink); }
.m-alert { margin-top: 10px; background: #fee2e2; color: #7f1d1d; border-radius: 12px; padding: 10px 12px; }
.vs-wrap { padding-top: 20px; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vs-col { border-radius: 20px; padding: 18px; }
.vs-col h3 { margin: 0 0 10px; font-size: 18px; }
.vs-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.vs-col.bad { background: var(--card); border: 1px solid var(--line); }
.vs-col.bad li::before { content: "✕  "; color: #dc2626; font-weight: 800; }
.vs-col.good { background: var(--brand-soft); border: 2px solid var(--brand); }
.vs-col.good li::before { content: "✓  "; color: var(--brand); font-weight: 800; }
.final-cta { text-align: center; margin-top: 40px; padding: 28px 18px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); border: 2px solid var(--gold); }
.final-cta h2 { margin: 0; font-size: clamp(24px, 5.5vw, 30px); }
.final-cta .checks li { text-align: left; }
@media (max-width: 760px) {
  .feat { grid-template-columns: 1fr; gap: 14px; }
  .feat.rev .feat-text { order: 0; }
  .vs { grid-template-columns: 1fr; }
}
/* Real app screenshots on the offer page */
.hero-shot { display: block; width: 100%; max-width: 380px; height: auto; margin: 20px auto 0; border-radius: 22px; box-shadow: 0 18px 50px rgba(15,118,110,.25), var(--shadow); border: 1px solid var(--line); }
.plan-shot { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
