/* ================================================================
   GeoSift — Landing page (marketing surface)
   Dark mode only · Matches index.html / styles.css aesthetic 1:1

   Ambiguity calls made (autonomous):
   - Hero product peek = framed iframe of index.html (renders the
     real mockup; reads as "live" without static-screenshot drift).
     Field section uses an iframe of mobile.html in a phone frame.
   - Vertical packs section = 4x3 responsive grid (not a horizontal
     scroller). Cleaner desktop reading; reflows to single column.
   - Engine + Verticals diagram = stacked-card stack above an Engine
     "slab" listing the 12 P0 capability buckets. Reads as one
     foundation, many surfaces, without iso-3D complexity.
   - "Marketing/Ad" pack rendered as "Marketing / Ad" for legibility.
   - The hero "EARLY ACCESS" pill in the brand sits next to the
     wordmark to telegraph the page's purpose at a glance.
   ================================================================ */

:root {
  /* Tokens copied verbatim from styles.css */
  --bg:        #0F172A;
  --bg-2:      #0B1220;
  --surface:   #1E293B;
  --surface-2: #172033;
  --surface-3: #243049;
  --border:    #334155;
  --border-soft: #2A3650;
  --border-strong: #475569;

  --text:      #F1F5F9;
  --text-2:    #CBD5E1;
  --text-mute: #94A3B8;
  --text-dim:  #64748B;

  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10B981;
  --emerald-400: #34D399;
  --cyan-500:    #06B6D4;
  --amber:       #F59E0B;
  --rust:        #DC2626;
  --sky:         #0EA5E9;
  --violet:      #8B5CF6;

  --grad-ai: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;

  --shadow-1: 0 1px 0 0 rgba(255,255,255,.02) inset, 0 1px 2px rgba(0,0,0,.3);
  --shadow-2: 0 8px 24px rgba(0,0,0,.35), 0 2px 4px rgba(0,0,0,.25);
  --shadow-3: 0 20px 60px rgba(0,0,0,.55), 0 4px 12px rgba(0,0,0,.35);

  --nav-h: 60px;
  --max-w: 1200px;

  --font-display: "Geist", "Geist Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(16,185,129,.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(6,182,212,.04) 0%, transparent 60%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img, svg, iframe { display: block; max-width: 100%; }
iframe { border: 0; }

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

/* ============================== TOP NAV ============================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(11, 18, 32, .78);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px 4px 4px;
  border-radius: var(--r-md);
  transition: background-color 200ms ease;
}
.brand:hover { background: var(--surface-3); }

.brand-mark {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 8px rgba(16,185,129,.25));
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.015em;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  margin-left: 4px;
  background: rgba(16,185,129,.10);
  color: var(--emerald-400);
  border: 1px solid rgba(16,185,129,.28);
  border-radius: var(--r-sm);
  text-transform: uppercase;
}

.nav-links {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: var(--text-2);
  letter-spacing: -0.005em;
  transition: background-color 180ms ease, color 180ms ease;
}
.nav-links a:hover { background: var(--surface-3); color: var(--text); }

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

/* ============================== BUTTONS ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all 180ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn.lg { padding: 11px 18px; font-size: 14px; border-radius: var(--r-lg); }
.btn.full { width: 100%; }

.btn-primary {
  background: var(--emerald-600);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 14px rgba(5,150,105,.25);
}
.btn-primary:hover { background: var(--emerald-500); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 22px rgba(5,150,105,.35); }
.btn-primary svg { color: rgba(255,255,255,.9); }

.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--border);
  color: var(--text-2);
}
.btn-ghost:hover { background: var(--surface-3); color: var(--text); border-color: var(--border-strong); }
.btn-ghost svg { color: var(--text-mute); }
.btn-ghost:hover svg { color: var(--emerald-400); }

/* ============================== SECTIONS ============================== */

.section { padding: 96px 24px; position: relative; }
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-inner.narrow { max-width: 720px; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--emerald-400);
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.22);
  border-radius: 999px;
  margin-bottom: 18px;
}
.kicker.grad {
  background: linear-gradient(135deg, rgba(16,185,129,.1) 0%, rgba(6,182,212,.1) 100%);
  border-color: rgba(16,185,129,.32);
}
.kicker-pulse { position: relative; display: inline-grid; place-items: center; width: 12px; height: 12px; }
.kicker-pulse .pulse-core {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--grad-ai);
  box-shadow: 0 0 8px rgba(16,185,129,.7);
  animation: pulse-core 2.6s ease-in-out infinite;
}
.kicker-pulse .pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--grad-ai);
  opacity: .4;
  animation: pulse-ring 2.6s ease-out infinite;
}
@keyframes pulse-core { 0%,100% { transform: scale(1);} 50% { transform: scale(1.2);} }
@keyframes pulse-ring { 0% { transform: scale(.5); opacity:.55;} 80%,100% { transform: scale(2); opacity: 0;} }

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--emerald-500);
  box-shadow: 0 0 8px rgba(16,185,129,.6);
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
}
h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; font-weight: 600; }
h3 { font-size: 17px; line-height: 1.35; font-weight: 600; }

.section-head h2 { margin-bottom: 16px; }
.lede {
  font-size: 16.5px;
  color: var(--text-mute);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0;
}
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.hl-grad {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dim { color: var(--text-mute); }
em { color: var(--text); font-style: italic; }

/* ============================== HERO ============================== */

.hero {
  position: relative;
  padding: 88px 24px 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148,163,184,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 90%);
}
.hero-glow {
  position: absolute;
  top: -10%;
  left: 60%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,.10) 0%, transparent 60%);
  filter: blur(40px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.hero-copy { max-width: 560px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 22px;
}
.hero-title { margin-bottom: 20px; }
.hero-sub {
  font-size: 17.5px;
  color: var(--text-mute);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 56ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

.hero-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(15,23,42,.6);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hm-item { display: inline-flex; flex-direction: column; gap: 2px; }
.hm-k {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hm-v { font-size: 12.5px; color: var(--text-2); letter-spacing: -0.005em; }
.hm-divider { width: 1px; height: 24px; background: var(--border-soft); }

/* hero peek (browser-chrome-framed iframe of index.html) */
.hero-peek {
  position: relative;
  min-width: 0;
}
.peek-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-3);
}
.peek-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  height: 32px;
  padding: 0 12px;
  background: linear-gradient(180deg, #0F1A2E 0%, #0E1729 100%);
  border-bottom: 1px solid var(--border-soft);
}
.peek-traffic { display: inline-flex; gap: 6px; }
.peek-traffic span {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--border-strong);
}
.peek-traffic span:nth-child(1) { background: #DC2626; opacity: .8; }
.peek-traffic span:nth-child(2) { background: #F59E0B; opacity: .8; }
.peek-traffic span:nth-child(3) { background: #10B981; opacity: .8; }
.peek-url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 22px;
  padding: 0 12px;
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  justify-self: stretch;
  max-width: 360px;
  margin: 0 auto;
}
.peek-spacer { width: 39px; }

.peek-body {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  overflow: hidden;
}
.peek-body iframe {
  position: absolute;
  /* zoom out the full-resolution app preview into the hero frame */
  width: 1600px;
  height: 1000px;
  top: 0;
  left: 0;
  transform-origin: top left;
  transform: scale(0.46);
  pointer-events: none;
}

.peek-caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-left: 6px;
  font-size: 12px;
  color: var(--text-mute);
}
.cap-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  background: rgba(16,185,129,.10);
  color: var(--emerald-400);
  border: 1px solid rgba(16,185,129,.28);
  border-radius: var(--r-sm);
}
.cap-link {
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}
.cap-link:hover {
  background: rgba(16,185,129,.18);
  border-color: rgba(16,185,129,.5);
}

/* ============================== PROBLEM ============================== */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.card:hover { border-color: var(--border); transform: translateY(-2px); }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-lg);
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.22);
  color: var(--emerald-400);
}
.card h3 { color: var(--text); }
.card p { margin: 0; color: var(--text-mute); font-size: 14px; line-height: 1.55; }
.card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-soft);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-mute);
}

/* inline-chip — match styles.css */
.inline-chip {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 7px;
  background: rgba(16,185,129,.10);
  color: var(--emerald-400);
  border: 1px solid rgba(16,185,129,.28);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.inline-chip.mono { background: rgba(148,163,184,.06); color: var(--text-mute); border-color: var(--border-soft); }

/* ============================== ENGINE + VERTICALS ============================== */

.ev-diagram {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ev-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 8px;
}
.ev-pack {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  /* slight inset cascade */
  margin: 0 calc(var(--i, 0) * 12px);
  transition: transform 200ms ease, border-color 200ms ease;
}
.ev-pack:hover { transform: translateY(-1px); border-color: var(--border); }

.ev-pack-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.ev-pack-meta {
  font-size: 12.5px;
  color: var(--text-mute);
  letter-spacing: -0.005em;
}
.ev-pack-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(16,185,129,.10);
  color: var(--emerald-400);
  border: 1px solid rgba(16,185,129,.32);
  border-radius: var(--r-sm);
}
.ev-pack-badge.alt {
  background: rgba(6,182,212,.10);
  color: var(--cyan-500);
  border-color: rgba(6,182,212,.32);
}

/* engine slab */
.ev-engine {
  margin-top: 14px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(16,185,129,.05) 0%, rgba(6,182,212,.04) 100%);
  border: 1px solid rgba(16,185,129,.22);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.ev-engine::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-ai);
  opacity: .5;
}
.ev-engine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ev-engine-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.015em;
}
.ev-engine-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-400);
}
.ev-engine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 12px;
}
.ev-engine-grid > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  font-size: 12.5px;
  color: var(--text-2);
  letter-spacing: -0.005em;
}
.ev-engine-grid > span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--emerald-500);
  box-shadow: 0 0 6px rgba(16,185,129,.5);
  flex-shrink: 0;
}

.ev-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 36px;
}

/* ============================== AI MODES ============================== */

.ai-modes {
  position: relative;
}
.ai-modes::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(16,185,129,.5), rgba(6,182,212,.5));
  opacity: .8;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.modes-grid .wide { grid-column: 1 / -1; }

.mode-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 200ms ease, transform 200ms ease;
  position: relative;
  overflow: hidden;
}
.mode-card:hover { border-color: var(--border); transform: translateY(-2px); }
.mode-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--grad-ai);
  opacity: 0;
  transition: opacity 200ms ease;
}
.mode-card:hover::after { opacity: .6; }

.mode-card header { display: flex; flex-direction: column; gap: 8px; }
.mode-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  background: rgba(16,185,129,.10);
  color: var(--emerald-400);
  border: 1px solid rgba(16,185,129,.28);
}
.mode-explain .mode-tag { background: rgba(6,182,212,.10); color: var(--cyan-500); border-color: rgba(6,182,212,.32); }
.mode-guide .mode-tag   { background: rgba(245,158,11,.10); color: var(--amber); border-color: rgba(245,158,11,.32); }
.mode-teach .mode-tag   { background: rgba(139,92,246,.10); color: var(--violet); border-color: rgba(139,92,246,.32); }
.mode-suggest .mode-tag { background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(6,182,212,.12)); color: var(--emerald-400); border-color: rgba(16,185,129,.36); }

.mode-bubble {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
}

.mb-user, .mb-ai {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.5;
}
.mb-user .mb-text {
  align-self: flex-end;
  background: rgba(16,185,129,.10);
  border: 1px solid rgba(16,185,129,.22);
  padding: 8px 12px;
  border-radius: var(--r-lg);
  border-bottom-right-radius: 4px;
  max-width: 90%;
  color: var(--text);
}
.mb-ai .mb-text {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  padding: 8px 12px;
  border-radius: var(--r-lg);
  border-bottom-left-radius: 4px;
  max-width: 95%;
  color: var(--text-2);
}
.mb-who {
  align-self: flex-end;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.mb-ai {
  position: relative;
  padding-left: 22px;
}
.mb-avatar {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--grad-ai);
  box-shadow: 0 0 0 2px var(--bg-2), 0 0 8px rgba(16,185,129,.3);
}
.hl { color: var(--emerald-400); font-weight: 600; }

.mb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mb-chips .chip {
  padding: 4px 9px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text-2);
  letter-spacing: -0.005em;
}

/* ============================== VERTICAL PACKS ============================== */

.packs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pack-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 200ms ease, transform 200ms ease, background-color 200ms ease;
}
.pack-card:hover { border-color: var(--border); transform: translateY(-2px); }

.pack-card.highlight {
  background: linear-gradient(180deg, rgba(16,185,129,.06) 0%, rgba(15,23,42,0) 100%), var(--surface);
  border-color: rgba(16,185,129,.32);
}
.pack-card.highlight.alt {
  background: linear-gradient(180deg, rgba(6,182,212,.06) 0%, rgba(15,23,42,0) 100%), var(--surface);
  border-color: rgba(6,182,212,.32);
}

.pack-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pack-head h3 {
  font-size: 15.5px;
  flex: 1;
}
.pack-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,.04);
}
.pack-dot.solar      { background: radial-gradient(circle, #FBBF24, #D97706); }
.pack-dot.trade      { background: radial-gradient(circle, #34D399, #059669); }
.pack-dot.cannabis   { background: radial-gradient(circle, #A3E635, #65A30D); }
.pack-dot.healthcare { background: radial-gradient(circle, #F87171, #DC2626); }
.pack-dot.agency     { background: radial-gradient(circle, #C084FC, #8B5CF6); }
.pack-dot.cre        { background: radial-gradient(circle, #38BDF8, #0EA5E9); }
.pack-dot.insurance  { background: radial-gradient(circle, #FBBF24, #B45309); }
.pack-dot.rei        { background: radial-gradient(circle, #2DD4BF, #0D9488); }
.pack-dot.municipal  { background: radial-gradient(circle, #94A3B8, #475569); }
.pack-dot.defense    { background: radial-gradient(circle, #84CC16, #4D7C0F); }
.pack-dot.construction { background: radial-gradient(circle, #FB923C, #C2410C); }
.pack-dot.marketing  { background: radial-gradient(circle, #F472B6, #BE185D); }

.pack-status {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.pack-status.sprint1 {
  background: rgba(16,185,129,.10);
  color: var(--emerald-400);
  border: 1px solid rgba(16,185,129,.32);
}
.pack-status.sprint2 {
  background: rgba(6,182,212,.10);
  color: var(--cyan-500);
  border: 1px solid rgba(6,182,212,.32);
}
.pack-status.soon {
  background: rgba(148,163,184,.06);
  color: var(--text-mute);
  border: 1px solid var(--border-soft);
}

.pack-prop {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: -0.005em;
  line-height: 1.45;
}

.pack-features {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px dashed var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pack-features li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.45;
}
.pack-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--text-dim);
}
.pack-card.highlight .pack-features li::before { background: var(--emerald-500); }
.pack-card.highlight.alt .pack-features li::before { background: var(--cyan-500); }

.packs-foot {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
}

/* ============================== FIELD-MODE ============================== */

.field-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.field-copy { max-width: 520px; }
.field-copy h2 { margin-bottom: 16px; }
.field-copy .lede { margin-bottom: 28px; }

.field-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  transition: border-color 200ms ease;
}
.field-list li:hover { border-color: var(--border); }
.fl-icon {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.22);
  color: var(--emerald-400);
}
.field-list li > div { display: flex; flex-direction: column; gap: 2px; }
.field-list li strong { color: var(--text); font-weight: 600; font-size: 14px; letter-spacing: -0.005em; }
.field-list li span { color: var(--text-mute); font-size: 13px; line-height: 1.45; }

.field-phone {
  position: relative;
  justify-self: center;
}
.phone-frame {
  position: relative;
  width: 320px;
  height: 660px;
  background: #0a0f1c;
  border: 8px solid #0a0f1c;
  border-radius: 44px;
  box-shadow:
    0 0 0 2px var(--border),
    0 30px 80px rgba(0,0,0,.55),
    0 8px 20px rgba(0,0,0,.4);
  overflow: hidden;
  z-index: 1;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #0a0f1c;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-frame iframe {
  width: 390px;
  height: 844px;
  transform-origin: top left;
  transform: scale(0.78);
  pointer-events: none;
}
.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(16,185,129,.16) 0%, transparent 60%);
  filter: blur(30px);
  z-index: 0;
}

/* ============================== PRICING ============================== */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.price-card:hover { border-color: var(--border); transform: translateY(-2px); }

.price-card.popular {
  background: linear-gradient(180deg, rgba(16,185,129,.07) 0%, rgba(15,23,42,0) 100%), var(--surface);
  border-color: rgba(16,185,129,.4);
  box-shadow: 0 16px 40px rgba(5,150,105,.18);
  position: relative;
}

.price-card header { display: flex; flex-direction: column; gap: 10px; }

.price-tier {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
}
.popular-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: linear-gradient(135deg, rgba(16,185,129,.16), rgba(6,182,212,.16));
  color: var(--emerald-400);
  border: 1px solid rgba(16,185,129,.4);
  border-radius: var(--r-sm);
}

.price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  color: var(--text);
}
.price-amount .dollar { font-size: 22px; color: var(--text-mute); }
.price-amount .num { font-size: 52px; font-weight: 700; line-height: 1; }
.price-amount .per { font-size: 14px; color: var(--text-mute); margin-left: 4px; font-weight: 500; letter-spacing: 0; font-family: var(--font-body); }

.price-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
}

.price-features {
  list-style: none;
  margin: 0;
  padding: 18px 0;
  border-top: 1px dashed var(--border-soft);
  border-bottom: 1px dashed var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.price-features li {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-2);
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.check {
  display: inline-grid;
  place-items: center;
  width: 16px; height: 16px;
  border-radius: 999px;
  background: rgba(16,185,129,.12);
  color: var(--emerald-400);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(16,185,129,.28);
  line-height: 1;
}

.pricing-foot {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================== FAQ ============================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 200ms ease;
}
.faq-list details:hover { border-color: var(--border); }
.faq-list details[open] { border-color: rgba(16,185,129,.32); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible {
  outline: 2px solid rgba(16,185,129,.5);
  outline-offset: -2px;
}

.faq-caret {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  color: var(--text-mute);
  transition: transform 200ms ease, color 200ms ease;
  flex-shrink: 0;
}
.faq-list details[open] .faq-caret { transform: rotate(180deg); color: var(--emerald-400); }

.faq-body {
  padding: 0 20px 18px;
  border-top: 1px dashed var(--border-soft);
  margin-top: 0;
  padding-top: 14px;
}
.faq-body p {
  margin: 0;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.6;
}

/* ============================== CLOSING CTA ============================== */

.cta-final {
  padding-bottom: 72px;
}

.cta-card {
  position: relative;
  padding: 48px 40px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16,185,129,.10) 0%, transparent 70%),
    var(--surface);
  border: 1px solid rgba(16,185,129,.32);
  border-radius: var(--r-2xl);
  text-align: center;
  box-shadow: 0 16px 60px rgba(5,150,105,.15);
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-ai);
  opacity: .6;
}

.cta-card .kicker { margin-bottom: 16px; }
.cta-card h2 { margin-bottom: 14px; }
.cta-body {
  font-size: 16px;
  color: var(--text-mute);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 28px;
}
.cta-body strong { color: var(--text); font-weight: 600; }

.cta-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  padding: 6px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.cta-form:focus-within {
  border-color: rgba(16,185,129,.5);
  box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}
.cta-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
}
.cta-form input::placeholder { color: var(--text-mute); }
.cta-form .btn { padding: 10px 16px; }

.cta-fine {
  margin: 18px auto 0;
  font-size: 12.5px;
  color: var(--text-dim);
  max-width: 460px;
}

/* ============================== FOOTER ============================== */

.footer {
  border-top: 1px solid var(--border-soft);
  padding: 24px;
  background: var(--bg-2);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer .brand-mark { width: 18px; height: 18px; }
.footer .brand-word { font-size: 13px; }
.footer-copy { font-size: 12.5px; color: var(--text-mute); }
.footer-links {
  display: inline-flex;
  gap: 4px;
}
.footer-links a {
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: var(--text-mute);
  transition: color 180ms ease, background-color 180ms ease;
}
.footer-links a:hover { color: var(--text); background: var(--surface-3); }

/* ============================== RESPONSIVE ============================== */

@media (max-width: 1280px) {
  :root { --max-w: 1100px; }
  .section { padding: 80px 24px; }
  h1 { font-size: clamp(34px, 5vw, 52px); }
  h2 { font-size: clamp(26px, 3.4vw, 36px); }
  .hero-inner { gap: 40px; }
  .modes-grid { gap: 14px; }
  .packs-grid { grid-template-columns: repeat(3, 1fr); }
  .ev-engine-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  :root { --max-w: 980px; }
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 640px; }
  .field-inner { grid-template-columns: 1fr; gap: 48px; }
  .field-copy { max-width: 640px; margin: 0 auto; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-3 .card:last-child { grid-column: 1 / -1; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .section { padding: 64px 20px; }
  .hero { padding: 48px 20px 56px; }
  .nav-inner { padding: 0 16px; }
  .brand-tag { display: none; }
  .nav-cta .btn { padding: 7px 12px; font-size: 12.5px; }
  h1 { font-size: clamp(30px, 7vw, 40px); }
  .hero-sub { font-size: 15.5px; }
  .hero-meta { gap: 10px; padding: 10px 12px; }
  .hm-divider { display: none; }
  .hm-item { flex-direction: row; gap: 6px; align-items: baseline; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-3 .card:last-child { grid-column: auto; }
  .modes-grid { grid-template-columns: 1fr; }
  .modes-grid .wide { grid-column: auto; }
  .packs-grid { grid-template-columns: 1fr; }
  .ev-engine-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-pack { grid-template-columns: 1fr; gap: 6px; margin: 0 !important; }
  .ev-pack-badge { justify-self: flex-start; }
  .phone-frame { width: 280px; height: 580px; }
  .phone-frame iframe { transform: scale(0.68); }
  .cta-card { padding: 36px 22px; }
  .cta-form { flex-direction: column; }
  .footer-inner { justify-content: center; text-align: center; }
}
