/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:           #f8faf8;
  --surface:      #ffffff;
  --surface-2:    #f0fdf4;
  --border:       #e2ece2;
  --border-dark:  #bbf7d0;
  --text:         #0f1a0f;
  --text-2:       #52525b;
  --text-3:       #a1a1aa;
  --green:        #16a34a;
  --green-dark:   #14532d;
  --green-light:  #4ade80;
  --green-pale:   #f0fdf4;
  --green-text:   #166534;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    18px;
  --font-head:    -apple-system, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --font-body:    -apple-system, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:       0 4px 16px rgba(22,163,74,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:    0 12px 40px rgba(22,163,74,.15), 0 4px 12px rgba(0,0,0,.06);
  --transition:   0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Header ────────────────────────────────────────────────────────────────── */
header {
  background: #0f1a0f;
  padding: 0 24px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── Logo ── */
.logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.8; }
.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--green);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.logo span { opacity: 0.3; }

/* ── Desktop nav ── */
.header-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 64px;
}
.header-nav a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.header-nav a:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.2);
}
.header-nav a.active {
  color: #fff;
  font-weight: 600;
  border-bottom-color: var(--green);
}

/* ── CTA button ── */
.header-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 99px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.header-cta:hover { background: #15803d; transform: translateY(-1px); }

/* ── Hamburger button (mobile only) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: #0f1a0f;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 16px 20px;
  z-index: 199;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  flex-direction: column;
  gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: all .15s;
}
.mobile-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.mobile-nav a.active { background: rgba(22,163,74,.2); color: #4ade80; font-weight: 600; }
.mobile-nav a .nav-icon { font-size: 18px; width: 20px; text-align: center; }
.mobile-nav-divider { height: 1px; background: rgba(255,255,255,.07); margin: 8px 0; }
.mobile-nav .mobile-cta {
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  color: #fff;
  justify-content: center;
  margin-top: 8px;
}
.mobile-nav .mobile-cta:hover { background: #15803d; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.45);
  padding: 56px 24px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; display: flex; font-size: 15px; }
.footer-brand .logo-icon { background: var(--green); }
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 220px; }
.footer-col-title {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── Page wrap ─────────────────────────────────────────────────────────────── */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px 80px; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.btn-dark { background: var(--green); color: #fff; border-color: var(--green); }
.btn-dark:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  footer { padding: 40px 20px 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}