:root {
  --green: #3E5C4B;
  --green-2: #2F4739;
  --accent: #6F8F79;
  --cream: #F7F3EC;
  --surface: #ffffff;
  --surface-alt: #EFE9DE;
  --text: #1E2621;
  --muted: #5C665D;
  --border: #E2DACB;
  --radius: 22px;
  --maxw: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --green: #6F8F79;
    --green-2: #5C7B66;
    --cream: #14181500;
    --surface: #242B25;
    --surface-alt: #2E362F;
    --text: #EDE7DB;
    --muted: #A6AEA4;
    --border: #38403A;
  }
  body { background: #1A1F1B; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream, #F7F3EC);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: light) { body { background: #F7F3EC; } }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(12px);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--green), var(--green-2));
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff !important;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer;
}
.btn:hover { text-decoration: none; background: var(--green-2); }
.btn.secondary { background: transparent; color: var(--text) !important; border: 1px solid var(--border); }

/* Hero */
.hero { padding: 76px 0 40px; text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green);
  background: color-mix(in srgb, var(--green) 14%, transparent);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.05; letter-spacing: -.02em; font-weight: 850; }
.hero p.sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 620px; margin: 20px auto 30px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* stat strip */
.stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }
.stat b { display: block; font-size: 30px; font-weight: 850; color: var(--green); }
.stat span { color: var(--muted); font-size: 14px; }

/* Features */
section { padding: 56px 0; }
h2.section-title { font-size: clamp(28px, 4vw, 40px); text-align: center; letter-spacing: -.02em; font-weight: 850; }
.section-sub { text-align: center; color: var(--muted); margin: 12px auto 40px; max-width: 560px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.card .ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--green) 16%, transparent); font-size: 26px; margin-bottom: 16px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-align: center; position: relative; }
.plan.featured { border: 2px solid var(--green); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-size: 34px; font-weight: 850; margin: 6px 0; }
.plan .per { color: var(--muted); font-size: 14px; }

/* Legal pages */
.legal { padding: 48px 0 80px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: 36px; letter-spacing: -.02em; margin-bottom: 6px; }
.legal .meta { color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .back { display: inline-block; margin-bottom: 24px; font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 20px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .links a { color: var(--muted); font-weight: 600; font-size: 14px; }
footer .copy { color: var(--muted); font-size: 14px; }
