/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface-2: #222222;
  --border: #2e2e2e;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --text: #f5f5f5;
  --text-muted: #888888;
  --text-dim: #555555;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
}
.logo-mark { color: var(--amber); font-size: 0.7rem; }
.nav-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* SECTION LABELS */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 2rem;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 3rem 4rem;
  min-height: 90vh;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-headline em {
  font-style: italic;
  color: var(--amber);
  font-family: 'Instrument Serif', serif;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.permit-badge-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.permit-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.permit-badge.new {
  border-color: var(--amber);
  background: var(--amber-dim);
}
.badge-type {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--amber);
}
.badge-addr {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.badge-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.badge-status {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: monospace;
  margin-top: 0.25rem;
}

/* RADAR */
.scout-radar {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 80px; height: 80px; }
.ring-2 { width: 140px; height: 140px; animation: radar-pulse 3s ease-out infinite; }
.ring-3 { width: 200px; height: 200px; animation: radar-pulse 3s ease-out infinite 0.5s; }
@keyframes radar-pulse {
  0% { border-color: rgba(245, 158, 11, 0.3); }
  100% { border-color: rgba(245, 158, 11, 0); }
}
.radar-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
}
.radar-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--amber);
  animation: center-pulse 2s ease-in-out infinite;
}
@keyframes center-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.7); }
}
.radar-label {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

/* INTERFACE SECTION */
.interface-section {
  padding: 6rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.interface-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: start;
}
.phone-frame {
  background: #111;
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 40px 80px rgba(0,0,0,0.6);
}
.phone-notch {
  width: 80px;
  height: 22px;
  background: #111;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 12px;
}
.phone-screen {
  background: var(--surface-2);
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
}
.email-preview {
  padding: 1.25rem;
}
.email-to {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
  font-family: monospace;
}
.email-subject {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  font-family: monospace;
}
.email-body {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-family: 'Space Grotesk', sans-serif;
}
.email-sent-tag {
  margin-top: 1rem;
  font-size: 0.65rem;
  color: var(--amber);
  font-weight: 600;
  font-family: monospace;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}
.phone-caption {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  font-style: italic;
  font-family: 'Instrument Serif', serif;
}
.interface-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--border);
  font-family: 'Instrument Serif', serif;
  line-height: 1;
  padding-top: 0.1rem;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FEATURES SECTION */
.features-section {
  padding: 6rem 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-icon {
  color: var(--amber);
  width: 28px;
  height: 28px;
}
.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* MANIFESTO */
.manifesto-section {
  padding: 6rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 640px;
  margin: 0 auto;
}
.manifesto-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.manifesto-label-2 {
  margin-top: 2rem;
}
.manifesto-text {
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.manifesto-text em { color: var(--text); font-style: normal; }
.manifesto-tag {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
  font-family: 'Instrument Serif', serif;
}
.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* CLOSING */
.closing-section {
  padding: 8rem 3rem;
  text-align: center;
}
.closing-headline {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.closing-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* FOOTER */
footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    gap: 3rem;
  }
  .hero-visual { display: none; }
  .interface-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .phone-frame { max-width: 320px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }
  .manifesto-text { font-size: 1.1rem; }
  .closing-section { padding: 4rem 1.5rem; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  .interface-section, .features-section, .manifesto-section { padding: 4rem 1.5rem; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .hero-stats { gap: 1rem; flex-wrap: wrap; }
}