:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --ink: #1f2a1f;
  --muted: #5b675b;
  --line: #e3dfd2;
  --green: #1f9d3a;
  --green-ink: #0f6b24;
  --brown: #a67c52;
  --hero-bg: #1d261d;
  --hero-ink: #f3f7f1;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151a15;
    --surface: #1d241d;
    --ink: #ecf1ea;
    --muted: #a3b0a3;
    --line: #2c372c;
    --green: #3ddc5f;
    --green-ink: #7be893;
    --hero-bg: #0f130f;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--green-ink); }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--hero-bg) 94%, transparent); backdrop-filter: blur(8px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--hero-ink); text-decoration: none; font-weight: 700; }
.brand img { width: 32px; height: 32px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: #c9d6c7; text-decoration: none; font-size: 15px; }
.nav ul a:hover { color: #fff; }
.nav ul a.btn-primary, .nav ul a.btn-primary:hover { color: #0b2412; }
.brand, .btn { white-space: nowrap; }
@media (max-width: 720px) { .nav ul li:not(:last-child) { display: none; } }
@media (max-width: 480px) { .brand { font-size: 0; gap: 0; } .brand img { height: 28px !important; } .btn-sm { padding: 7px 14px; font-size: 14px; } }

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: #3ddc5f; color: #0b2412; }
.btn-primary:hover { background: #63e67f; }
.btn-ghost { border-color: #5d6f5d; color: var(--hero-ink); }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 15px; }

/* hero */
.hero { background: radial-gradient(900px 400px at 80% 0%, #2a4a2c 0%, transparent 70%), var(--hero-bg); color: var(--hero-ink); padding: 84px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.5vw, 58px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 span { color: #3ddc5f; display: inline-block; }
.hero p.lead { font-size: 20px; color: #c9d6c7; max-width: 34em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .badge { margin-top: 22px; font-size: 14px; color: #9db09b; }
.phone { justify-self: center; width: min(300px, 100%); background: #0c100c; border: 6px solid #2f3c2f; border-radius: 34px; padding: 16px 14px 18px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.phone h4 { margin: 4px 6px 12px; font-size: 15px; color: #9db09b; font-weight: 600; }
.row { display: flex; align-items: center; gap: 10px; background: #1b231b; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; color: #e5ece3; }
.row .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.row small { margin-left: auto; color: #9db09b; white-space: nowrap; }
.dot.red { background: #ff6b5e; } .dot.amber { background: #f2b84b; } .dot.green { background: #3ddc5f; } .dot.blue { background: #6ab4ff; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 56px 0 64px; } }

/* sections */
section { padding: 80px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { color: var(--green-ink); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 40px; font-size: 19px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--bg); }
#privacy .grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card .ico { font-size: 28px; line-height: 1; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.tier { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 22px; }
.tier:nth-child(2) { border-top-color: #5fb35a; }
.tier:nth-child(3) { border-top-color: #8aa24f; }
.tier:nth-child(4) { border-top-color: var(--brown); }
.tier .lvl { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); }
.tier h3 { margin: 6px 0 8px; font-size: 20px; }
.tier p { margin: 0; color: var(--muted); font-size: 16px; }
.tier ul { margin: 14px 0 0; padding: 14px 0 0 1.1em; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.tier li { margin-bottom: 5px; }
.tier li::marker { color: var(--green); }
.note { margin: 28px 0 0; color: var(--muted); font-size: 17px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split ul { padding-left: 1.1em; margin: 0; color: var(--muted); }
.split li { margin-bottom: 8px; }
.split li strong { color: var(--ink); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; counter-reset: s; }
.flow div { position: relative; padding: 22px 22px 22px 22px; border-left: 3px solid var(--green); background: var(--bg); border-radius: 0 var(--radius) var(--radius) 0; }
.flow div::before { counter-increment: s; content: counter(s); display: block; font-size: 13px; font-weight: 700; color: var(--green-ink); margin-bottom: 4px; }
.flow h3 { margin: 0 0 6px; font-size: 18px; }
.flow p { margin: 0; color: var(--muted); font-size: 15.5px; }

pre { background: #0f130f; color: #d7e6d4; padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; font-size: 14.5px; line-height: 1.55; margin: 0; }
pre .c { color: #7c917a; }

.final { text-align: center; background: var(--hero-bg); color: var(--hero-ink); }
.final h2 { margin-bottom: 12px; }
.final p { color: #c9d6c7; margin: 0 auto 28px; max-width: 34em; }
.final .cta { justify-content: center; }

.signup { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 720px; margin: 0 auto; }
.signup input[type="text"], .signup input[type="email"] { flex: 1 1 200px; padding: 13px 18px; border-radius: 999px; border: 2px solid #3b4a3b; background: #141a14; color: var(--hero-ink); font: inherit; }
.signup input:focus { outline: none; border-color: #3ddc5f; }
.signup button { cursor: pointer; font: inherit; font-weight: 600; }
.signup button:disabled { opacity: .6; cursor: wait; }
.signup .captcha { flex-basis: 100%; display: flex; justify-content: center; min-height: 65px; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup-msg { min-height: 1.6em; margin: 16px auto 0 !important; color: #7be893 !important; font-weight: 600; }
.signup-msg.err { color: #ff8a80 !important; }

footer { background: var(--hero-bg); color: #9db09b; padding: 28px 0 40px; font-size: 14.5px; border-top: 1px solid #263226; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: #c9d6c7; }
