/* Prepared campaign site */
@font-face { font-family: "Anton"; src: url("/fonts/Anton-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bitter"; src: url("/fonts/Bitter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #10202b; --ink-2: #1c3140; --ink-3: #2c4253; --paper: #f6f2ea; --card: #fffdf8;
  --signal: #e8601c; --signal-dark: #b8460c; --alert: #c21f2d; --steel: #5b6b76; --mist: #9fb3c1; --line: #ddd5c4;
  --water: #1f6f8b; --food: #6b7f2a; --power: #d99a00; --comms: #6a4c93;
  --max: 1160px; --r: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Bitter", Georgia, serif; font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--signal-dark); }
h1, h2, h3 { font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase; line-height: 1; letter-spacing: .005em; margin: 0 0 .4em; }
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h3 { font-size: 26px; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--signal); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.kicker { font-family: "Inter", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--signal); margin-bottom: 14px; display: block; }
.lede { font-size: 21px; color: var(--ink-2); max-width: 640px; }
.dark { background: var(--ink); color: #fff; }
.dark .lede, .dark p { color: #d6e0e7; }
.ui, .btn, nav, .faq summary, table, .small, .badge, .stack, form, .card .meta, footer { font-family: "Inter", sans-serif; }
.small { font-size: 14px; color: var(--steel); }
.dark .small { color: var(--mist); }
section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(16,32,43,.97); backdrop-filter: blur(6px); color: #fff; border-bottom: 1px solid var(--ink-3); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: .16em; font-size: 15px; }
.logo img { width: 34px; height: 34px; }
.top .btn { padding: 10px 18px; font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--signal); color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; padding: 17px 28px; border-radius: var(--r); border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--signal-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.dark { background: var(--ink); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn small { font-weight: 600; opacity: .85; }

/* Hero */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .grid > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: "Inter", sans-serif; font-size: 14px; color: var(--mist); }
.trust span::before { content: "✓ "; color: var(--signal); font-weight: 700; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; opacity: .55; pointer-events: none; }

/* Book mockup */
.book { width: min(380px, 80%); margin: 0 auto; transform: perspective(1400px) rotateY(-16deg) rotateX(2deg); box-shadow: 30px 34px 60px rgba(0,0,0,.5); position: relative; border-radius: 2px 6px 6px 2px; }
.book img { border-radius: 2px 6px 6px 2px; }
.book::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(255,255,255,.1) 60%, transparent); }

/* Phone mockup */
.phone { width: 300px; height: 610px; margin: 0 auto; border-radius: 46px; background: #05090c; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 0 0 2px #2a3843; position: relative; }
.phone .scr { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #f4f1ea; color: var(--ink); font-family: "Inter", sans-serif; position: relative; }
.phone .scr > img { width: 100%; height: 100%; object-fit: cover; }
.phone .island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; border-radius: 14px; background: #000; z-index: 2; }
.phone .sb { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px 0; font-weight: 700; font-size: 14px; height: 52px; }
.phone .plane { background: var(--signal); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 10px; }
.phone .hd { padding: 12px 18px 6px; font-family: "Anton", sans-serif; font-size: 28px; text-transform: uppercase; }
.phone .bub { margin: 8px 14px; padding: 11px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; }
.phone .q { background: var(--ink); color: #fff; margin-left: 50px; border-bottom-right-radius: 3px; }
.phone .a { background: #fff; border: 1px solid #e2dccf; border-bottom-left-radius: 3px; }
.phone .a ol { margin: 0; padding-left: 18px; }
.phone .src { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 600; color: var(--steel); border: 1px solid #d0c8b8; border-radius: 8px; padding: 2px 7px; }
.phone .foot { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--steel); text-transform: uppercase; }
.illus { font-family: "Inter", sans-serif; font-size: 12px; color: var(--mist); text-align: center; margin-top: 14px; }

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.dark .card { background: var(--ink-2); border-color: var(--ink-3); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.chap { border-top: 5px solid var(--signal); }
.chap .n { font-family: "Anton", sans-serif; font-size: 34px; color: var(--signal); line-height: 1; }
.chap h3 { font-size: 22px; margin: 6px 0; }
.chap p { font-size: 16px; color: var(--steel); }
.pillar-water { border-top-color: var(--water); } .pillar-food { border-top-color: var(--food); } .pillar-heat { border-top-color: var(--alert); }
.pillar-power { border-top-color: var(--power); } .pillar-people { border-top-color: var(--comms); }

/* Problem list */
.bigs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.bigs div { padding: 22px 18px 6px 0; border-right: 1px solid var(--line); }
.bigs div:last-child { border-right: 0; }
.bigs b { display: block; font-family: "Anton", sans-serif; font-weight: 400; font-size: 54px; line-height: 1; color: var(--signal); }
.bigs span { font-family: "Inter", sans-serif; font-size: 15px; color: var(--ink-2); display: block; margin-top: 8px; }

/* Timeline strip */
.tl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 36px; position: relative; }
.tl::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 3px; background: var(--ink-3); }
.tl div { position: relative; padding-top: 44px; padding-right: 16px; }
.tl div::before { content: ""; position: absolute; top: 6px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--ink); }
.tl b { font-family: "Anton", sans-serif; font-weight: 400; font-size: 26px; text-transform: uppercase; color: #fff; display: block; }
.tl span { font-family: "Inter", sans-serif; font-size: 15px; color: var(--mist); }

/* Sample pages */
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pages figure { margin: 0; }
.pages img { box-shadow: 0 18px 40px rgba(16,32,43,.22); border-radius: 3px; background: #fff; }
.pages figcaption { font-family: "Inter", sans-serif; font-size: 14px; color: var(--steel); margin-top: 12px; }

/* Native "ad" card — the cross-promotion that sits inside each funnel */
.native { display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 26px; box-shadow: 0 10px 30px rgba(16,32,43,.08); position: relative; }
.native .from { position: absolute; top: -11px; left: 20px; background: var(--paper); padding: 0 8px; font-family: "Inter", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.native h3 { font-size: 28px; margin: 0 0 6px; }
.native p { font-size: 16px; color: var(--ink-2); margin: 0; }
.native .vis { display: flex; justify-content: center; }
.native .mini-phone { transform: scale(.42); transform-origin: top center; height: 260px; }
.native .mini-book { width: 150px; transform: perspective(900px) rotateY(-14deg); box-shadow: 14px 16px 30px rgba(0,0,0,.35); }

/* Offer box */
.offer { background: #fff; border: 3px solid var(--ink); border-radius: 10px; padding: 34px; max-width: 620px; margin: 0 auto; box-shadow: 14px 14px 0 var(--signal); }
.offer .price { font-family: "Anton", sans-serif; font-size: 72px; line-height: 1; }
.offer .price s { font-size: 34px; color: var(--steel); margin-left: 10px; }
.stack { list-style: none; padding: 0; margin: 20px 0; }
.stack li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.stack li b { white-space: nowrap; }
.bump { display: flex; gap: 14px; align-items: flex-start; background: #fff6ef; border: 2px dashed var(--signal); border-radius: 8px; padding: 16px; margin: 18px 0; font-family: "Inter", sans-serif; font-size: 15px; cursor: pointer; }
.bump input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--signal); flex: none; }
.bump b { color: var(--signal-dark); }
.guarantee { display: flex; gap: 16px; align-items: center; margin-top: 18px; font-family: "Inter", sans-serif; font-size: 14px; color: var(--steel); }
.guarantee .seal { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: "Anton", sans-serif; font-size: 20px; color: var(--ink); line-height: .9; text-align: center; }
.err { color: var(--alert); font-family: "Inter", sans-serif; font-size: 14px; margin-top: 10px; min-height: 1em; }

/* Comparison table */
table.cmp { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
table.cmp th, table.cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.cmp th { background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
table.cmp td:first-child { font-weight: 600; }
table.cmp .yes { color: var(--food); font-weight: 700; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::after { content: "+"; color: var(--signal); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; font-size: 17px; }

/* Store buttons (replace with official badges before launch — see campaign/06) */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; text-decoration: none; border-radius: 10px; padding: 10px 18px; font-family: "Inter", sans-serif; border: 1px solid #333; }
.store small { display: block; font-size: 11px; opacity: .8; }
.store b { display: block; font-size: 18px; line-height: 1.1; }

/* Forms */
.optin { display: grid; gap: 12px; max-width: 460px; }
.optin input[type=email], .optin input[type=text] { font: 17px "Inter", sans-serif; padding: 16px; border-radius: var(--r); border: 2px solid var(--ink); background: #fff; }
.hp { position: absolute; left: -9999px; }

/* Downloads */
a.dl { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border: 2px solid var(--ink); border-radius: 8px; margin-bottom: 12px; text-decoration: none; color: var(--ink); font-family: "Inter", sans-serif; font-weight: 600; }
a.dl b { background: var(--signal); color: #fff; padding: 8px 14px; border-radius: 5px; font-size: 14px; white-space: nowrap; }

/* Free vs Pro */
table.plans td:nth-child(2), table.plans td:nth-child(3) { width: 30%; }

/* Footer */
footer { background: var(--ink); color: var(--mist); padding: 48px 0 40px; font-size: 14px; }
footer a { color: #fff; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; margin: 16px 0; }
footer .disc { max-width: 820px; line-height: 1.55; }

/* Sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .hero .grid, .grid-2, .grid-3, .grid-4, .pages { grid-template-columns: 1fr; }
  .text-first-mobile { order: -1; }
  .bigs { grid-template-columns: 1fr 1fr; }
  .bigs div:nth-child(2) { border-right: 0; }
  .tl { grid-template-columns: 1fr; }
  .tl::before { left: 8px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .tl div { padding: 0 0 18px 40px; }
  .tl div::before { top: 4px; }
  .native { grid-template-columns: 1fr; text-align: center; }
  .native .vis { order: -1; }
  .offer { padding: 24px; box-shadow: 8px 8px 0 var(--signal); }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(16,32,43,.97); }
  .sticky-cta .btn { width: 100%; }
  body.has-sticky { padding-bottom: 80px; }
  .top .btn { display: none; }
  .hero .book { width: 210px; }
  table.cmp { display: block; overflow-x: auto; font-size: 14px; }
  table.cmp th, table.cmp td { padding: 10px; }
  .hero .phone { transform: scale(.85); transform-origin: top center; margin-bottom: -80px; }
  .hero { padding: 48px 0 64px; }
}

/* ---------- Guides ---------- */
.g-narrow { max-width: 780px; }
.g-head { background: var(--ink); color: #fff; padding: 48px 0 44px; }
.g-head h1 { font-size: clamp(38px, 5vw, 60px); margin: 12px 0 14px; }
.g-crumb { font-family: "Inter", sans-serif; font-size: 14px; color: var(--mist); }
.g-crumb a { color: #fff; }
.g-crumb span { margin: 0 6px; color: var(--signal); }
.g-meta { font-family: "Inter", sans-serif; font-size: 14px; color: var(--mist); margin: 0 0 22px; }
.g-answer { background: var(--ink-2); border-left: 5px solid var(--signal); padding: 18px 22px; border-radius: 0 var(--r) var(--r) 0; }
.g-answer .kicker { margin-bottom: 6px; }
.g-answer p { margin: 0; color: #fff; font-size: 19px; line-height: 1.5; }
.g-body { padding-top: 40px; padding-bottom: 20px; }
.g-body h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 40px 0 14px; }
.g-body h3 { font-size: 22px; margin: 26px 0 8px; }
.g-body p, .g-body li { font-size: 18px; }
.g-body ul, .g-body ol { padding-left: 22px; margin: 0 0 1em; }
.g-body li { margin-bottom: 8px; }
.g-steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.g-steps > li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 16px; }
.g-steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-family: "Anton", sans-serif; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.g-two { columns: 2; column-gap: 28px; }
.g-two li { break-inside: avoid; }
.g-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); margin: 8px 0 22px; }
.g-stats div { padding: 16px 14px 4px 0; border-right: 1px solid var(--line); }
.g-stats div:last-child { border-right: 0; }
.g-stats b { display: block; font-family: "Anton", sans-serif; font-weight: 400; font-size: 44px; line-height: 1; color: var(--signal); }
.g-stats span { font-family: "Inter", sans-serif; font-size: 14px; color: var(--ink-2); display: block; margin-top: 6px; }
.g-warn { background: #fff5f4; border: 2px solid var(--alert); border-radius: var(--r); padding: 16px 18px; margin: 22px 0; font-family: "Inter", sans-serif; font-size: 16px; }
.g-warn b { color: var(--alert); }
.g-table { width: 100%; border-collapse: collapse; background: #fff; font-family: "Inter", sans-serif; font-size: 15px; margin: 10px 0 20px; }
.g-table th { background: var(--ink); color: #fff; text-align: left; padding: 10px 12px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.g-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.g-calc { background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 20px; margin: 10px 0 22px; font-family: "Inter", sans-serif; }
.g-calc label { display: inline-flex; align-items: center; gap: 10px; margin: 0 22px 12px 0; font-weight: 600; }
.g-calc input { width: 76px; font: 18px "Inter", sans-serif; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 5px; }
.g-calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-calc-out div { background: var(--paper); padding: 14px; border-radius: 6px; }
.g-calc-out b { display: block; font-family: "Anton", sans-serif; font-weight: 400; font-size: 46px; line-height: 1; color: var(--signal); }
.g-calc-out span { font-size: 14px; color: var(--ink-2); }
.g-optin { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; background: #fff6ef; border: 2px solid var(--signal); border-radius: 10px; padding: 22px; margin: 34px 0; }
.g-optin img { box-shadow: 0 10px 24px rgba(16,32,43,.2); transform: rotate(-2deg); }
.g-optin h3 { font-size: 26px; margin: 0 0 6px; }
.g-optin p { font-size: 16px; margin: 0 0 12px; }
.g-optin .optin { grid-template-columns: 1fr auto; max-width: none; gap: 10px; }
.g-optin .optin .err { grid-column: 1 / -1; margin: 0; }
.g-optin .optin input[type=email] { padding: 13px 14px; }
.g-optin .small { margin: 8px 0 0; font-size: 13px; }
.g-body section { padding: 0; }
.g-faq { margin-top: 44px; }
.g-sources { font-family: "Inter", sans-serif; font-size: 15px; padding-left: 20px; }
.g-sources li { margin-bottom: 6px; font-size: 15px !important; }
.g-src { margin-top: 30px; padding-top: 10px; border-top: 1px solid var(--line); }
.g-src h2 { font-size: 26px !important; }
.g-cat { font-size: 32px; margin: 40px 0 16px; }
.g-cat:first-child { margin-top: 0; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-card { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--signal); border-radius: var(--r); padding: 20px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.g-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,32,43,.1); }
.g-card b { font-family: "Inter", sans-serif; font-size: 18px; line-height: 1.3; }
.g-card span { font-size: 15px; color: var(--steel); line-height: 1.45; }
.g-card .kicker { margin: 0; font-size: 11px; color: var(--signal); }
.g-more h2 { font-size: 36px; }
@media (max-width: 900px) {
  .g-grid { grid-template-columns: 1fr; }
  .g-two { columns: 1; }
  .g-optin { grid-template-columns: 1fr; text-align: left; }
  .g-optin-img { display: none; }
  .g-optin .optin { grid-template-columns: 1fr; }
  .g-stats b { font-size: 34px; }
  .g-calc-out b { font-size: 36px; }
}
