:root {
  --ink: #0c1410;
  --ink-soft: #3c4a42;
  --muted: #6b7a70;
  --line: #e4e9e4;
  --bg: #fbfcfb;
  --card: #ffffff;
  --accent: #11875a;
  --accent-deep: #0c6a47;
  --accent-tint: #e8f5ee;
  --shadow: 0 1px 2px rgba(12, 20, 16, 0.04), 0 12px 40px rgba(12, 20, 16, 0.06);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(251, 252, 251, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
header.scrolled { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(17, 135, 90, 0.32);
}
.nav-cta {
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); transition: all .18s ease;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 84px; text-align: center; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -120px; transform: translateX(-50%);
  width: 760px; height: 540px; max-width: 120vw;
  background: radial-gradient(ellipse at center, rgba(17, 135, 90, 0.14), rgba(17, 135, 90, 0) 62%);
  pointer-events: none; z-index: -1; filter: blur(6px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent-deep); background: var(--accent-tint);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 {
  font-size: clamp(38px, 7vw, 66px);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 800;
  max-width: 16ch; margin: 0 auto 22px;
}
h1 .grad {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub {
  font-size: clamp(16.5px, 2.4vw, 20px); color: var(--ink-soft);
  max-width: 56ch; margin: 0 auto 38px; line-height: 1.6;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15.5px; font-weight: 600; padding: 14px 26px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 8px 22px rgba(17, 135, 90, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 135, 90, 0.36); }
.btn-ghost { color: var(--ink); background: var(--card); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---------- Features ---------- */
.features { padding: 28px 0 96px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); text-align: left;
  transition: transform .18s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(12,20,16,.05), 0 18px 50px rgba(12,20,16,.09); }
.ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint);
  display: grid; place-items: center; margin-bottom: 18px; color: var(--accent-deep);
}
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 56px; padding: 26px 24px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
footer { padding: 44px 0 56px; }
.foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  color: var(--muted); font-size: 14px;
}
.foot a:hover { color: var(--accent-deep); }
.foot .links { display: flex; gap: 22px; }

/* ---------- Legal / prose pages ---------- */
.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; max-width: none; text-align: left; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 34px 0 10px; }
.legal p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.legal ul { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin: 0 0 14px 22px; }
.legal li { margin-bottom: 7px; }
.legal a.inline { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal a.inline:hover { color: var(--accent); }
.legal .back { display: inline-flex; align-items: center; gap: 7px; margin-top: 30px; font-weight: 600; font-size: 14.5px; color: var(--accent-deep); }
.legal .back:hover { color: var(--accent); }

@media (max-width: 760px) {
  .hero { padding: 70px 0 60px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .nav { height: 60px; }
  .foot { justify-content: center; text-align: center; }
}
