:root {
  --bg: #0f1a14;
  --surface: #1a2620;
  --surface-2: #1f2e25;
  --border: #2c3d31;
  --text: #e4e8e4;
  --text-dim: #8aa094;
  --accent: #4ade80;
  --accent-dim: #4ade801a;
  --yellow: #fbbf24;
  --red: #ef4444;
  --radius: 14px;
  --max-w: 1040px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 26, 20, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  border-radius: 6px;
}
.nav nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.nav nav a { color: var(--text-dim); }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.cta-inline {
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent) !important;
}
.cta-inline:hover { background: var(--accent-dim); text-decoration: none; }

/* ---------- HERO ---------- */
.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(ellipse at top, rgba(74, 222, 128, 0.18), transparent 60%),
    var(--bg);
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.lede {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 32px;
}
.lede strong { color: var(--text); }
.cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-primary {
  display: inline-block;
  padding: 14px 26px;
  background: var(--accent);
  color: #000 !important;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
}
.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn-ghost {
  display: inline-block;
  padding: 14px 22px;
  color: var(--text) !important;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 15px;
}
.btn-ghost:hover { border-color: var(--text-dim); text-decoration: none; }
.disclaimer-small {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 18px;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 70px 0;
}
section.how { background: var(--surface); }
section.pricing { background: var(--surface); }
h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.01em;
  margin: 0 0 36px;
  text-align: center;
}
h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
p { margin: 0 0 12px; }

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* ---------- FEATURE GRID ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-grid article {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature-grid h3 { color: var(--accent); }
.feature-grid p { color: var(--text-dim); font-size: 14px; }

/* ---------- PRICING ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.plan {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.plan-pro {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-dim);
}
.plan-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price {
  font-size: 36px;
  font-weight: 900;
  margin: 8px 0 0;
}
.price span {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 400;
}
.price-annual {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px;
  font-size: 14px;
}
.plan li {
  padding: 6px 0;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.plan li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 8px;
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq details {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--text-dim);
}
.faq details[open] summary::after { content: "–"; }
.faq p {
  color: var(--text-dim);
  margin: 12px 0 0;
  font-size: 14px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  text-align: center;
  padding: 70px 0 90px;
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--surface);
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-col { display: inline-flex; align-items: center; gap: 10px; }
.footer-nav { display: inline-flex; gap: 18px; font-size: 14px; }
.footer-nav a { color: var(--text-dim); }
.footer-small {
  color: var(--text-dim);
  font-size: 12px;
  margin: 0;
}

/* ---------- LEGAL (privacy/terms) ---------- */
.legal {
  max-width: 740px;
  margin: 0 auto;
  padding: 50px 20px 80px;
  font-size: 15px;
  line-height: 1.7;
}
.legal h1 { font-size: 32px; }
.legal h2 { text-align: left; margin-top: 40px; font-size: 22px; }
.legal h3 { font-size: 18px; }
.legal p, .legal li { color: var(--text); }
.legal em { color: var(--text-dim); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .steps, .feature-grid, .plans {
    grid-template-columns: 1fr;
  }
  .nav nav { gap: 14px; font-size: 13px; }
  .cta-inline { display: none; }
}
