:root {
  --bg: #fbfaf7; --surface: #ffffff; --ink: #13211d; --muted: #55635e; --line: #e4e2db;
  --brand: #0f5c4d; --brand-2: #0b463b; --accent: #d9822b; --tint: #eef5f2;
  --ok-bg: #e2f3ea; --ok: #127a3c; --wait-bg: #fdf0e1; --wait: #9a5a00; --gap-bg: #fbe7e5; --gap: #a3261b;
  --radius: 14px; --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1513; --surface: #15201d; --ink: #e9efec; --muted: #a3b2ac; --line: #26332f;
    --brand: #49b39b; --brand-2: #6cc8b2; --accent: #f0a35a; --tint: #17302a;
    --ok-bg: #173a2a; --ok: #7fd6a2; --wait-bg: #3a2a14; --wait: #f0b56b; --gap-bg: #3d1c19; --gap: #f29a90;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1513; --surface: #15201d; --ink: #e9efec; --muted: #a3b2ac; --line: #26332f;
  --brand: #49b39b; --brand-2: #6cc8b2; --accent: #f0a35a; --tint: #17302a;
  --ok-bg: #173a2a; --ok: #7fd6a2; --wait-bg: #3a2a14; --wait: #f0b56b; --gap-bg: #3d1c19; --gap: #f29a90;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, sans-serif; }
a { color: var(--brand); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 58px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { font-family: Fraunces, serif; font-weight: 700; font-size: 24px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--brand); }
.navlinks { display: flex; gap: 20px; margin-left: auto; }
.navlinks a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.navlinks a:hover, .navlinks a[aria-current] { color: var(--ink); }
.btn { display: inline-block; background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 10px; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
:root[data-theme="dark"] .btn { color: #0e1513; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { color: #0e1513; } }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
@media (max-width: 860px) { .navlinks { display: none; } nav .btn { margin-left: auto; padding: 9px 14px; } }

.hero { padding: 72px 0 56px; }
.hero .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.page-hero { padding: 56px 0 24px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--tint); padding: 5px 12px; border-radius: 99px; margin-bottom: 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.proof { margin-top: 22px; font-size: 14px; color: var(--muted); }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 20px 50px -30px rgba(0,0,0,.35); }
.mock .row { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mock .row:last-child { border-bottom: 0; }
.tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; display: inline-block; }
.t-ok { background: var(--ok-bg); color: var(--ok); } .t-wait { background: var(--wait-bg); color: var(--wait); } .t-gap { background: var(--gap-bg); color: var(--gap); }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

section { padding: 64px 0; }
.page-hero + section { padding-top: 24px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.band .card { background: var(--bg); }
a.card { color: inherit; text-decoration: none; display: block; transition: border-color .15s; }
a.card:hover { border-color: var(--brand); }
a.card .more { color: var(--brand); font-weight: 600; font-size: 15px; }
.num { font-family: Fraunces, serif; font-size: 32px; color: var(--accent); font-weight: 700; }
@media (max-width: 860px) { .cards, .cards.two { grid-template-columns: 1fr; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.step { position: relative; padding-top: 44px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.price .card.featured { border: 2px solid var(--brand); }
.amt { font-family: Fraunces, serif; font-size: 30px; font-weight: 700; margin: 6px 0; }
.amt small { font-family: Inter, sans-serif; font-size: 14px; color: var(--muted); font-weight: 500; }
ul.ticks { padding: 0; margin: 12px 0 0; list-style: none; }
ul.ticks li { padding-left: 24px; position: relative; margin-bottom: 8px; font-size: 15px; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; color: var(--muted); }

.cta-final { background: var(--brand); color: #fff; border-radius: 20px; padding: 44px 28px; text-align: center; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.85); }
.cta-final a:not(.btn) { color: #fff; }
.cta-final .btn { background: #fff; color: var(--brand-2); }
.cta-final .cta-row { justify-content: center; }
:root[data-theme="dark"] .cta-final { background: #123b33; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-final { background: #123b33; } }
footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
footer .cols { display: flex; gap: 40px; flex-wrap: wrap; }
footer .cols div { display: flex; flex-direction: column; gap: 6px; }
footer .cols b { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
footer .cols a { color: var(--muted); text-decoration: none; }
footer .cols a:hover { color: var(--brand); }

/* Pilot offer strip */
.pilot { background: var(--ink); color: var(--bg); font-size: 14px; text-align: center; padding: 9px 16px; line-height: 1.4; }
.pilot b { color: var(--accent); }
.pilot a { color: var(--bg); font-weight: 600; white-space: nowrap; }
.pilot s { opacity: .65; }

/* Long-form pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3.4vw, 32px); margin-top: 40px; }
.prose h3 { margin-top: 26px; }
.prose ul, .prose ol { padding-left: 22px; } .prose li { margin-bottom: 6px; }
.prose .note { background: var(--tint); border-radius: 12px; padding: 14px 18px; margin: 18px 0; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; } .crumbs a { color: var(--muted); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 22px; }
.compare > div { border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.compare .bad { background: var(--gap-bg); } .compare .good { background: var(--ok-bg); }
.compare b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
@media (max-width: 600px) { .compare { grid-template-columns: 1fr; } }

/* Tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 18px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; background: var(--bg); }
td .ev { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
@media (max-width: 700px) {
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.stack td { border: 0; padding: 6px 14px; }
  table.stack td::before { content: attr(data-l); display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
}

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 10px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checklist input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.checklist label { cursor: pointer; }
.checklist small { display: block; color: var(--muted); }
.progress { position: sticky; top: 64px; z-index: 5; background: var(--bg); padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.bar { flex: 1; min-width: 160px; height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s; }
@media print {
  nav, footer, .cta-final, .no-print, .progress .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .progress { position: static; }
  section, .page-hero { padding: 12px 0; }
}
