:root {
  /* Color */
  --green: #15803d;
  --green-dark: #0f5e2c;
  --green-deep: #0a4a23;
  --green-tint: rgba(21, 128, 61, 0.08);
  --ink: #0c0a09;
  --ink-2: #3f3f46;
  --ink-3: #71717a;
  --paper: #faf9f5;
  --paper-deep: #f3f1ea;
  --line: rgba(15, 23, 42, 0.08);

  /* Type */
  --display-font: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body-font: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Spacing scale (4-based, drop in-between values) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--body-font);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) var(--sp-8);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(250, 249, 245, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 17px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--green);
  color: #fff;
  border-radius: var(--r-md);
  font-family: var(--body-font);
  font-weight: 800;
  letter-spacing: -1.2px;
  font-size: 15px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 6px 14px -8px rgba(21, 128, 61, 0.5);
}
.brand-word {
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav a:hover {
  color: var(--ink);
}
.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: var(--r-md);
  font-weight: 600;
  box-shadow: 0 6px 14px -8px rgba(21, 128, 61, 0.45);
}
.nav-cta:hover {
  background: var(--green-dark);
}
@media (max-width: 640px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--sp-32) var(--sp-8) var(--sp-20);
  text-align: center;
  isolation: isolate;
}
.hero::before {
  /* Signature move: contour-line backdrop. Reads as topographic without
     being literal map. Faded out at edges via radial mask. */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 31px,
    rgba(10, 74, 35, 0.08) 31px,
    rgba(10, 74, 35, 0.08) 32px
  );
  mask-image: radial-gradient(ellipse 70% 60% at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 30%, transparent 75%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    ellipse 60% 50% at center top,
    rgba(21, 128, 61, 0.06),
    transparent 60%
  );
}
.eyebrow {
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--green-dark);
  margin: 0 0 var(--sp-6);
}
.hero h1 {
  font-family: var(--display-font);
  font-size: clamp(44px, 6.5vw, 72px);
  line-height: 1.02;
  margin: 0 0 var(--sp-5);
  letter-spacing: -2.5px;
  font-weight: 800;
  color: var(--ink);
}
.hero h1 br {
  display: none;
}
@media (min-width: 760px) {
  .hero h1 br {
    display: inline;
  }
}
.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto var(--sp-10);
}
.cta-row {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--r-md);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.1px;
  border: 1px solid transparent;
  transition:
    transform 0.06s ease,
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(21, 128, 61, 0.45);
}
.btn.primary:hover {
  background: var(--green-dark);
  box-shadow: 0 12px 30px -10px rgba(15, 94, 44, 0.55);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover {
  background: var(--paper-deep);
  border-color: var(--ink-3);
}

/* ---------- Section eyebrow ---------- */
.section-eyebrow {
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--green-dark);
  margin: 0 0 var(--sp-8);
  text-align: center;
}

/* ---------- How it works ---------- */
.features {
  background: var(--paper-deep);
  padding: var(--sp-20) var(--sp-8);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 880px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  position: relative;
}
.feature-num {
  font-family: var(--display-font);
  color: var(--green);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: var(--sp-4);
}
.feature h3 {
  margin: 0 0 var(--sp-2);
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- Why ---------- */
.why {
  padding: var(--sp-20) var(--sp-8);
}
.why-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 720px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  background: var(--paper);
  position: relative;
}
.card::before {
  /* Subtle hairline accent at the top of each card */
  content: '';
  position: absolute;
  top: 0;
  left: var(--sp-8);
  width: 56px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.card h3 {
  margin: var(--sp-3) 0 var(--sp-2);
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: var(--sp-20) var(--sp-8);
  background: var(--green);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.cta-banner::before {
  /* Same contour backdrop, scaled up over the green */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 31px,
    rgba(255, 255, 255, 0.08) 31px,
    rgba(255, 255, 255, 0.08) 32px
  );
  mask-image: radial-gradient(ellipse 70% 60% at center, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 35%, transparent 80%);
}
.cta-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--display-font);
  font-size: clamp(32px, 4.5vw, 44px);
  margin: 0 0 var(--sp-3);
  letter-spacing: -1px;
  font-weight: 800;
  line-height: 1.1;
}
.cta-banner p {
  font-size: 17px;
  margin: 0 0 var(--sp-8);
  opacity: 0.92;
  line-height: 1.6;
}
.cta-banner .btn.primary {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.25);
}
.cta-banner .btn.primary:hover {
  background: var(--paper);
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-8);
  font-size: 13px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
}
.site-footer .footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: #fff;
  border-radius: 5px;
  font-weight: 800;
  letter-spacing: -0.8px;
  font-size: 11px;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.site-footer a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink-3);
}
