/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
  --color-brand: #294E3B;
  --color-brand-mid: #2E6158;
  --color-brand-light: #5F8E85;
  --color-brand-pale: #E8F2EE;
  --color-bg: #F3F7FA;
  --color-surface: #FFFFFF;
  --color-border: #D6DEE8;
  --color-border-light: #E5ECF3;
  --color-ink: #0F172A;
  --color-muted: #4F5D70;
  --color-muted-light: #76869A;

  /* Functional */
  --color-error: #DC2626;
  --color-success: #16A34A;
  --color-warning: #D97706;
  --color-info: #2563EB;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.04);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 180ms ease;
  --transition-base: 260ms ease;

  /* Layout */
  --container-max: 1280px;
  --section-spacing-mobile: 24px;
  --section-spacing-desktop: 32px;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

.dark {
  --color-brand: #4f8f82;
  --color-brand-mid: #62a194;
  --color-brand-light: #8abbb1;
  --color-brand-pale: #1a2f2a;
  --color-bg: #0b1115;
  --color-surface: #121b22;
  --color-border: #25333f;
  --color-border-light: #1c2732;
  --color-ink: #e5edf5;
  --color-muted: #a0b0bf;
  --color-muted-light: #7f93a6;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24), 0 1px 2px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.28), 0 2px 4px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.32), 0 4px 8px rgba(0, 0, 0, 0.16);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Keyboard users can skip straight to page content */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--color-brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: top var(--transition-fast);
}

.skip-link:focus-visible {
  top: 12px;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.section {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-mid);
  margin-bottom: 12px;
}

.section-label--light {
  color: var(--color-brand-light);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

/* ========================================
   CARD
   ======================================== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .card { padding: 20px; }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  min-height: 44px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px);
}

/* Sizes */
.btn-sm {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn-md {
  height: 44px;
  min-height: 44px;
  padding: 0 20px;
}

.btn-lg {
  height: 52px;
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

/* Variants */
.btn-primary {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}

.btn-primary:hover {
  background: var(--color-brand-mid);
  border-color: var(--color-brand-mid);
  box-shadow: 0 4px 12px rgba(41, 78, 70, 0.3);
}

.dark .btn-primary:hover {
  box-shadow: 0 4px 12px rgba(79, 143, 130, 0.3);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-ink);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg);
  border-color: var(--color-brand-light);
  color: var(--color-brand);
}

.btn-ghost {
  background: transparent;
  color: var(--color-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--color-ink);
  background: var(--color-brand-pale);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition-base), border-color var(--transition-base), backdrop-filter var(--transition-base);
}

.dark .navbar {
  background: transparent;
}

.navbar.navbar--scrolled {
  background: rgba(243, 247, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.dark .navbar.navbar--scrolled {
  background: rgba(11, 17, 21, 0.92);
}

.navbar:not(.navbar--scrolled) .logo-text,
.navbar:not(.navbar--scrolled) .nav-link,
.navbar:not(.navbar--scrolled) .theme-toggle {
  color: rgba(255, 255, 255, 0.9);
}

.navbar:not(.navbar--scrolled) .hamburger span {
  background: rgba(255, 255, 255, 0.9);
}

.navbar:not(.navbar--scrolled) .nav-link:hover,
.navbar:not(.navbar--scrolled) .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.navbar__inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 8px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-ink);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.navbar__logo:hover { opacity: 0.8; }

.logo-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
}

.logo-text {
  color: var(--color-ink);
  letter-spacing: -0.02em;
  font-weight: 500;
}

.navbar__nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

@media (min-width: 768px) {
  .navbar__nav { display: flex; }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-muted);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--color-ink);
  background: var(--color-brand-pale);
}

.nav-link.active {
  color: var(--color-brand);
  font-weight: 600;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.navbar__cta-desktop {
  display: none;
}

.nav-link--mobile-only {
  display: inline-flex;
}

@media (min-width: 768px) {
  .navbar__actions { margin-left: 16px; }
  .navbar__cta-desktop { display: inline-flex; }
  .nav-link--mobile-only { display: none; }
}

/* Theme toggle */
.theme-toggle {
  padding: 0;
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
}

.theme-toggle .icon-moon { display: none; }
.dark .theme-toggle .icon-sun { display: none; }
.dark .theme-toggle .icon-moon { display: block; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: var(--radius-md);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-muted);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .hamburger { display: none; }
}

/* Mobile nav */
.navbar__nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--color-bg);
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  gap: 8px;
  z-index: 99;
  align-items: flex-start;
}

.navbar__nav.open .nav-link {
  font-size: 1.125rem;
  width: 100%;
  padding: 12px 16px;
  color: var(--color-ink);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  background: #0f172a;
  padding-top: 64px;
  padding-bottom: 24px;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.2);
  pointer-events: none;
  z-index: 1;
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
  align-items: center;
  align-content: center;
  position: relative;
  z-index: 2;
}

.hero__content {
  align-self: center;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
    gap: 64px;
  }

  .hero__card {
    align-self: center;
  }
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero__trust svg {
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.hero .section-label {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .hero__inner {
    min-height: auto;
    gap: 28px;
    align-content: start;
  }

  .hero__sub {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__trust {
    align-items: flex-start;
    line-height: 1.5;
  }

  .hero__trust svg {
    align-self: flex-start;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-desc {
    margin-bottom: 28px;
  }

  .survey-form,
  .pilot__form-card {
    padding: 20px;
  }

  /* Prevent iOS auto-zoom on focused form controls. */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
  }

  .final-cta__actions .btn,
  .community__actions .community__btn {
    width: 100%;
    justify-content: center;
  }

  .community__inner {
    padding: 36px 18px;
  }

  .final-cta__trust {
    align-items: flex-start;
    line-height: 1.5;
    text-align: left;
  }

  .final-cta__trust svg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-video {
    display: none;
  }
}

/* Hero card */
.hero__card {
  padding: 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
}

.hero__card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero__checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.hero__checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--color-ink);
  font-size: 1rem;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--color-brand-pale);
  color: var(--color-brand);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero__card-footer {
  margin-bottom: 20px;
}

.hero__stat-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
}

.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.hero__stat-num {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brand);
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.7rem;
  color: var(--color-muted-light);
  margin-top: 2px;
}

.hero__stat-divider {
  width: 1px;
  align-self: stretch;
  background: var(--color-border-light);
}

/* ========================================
   SURVEY SECTION
   ======================================== */
.survey-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.survey__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .survey__inner {
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
  }
}

.survey__bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 32px;
}

.survey__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.survey__bullets li svg {
  color: var(--color-brand);
  flex-shrink: 0;
}

/* Incentives card */
.survey__incentives {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-mid) 100%);
  border-color: transparent;
  color: #fff;
}

.incentives__badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.incentives__prize {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.incentives__label {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-bottom: 16px;
}

.incentives__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.incentives__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  opacity: 0.95;
}

.incentives__list li svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* Survey Form */
.survey-form {
  padding: 24px;
}

@media (min-width: 640px) {
  .survey-form { padding: 32px; }
}

.survey-form__title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.survey-form__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin-bottom: 28px;
}

/* ========================================
   FORMS
   ======================================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.4;
}

.required {
  color: var(--color-error);
}

.form-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg);
  color: var(--color-ink);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--color-muted-light); }

.form-input:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(41, 78, 70, 0.12);
  background: var(--color-surface);
}

.dark .form-input:focus {
  box-shadow: 0 0 0 3px rgba(79, 143, 130, 0.18);
}

.form-input.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2376869A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.6;
}

.form-error {
  font-size: 0.8125rem;
  color: var(--color-error);
  font-weight: 600;
  min-height: 0;
  transition: all var(--transition-fast);
}

.form-error:empty { display: none; }

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.5;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border: 2px solid var(--color-border);
  border-radius: 5px;
  background: var(--color-bg);
  accent-color: var(--color-brand);
  cursor: pointer;
  margin-top: 2px;
}

.survey-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.form-footnote {
  font-size: 0.8125rem;
  color: var(--color-muted-light);
  text-align: center;
  margin-top: 12px;
}

.form-link {
  color: var(--color-brand-light);
  text-decoration: underline;
}

/* Success state */
.survey-success,
.pilot-success {
  text-align: center;
  padding: 40px 24px;
}

.survey-success__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.survey-success h3,
.pilot-success h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.survey-success p,
.pilot-success p {
  color: var(--color-muted);
  margin-bottom: 24px;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-section {
  background: var(--color-bg);
}

.how__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .how__grid { grid-template-columns: repeat(3, 1fr); }
}

.how__card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.how__step-num {
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-brand-pale);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  transition: color var(--transition-base);
}

.dark .how__step-num {
  color: rgba(79, 143, 130, 0.2);
}

.how__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-brand-pale);
  border-radius: var(--radius-lg);
  margin: 0 auto 20px;
  color: var(--color-brand);
  transition: background-color var(--transition-base), transform var(--transition-fast);
}

.how__card:hover .how__icon {
  transform: translateY(-2px);
  background: var(--color-brand);
  color: #fff;
}

.how__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 10px;
}

.how__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ========================================
   BENEFITS
   ======================================== */
.benefits-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .benefits__grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit__card {
  padding: 28px 24px;
}

.benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: transform var(--transition-fast);
}

.benefit__card:hover .benefit__icon {
  transform: scale(1.08);
}

.benefit__icon--green {
  background: #dcfce7;
  color: #15803d;
}

.dark .benefit__icon--green {
  background: rgba(21, 128, 61, 0.15);
  color: #4ade80;
}

.benefit__icon--blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.dark .benefit__icon--blue {
  background: rgba(29, 78, 216, 0.15);
  color: #60a5fa;
}

.benefit__icon--amber {
  background: #fef3c7;
  color: #92400e;
}

.dark .benefit__icon--amber {
  background: rgba(146, 64, 14, 0.15);
  color: #fbbf24;
}

.benefit__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 10px;
}

.benefit__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ========================================
   FEATURES
   ======================================== */
.features-section {
  background: var(--color-bg);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

.feature__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.feature__item:hover {
  border-color: var(--color-brand-light);
  transform: translateY(-2px);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-brand-pale);
  border-radius: var(--radius-md);
  color: var(--color-brand);
  transition: background-color var(--transition-fast);
}

.feature__item:hover .feature__icon {
  background: var(--color-brand);
  color: #fff;
}

.feature__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 4px;
}

.feature__desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ========================================
   ADVISORY BOARD
   ======================================== */
.advisory-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.advisory__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .advisory__grid { grid-template-columns: repeat(3, 1fr); }
}

.advisory__team {
  margin-top: 40px;
}

.advisory__subsection-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .advisory__grid--team { grid-template-columns: repeat(2, 1fr); }
}

.advisor__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px;
}

.advisor__avatar {
  margin-bottom: 16px;
}

.advisor__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border-light);
}

.advisor__info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.advisor__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 4px;
}

.advisor__role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.advisor__cred {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.advisor__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.advisor__linkedin {
  color: var(--color-brand);
  padding: 6px 12px;
  border: 1px solid var(--color-brand-pale);
  background: var(--color-brand-pale);
  border-radius: 8px;
  font-size: 0.8125rem;
  align-self: flex-start;
}

.advisor__linkedin:hover {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}

/* ========================================
   PILOT SECTION
   ======================================== */
.pilot-section {
  background: linear-gradient(160deg, var(--color-brand) 0%, #1a3d36 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pilot-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pilot-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.pilot__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .pilot__inner { grid-template-columns: 1fr 480px; gap: 80px; align-items: start; }
}

.pilot__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.pilot__desc {
  font-size: 1.0625rem;
  opacity: 0.85;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}

.pilot__benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pilot__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  opacity: 0.95;
  font-weight: 600;
}

.pilot__benefits li svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.pilot__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.pilot__cta {
  background: #fff;
  color: var(--color-brand);
  border-color: #fff;
}

.pilot__cta:hover {
  background: var(--color-brand-pale);
  border-color: var(--color-brand-pale);
  color: var(--color-brand);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.pilot__spots {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  opacity: 0.75;
}

/* Pilot form card */
.pilot__form-card {
  background: var(--color-surface);
  border-color: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
}

.pilot__form-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 20px;
}

/* ========================================
   FARMHUB
   ======================================== */
.farmhub-section {
  background: var(--color-bg);
}

.farmhub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .farmhub__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .farmhub__grid { grid-template-columns: repeat(3, 1fr); }
}

.farmhub__card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.farmhub__card:hover {
  border-color: var(--color-brand-light);
  transform: translateY(-2px);
}

.farmhub__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-brand-pale);
  border-radius: var(--radius-md);
  color: var(--color-brand);
  margin-bottom: 16px;
  transition: background-color var(--transition-fast);
}

.farmhub__card:hover .farmhub__icon {
  background: var(--color-brand);
  color: #fff;
}

.farmhub__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.farmhub__desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.farmhub__link {
  color: var(--color-brand);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0;
  min-height: auto;
  border-radius: 0;
  background: none;
  border: none;
  align-self: flex-start;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.farmhub__link:hover {
  color: var(--color-brand-mid);
  background: none;
  gap: 6px;
}

/* ========================================
   COMMUNITY
   ======================================== */
.community-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.community__inner {
  text-align: center;
  padding: 48px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.community__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: 12px;
}

.community__desc {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.community__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.community__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 480px) {
  .navbar__inner {
    height: 60px;
  }

  .navbar__nav.open {
    inset: 60px 0 0 0;
    max-height: calc(100dvh - 60px);
  }

  .logo-text {
    font-size: 1rem;
  }

  .hero__headline {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .hero__stat-row {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .hero__stat {
    align-items: flex-start;
    text-align: left;
  }

  .hero__stat-divider {
    width: 100%;
    height: 1px;
  }

  .hero__stat-label {
    font-size: 0.72rem;
  }

}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta-section {
  background: var(--color-brand-pale);
}

.final-cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta__title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-ink);
  margin-bottom: 16px;
}

.final-cta__desc {
  font-size: 1.0625rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.final-cta__secondary {
  background: var(--color-surface);
}

.final-cta__trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-muted-light);
}

.final-cta__trust svg {
  color: var(--color-brand-light);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-ink);
  color: rgba(229, 237, 245, 0.8);
  padding-top: 64px;
}

.dark .footer {
  background: #060b0e;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 240px 1fr; gap: 64px; }
}

.footer__logo {
  color: #fff;
  margin-bottom: 16px;
  display: flex;
}

.footer__logo .logo-text { color: #fff; }

.footer__tagline {
  font-size: 0.9375rem;
  color: rgba(229, 237, 245, 0.6);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer__nz {
  font-size: 0.8125rem;
  color: rgba(229, 237, 245, 0.4);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 640px) {
  .footer__links { grid-template-columns: repeat(4, 1fr); }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(229, 237, 245, 0.5);
  margin-bottom: 4px;
}

.footer__link {
  font-size: 0.9375rem;
  color: rgba(229, 237, 245, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__link:hover { color: #fff; }

.footer__social svg { flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(229, 237, 245, 0.08);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer__copy {
  font-size: 0.875rem;
  color: rgba(229, 237, 245, 0.4);
}

.footer__contact .footer__link {
  font-size: 0.875rem;
}

/* ========================================
   ANIMATION HELPERS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

[data-observe] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-observe].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-observe-delay="100"] { transition-delay: 0.1s; }
[data-observe-delay="200"] { transition-delay: 0.2s; }
[data-observe-delay="300"] { transition-delay: 0.3s; }

/* ========================================
   ACCESSIBILITY
   ======================================== */
:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
   UTILITY: SCROLL CTA
   ======================================== */
.scroll-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.scroll-cta.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .scroll-cta { display: flex; }
}
