:root {
  --pine: #0e2a26;
  --pine-2: #163b35;
  --teal: #1d8a6b;
  --teal-d: #156b53;
  --mint: #e3f2ec;
  --finch: #f29a3a;
  --finch-d: #c9701d;
  --cream: #f7f5ef;
  --paper: #ffffff;
  --ink: #14231f;
  --muted: #5c6f6a;
  --line: #dde6e2;
  --red: #c8483b;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(14, 42, 38, .12), 0 2px 6px rgba(14, 42, 38, .06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); }
h1, h2, h3 { line-height: 1.12; color: var(--pine); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin: .2em 0 .35em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: .2em 0 .5em; font-weight: 800; }
h3 { font-size: 1.12rem; margin: 0 0 .4em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--teal); margin: 0; }
.hl { background: linear-gradient(transparent 60%, rgba(242, 154, 58, .45) 0); }
section { padding: 80px 0; }

.btn {
  display: inline-block; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700;
  padding: 14px 22px; border-radius: 12px; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  box-shadow: 0 8px 20px rgba(29, 138, 107, .3); transition: transform .15s, background .15s;
}
.btn:hover { background: var(--teal-d); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--finch); outline-offset: 2px; }
.btn-finch { background: var(--finch); color: var(--pine); box-shadow: 0 8px 20px rgba(242, 154, 58, .35); }
.btn-finch:hover { background: #f6ab55; }
.btn-ghost { background: transparent; color: var(--pine); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-sm { padding: 9px 14px; font-size: .92rem; box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(247, 245, 239, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--pine); text-decoration: none; font-size: 1.18rem; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.links a:hover { color: var(--teal); }
.nav .signin { font-weight: 700; color: var(--pine); text-decoration: none; }

/* hero */
.hero { padding: 56px 0 84px; background: radial-gradient(900px 480px at 90% -10%, #d6ece3 0, transparent 60%), var(--cream); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
.lead { font-size: 1.18rem; color: #33463f; max-width: 33em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 18px 0 0; list-style: none; font-size: .92rem; font-weight: 600; color: var(--pine); }
.proof li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 6px; }
.hero-visual { position: relative; }
.hero-photo { border-radius: 26px; box-shadow: var(--shadow); aspect-ratio: 4/3.3; object-fit: cover; width: 100%; filter: saturate(.9); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.inbox { position: absolute; left: -34px; bottom: -40px; width: min(370px, 90%); padding: 14px 16px; }
.inbox h4 { margin: 0 0 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; justify-content: space-between; }
.inbox h4 b { color: var(--teal); }
.msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.msgs li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--cream); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.msgs li.on { opacity: 1; transform: none; }
.msgs .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--teal); font-size: .85rem; }
.msgs .ic.call { background: var(--finch); color: var(--pine); }
.msgs b { display: block; font-size: .9rem; color: var(--pine); }
.msgs small { color: var(--muted); font-size: .8rem; }
.callchip { position: absolute; right: -14px; top: 22px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; font-size: .86rem; font-weight: 700; color: var(--pine); animation: bob 5s ease-in-out infinite; }
.callchip i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(29, 138, 107, .6); animation: ping 1.8s infinite; }
@keyframes bob { 50% { transform: translateY(-7px); } }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(29, 138, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 138, 107, 0); } }

/* stat strip */
.strip { background: var(--pine); color: #d7e7e1; padding: 34px 0; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strip b { display: block; font-size: 2rem; color: #fff; font-weight: 800; letter-spacing: -.02em; }
.strip span { font-size: .9rem; }
.strip a { color: #9fd8c4; }

/* problem */
.problem-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center; }
.problem-photo img { border-radius: 22px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.pains { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: p; }
.pains li { counter-increment: p; position: relative; padding: 14px 0 14px 54px; border-bottom: 1px solid var(--line); font-size: 1.04rem; }
.pains li::before { content: counter(p); position: absolute; left: 0; top: 12px; width: 36px; height: 36px; border-radius: 11px; background: var(--mint); color: var(--teal-d); font-weight: 800; display: grid; place-items: center; }

/* steps */
.how { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.steps li::before { content: "0" counter(s); font-weight: 800; color: var(--finch-d); font-size: .9rem; letter-spacing: .1em; }
.steps p { margin: 0; color: #3b4c47; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature svg { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--mint); fill: none; stroke: var(--teal-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.feature p { margin: 0; color: #3b4c47; }
.feature.dark { background: var(--pine); border-color: var(--pine); }
.feature.dark h3 { color: var(--finch); }
.feature.dark p { color: #d2e2dc; }
.feature.dark svg { background: var(--pine-2); stroke: var(--finch); }

/* calculator */
.calc { background: linear-gradient(180deg, var(--cream), #e8f1ed); }
.calc-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 20px; margin-top: 30px; }
.controls { padding: 24px; display: grid; gap: 22px; align-content: start; }
.controls label { font-weight: 700; font-size: .95rem; display: grid; gap: 8px; }
.controls output { float: right; color: var(--teal-d); font-weight: 800; }
input[type=range] { width: 100%; accent-color: var(--teal); }
.results { padding: 24px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi small { color: var(--muted); font-size: .8rem; display: block; }
.kpi b { font-size: 1.5rem; color: var(--pine); font-variant-numeric: tabular-nums; }
.kpi.good b { color: var(--teal-d); }
.chart { margin-top: 18px; }
.bar-row { display: grid; grid-template-columns: 190px 1fr; gap: 12px; align-items: center; margin: 10px 0; }
.bar-label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.bar-track { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bar-track i { display: block; height: 30px; border-radius: 8px; transition: width .5s; flex: none; }
.bar-track b { font-size: .92rem; color: var(--pine); white-space: nowrap; }
@media (max-width: 600px) { .bar-row { grid-template-columns: 1fr; gap: 4px; } }
.calc-note { margin: 14px 0 0; padding: 12px 14px; background: #fff6ea; border-radius: 10px; font-size: .95rem; }

/* compare */
.compare { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 28px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--pine); color: #fff; font-size: .9rem; }
.compare tr.us td { background: var(--mint); font-weight: 600; }
.scroll { overflow-x: auto; }

/* pricing */
.pricing { background: var(--paper); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; align-items: stretch; }
.tier { border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; position: relative; display: flex; flex-direction: column; }
.tier.best { border-color: var(--teal); box-shadow: var(--shadow); }
.tier .tag { position: absolute; top: -13px; left: 24px; background: var(--finch); color: var(--pine); font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--pine); margin: 8px 0 2px; }
.price small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.tier .for { color: var(--muted); margin: 0 0 14px; min-height: 3em; }
.tier .btn { margin-top: auto; text-align: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.founding { margin-top: 22px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.founding b { color: var(--pine); }
.spots { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 700; }
.spots i { display: block; width: 140px; height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; position: relative; }
.spots i::after { content: ""; position: absolute; inset: 0; width: var(--fill, 100%); background: linear-gradient(90deg, var(--teal), var(--finch)); }

/* signup */
.signup { background: var(--pine); color: #d7e7e1; }
.signup h2 { color: #fff; }
.signup .eyebrow { color: var(--finch); }
.signup-in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.signup-form { padding: 26px; color: var(--ink); display: grid; gap: 14px; }
.signup-form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
input, select, textarea { font: inherit; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); width: 100%; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(29, 138, 107, .2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-weight: 700; min-height: 1.2em; }
.form-msg.err { color: var(--red); }
.form-msg.ok { color: var(--teal-d); }

/* faq */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; margin: 10px 0; padding: 0 18px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; list-style: none; position: relative; color: var(--pine); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--teal); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 16px; color: #3b4c47; }

/* footer */
.foot { background: #0a1f1c; color: #9fb6ae; padding: 40px 0; font-size: .92rem; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot .brand { color: #fff; }
.foot a { color: #cfe5dc; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.credits { grid-column: 1 / -1; margin: 10px 0 0; font-size: .78rem; border-top: 1px solid #1e3a35; padding-top: 16px; }

/* simple pages */
.page { padding: 52px 0 80px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.page h2 { font-size: 1.35rem; margin-top: 1.7em; }
.login-card { max-width: 440px; margin: 40px auto; padding: 30px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .callchip, .callchip i { animation: none; }
  .msgs li { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 920px) {
  .hero-in, .problem-in, .calc-grid, .signup-in { grid-template-columns: 1fr; }
  .steps, .features, .tiers, .strip-in { grid-template-columns: 1fr 1fr; }
  .inbox { position: relative; left: auto; bottom: auto; margin: -56px auto 0; width: 92%; }
  .callchip { right: 8px; }
  .links { display: none; }
  .nav .signin { margin-left: auto; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .steps, .features, .tiers, .kpis, .strip-in, .foot-in { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; text-align: center; }
  .nav .btn-sm { display: none; }
}
.hero-in > *, .problem-in > *, .calc-grid > *, .signup-in > *, .kpis > *, .strip-in > *, .foot-in > * { min-width: 0; }

/* long guide */
.guide p, .guide li { font-size: 1.04rem; }
.guide blockquote { margin: 18px 0; padding: 14px 18px; background: var(--paper); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; }
.guide blockquote p { margin: 6px 0; }
.guide .email-sample { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92rem; white-space: normal; }
.guide h3 { margin-top: 1.4em; }
