:root {
  --green: #1D6B49; --green-dark: #14523A; --green-tint: #E3F0E8; --green-soft: #F1F8F3; --on-green: #CFE5D8;
  --amber: #E8A33D; --amber-ink: #7E5208; --amber-tint: #FCEFD6;
  --bg: #F5F6F2; --surface: #FFFFFF; --ink: #15201A; --muted: #5A6660; --border: #E2E5DF;
  --radius: 20px; --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(245,246,242,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; display: block; }
.top nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 560px) { .top nav .hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn:hover { color: #fff; background: #000; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--border); }
.btn.ghost:hover { border-color: var(--ink); }
.btn small { font-weight: 600; opacity: .7; font-size: 13px; }

/* hero */
.hero { padding: 48px 0 32px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) { .hero { padding: 80px 0 56px; } .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green); background: var(--green-tint); padding: 4px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.05; letter-spacing: -1.5px; margin: 16px 0 0; font-weight: 800; }
h1 em { font-style: normal; color: var(--green); }
.lead { font-size: 18px; color: var(--muted); margin: 18px 0 0; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--muted); font-weight: 600; }
.trust span::before { content: "✓ "; color: var(--green); }

/* phone mock */
.phone { width: min(320px, 100%); margin: 0 auto; background: var(--ink); border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(21,32,26,.35); }
.screen { background: var(--bg); border-radius: 34px; padding: 22px 16px 18px; overflow: hidden; }
.screen .date { font-size: 12px; font-weight: 700; color: var(--muted); }
.screen .hi { font-size: 20px; font-weight: 800; margin-top: 2px; }
.hero-card { margin-top: 14px; background: var(--green); color: #fff; border-radius: 22px; padding: 18px; }
.hero-card .lbl { font-size: 12.5px; font-weight: 700; color: var(--on-green); }
.hero-card .amt { font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.bar { height: 8px; border-radius: 4px; background: #2F7E5B; margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 38%; background: #fff; border-radius: 4px; }
.hero-card .row { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--on-green); margin-top: 8px; }
.hero-card .note { border-top: 1px solid rgba(255,255,255,.18); margin-top: 12px; padding-top: 10px; font-size: 12.5px; color: var(--on-green); }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.mini div { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 10px 12px; }
.mini b { display: block; font-size: 17px; }
.mini small { font-size: 11px; font-weight: 700; color: var(--muted); }
.entries { background: #fff; border: 1px solid var(--border); border-radius: 16px; margin-top: 10px; padding: 4px 12px; }
.entry { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; }
.entry + .entry { border-top: 1px solid #EEF0EC; }
.entry .ic { width: 28px; height: 28px; border-radius: 9px; flex: none; }
.entry .t { flex: 1; font-weight: 700; }
.entry .t small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.entry .a { font-weight: 700; }

/* sections */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.15; letter-spacing: -.8px; margin: 0; font-weight: 800; }
.sub { color: var(--muted); font-size: 17px; margin: 12px 0 0; max-width: 40em; }
.grid { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 12px 0 0; font-size: 18px; }
.card p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.tile { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--green-tint); color: var(--green); }
.tile.amber { background: var(--amber-tint); color: var(--amber-ink); }
.tile svg { width: 22px; height: 22px; }

/* how it works */
.steps { counter-reset: s; display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.steps li::before { counter-increment: s; content: counter(s); display: inline-flex; width: 32px; height: 32px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 800; align-items: center; justify-content: center; }
.steps h3 { margin: 12px 0 0; font-size: 18px; }
.steps p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.steps { padding: 0; }

/* example */
.example { margin-top: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; max-width: 520px; }
.example .line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.example .line.total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; font-weight: 800; color: var(--green); }
.example .line.big { font-size: 18px; }

/* pricing */
.plans { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); padding: 24px; }
.plan.pro { border-color: var(--green); background: var(--green-soft); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 30px; font-weight: 800; margin-top: 6px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan ul { padding: 0; margin: 16px 0 0; list-style: none; }
.plan li { padding: 5px 0 5px 26px; position: relative; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* faq */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; margin-top: 10px; }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-weight: 800; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* footer */
footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--ink); }

/* legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); letter-spacing: -1px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-top: 8px; }
.doc h2 { font-size: 22px; letter-spacing: -.3px; margin: 40px 0 0; }
.doc h3 { font-size: 17px; margin: 24px 0 0; }
.doc p, .doc li { font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.summary-box { background: var(--green-soft); border: 1px solid var(--green-tint); border-radius: var(--radius); padding: 18px 22px; margin-top: 24px; }
.summary-box ul { margin: 8px 0 0; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; background: var(--surface); border-radius: 14px; overflow: hidden; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { background: var(--bg); font-size: 13px; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--amber-tint); color: var(--amber-ink); border-radius: 14px; padding: 14px 18px; margin-top: 16px; font-size: 15px; }
code { background: #EEF0EC; padding: 1px 6px; border-radius: 6px; font-size: .92em; }

/* ---------------------------------------------------------------- interactive bits */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }

.demo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-card { transition: background-color .35s ease; }
.hero-card.over { background: var(--amber-ink); }
.hero-card.over .bar { background: #9A6A1E; }
.bar i { transition: width .45s cubic-bezier(.2,.8,.2,1); }
.hero-card .note b { color: #fff; }
.entry.fresh { animation: pop .45s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-8px); background: var(--green-soft); } to { opacity: 1; transform: none; } }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 340px; }
.chips-label { width: 100%; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.chip { font: inherit; font-size: 14px; font-weight: 600; border: 1.5px solid var(--border); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: border-color .15s, transform .1s; }
.chip:hover { border-color: var(--green); }
.chip:active { transform: scale(.96); }
.chip b { color: var(--green); }
.chip.ghost { background: transparent; color: var(--muted); }

.calc { margin-top: 28px; display: grid; gap: 14px; }
@media (min-width: 880px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc-in, .calc-out { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.field { display: block; margin-top: 18px; }
.field:first-child { margin-top: 0; }
.field > span:first-child, .ded-head span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.money-input { display: flex; align-items: center; gap: 8px; border: 2px solid var(--border); border-radius: 14px; padding: 0 14px; height: 52px; background: var(--surface); }
.money-input:focus-within { border-color: var(--green); }
.money-input b { color: var(--muted); font-weight: 700; }
.money-input input { border: 0; outline: 0; font: inherit; font-size: 20px; font-weight: 800; width: 100%; min-width: 0; color: var(--ink); background: transparent; }
.money-input.sm { height: 44px; padding: 0 10px; border-radius: 12px; }
.money-input.sm input { font-size: 15px; font-weight: 700; }
.ded-head { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.ded-head span { margin: 0; }
.link { font: inherit; font-size: 14px; font-weight: 700; color: var(--green); background: none; border: 0; cursor: pointer; padding: 4px 0; }
.ded { display: grid; grid-template-columns: 1fr 130px 32px; gap: 8px; align-items: center; margin-top: 8px; }
.ded-name { font: inherit; font-size: 15px; height: 44px; border: 2px solid var(--border); border-radius: 12px; padding: 0 12px; min-width: 0; color: var(--ink); }
.ded-name:focus { outline: 0; border-color: var(--green); }
.x { width: 32px; height: 32px; border-radius: 10px; border: 0; background: var(--bg); color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.x:hover { color: var(--ink); }
input[type=range] { width: 100%; accent-color: var(--green); height: 28px; }
.range-val { font-size: 14px; color: var(--muted); }
.calc-out { background: var(--green); color: #fff; border-color: var(--green); display: flex; flex-direction: column; }
.calc-out .lbl { color: var(--on-green); font-weight: 700; font-size: 14px; }
.calc-out .big { font-size: clamp(44px, 9vw, 64px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.calc-out .big.neg { color: #F2C77E; }
.calc-out .per { color: var(--on-green); font-weight: 600; }
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.split div { background: rgba(255,255,255,.1); border-radius: 12px; padding: 10px; min-width: 0; }
.split small { display: block; font-size: 11.5px; color: var(--on-green); font-weight: 700; }
.split b { font-size: 15px; overflow-wrap: anywhere; }
.whatif { margin-top: auto; padding-top: 20px; }
.whatif-q { font-weight: 700; }
.whatif input[type=range] { accent-color: #fff; }
.whatif-a { min-height: 48px; color: var(--on-green); font-size: 15px; }
.whatif-a b { color: #fff; }
.whatif-a.over b:first-child { color: #F2C77E; }

.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: #fff; border: 1.5px solid var(--green-tint); border-radius: 12px; padding: 3px; }
.seg button { font: inherit; font-size: 13.5px; font-weight: 700; border: 0; background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 9px; cursor: pointer; }
.seg button.on { background: var(--green); color: #fff; }
.save { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 800; background: var(--green); color: #fff; border-radius: 8px; padding: 2px 8px; margin-left: 4px; }
.price-note { font-size: 14px; color: var(--muted); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .bar i, .hero-card, .chip { transition: none; }
  .entry.fresh { animation: none; }
}
.save[hidden] { display: none; }
