/* ─── Design tokens — matches the app's v2-shell palette exactly ─── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --font: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;

  --green-50:  #f0f9f3;
  --green-100: #daeee0;
  --green-200: #b5ddc1;
  --green-300: #8fcfa3;
  --green-400: #62b374;
  --green-500: #4d9060;
  --green-600: #3a6d48;

  --gray-50:  #f8faf9;
  --gray-100: #f0f4f2;
  --gray-200: #e2e9e5;
  --gray-300: #c9d5cd;
  --gray-400: #94a89d;
  --gray-500: #677d71;
  --gray-600: #445951;
  --gray-900: #1a2e23;

  --text:           #1a2e23;
  --text-secondary: #445951;
  --text-muted:     #94a89d;

  --border:        #e2e9e5;
  --border-strong: #c9d5cd;

  --surface:        #ffffff;
  --surface-subtle: #f8faf9;
  --surface-muted:  #f0f4f2;

  --shadow-sm: 0 1px 3px rgba(26, 46, 35, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 46, 35, 0.09);
  --shadow-lg: 0 12px 32px rgba(26, 46, 35, 0.12);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Shared nav ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.nav-logo .logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
}

.nav-links a {
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.12s, color 0.12s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--surface-muted);
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, opacity 0.12s, border-color 0.12s;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { background: var(--surface-muted); color: var(--text); }

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--surface-subtle); }

.btn-primary {
  background: var(--green-400);
  color: #fff;
  border-color: transparent;
}
.btn-primary:hover { background: var(--green-500); }

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius);
}

/* ─── Section shared ─────────────────────────────────────────────── */
.section-inner {
  max-width: 74rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-500);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 44rem;
  line-height: 1.65;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-subtle);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 0;
}

.footer-inner {
  max-width: 74rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-tagline {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 3.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.footer-col a {
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.footer-col a:hover { color: var(--text); }

.footer-copy {
  max-width: 74rem;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Logo SVG snippet (reusable) ────────────────────────────────── */
.logo-mark rect { fill: var(--green-400); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
}
