:root {
  --green: #17803b;        /* text/button green, 4.9:1 on white */
  --green-brand: #22a84a;  /* logo green, decorative only */
  --green-50: #eef7f0;
  --green-100: #d7eedd;
  --ink: #141815;
  --ink-2: #2d332e;
  --muted: #5a625c;
  --line: #e2e5e0;
  --paper: #ffffff;
  --paper-2: #f6f7f3;
  --wa: #128c4a;
  --danger: #b42318;
  --radius: 10px;
  --font-head: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green-brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 var(--s4); color: var(--ink); }
h1, h2 { font-family: var(--font-head); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 var(--s4); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.i { width: 1.05em; height: 1.05em; vertical-align: -0.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* top bar + header */
.topbar { background: var(--ink); color: #e9ece8; font-size: 0.85rem; }
.topbar-in { display: flex; gap: var(--s5); justify-content: flex-end; align-items: center; min-height: 36px; }
.topbar-in > span:first-child { margin-right: auto; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand img { width: 130px; height: auto; }
.nav { display: flex; align-items: center; gap: var(--s5); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav a.btn { color: #fff; }
.navtoggle, .navbtn { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 2px solid transparent; font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #0f6a2f; color: #fff; }
.btn-wa { background: #fff; color: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: var(--green-50); color: var(--wa); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s5) 0; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green); text-decoration: none; }

/* hero */
.hero { padding: var(--s8) 0 var(--s7); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s7); align-items: start; }
.eyebrow { font-weight: 600; color: var(--green); margin-bottom: var(--s3); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); color: var(--ink-2); }
.ticks .i { color: var(--green); margin-right: 6px; }

/* cards & sections */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.section { padding: var(--s8) 0; }
.section.alt { background: var(--paper-2); }
.section-head { margin-bottom: var(--s6); max-width: 70ch; }
.section-head.row { display: flex; justify-content: space-between; align-items: baseline; max-width: none; gap: var(--s4); }
.section-head p { color: var(--muted); }
.grid.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s4); }
.svc, .post { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.svc:hover, .post:hover { border-color: var(--green); color: var(--ink); }
.svc p, .post p { color: var(--muted); flex: 1; }
.svc h3 .muted { font-weight: 400; }
.svc-meta { display: flex; justify-content: space-between; gap: var(--s2); font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: var(--s3); margin-bottom: var(--s3); }
.price { color: var(--ink); font-weight: 700; }
.band { background: #fff; border-bottom: 1px solid var(--line); padding: var(--s6) 0; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.trust li { display: flex; gap: var(--s3); align-items: flex-start; }
.trust .i { width: 28px; height: 28px; color: var(--green); margin-top: 2px; }
.trust strong { display: block; }
.trust span { color: var(--muted); font-size: 0.93rem; }
.prose .trust { grid-template-columns: 1fr 1fr; margin-bottom: var(--s5); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: var(--s3); }
.steps strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.steps span { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s7); align-items: start; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 0.95rem; background: #fff; }
.chips a:hover { border-color: var(--green); color: var(--green); }
.chips.big a { padding: 12px 18px; }
.faq details { border-bottom: 1px solid var(--line); padding: var(--s4) 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: var(--s3) 0 0; color: var(--ink-2); }
.final { background: var(--ink); color: #fff; padding: var(--s7) 0; }
.final h2 { color: #fff; }
.final p { color: #cfd5d0; }
.final-in { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.final .btn-wa { background: transparent; color: #fff; border-color: #fff; }

/* page heads, content */
.pagehead { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: var(--s7) 0 var(--s6); }
.crumbs { color: var(--muted); margin-bottom: var(--s3); }
.crumbs a { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: var(--s5); font-weight: 600; }
.facts .i { color: var(--green); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s7); align-items: start; }
.sticky { position: sticky; top: 96px; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s6); }
.prose h3 { margin-top: var(--s5); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: var(--s4) 0; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--paper-2); }
.prose blockquote { border-left: 3px solid var(--green); margin: var(--s4) 0; padding-left: var(--s4); color: var(--ink-2); }
.callout { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius); padding: var(--s5); margin-top: var(--s6); }
.big-link { font-size: 1.25rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.okmark { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto var(--s5); }
.okmark .i { width: 32px; height: 32px; }

/* quote form */
.quote { box-shadow: 0 1px 0 var(--line); }
.quote-h { font-size: 1.5rem; margin-bottom: 4px; }
.field { margin-bottom: var(--s3); }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c9cec8; border-radius: 8px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 2px solid var(--green-100); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); }
.form-status { margin: var(--s2) 0 0; min-height: 1.2em; }
.form-status.bad { color: var(--danger); }
aside .cta-row { margin-top: var(--s4); }
aside .cta-row .btn { flex: 1; }

/* 30-second lead popup */
.leadpop { border: 0; padding: 0; background: transparent; width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.leadpop::backdrop { background: rgba(20, 24, 21, .75); backdrop-filter: blur(3px); }
html.pop-lock, html.pop-lock body { overflow: hidden; }
.leadpop .quote { margin: 0; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; padding-top: var(--s6); }
.leadpop-alt { background: var(--paper-2); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: var(--s3) var(--s5); margin: 0; text-align: center; }
.leadpop-x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 8px; z-index: 1; }
.leadpop-x:hover { color: var(--ink); background: var(--paper-2); }
.leadpop[open] { animation: popin .2s ease-out; }
@keyframes popin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .leadpop { margin: auto auto 0; width: 100vw; max-width: 100vw; }
  .leadpop .quote { border-radius: 16px 16px 0 0; }
  .leadpop-alt { border-radius: 0; padding-bottom: calc(var(--s3) + env(safe-area-inset-bottom)); }
}

/* footer */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: var(--s7) 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: var(--s6); }
.footer h3 { font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer ul a { color: var(--ink-2); text-decoration: none; }
.footer ul a:hover { color: var(--green); }
.footer-logo { width: 130px; margin-bottom: var(--s3); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: var(--s6); padding: var(--s4) 20px; color: var(--muted); font-size: 0.85rem; }
.mobilebar { display: none; }

/* responsive */
@media (max-width: 960px) {
  .hero-grid, .content-grid, .split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .trust { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .hide-sm, .topbar-in > span:first-child { display: none; }
  .topbar-in { justify-content: space-between; gap: var(--s3); }
  .topbar-in > span:first-child { margin-right: 0; }
  .header-in { min-height: 64px; }
  .brand img { width: 108px; }
  .navbtn { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; }
  .navbtn .i { width: 22px; height: 22px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: var(--s2) 20px var(--s4); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: var(--s3); border: 0; }
  .navtoggle:checked ~ .nav { display: flex; }
  .hero { padding: var(--s6) 0; }
  .section { padding: var(--s7) 0; }
  .trust, .prose .trust { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mobilebar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; font-weight: 600; text-decoration: none; color: var(--ink); }
  .mobilebar a + a { border-left: 1px solid var(--line); }
  .mobilebar .mb-primary { background: var(--green); color: #fff; }
}
