:root {
  --bg: #f4f8f1;
  --bg-2: #e6efe0;
  --card: #ffffff;
  --ink: #17301f;
  --muted: #4f6656;
  --line: #d6e2d0;
  --green: #2f7d4f;
  --green-2: #1f5c39;
  --accent: #e0902c;
  --radius: 18px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a13;
    --bg-2: #14231a;
    --card: #182a1f;
    --ink: #e8f1e6;
    --muted: #a6b9aa;
    --line: #26392d;
    --green: #5fb583;
    --green-2: #8ccfa5;
    --accent: #f0a94a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%) fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
nav a { margin-left: 22px; color: var(--muted); font-weight: 500; }
nav a:hover { color: var(--ink); text-decoration: none; }

.hero { padding: 56px 0 28px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 26px; }
.hero .art { display: flex; justify-content: center; }
.hero .art img { width: min(260px, 60vw); border-radius: 56px; box-shadow: 0 24px 60px rgba(31, 92, 57, .28); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: #fff; padding: 13px 20px; border-radius: 14px;
  font-weight: 600; box-shadow: 0 6px 18px rgba(47,125,79,.28);
}
.btn:hover { background: var(--green-2); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--green); box-shadow: none; border: 1.5px solid var(--line); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { color: var(--muted); font-size: 14px; }

section { padding: 36px 0; }
h2 { font-size: 30px; letter-spacing: -0.015em; margin: 0 0 10px; }
.sub { color: var(--muted); margin: 0 0 26px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 8px 26px rgba(23,48,31,.06);
}
.card .icon { font-size: 26px; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.plan { position: relative; }
.plan.pro { border-color: var(--green); box-shadow: 0 12px 34px rgba(47,125,79,.18); }
.plan .price { font-size: 34px; font-weight: 700; margin: 6px 0 2px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 0; list-style: none; margin: 16px 0 0; }
.plan li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.plan li.no::before { content: "— "; color: var(--muted); }
.badge { position: absolute; top: -12px; right: 18px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-left: 64px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center;
}

footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 20px; }
footer .links a { margin-right: 18px; }

/* Legal pages */
.doc { max-width: 760px; }
.doc h1 { font-size: 38px; margin: 24px 0 6px; letter-spacing: -0.02em; }
.doc .meta { color: var(--muted); margin-bottom: 30px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { font-size: 16.5px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; padding: 14px 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 30px; text-align: left; }
  .hero .art { order: -1; }
  nav a { margin-left: 14px; font-size: 15px; }
}
