:root {
  --bg: #fbfcfa;
  --surface: #ffffff;
  --ink: #0f1a14;
  --muted: #55665c;
  --line: #e3e9e5;
  --brand: #15803d;
  --brand-ink: #ffffff;
  --accent: #4ade80;
  --dark: #0b1410;
  --dark-ink: #e9f2ec;
  --radius: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1410;
    --surface: #101d17;
    --ink: #e9f2ec;
    --muted: #9db3a6;
    --line: #1f3329;
    --brand: #22c55e;
    --brand-ink: #06200f;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
a { color: var(--brand); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 21px; letter-spacing: -0.4px; color: var(--ink); text-decoration: none; }
.logo b { color: var(--brand); }
nav.top a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 15px; }
nav.top a:hover { color: var(--ink); }
nav.top a.btn-primary, nav.top a.btn-primary:hover { color: var(--brand-ink); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 10px; font-weight: 700;
  text-decoration: none; font-size: 16px; border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--muted); }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 40px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .4px; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; letter-spacing: -1.2px; margin: 12px 0 18px; max-width: 820px; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 720px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-note { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Video */
.video { margin: 36px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--dark); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.video video { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.video-caption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.6px; line-height: 1.15; margin: 0 0 14px; }
.sub { color: var(--muted); max-width: 680px; margin: 0 0 32px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 14px; margin-bottom: 12px; }

/* Comparison */
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 14px; color: var(--muted); font-weight: 600; }
.compare td:first-child { font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Offer */
.offer { display: grid; gap: 28px; grid-template-columns: 1.2fr 1fr; align-items: start; }
.price-card { background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius); padding: 28px; }
.price { font-size: 46px; font-weight: 800; letter-spacing: -1px; margin: 4px 0; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
ul.check { list-style: none; padding: 0; margin: 0 0 22px; }
ul.check li { padding: 7px 0 7px 30px; position: relative; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* Sample */
.sample { background: var(--dark); color: var(--dark-ink); border-radius: var(--radius); padding: 22px; font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; white-space: pre; }
.sample .h { color: #fbbf24; font-weight: 700; }
.sample .o { color: #f87171; font-weight: 700; }
.sample .d { color: #8aa496; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 17px; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-right: 16px; }

/* Policy pages */
.doc { max-width: 760px; padding: 48px 20px 64px; margin: 0 auto; }
.doc h1 { font-size: 36px; letter-spacing: -0.6px; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 21px; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--ink); }

@media (max-width: 760px) {
  nav.top a:not(.btn) { display: none; }
  .offer { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  section { padding: 48px 0; }
}
