/* TreeWatch Landing Page (treewatch.io)
   Clean, general-audience nature-tech design. Scoped to body.is-landing so the core app stays intact. */

body.is-landing {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --pine: #132a1e;
  --pine-2: #1c3b2b;
  --emerald: #1f6f4a;
  --emerald-hover: #175739;
  --emerald-soft: #e8f3ec;
  --amber: #c2410c;
  --amber-soft: #fff1e8;
  --indigo: #4f46e5;
  --slate-ink: #14221a;
  --slate-muted: #52635a;
  --hairline: #dfe5dc;
  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  background: var(--bg);
  background-image: none;
  color: var(--slate-ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Override sticky topbar cleanly for landing */
body.is-landing .topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: none;
  padding: 12px 24px;
}

body.is-landing .brand {
  color: var(--pine);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  gap: 9px;
}
body.is-landing .brand img { width: 30px; height: 30px; }
body.is-landing .brand span b { color: var(--emerald); }

.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.top-nav a {
  color: var(--slate-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.top-nav a:hover { color: var(--pine); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.14s, color 0.14s;
}
.nav-btn.ghost { color: var(--pine); }
.nav-btn.ghost:hover { background: #edf1eb; }
.nav-btn.primary { background: var(--pine); color: #fff; }
.nav-btn.primary:hover { background: var(--emerald); }

/* ---------- Layout ---------- */

main.landing-main {
  max-width: 1120px;
  padding: 36px 24px 64px;
}

.lp-section {
  margin-top: 72px;
  scroll-margin-top: 80px;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.lp-eyebrow.subtle {
  background: transparent;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
}

/* ---------- Buttons ---------- */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s, transform 0.08s;
}
.lp-btn:active { transform: translateY(1px); }
.lp-btn.primary {
  background: var(--emerald);
  color: #fff;
}
.lp-btn.primary:hover { background: var(--emerald-hover); }
.lp-btn.secondary {
  background: #fff;
  color: var(--pine);
  border-color: var(--hairline);
}
.lp-btn.secondary:hover { background: #eff3ed; border-color: #c7d1c3; }
.lp-btn.subtle-btn {
  background: #f1f4ef;
  color: var(--pine);
}
.lp-btn.subtle-btn:hover { background: #e4eae1; }

/* ---------- Hero ---------- */

.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.lp-hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.4vw, 3.45rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--pine);
  margin: 16px 0 18px;
}

.lp-lead {
  margin: 0 0 26px;
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--slate-muted);
  max-width: 52ch;
}
.lp-lead strong { color: var(--slate-ink); font-weight: 600; }

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.lp-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  font-size: 0.84rem;
  color: var(--slate-muted);
  font-weight: 500;
}
.lp-meta-line span::before {
  content: "· ";
  color: var(--emerald);
  font-weight: 800;
}
.lp-meta-line span:first-child::before { content: ""; }

/* ---------- Realistic iPhone Hardware Frame ---------- */

.lp-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.iphone-shell {
  position: relative;
  width: 318px;
  max-width: 100%;
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2b3036 0%, #14171a 48%, #262b30 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    0 24px 54px -12px rgba(19, 42, 30, 0.28),
    0 6px 16px -4px rgba(19, 42, 30, 0.14);
}

.iphone-btn-vol1,
.iphone-btn-vol2,
.iphone-btn-pwr {
  position: absolute;
  width: 3px;
  background: #2b3036;
  border-radius: 2px;
}
.iphone-btn-vol1 { left: -3px; top: 112px; height: 34px; }
.iphone-btn-vol2 { left: -3px; top: 156px; height: 34px; }
.iphone-btn-pwr { right: -3px; top: 132px; height: 52px; }

.iphone-screen {
  position: relative;
  border-radius: 38px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ios-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 22px 7px;
  background: #fff;
  color: #111;
  font-size: 0.74rem;
  font-weight: 700;
}

.ios-island {
  width: 82px;
  height: 22px;
  border-radius: 999px;
  background: #0d0f11;
}

.ios-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ios-urlbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0 12px 9px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f2f4f1;
  font-size: 0.72rem;
  color: var(--slate-muted);
}
.ios-urlbar strong { color: var(--slate-ink); }
.url-lock { font-size: 0.65rem; opacity: 0.75; }
.url-nfc {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald);
}

.phone-photo-wrap {
  position: relative;
  height: 186px;
  margin: 0 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #1a2c22;
}
.phone-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scan-sweep {
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 3px;
  background: #6ee7b7;
  box-shadow: 0 0 16px 4px rgba(110, 231, 183, 0.75);
  opacity: 0;
  pointer-events: none;
}
.iphone-shell.is-scanning .scan-sweep {
  animation: sweepDown 0.65s ease-in-out;
}
@keyframes sweepDown {
  0% { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.photo-ai-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(19, 42, 30, 0.84);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.69rem;
  font-weight: 600;
}
.photo-ai-badge.is-alert {
  background: rgba(194, 65, 12, 0.92);
}

.photo-gps-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.56);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.phone-body {
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.phone-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.phone-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pine);
}
.phone-org {
  display: block;
  font-size: 0.73rem;
  color: var(--slate-muted);
  font-weight: 500;
}
.phone-health {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.phone-health.is-alert {
  background: var(--amber-soft);
  color: var(--amber);
}

.phone-owner {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: var(--slate-muted);
}
.phone-owner strong { color: var(--slate-ink); font-weight: 600; }

.mini-av {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  image-rendering: pixelated;
  flex: none;
}
.mini-av.lg { width: 36px; height: 36px; border-radius: 10px; }

.guild-dot {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.guild-dot.sunleaf { background: #fef3c7; color: #92400e; }
.guild-dot.mossclaw { background: var(--emerald-soft); color: var(--emerald); }
.guild-dot.riverbark { background: #e0f2fe; color: #075985; }

.phone-ai-card {
  padding: 10px 11px;
  border-radius: 12px;
  background: #f4f7f4;
  border: 1px solid #e1eae2;
}
.phone-ai-card.is-alert {
  background: #fff7f2;
  border-color: #f9d1ba;
}
.phone-ai-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.73rem;
}
.phone-ai-top strong { color: var(--pine); }
.phone-ai-card.is-alert .phone-ai-top strong { color: var(--amber); }
.phone-ai-top span { font-size: 0.67rem; color: var(--slate-muted); white-space: nowrap; }
.phone-ai-card p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.42;
  color: var(--slate-ink);
}

.phone-cta {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: var(--pine);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.phone-cta:hover { background: var(--emerald); }

.ios-homebar {
  width: 112px;
  height: 4px;
  border-radius: 999px;
  background: #1a1d1f;
  opacity: 0.25;
  margin: 4px auto 9px;
}

.demo-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--hairline);
}

.switch-pill {
  border: 0;
  background: transparent;
  color: var(--slate-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
}
.switch-pill:hover { color: var(--pine); }
.switch-pill.is-active {
  background: var(--pine);
  color: #fff;
}

/* ---------- 3-Step Strip ---------- */

.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.step-index {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--emerald);
  margin-bottom: 8px;
}
.step-item h3 {
  font-family: var(--display);
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--pine);
}
.step-item p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--slate-muted);
}

/* ---------- Explorer Section (Satellite Map / Leaderboard / Turf War) ---------- */

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}
.section-header h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--pine);
  margin: 6px 0 0;
}

.tab-bar {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #e9eee7;
}
.tab-btn {
  border: 0;
  background: transparent;
  color: var(--slate-muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 9px;
  cursor: pointer;
}
.tab-btn:hover { color: var(--pine); }
.tab-btn.is-active {
  background: #fff;
  color: var(--pine);
  box-shadow: 0 1px 3px rgba(19, 42, 30, 0.12);
}

.surface-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px -16px rgba(19, 42, 30, 0.12);
}

/* Map Toolbar & Filters */
.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.filter-group,
.region-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: #fff;
  color: var(--slate-muted);
  font: inherit;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-btn:hover { border-color: #b8c6b8; color: var(--pine); }
.filter-btn.is-active {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.healthy { background: #22c55e; }
.dot.alert { background: #ea580c; }
.dot.turf { background: #6366f1; }
.dot.wild { background: #0ea5e9; }

.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.real-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  min-height: 430px;
  background: #1d3326;
}

#treewatch-map {
  width: 100%;
  height: 100%;
  min-height: 430px;
  z-index: 1;
}

/* Custom Leaflet tree marker pins */
.tw-marker {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  transition: transform 0.14s ease;
}
.tw-marker::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}
.tw-marker.healthy { background: #16a34a; }
.tw-marker.alert { background: #ea580c; }
.tw-marker.turf { background: #4f46e5; }
.tw-marker.wild { background: #0284c7; }
.tw-marker.is-selected {
  transform: scale(1.28);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 6px 16px rgba(0, 0, 0, 0.55);
}

/* Tree Inspector Panel */
.tree-inspector {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  background: #fbfcf9;
  display: flex;
  flex-direction: column;
}

.inspector-photo-box {
  position: relative;
  height: 195px;
  background: #1a2c22;
}
.inspector-photo-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inspector-status-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  background: #16a34a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
.inspector-status-pill.alert { background: #c2410c; }
.inspector-status-pill.turf { background: #4f46e5; }
.inspector-status-pill.wild { background: #0284c7; }

.inspector-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.inspector-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.inspector-title-row h3 {
  font-family: var(--display);
  margin: 0;
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--pine);
}
.inspector-org {
  font-size: 0.8rem;
  color: var(--slate-muted);
  font-weight: 500;
}
.inspector-bounty {
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.inspector-guardian {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--slate-muted);
}
.inspector-guardian strong { color: var(--slate-ink); font-weight: 600; }

.health-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--slate-muted);
  margin-bottom: 5px;
}
.health-bar-labels strong { color: var(--slate-ink); }
.bar-track {
  height: 7px;
  border-radius: 999px;
  background: #e4eae2;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--emerald);
  transition: width 0.25s ease;
}
.bar-fill.low { background: var(--amber); }

.inspector-ai {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--slate-ink);
}

.inspector-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.inspector-meta strong {
  display: block;
  font-size: 0.82rem;
  color: var(--pine);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.inspector-meta span {
  font-size: 0.73rem;
  color: var(--slate-muted);
}

/* ---------- Leaderboard & Turf War ---------- */

.panel-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.panel-top h3 {
  font-family: var(--display);
  margin: 0 0 2px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pine);
}
.muted-copy { margin: 0; font-size: 0.88rem; color: var(--slate-muted); }

.lb-table {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.lb-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--hairline);
}
.lb-pos {
  width: 24px;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  color: var(--slate-muted);
}
.lb-item:first-child .lb-pos { color: var(--emerald); }
.lb-who { flex: 1; min-width: 0; }
.lb-who strong { display: block; font-size: 0.94rem; color: var(--pine); }
.lb-who span { font-size: 0.82rem; color: var(--slate-muted); }
.lb-pts {
  font-family: var(--display);
  font-weight: 700;
  color: var(--pine);
  white-space: nowrap;
}

.status-tag.alert {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
}

.turf-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.guild-box {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: #fbfcf9;
}
.guild-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-ink);
}
.swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.swatch.sunleaf, .seg.sunleaf { background: #d97706; }
.swatch.mossclaw, .seg.mossclaw { background: #1f6f4a; }
.swatch.riverbark, .seg.riverbark { background: #0284c7; }
.guild-box strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pine);
  margin: 4px 0 2px;
}
.guild-box small { font-size: 0.78rem; color: var(--slate-muted); }

.zone-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.zone-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.zone-head span { color: var(--slate-muted); font-size: 0.82rem; }
.zone-track {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e6ece4;
}

.turf-footnote {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f6f2;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--slate-muted);
}
.turf-footnote strong { color: var(--slate-ink); }

/* ---------- Organizations Panel ---------- */

.org-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: start;
  background: var(--pine);
  color: #fff;
  border-radius: 24px;
  padding: 40px;
}

.org-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #86efac;
  margin-bottom: 10px;
}

.org-left h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.org-lead {
  margin: 0 0 24px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.org-lead strong { color: #fff; }

.org-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin: 0;
}
.org-list dt {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 4px;
}
.org-list dd {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
}

.pilot-card {
  background: #ffffff;
  color: var(--slate-ink);
  border-radius: 18px;
  padding: 24px;
}
.pilot-card h3 {
  font-family: var(--display);
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pine);
}
.pilot-sub {
  margin: 0 0 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--slate-muted);
}

.p-field {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-ink);
  margin-bottom: 12px;
}
.p-field input[type="text"],
.p-field select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: #f9faf8;
  color: var(--slate-ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
}
.p-field input[type="text"]:focus,
.p-field select:focus {
  outline: none;
  border-color: var(--emerald);
  background: #fff;
}

.pilot-btns {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.pilot-btns .lp-btn.primary { flex: 1; }

.pilot-status {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
}

/* ---------- Footer ---------- */

.lp-footer {
  border-top: 1px solid var(--hairline);
  background: #fff;
  padding: 28px 24px 36px;
}
.lp-footer-inner {
  max-width: 1120px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--pine);
}
.footer-left img { width: 24px; height: 24px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
}
.footer-links a { color: var(--slate-muted); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--pine); }
.footer-credits {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.76rem;
  color: var(--slate-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .lp-hero,
  .map-grid,
  .org-panel {
    grid-template-columns: 1fr;
  }
  .lp-hero { gap: 36px; }
  .top-nav { display: none; }
  .real-map-wrap,
  #treewatch-map { min-height: 360px; }
}

@media (max-width: 640px) {
  body.is-landing .topbar { padding: 10px 14px; }
  main.landing-main { padding: 24px 14px 48px; }
  .lp-section { margin-top: 48px; }
  .steps-strip,
  .turf-summary,
  .org-list {
    grid-template-columns: 1fr;
  }
  .org-panel { padding: 24px 18px; border-radius: 18px; }
  .pilot-card { padding: 18px; }
  .pilot-btns { flex-direction: column; }
  .surface-card { padding: 14px; border-radius: 16px; }
  .real-map-wrap,
  #treewatch-map { min-height: 310px; }
  .lp-cta-row .lp-btn { flex: 1 1 100%; }
  .nav-btn { padding: 7px 11px; font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .iphone-shell.is-scanning .scan-sweep { animation: none; }
}
