/* Light and airy: warm off-white pages, white cards with hairline borders, navy text,
   brand green only as an accent. One font family (Manrope), regular and semibold weights. */
:root {
  --bg: #ffffff;
  --white: #ffffff;
  --ink: #14233a;
  --text: #3d4a5a;
  --muted: #6b7684;
  --line: #e9e6df;
  --soft: #f4f2ec;
  --green: #0b7a55;
  --green-dark: #08603f;
  --green-soft: #eef7f2;
  --green-line: #d5ebdf;
  --red: #b4362c;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 30px 60px -46px rgba(20,35,58,0.35), 0 1px 3px rgba(20,35,58,0.04);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.04rem; letter-spacing: -0.01em; }
h1 span, h2 span { color: var(--green); }
p { margin: 0; }
a { color: var(--green); }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 64px; }
.section.white { background: #f3f8f5; border-block: 1px solid var(--line); }
.head { max-width: 600px; display: grid; gap: 10px; margin-bottom: 30px; }
.head.center { text-align: center; margin-inline: auto; justify-items: center; }
.head p { color: var(--muted); }
.kicker { font-size: 0.76rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.16em; }
.fine { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 700px) { .section { padding-block: 48px; } .head { margin-bottom: 24px; } }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(251,250,247,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.top .wrap { display: flex; align-items: center; gap: 32px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--green); font-weight: 600; }
.top-actions { display: flex; gap: 18px; align-items: center; }
.login { color: var(--ink); font-weight: 500; font-size: 0.93rem; text-decoration: none; }
.menu-btn { display: none; }
@media (max-width: 940px) {
  .menu-btn { display: inline-flex; margin-left: auto; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: 600 0.88rem var(--font); color: var(--ink); cursor: pointer; }
  .nav, .top-actions { display: none; width: 100%; margin: 0; }
  .top.open .nav { display: flex; flex-direction: column; gap: 0; }
  .top.open .nav a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .top.open .top-actions { display: flex; padding-block: 14px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 7px; font: 600 0.94rem var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.btn.green { background: var(--green); color: var(--white); }
.btn.green:hover { background: var(--green-dark); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.dark:hover { background: #24375a; }
.btn.line { background: var(--white); color: var(--ink); border-color: #d8d4cb; }
.btn.line:hover { border-color: var(--ink); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #9ad3b9; outline-offset: 2px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.center .actions { justify-content: center; }

/* Hero */
.hero { padding-block: 64px 52px; }
.hero.center + .watch { padding-top: 8px; }
.hero.center { text-align: center; }
.hero.center .wrap { display: grid; justify-items: center; gap: 14px; }
.hero.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero .copy { display: grid; gap: 16px; min-width: 0; }
.hero .sub { font-size: 1.06rem; color: var(--muted); max-width: 60ch; }
.pill { display: inline-flex; align-items: center; gap: 8px; justify-self: start; border: 1px solid var(--green-line); background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 6px 13px; font-size: 0.82rem; font-weight: 600; }
.center .pill { justify-self: center; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.proof { display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 0.86rem; color: var(--muted); }
.center .proof { justify-content: center; }
.proof span::before { content: "\2713"; color: var(--green); margin-right: 7px; font-weight: 700; }
@media (max-width: 900px) { .hero.split .wrap { grid-template-columns: 1fr; gap: 28px; } .hero { padding-block: 44px 36px; } }

/* Cards and boxes */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; min-width: 0; box-shadow: var(--shadow); }
.boxes { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0,1fr)); gap: 16px; }
.boxes.c2 { --n: 2; } .boxes.c3 { --n: 3; }
.box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.box p { color: var(--muted); font-size: 0.92rem; }
.box ul { margin: 4px 0 0; }
.ico { width: 40px; height: 40px; border-radius: 11px; background: var(--green-soft); display: grid; place-items: center; margin-bottom: 6px; }
.ico svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .boxes, .boxes.c3 { --n: 2; } }
@media (max-width: 560px) { .boxes, .boxes.c2, .boxes.c3 { --n: 1; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.92rem; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: "\2713"; flex: none; color: var(--green); font-weight: 700; }
.crosses li::before { content: "\2715"; color: var(--red); }

/* Product visual */
.visual { width: 100%; max-width: 940px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 24px; text-align: left; display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 48px; }
.visual .label { font-size: 0.78rem; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.stat { background: var(--bg); border-radius: 12px; padding: 14px; min-width: 0; }
.stat b { display: block; font-size: 1.35rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chart { background: var(--bg); border-radius: 12px; padding: 14px; }
.chart .bars { display: flex; align-items: flex-end; gap: 14px; height: 110px; margin-top: 10px; }
.chart .bars i { flex: 1; border-radius: 7px 7px 3px 3px; background: #cfe7da; }
.chart .bars i:last-child { background: var(--green); }
.chart .months { display: flex; gap: 14px; font-size: 0.76rem; color: var(--muted); margin-top: 6px; }
.chart .months span { flex: 1; text-align: center; }
.queue { display: grid; gap: 10px; align-content: start; }
.item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 3px; font-size: 0.86rem; }
.item b { color: var(--ink); font-weight: 600; }
.item .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.tag { font-size: 0.72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag.g { background: var(--green-soft); color: var(--green); }
.tag.n { background: var(--soft); color: var(--text); }
.example { font-size: 0.72rem; color: var(--muted); text-align: right; }
@media (max-width: 820px) { .visual { grid-template-columns: 1fr; padding: 16px; } .stats { gap: 8px; } .stat b { font-size: 1.1rem; } }

/* Steps across */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0,1fr)); gap: 36px; position: relative; }
.steps::before { content: ""; position: absolute; top: 18px; left: 18px; right: 18px; height: 1px; background: var(--line); }
.step { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 1px solid var(--green-line); color: var(--green); display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; flex: none; }
.step p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Process list (rows) */
.process { display: grid; gap: 12px; }
.prow { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.prow h3 { margin-bottom: 2px; }
.prow p { color: var(--muted); font-size: 0.92rem; }
.prow .tag { justify-self: end; }
@media (max-width: 680px) { .prow { grid-template-columns: 36px minmax(0,1fr); } .prow .tag { grid-column: 2; justify-self: start; } }

/* Two columns */
.cols2 { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 48px; align-items: start; }
.cols2 .side { display: grid; gap: 16px; position: sticky; top: 104px; }
.cols2 .side p { color: var(--muted); }
@media (max-width: 880px) { .cols2 { grid-template-columns: 1fr; gap: 32px; } .cols2 .side { position: static; } }

/* Flat fee comparison */
.fee { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fee .copy { display: grid; gap: 16px; }
.fee .copy p { color: var(--muted); }
.compare { display: grid; gap: 18px; }
.compare .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.compare .row span { color: var(--muted); }
.compare .row b { font-size: 1.4rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.compare .row.us b { color: var(--green); }
.save { background: var(--green-soft); border-radius: 12px; padding: 14px 16px; color: var(--green); font-weight: 600; font-size: 0.94rem; }
@media (max-width: 860px) { .fee { grid-template-columns: 1fr; gap: 32px; } }

/* Calculator */
.calc { display: grid; gap: 14px; }
.calc label { display: grid; gap: 6px; font-weight: 500; color: var(--ink); font-size: 0.88rem; }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc input, .calc select { font: 500 1rem var(--font); padding: 10px 12px; border: 1px solid #ddd8cf; border-radius: 10px; width: 100%; color: var(--ink); background: var(--white); }
.calc .out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc .out div { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.calc .out small { display: block; color: var(--muted); font-size: 0.8rem; }
.calc .out b { font-size: 1.3rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc .out .win { background: var(--green-soft); }
.calc .out .win b { color: var(--green); }
@media (max-width: 480px) { .calc .row, .calc .out { grid-template-columns: 1fr; } }

/* Tables */
.table-scroll { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 600px; font-size: 0.94rem; }
th { background: var(--soft); color: var(--ink); font-weight: 600; font-size: 0.84rem; padding: 14px 16px; text-align: center; }
td { padding: 13px 16px; text-align: center; border-top: 1px solid var(--line); }
tr.hl td { background: var(--green-soft); color: var(--ink); font-weight: 600; }
td.save-c { color: var(--green); font-weight: 600; }

/* Pricing plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 14px; align-content: start; position: relative; }
.plan.featured { border-color: var(--green); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -12px; left: 28px; background: var(--green); color: var(--white); font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-size: 2rem; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; }
.plan .price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Onboarding packet */
.packet { display: grid; gap: 8px; margin-top: 14px; }
.packet .pi { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 0.88rem; color: var(--ink); font-weight: 500; }
.sign-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }

/* Quote */
.quote { font-size: 1.2rem; line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }

/* Note */
.note { background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 14px; padding: 16px 18px; font-size: 0.9rem; color: var(--green-dark); }
.note b { display: block; margin-bottom: 2px; }

/* Closing call to action */
.cta-card { background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 26px; padding: 44px 24px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.cta-card p { color: var(--muted); max-width: 46ch; }

/* Forms */
.form { display: grid; gap: 12px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-weight: 500; color: var(--ink); font-size: 0.88rem; }
.form input, .form select, .form textarea { font: 400 0.98rem var(--font); padding: 9px 12px; border: 1px solid #ddd8cf; border-radius: 10px; width: 100%; background: var(--white); color: var(--ink); }
.form .warn { font-size: 0.82rem; color: var(--red); font-weight: 500; }
.form .sent { background: var(--green-soft); color: var(--green-dark); padding: 12px 14px; border-radius: 10px; font-weight: 500; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 20px; }
.contact-info { display: grid; gap: 14px; align-content: start; }
.contact-info div b { display: block; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Prose pages */
.prose { max-width: 70ch; display: grid; gap: 14px; }
.prose h2 { font-size: 1.25rem; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.draft { background: #fff6e0; color: #8a5a00; border-radius: 10px; padding: 10px 14px; font-weight: 500; font-size: 0.9rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 64px 32px; background: var(--white); }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
footer h4 { font-size: 0.86rem; font-weight: 600; margin-bottom: 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
footer a:hover { color: var(--ink); }
footer .tagline { color: var(--muted); font-size: 0.88rem; margin-top: 14px; max-width: 32ch; }
footer .legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer .cols { grid-template-columns: 1fr; } }

/* Home: the four stages of watching the money */
.watch { padding-top: 24px; }
.stage { border-top: 3px solid var(--green); box-shadow: var(--shadow); padding: 28px 24px; }
.stage .checks { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }

/* ---- Mockup restyle (v5): white header, squared buttons, bold headlines, photo hero ---- */
.top { background: rgba(255,255,255,0.96); }
body::before { background: var(--white); }
.brand { font-size: 1.6rem; font-weight: 800; color: var(--green); letter-spacing: -0.03em; }
.brand svg { width: 32px; height: 32px; }
.top .wrap { min-height: 76px; max-width: 1200px; }
.nav { gap: 26px; }
.nav a { font-size: 0.86rem; color: var(--ink); padding-block: 26px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--green); }
.btn.sq { border-radius: 7px; gap: 10px; }
.btn.lg { min-height: 52px; padding: 0 22px; font-size: 0.98rem; }
.btn .arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.outline { background: var(--white); color: var(--green); border-color: #9fcdb7; }
.btn.outline:hover { border-color: var(--green); }
.btn .play { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn .play path { fill: currentColor; stroke: none; }
.eyebrow { margin: 0; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.eyebrow i { font-style: normal; margin-inline: 0.5em; opacity: 0.7; }
.eyebrow.green { color: var(--green); font-weight: 700; }
.center { text-align: center; }
@media (max-width: 1080px) { .top-actions .btn { display: none; } .top.open .top-actions .btn { display: inline-flex; } .nav { gap: 18px; } }
@media (max-width: 900px) { .nav a { padding-block: 12px; border-bottom: 1px solid var(--line); } .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--green); } }

.h-hero { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--white) 0%, var(--white) 45%, #f1f6f4 100%); }
.h-hero .wrap { max-width: 1200px; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; min-height: 500px; }
.h-copy { display: grid; gap: 22px; padding-block: 56px; min-width: 0; position: relative; z-index: 2; }
.h-copy h1 { font-size: clamp(2.4rem, 4.9vw, 3.6rem); line-height: 1.06; letter-spacing: -0.035em; }
.h-copy h1 span { display: block; }
.h-lead { font-size: 1.04rem; color: var(--text); max-width: 54ch; line-height: 1.6; }
.h-copy .actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 4px; }
.h-mini { display: flex; flex-wrap: wrap; gap: 14px 46px; margin-top: 8px; }
.h-mini div { display: flex; align-items: center; gap: 12px; font-size: 0.86rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.h-mini svg { width: 34px; height: 34px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.h-strip { background: #eef6f2; padding-block: 18px; }
.h-strip .wrap { max-width: 1200px; }
.h-feats { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,0.55); border-radius: 12px; padding-block: 18px; }
.h-feats > div { text-align: center; padding: 6px 26px 10px; display: grid; align-content: start; justify-items: center; gap: 8px; border-left: 1px solid #d9e8e0; }
.h-feats > div:first-child { border-left: 0; }
.h-feats h3 { font-size: 1.12rem; font-weight: 700; margin-top: 8px; }
.h-feats p { color: var(--text); font-size: 0.95rem; max-width: 24ch; }
.disc { width: 66px; height: 66px; border-radius: 50%; background: #d8ece2; display: grid; place-items: center; }
.disc svg { width: 32px; height: 32px; }
.disc .f { fill: var(--green-dark); }
.disc .w { fill: none; stroke: #ffffff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.disc .wf { fill: #d8ece2; }
.disc .s { fill: #d8ece2; stroke: var(--green-dark); stroke-width: 1.8; stroke-linecap: round; }

.h-why { padding-block: 40px 44px; background: var(--white); }
.h-why .wrap { max-width: 1200px; display: grid; gap: 14px; }
.h-why h2 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); }
.h-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px; }
.h-stats > div { border: 1px solid var(--line); border-radius: 12px; padding: 24px 18px; text-align: center; display: grid; justify-items: center; gap: 6px; background: var(--white); }
.h-stats svg { width: 38px; height: 38px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.h-stats svg.solid { fill: var(--green); stroke: none; }
.h-stats b { font-size: 2.2rem; font-weight: 800; color: var(--green-dark); letter-spacing: -0.02em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.h-stats b small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.h-stats h3 { font-size: 1rem; font-weight: 700; }
.h-stats p { color: var(--text); font-size: 0.92rem; max-width: 22ch; }
.h-why .fine { margin-top: 6px; }

.h-built { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; background: var(--white); overflow: hidden; }
.insights { position: absolute; top: 7%; left: 8%; width: min(260px, 46%); background: rgba(255,255,255,0.97); border-radius: 10px; box-shadow: 0 18px 40px -24px rgba(20,35,58,0.4); padding: 16px 20px; }
.insights h4 { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.insights h4 svg { width: 24px; height: 24px; fill: var(--green); }
.insights h4 em { margin-left: auto; font-style: normal; font-size: 0.66rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.insights dl { margin: 0; display: grid; }
.insights dl div { display: flex; justify-content: space-between; gap: 10px; padding-block: 5px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.insights dl div:first-child { border-top: 0; }
.insights dt { color: var(--text); }
.insights dd { margin: 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.h-built-copy { display: grid; gap: 18px; justify-items: start; padding: 40px max(24px, env(safe-area-inset-right, 0px)) 40px 32px; max-width: 520px; }
.h-built-copy h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.12; }
.h-built-copy p { color: var(--text); }
.h-built .checks { gap: 10px; font-size: 1rem; color: var(--ink); }
.h-built .checks li::before { content: none; }
.h-built .checks svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

@media (max-width: 900px) {
  .h-hero { background: var(--white); }
  .h-hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .h-copy { padding-block: 40px 8px; }
        .h-feats, .h-stats { grid-template-columns: 1fr 1fr; }
  .h-feats > div:nth-child(3) { border-left: 0; }
  .h-feats > div { padding-block: 14px; }
  .h-built { grid-template-columns: 1fr; }
  .h-built-copy { padding: 32px max(20px, env(safe-area-inset-right, 0px)) 48px max(20px, env(safe-area-inset-left, 0px)); }
}
@media (max-width: 520px) {
  .h-feats, .h-stats { grid-template-columns: 1fr; }
  .h-feats > div { border-left: 0; border-top: 1px solid #d9e8e0; }
  .h-feats > div:first-child { border-top: 0; }
  .h-mini { gap: 14px 24px; }
  .insights { left: 4%; top: 5%; width: 62%; padding: 10px 12px; }
  .insights dl div { font-size: 0.74rem; padding-block: 3px; }
}

/* v6: billing visuals instead of photos */
.h-visual { position: relative; min-height: 500px; align-self: stretch; min-width: 0; }
.h-visual::before { content: ""; position: absolute; inset: 0 min(-20px, calc((1200px - 100vw) / 2 - 20px)) 0 -40px; background: radial-gradient(circle at 70% 40%, #dcefe5 0%, #eef6f2 45%, rgba(238,246,242,0) 75%); z-index: 0; }
.h-visual > * { position: relative; z-index: 1; }
.h-visual blockquote { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); width: 300px; margin: 0; font: italic 400 1.1rem/1.45 "Lora", Georgia, serif; color: var(--ink); }
.h-visual .q { display: block; font: 800 3rem/0.6 var(--font); color: var(--green); margin-bottom: 8px; margin-left: -4px; }
.h-visual blockquote i { display: block; width: 34px; height: 2px; background: var(--green); margin-top: 14px; }
.hv-dash { position: absolute; top: 200px; right: 0; width: 320px; max-width: 100%; background: var(--white); border-radius: 14px; box-shadow: 0 24px 50px -28px rgba(20,35,58,0.35); padding: 20px 22px; display: grid; gap: 6px; }
.hv-top { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }
.hv-top em, .queue h4 em { font-style: normal; font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.hv-big { font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hv-bars { display: flex; align-items: flex-end; gap: 10px; height: 74px; margin-top: 6px; }
.hv-bars i { flex: 1; background: #cfe6da; border-radius: 4px 4px 0 0; }
.hv-bars i.on { background: var(--green); }
.hv-months { display: flex; gap: 10px; font-size: 0.68rem; color: var(--muted); }
.hv-months span { flex: 1; text-align: center; }
.hv-dash dl { margin: 6px 0 0; display: grid; }
.hv-dash dl div { display: flex; justify-content: space-between; padding-block: 6px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.hv-dash dt { color: var(--text); }
.hv-dash dd { margin: 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hv-card { position: absolute; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 12px; padding: 12px 16px; box-shadow: 0 18px 40px -22px rgba(20,35,58,0.4); min-width: 200px; }
.hv-card b { display: block; font-size: 0.88rem; color: var(--ink); }
.hv-card small { font-size: 0.76rem; color: var(--muted); }
.hv-card .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.hv-card .dot svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dot.g { background: var(--green-soft); color: var(--green); }
.dot.a { background: #fdf3e2; color: #a5620a; }
.hv-card.c1 { top: 232px; left: 0; }
.hv-card.c2 { top: 322px; left: 44px; }
.hv-card.c3 { top: 412px; left: 12px; }

.h-panel { position: relative; min-width: 0; align-self: stretch; min-height: 440px; background: linear-gradient(135deg, #e3f1ea 0%, #f1f8f4 60%, #ffffff 100%); display: grid; align-items: end; padding: 40px 32px 40px 12%; }
.h-panel .insights { top: 32px; left: 32px; z-index: 2; }
.queue { position: relative; background: var(--white); border-radius: 14px; box-shadow: 0 24px 50px -28px rgba(20,35,58,0.35); padding: 18px 20px; margin-top: 196px; overflow-x: auto; min-width: 0; }
.queue h4 { display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.queue table { width: 100%; border-collapse: collapse; font-size: 0.84rem; font-variant-numeric: tabular-nums; }
.queue th { background: none; text-align: left; font-size: 0.72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 8px; }
.queue td { text-align: left; padding: 9px 8px; border-top: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.st { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.st.paid { background: var(--green-soft); color: var(--green); }
.st.ok { background: #e8f1fb; color: #245a96; }
.st.sent { background: var(--soft); color: var(--text); }
.st.appeal { background: #fdf3e2; color: #a5620a; }
@media (max-width: 900px) {
  .h-visual { min-height: 0; display: grid; gap: 14px; padding-block: 8px 40px; }
  .h-visual::before { inset: 0 calc(-1 * max(20px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(20px, env(safe-area-inset-left, 0px))); background: #eef6f2; }
  .h-visual blockquote, .hv-dash, .hv-card { position: static; transform: none; width: auto; }
  .h-visual blockquote { padding: 24px 4px 4px; }
  .hv-dash { max-width: 420px; }
  .h-panel { padding: 24px max(20px, env(safe-area-inset-right, 0px)) 32px max(20px, env(safe-area-inset-left, 0px)); min-height: 0; gap: 14px; }
  .h-panel .insights { position: static; width: auto; max-width: 340px; }
  .queue { margin-top: 0; }
}

/* v6: inner pages share the homepage look */
.hero.split, .hero.center { background: linear-gradient(90deg, var(--white) 0%, var(--white) 40%, #eef6f2 100%); }
.hero.center { background: radial-gradient(circle at 50% 0%, #e6f3ec 0%, var(--white) 70%); }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.3rem); line-height: 1.07; letter-spacing: -0.035em; }
.hero.split h1 span { display: block; }
.hero .sub { font-size: 1.1rem; color: var(--text); }
.hero .actions { gap: 16px; }
.box { border-radius: 12px; padding: 26px 22px; }
.box:not(:has(ul)) { text-align: center; justify-items: center; }
.box .ico { width: 58px; height: 58px; border-radius: 50%; background: #d8ece2; color: var(--green-dark); display: grid; place-items: center; }
.box .ico svg { width: 26px; height: 26px; stroke-width: 1.9; stroke: var(--green-dark); }
.box h3 { font-size: 1.1rem; font-weight: 700; }
.section.white .box, .section.white .prow { background: var(--white); }
th { background: #eef6f2; color: var(--ink); }
.cta-card { background: linear-gradient(135deg, #e3f1ea 0%, #f4faf6 100%); border-color: #d5ebdf; }
.cta-card h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.num { background: var(--green); color: var(--white); border-color: var(--green); font-weight: 700; }

/* v7: Solutions page */
.s-hero .h-copy h1 span { display: block; }
.s-onboard { justify-self: end; width: min(400px, 100%); background: var(--white); border-radius: 14px; box-shadow: 0 24px 50px -28px rgba(20,35,58,0.35); padding: 22px 24px; display: grid; gap: 10px; position: relative; z-index: 2; }
.s-hero .wrap { position: relative; }
.s-hero .wrap::after { content: ""; position: absolute; top: 0; bottom: 0; right: min(-20px, calc((1200px - 100vw) / 2 - 20px)); width: 48%; background: radial-gradient(circle at 60% 50%, #dcefe5 0%, #eef6f2 50%, rgba(238,246,242,0) 80%); z-index: 0; }
.s-onboard h3 { font-size: 1.1rem; font-weight: 700; }
.s-onboard ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; }
.s-onboard li { display: flex; align-items: center; gap: 10px; padding-block: 9px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--ink); }
.s-onboard li em { margin-left: auto; font-style: normal; font-size: 0.7rem; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.s-onboard .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.s-onboard .dot svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-time { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; background: var(--green); color: var(--white); border-radius: 10px; padding: 12px 16px; margin-top: 6px; }
.s-time b { font-size: 1.15rem; font-weight: 800; }
.s-time span { font-size: 0.86rem; opacity: 0.9; }
.disc .ico { width: auto; height: auto; background: none; margin: 0; }
.disc .ico svg { width: 30px; height: 30px; stroke: var(--green-dark); stroke-width: 1.9; }

.s-sec { padding-block: 60px; background: var(--white); }
.s-sec.tint { background: #f3f8f5; }
.s-sec .wrap { max-width: 1200px; display: grid; gap: 14px; }
.s-sec h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.s-intro { color: var(--text); font-size: 1.04rem; max-width: 62ch; }
.s-intro.center { margin-inline: auto; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.pbox { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; display: grid; gap: 12px; align-content: start; min-width: 0; box-shadow: 0 20px 40px -36px rgba(20,35,58,0.35); }
.pbox-top { display: flex; align-items: center; justify-content: space-between; }
.pbox .ico, .reason .ico { width: 54px; height: 54px; border-radius: 50%; background: #d8ece2; margin: 0; }
.pbox .ico svg, .reason .ico svg { width: 26px; height: 26px; stroke: var(--green-dark); stroke-width: 1.9; }
.pbox .step { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.pbox h3 { font-size: 1.2rem; font-weight: 800; }
.pbox p { color: var(--text); font-size: 0.95rem; }
.pbox ul, .s-us ul { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.pbox li, .s-us li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink); }
.pbox li svg, .s-us li svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }

.payers { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 20px; margin-top: 28px; align-items: stretch; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; min-width: 0; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.pc-head { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.pc-head .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); border: 1px solid var(--green-line); display: grid; place-items: center; }
.pc-head .ico svg { width: 21px; height: 21px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pc-head h3 { font-size: 1.04rem; font-weight: 800; }
.pc-head p { font-size: 0.86rem; color: var(--muted); margin: 3px 0 0; line-height: 1.45; }
.pc-list { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 24px; }
.pc-list.two { grid-template-columns: 1fr 1fr; }
.pc-list li { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid #f1efe9; font-size: 0.9rem; color: var(--ink); font-weight: 500; }
.pc-list li svg { flex: none; width: 17px; height: 17px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pc-note { margin: auto 0 0; padding-top: 16px; font-size: 0.8rem; color: var(--muted); }

.s-two { grid-template-columns: 1fr 1fr; gap: 48px !important; align-items: center; }
.s-you { display: grid; gap: 16px; min-width: 0; }
.s-you p { color: var(--text); }
.s-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.s-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: center; }
.s-steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-weight: 800; }
.s-steps b { color: var(--ink); font-size: 1.02rem; }
.s-steps span { color: var(--text); font-size: 0.92rem; }
.s-us { background: linear-gradient(135deg, #e3f1ea 0%, #f4faf6 100%); border: 1px solid #d5ebdf; border-radius: 16px; padding: 30px; min-width: 0; }
.s-us h3 { font-size: 1.15rem; font-weight: 800; }
.s-us ul { border-top-color: #d5ebdf; margin-top: 14px; gap: 12px; }
.s-us li { font-size: 0.95rem; }

.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.reason { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; min-width: 0; }
.reason .ico { flex: none; }
.reason h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.reason p { color: var(--text); font-size: 0.93rem; }
.s-sec .card#calculator { box-shadow: 0 24px 50px -28px rgba(20,35,58,0.35); }

@media (max-width: 980px) { .pgrid, .reasons { grid-template-columns: 1fr 1fr; } .payers { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; width: 100%; } }
@media (max-width: 900px) {
  .s-hero .wrap::after { display: none; }
  .s-onboard { justify-self: stretch; width: auto; margin-bottom: 40px; }
  .s-two { grid-template-columns: 1fr; gap: 28px !important; }
}
@media (max-width: 640px) { .pgrid, .reasons { grid-template-columns: 1fr; } .pc-list.two { grid-template-columns: 1fr; } .s-sec { padding-block: 56px; } }

/* Clinic login (v9) */
.login-link { color: var(--ink); font-weight: 600; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.login-link:hover, .login-link[aria-current="page"] { color: var(--green); }
.login-wrap { padding-block: 72px 96px; }
.login-card { max-width: 440px; margin: 0 auto; display: grid; gap: 14px; }
.login-card h1 { font-size: 2rem; margin: 0; }
.login-card .btn { width: 100%; }
.s-sec .steps, .s-sec .boxes { margin-top: 22px; }

/* v12: tighter inner pages */
.cols2.story + .wrap .mv { margin-top: 36px; }
.mv .box { padding: 22px 24px; gap: 6px; }
.contact-grid { align-items: start; }
.contact-info .next { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 2px; }
.contact-info .next ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-info .next li { display: flex; gap: 12px; align-items: flex-start; }
.contact-info .next .num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; }
.contact-info .next h3 { font-size: 0.92rem; }
.contact-info .next p { font-size: 0.84rem; color: var(--muted); margin: 1px 0 0; }
.section:not(.white) + .cta-sec, .s-sec:not(.tint) + .cta-sec { padding-top: 0; }
.legal .ver { opacity: 0.6; margin-left: 6px; }

/* v16: how a claim moves, pricing add-ons, footer trust note */
.cflow { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.cflow li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.cflow h3 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.cflow p { color: var(--muted); font-size: 0.88rem; }
.coutcomes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.co { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 14px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.co.rej { border-top-color: #c98a12; }
.co.rej .kicker { color: #9a6a00; }
.co.den { border-top-color: var(--red); }
.co.den .kicker { color: var(--red); }
.co h3 { font-size: 1.05rem; font-weight: 800; }
.co p { color: var(--text); font-size: 0.92rem; }
@media (max-width: 1000px) { .cflow { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 760px) { .coutcomes { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cflow { grid-template-columns: 1fr; } .cflow li { grid-template-columns: 36px 1fr; align-items: start; } }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.addon { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 6px 16px; align-items: start; }
.addon .ico { width: 48px; height: 48px; border-radius: 50%; background: #d8ece2; margin: 0; }
.addon h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.addon p { color: var(--text); font-size: 0.93rem; }
.aprice { grid-column: 2; display: grid; gap: 2px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.aprice small { font-size: 0.85rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.aprice span { font-size: 0.82rem; color: var(--green); font-weight: 600; letter-spacing: 0; }
@media (max-width: 760px) { .addons { grid-template-columns: 1fr; } }
footer .trust-note { color: var(--muted); font-size: 0.8rem; line-height: 1.5; margin-top: 14px; max-width: 34ch; }
.prose h3 { font-size: 1.05rem; margin-top: 8px; }
.prose .updated { color: var(--muted); font-size: 0.9rem; }

/* v19: doctor video (homepage) and the link to it on every page */
.doc-bar { display: block; background: var(--green); color: #fff; text-align: center; font-size: 0.9rem; padding: 9px 16px; text-decoration: none; line-height: 1.4; }
.doc-bar b { font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.doc-bar .arr { width: 15px; height: 15px; vertical-align: -2px; margin-left: 4px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.doc-bar:hover { background: var(--green-dark); }
.v-sec { padding-block: 64px; background: #f3f8f5; border-block: 1px solid var(--line); scroll-margin-top: 70px; }
.v-sec .wrap { max-width: 1040px; display: grid; gap: 14px; }
.v-sec h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.v-frame { margin-top: 12px; border-radius: 18px; overflow: hidden; background: #10283a; box-shadow: 0 24px 50px -28px rgba(20,35,58,0.45); aspect-ratio: 16 / 9; }
.v-frame video { display: block; width: 100%; height: 100%; }
.v-sec .actions { display: flex; justify-content: center; margin-top: 10px; }
.v-sec .center { text-align: center; margin-inline: auto; }
