/* No Signal — shared site stylesheet */

/* ============================================
   NO SIGNAL — MARKETING WEBSITE
   Campfire in the dark.
   ============================================ */

:root {
  --void: #0A0A0A;
  --deep-earth: #141210;
  --charred: #1C1917;
  --bark: #292524;
  --stone: #44403C;
  --ash: #78716C;
  --dust: #A8A29E;
  --bone: #D6D3D1;
  --smoke: #F5F5F4;
  --ember-deep: #7C2D12;
  --ember: #C2410C;
  --ember-bright: #EA580C;
  --ember-glow: #FB923C;
  --ember-light: #FED7AA;
  --forest-bright: #22C55E;
  --forest: #166534;
  --warning: #DC2626;
  --steel-bright: #64748B;
  --font-sans: "Instrument Sans", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "Libre Baskerville", Georgia, serif;
}

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

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--stone) var(--void);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TOPOGRAPHIC BACKGROUND ── */
.topo-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='600' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M300 50 Q400 100 350 200 Q300 300 400 350 Q500 400 450 500 Q400 550 300 550 Q200 550 150 500 Q100 400 200 350 Q300 300 250 200 Q200 100 300 50Z' fill='none' stroke='%23A8A29E' stroke-width='0.5'/%3E%3Cpath d='M300 100 Q370 140 340 210 Q300 280 370 320 Q440 360 400 440 Q360 500 300 500 Q240 500 200 440 Q160 360 230 320 Q300 280 260 210 Q230 140 300 100Z' fill='none' stroke='%23A8A29E' stroke-width='0.5'/%3E%3Cpath d='M300 150 Q350 175 330 220 Q300 270 340 300 Q380 330 360 390 Q340 440 300 440 Q260 440 240 390 Q220 330 260 300 Q300 270 270 220 Q250 175 300 150Z' fill='none' stroke='%23A8A29E' stroke-width='0.5'/%3E%3Cpath d='M150 300 Q200 200 300 250 Q400 200 450 300 Q400 400 300 350 Q200 400 150 300Z' fill='none' stroke='%23A8A29E' stroke-width='0.4'/%3E%3C/svg%3E");
  background-size: 600px 600px;
}

/* ── NOISE OVERLAY ── */
.noise-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── LAYOUT ── */
.page-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── SECTION LABEL ── */
.section-label,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes barDrop1 {
  0% { transform: scaleY(1); opacity: 0.8; }
  30% { transform: scaleY(1.05); opacity: 0.6; }
  100% { transform: scaleY(1); opacity: 0.85; }
}

@keyframes barDrop2 {
  0% { transform: scaleY(1); opacity: 0.8; }
  30% { transform: scaleY(1.05); opacity: 0.6; }
  100% { transform: scaleY(1); opacity: 0.25; }
}

@keyframes barDrop3 {
  0% { transform: scaleY(1); opacity: 0.8; }
  30% { transform: scaleY(1.05); opacity: 0.6; }
  100% { transform: scaleY(1); opacity: 0.12; }
}

@keyframes barDrop4 {
  0% { transform: scaleY(1); opacity: 0.8; }
  30% { transform: scaleY(1.05); opacity: 0.6; }
  100% { transform: scaleY(1); opacity: 0.06; }
}

@keyframes breathing {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(194, 65, 12, 0.2), 0 0 60px rgba(194, 65, 12, 0.1); }
  50% { box-shadow: 0 0 30px rgba(194, 65, 12, 0.4), 0 0 80px rgba(194, 65, 12, 0.15); }
}

@keyframes ctaBorderPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(194, 65, 12, 0.12), 0 0 40px rgba(194, 65, 12, 0.06); border-color: var(--ember); }
  50% { box-shadow: 0 0 20px rgba(194, 65, 12, 0.2), 0 0 50px rgba(194, 65, 12, 0.1); border-color: var(--ember-bright); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(68, 64, 60, 0.2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 12px;
  min-width: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.nav-signal-bars .bar {
  width: 4px;
  border-radius: 1px;
  background: var(--ember);
  opacity: 0.3;
}

.nav-signal-bars .bar:nth-child(1) { height: 25%; }
.nav-signal-bars .bar:nth-child(2) { height: 50%; }
.nav-signal-bars .bar:nth-child(3) { height: 75%; }
.nav-signal-bars .bar:nth-child(4) { height: 100%; }

.nav-wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--smoke);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links > li > a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 0;
  line-height: 1;
}

.nav-links > li > a:hover {
  color: var(--smoke);
}

.nav-cta {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: white !important;
  background: var(--ember);
  padding: 10px 16px !important;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--ember-bright) !important;
  color: white !important;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--bone);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  text-align: left;
  position: relative;
  overflow: visible;
  padding: 128px 40px 80px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.15) 0%, rgba(194, 65, 12, 0.05) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: breathing 6s ease-in-out infinite;
  transition: left 0.4s ease-out, top 0.4s ease-out;
}

/* Particle canvas */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Typewriter */
.hero-tagline-wrapper {
  position: relative;
  z-index: 3;
  margin-bottom: 16px;
  min-height: 36px;
  opacity: 1;
}

.hero-tagline-text {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: clamp(16px, 2.2vw, 24px);
  color: var(--ash);
  display: inline;
}

.hero-tagline-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--ember);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

.hero-vignette-top,
.hero-vignette-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
  z-index: 2;
}

.hero-vignette-top {
  top: 0;
  background: linear-gradient(to bottom, var(--void), transparent);
}

.hero-vignette-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--void), transparent);
}

/* Signal Bars Animation */
.hero-signal {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
  margin-bottom: 28px;
  position: relative;
  z-index: 3;
}

.hero-signal .bar {
  width: 8px;
  border-radius: 2px;
  background: var(--ember);
  transform-origin: bottom;
  opacity: 0;
  animation: heroBarIn 0.4s ease forwards;
}

.hero-signal .bar:nth-child(1) { height: 25%; animation-delay: 0.2s; }
.hero-signal .bar:nth-child(2) { height: 50%; animation-delay: 0.35s; }
.hero-signal .bar:nth-child(3) { height: 75%; animation-delay: 0.5s; }
.hero-signal .bar:nth-child(4) { height: 100%; animation-delay: 0.65s; }

@keyframes heroBarIn {
  0% { opacity: 0; transform: scaleY(0); }
  60% { opacity: 1; transform: scaleY(1.1); }
  100% { opacity: 0.7; transform: scaleY(1); }
}

/* After bars come in, they die — bar 1 stays lit (ember-bar brand mark) */
.hero-signal.dying .bar:nth-child(4) { animation: barDrop4 0.6s ease 0.8s forwards; }
.hero-signal.dying .bar:nth-child(3) { animation: barDrop3 0.6s ease 1.0s forwards; }
.hero-signal.dying .bar:nth-child(2) { animation: barDrop2 0.6s ease 1.2s forwards; }
.hero-signal.dying .bar:nth-child(1) { animation: barDrop1 0.6s ease 1.4s forwards; }

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.04em;
  color: var(--smoke);
  line-height: 1.12;
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
  opacity: 1;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stone), transparent);
  margin-bottom: 28px;
  position: relative;
  z-index: 3;
  opacity: 1;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--ash);
  margin-bottom: 16px;
  position: relative;
  z-index: 3;
  opacity: 1;
}

.hero-stats {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: var(--ash);
  margin-bottom: 40px;
  position: relative;
  z-index: 3;
  opacity: 1;
  max-width: 480px;
  line-height: 1.7;
}

.hero-stats span {
  color: var(--dust);
  font-weight: 500;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  background: transparent;
  color: var(--ember-glow);
  border: 1px solid var(--ember);
  padding: 14px 22px;
  text-decoration: none;
  position: relative;
  z-index: 3;
  opacity: 1;
  border-radius: 10px;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-cta:hover {
  background: var(--ember);
  color: white;
  border-color: var(--ember-bright);
  box-shadow: 0 0 30px rgba(194, 65, 12, 0.2), 0 0 60px rgba(194, 65, 12, 0.08);
  transform: translateY(-1px);
}

.hero-cta.glow-active {
  box-shadow: 0 0 15px rgba(194, 65, 12, 0.12), 0 0 40px rgba(194, 65, 12, 0.06);
  animation: ctaBorderPulse 4s ease-in-out infinite;
}

.hero-scroll {
  position: relative;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
  opacity: 1;
}

.hero-scroll-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--stone);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--stone), transparent);
  animation: scrollLine 2s ease infinite;
}

/* Platform badge */
.hero-platform {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--stone);
  margin-top: 16px;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
  opacity: 1;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-section {
  padding: 100px 0;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
}

.comparison-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 16px;
}

.comparison-hint {
  display: none;
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ash);
}

.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 1px;
  background: rgba(68, 64, 60, 0.2);
  border: 1px solid rgba(68, 64, 60, 0.2);
}

.comparison-table th,
.comparison-table td {
  background: var(--void);
  padding: 14px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-align: center;
  color: var(--ash);
}

.comparison-table th {
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--smoke);
  font-weight: 600;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  text-align: left;
  color: var(--smoke);
}

.comparison-table .col-highlight {
  border-top: 2px solid var(--ember);
}

.comparison-table .col-highlight th {
  color: var(--ember-glow);
}

.comparison-check {
  color: var(--ember-glow);
}

.comparison-dash {
  opacity: 0.3;
}

/* ============================================
   VALUE JUSTIFICATION ("Why $129?")
   ============================================ */
.value-section {
  padding: 100px 0;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  padding: 40px 32px;
  border: 1px solid rgba(68, 64, 60, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: rgba(194, 65, 12, 0.3);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--ember), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-card:hover::before {
  opacity: 1;
}

.value-card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: rgba(194, 65, 12, 0.4);
  margin-bottom: 12px;
}

.value-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--smoke);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.value-card p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.8;
}

.value-summary {
  margin-top: 48px;
  text-align: center;
  font-size: 16px;
  color: var(--smoke);
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.specs-sub-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 48px;
  margin-bottom: 0;
}

/* Launch badge */
.hero-launch-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember-glow);
  margin-top: 12px;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
  opacity: 1;
}

/* ── HERO PRODUCT PREVIEW ── */
.hero-product-preview {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 780px;
  margin-top: 56px;
  opacity: 1;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-app-frame {
  border: 1px solid rgba(68, 64, 60, 0.25);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: var(--deep-earth);
  box-shadow:
    0 -4px 40px rgba(194, 65, 12, 0.06),
    0 20px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(194, 65, 12, 0.03);
}

.hero-app-titlebar {
  background: rgba(20, 18, 16, 0.95);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(68, 64, 60, 0.15);
}

.hero-app-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-app-dot:nth-child(1) { background: var(--stone); }
.hero-app-dot:nth-child(2) { background: var(--stone); }
.hero-app-dot:nth-child(3) { background: var(--stone); }

.hero-app-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ash);
  margin-left: 8px;
}

.hero-app-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-app-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-bright);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  animation: pulse 2s ease infinite;
}

.hero-app-status-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--forest-bright);
}

.hero-app-layout {
  display: flex;
  min-height: 260px;
}

.hero-app-sidebar {
  width: 48px;
  background: rgba(10, 10, 10, 0.8);
  border-right: 1px solid rgba(68, 64, 60, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 18px;
  flex-shrink: 0;
}

.hero-sidebar-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.25;
}

.hero-sidebar-icon.active {
  opacity: 0.9;
}

.hero-sidebar-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--dust);
  stroke-width: 1.5;
  fill: none;
}

.hero-app-content {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  position: relative;
}

.hero-app-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--deep-earth), transparent);
  pointer-events: none;
}

/* Chat messages in preview — bubble layout */
.hero-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 85%;
}

/* User messages: right-aligned */
.hero-msg.user-msg {
  margin-left: auto;
  flex-direction: row-reverse;
}

/* AI messages: left-aligned */
.hero-msg.ai-msg {
  margin-right: auto;
}

.hero-msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 2px;
}

.hero-msg-avatar.user {
  background: var(--bark);
  color: var(--dust);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.hero-msg-avatar.ai {
  background: var(--ember-deep);
  color: var(--ember-glow);
}

.hero-msg-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  min-width: 0;
}

.hero-msg.user-msg .hero-msg-bubble {
  background: var(--bark);
  border-radius: 12px 12px 4px 12px;
}

.hero-msg.ai-msg .hero-msg-bubble {
  background: rgba(28, 25, 23, 0.6);
  border: 1px solid rgba(68, 64, 60, 0.15);
  border-radius: 12px 12px 12px 4px;
}

.hero-msg-text {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--bone);
}

.hero-msg.user-msg .hero-msg-text {
  color: var(--dust);
}

.hero-msg-text .source-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.5px;
  background: rgba(194, 65, 12, 0.1);
  color: var(--ember-glow);
  border: 1px solid rgba(194, 65, 12, 0.15);
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 8px;
}

.hero-msg-streaming {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--ember);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  border-top: 1px solid rgba(68, 64, 60, 0.2);
  border-bottom: 1px solid rgba(68, 64, 60, 0.2);
  padding: 32px 0;
  background: rgba(20, 18, 16, 0.5);
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-number {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--ember-glow);
}

.trust-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  line-height: 1.4;
}

/* ============================================
   DEMO VIDEO SECTION
   ============================================ */
.demo-section {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid rgba(68, 64, 60, 0.15);
  text-align: center;
}

.demo-section .section-label {
  margin-bottom: 16px;
}

.demo-section h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--smoke);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 48px;
}

.demo-video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}

.demo-video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(68, 64, 60, 0.4);
  background: var(--deep-earth);
  box-shadow: 0 0 0 1px rgba(68, 64, 60, 0.15), 0 0 80px rgba(194, 65, 12, 0.06);
  padding: 4px;
}

.demo-video-inner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.demo-video-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.demo-video-frame.hidden {
  display: none;
}

.demo-replay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 80px 40px;
  border-radius: 16px;
  border: 1px solid rgba(68, 64, 60, 0.4);
  background: var(--deep-earth);
  box-shadow: 0 0 0 1px rgba(68, 64, 60, 0.15), 0 0 80px rgba(194, 65, 12, 0.06);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.demo-replay:hover {
  border-color: var(--ember);
}

.demo-replay.visible {
  display: flex;
}

.demo-replay-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ember);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.demo-replay:hover .demo-replay-icon {
  background: rgba(194, 65, 12, 0.15);
}

.demo-replay-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ember);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-replay-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dust);
}

.demo-replay-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--ember);
  border: none;
  color: var(--smoke);
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  margin-top: 4px;
}

.demo-replay-cta:hover {
  background: var(--ember-bright);
}

@media (max-width: 768px) {
  .demo-section { padding: 64px 0; }
  .demo-video-wrapper { padding: 0 20px; }
  .demo-section h2 { margin-bottom: 32px; }
  .demo-replay { padding: 48px 20px; }
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
  padding: 140px 0 160px;
  position: relative;
  overflow: hidden;
}

.problem::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem-headline {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  font-style: normal;
  color: var(--smoke);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 40px;
}

.problem-headline .ember {
  color: var(--ember-glow);
}

/* Stacked loss items */
.problem-losses {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.problem-loss {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(220, 38, 38, 0.1);
  background: rgba(220, 38, 38, 0.02);
  transition: all 0.3s ease;
}

.problem-loss:hover {
  border-color: rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.04);
}

.problem-loss-x {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--warning);
  opacity: 0.6;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.problem-loss-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--dust);
}

.problem-loss-text span {
  color: var(--stone);
  font-size: 11px;
  margin-left: 8px;
}

.problem-pivot {
  font-size: 17px;
  color: var(--dust);
  line-height: 1.9;
  margin-bottom: 0;
}

.problem-pivot strong {
  color: var(--bone);
  font-weight: 600;
}

/* Phone mockup — realistic */
.problem-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-frame {
  width: 300px;
  border: 1px solid rgba(68, 64, 60, 0.4);
  border-radius: 40px;
  background: var(--deep-earth);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(68, 64, 60, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(220, 38, 38, 0.03);
}

/* Notch */
.phone-notch {
  width: 120px;
  height: 28px;
  background: var(--void);
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Status bar */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 28px 0;
  position: relative;
  z-index: 1;
}

.phone-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--dust);
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-no-signal-icon {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.phone-no-signal-icon .b {
  width: 3px;
  border-radius: 1px;
  background: var(--stone);
  opacity: 0.2;
}

.phone-no-signal-icon .b:nth-child(1) { height: 25%; }
.phone-no-signal-icon .b:nth-child(2) { height: 50%; }
.phone-no-signal-icon .b:nth-child(3) { height: 75%; }
.phone-no-signal-icon .b:nth-child(4) { height: 100%; }

.phone-battery {
  width: 22px;
  height: 10px;
  border: 1px solid var(--stone);
  border-radius: 2px;
  position: relative;
  opacity: 0.5;
}

.phone-battery::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: var(--stone);
  border-radius: 0 1px 1px 0;
}

.phone-battery-fill {
  width: 20%;
  height: 100%;
  background: var(--warning);
  border-radius: 1px;
}

/* Phone screen content */
.phone-screen {
  padding: 40px 28px 48px;
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Scan line / static effect */
.phone-screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(255, 255, 255, 0.008) 2px,
    rgba(255, 255, 255, 0.008) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Glitch flicker overlay */
.phone-glitch {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  background: rgba(220, 38, 38, 0.03);
  animation: phoneGlitch 8s ease infinite;
}

@keyframes phoneGlitch {
  0%, 94%, 100% { opacity: 0; }
  95% { opacity: 1; transform: translateX(-2px); }
  96% { opacity: 0; }
  97% { opacity: 0.5; transform: translateX(1px); }
  98% { opacity: 0; transform: translateX(0); }
}

.phone-dead-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  position: relative;
}

.phone-dead-icon svg {
  width: 80px;
  height: 80px;
}

.phone-dead-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}

.phone-dead-sub {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: var(--ash);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 220px;
}

/* Failed action buttons */
.phone-failed-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.phone-failed-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid rgba(68, 64, 60, 0.2);
  border-radius: 10px;
  background: rgba(28, 25, 23, 0.5);
}

.phone-failed-btn-text {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  color: var(--stone);
}

.phone-failed-btn-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--warning);
  opacity: 0.7;
}

/* Home bar */
.phone-home-bar {
  width: 120px;
  height: 4px;
  background: var(--stone);
  border-radius: 2px;
  margin: 16px auto;
  opacity: 0.3;
}

/* ============================================
   FEATURES
   ============================================ */
.feature-section {
  padding: 140px 0;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
  position: relative;
  overflow: hidden;
}

.feature-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}

.feature-header {
  margin-bottom: 64px;
}

.feature-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  font-style: normal;
  color: var(--smoke);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 17px;
  color: var(--ash);
  max-width: 600px;
  line-height: 1.8;
}

/* ── FEATURE 1: AI ASSISTANT ── */
.ai-section {
  padding-top: 160px;
}

.ai-section::before {
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.04) 0%, transparent 70%);
}

.ai-header-centered {
  text-align: center;
  margin-bottom: 72px;
}

.ai-header-centered .feature-title {
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 20px;
}

.ai-header-centered .feature-desc {
  max-width: 620px;
  margin: 0 auto 32px;
  text-align: center;
}

/* Starter question pills */
.ai-starters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.ai-starter-pill {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  color: var(--dust);
  padding: 8px 18px;
  border: 1px solid rgba(68, 64, 60, 0.25);
  border-radius: 100px;
  transition: all 0.2s ease;
  cursor: default;
}

.ai-starter-pill:hover {
  border-color: rgba(194, 65, 12, 0.4);
  color: var(--bone);
  background: rgba(194, 65, 12, 0.04);
}

/* Elevated chat mockup */
.chat-mockup-wrapper {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

/* Ember glow behind mockup */
.chat-mockup-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(ellipse, rgba(194, 65, 12, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.chat-mockup {
  border: 1px solid rgba(68, 64, 60, 0.3);
  border-radius: 12px;
  overflow: hidden;
  background: var(--deep-earth);
  position: relative;
  z-index: 1;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 100px rgba(194, 65, 12, 0.04);
}

.chat-titlebar {
  background: var(--charred);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(68, 64, 60, 0.3);
}

.chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.chat-dot:nth-child(1) { background: var(--stone); }
.chat-dot:nth-child(2) { background: var(--stone); }
.chat-dot:nth-child(3) { background: var(--stone); }

.chat-titlebar-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ash);
  margin-left: 8px;
}

.chat-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-bright);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  animation: pulse 2s ease infinite;
}

.chat-status-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--forest-bright);
}

/* Navigation sidebar simulation */
.chat-layout {
  display: flex;
}

.chat-sidebar {
  width: 52px;
  background: var(--void);
  border-right: 1px solid rgba(68, 64, 60, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
  flex-shrink: 0;
}

.chat-sidebar-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.2s;
}

.chat-sidebar-icon.active {
  opacity: 1;
}

.chat-sidebar-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--dust);
  stroke-width: 1.5;
  fill: none;
}

.chat-sidebar-icon.active svg {
  stroke: var(--ember);
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chat-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.chat-msg {
  max-width: 85%;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  font-family: 'Instrument Sans', sans-serif;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--bark);
  border-radius: 16px 16px 4px 16px;
  color: var(--bone);
}

.chat-msg.ai {
  align-self: flex-start;
  background: transparent;
  border-left: 2px solid var(--ember);
  border-radius: 0;
  padding-left: 20px;
  color: var(--dust);
}

.chat-msg.ai strong {
  color: var(--bone);
  font-weight: 600;
}

/* Safety warning inside chat */
.chat-safety-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(217, 119, 6, 0.06);
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: 6px;
  margin-top: 12px;
}

.chat-safety-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.chat-safety-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #D97706;
  line-height: 1.5;
}

/* Streaming cursor */
.chat-streaming-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--ember-glow);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 0.6s step-end infinite;
  box-shadow: 0 0 6px rgba(251, 146, 60, 0.4);
}

.chat-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--ash);
  padding: 6px 14px;
  border: 1px solid rgba(68, 64, 60, 0.3);
  border-radius: 4px;
  background: rgba(28, 25, 23, 0.5);
  transition: all 0.2s ease;
}

.chat-source:hover {
  border-color: rgba(194, 65, 12, 0.3);
  color: var(--bone);
}

.chat-source-icon {
  width: 12px;
  height: 12px;
  display: inline-flex;
}

.chat-source-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

.chat-input-area {
  padding: 16px 28px 24px;
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
  margin: 0;
}

.chat-input {
  flex: 1;
  background: var(--charred);
  border: 1px solid rgba(68, 64, 60, 0.4);
  border-radius: 8px;
  padding: 14px 18px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: var(--ash);
}

.chat-send {
  width: 46px;
  height: 46px;
  background: var(--ember);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.chat-send:hover { background: var(--ember-bright); }

.chat-send svg {
  width: 18px;
  height: 18px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

/* AI Feature Cards */
.ai-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.ai-feature-card {
  border: 1px solid rgba(68, 64, 60, 0.2);
  padding: 32px;
  transition: border-color 0.2s ease;
}

.ai-feature-card:hover {
  border-color: rgba(194, 65, 12, 0.3);
}

.ai-feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

.ai-feature-card h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--smoke);
  margin-bottom: 10px;
}

.ai-feature-card p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.7;
}

/* ── FEATURE 2: DOCUMENT LIBRARY ── */
.library-section::before {
  bottom: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.03) 0%, transparent 70%);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.library-card {
  border: 1px solid rgba(68, 64, 60, 0.2);
  padding: 24px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.library-card:hover {
  border-color: rgba(194, 65, 12, 0.3);
  transform: translateY(-2px);
}

.library-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.library-card:hover::before {
  transform: scaleX(1);
}

.library-card-icon {
  font-size: 20px;
  margin-bottom: 12px;
}

.library-card h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--bone);
  margin-bottom: 8px;
}

.library-card p {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.6;
}

.library-card-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--stone);
  margin-top: 12px;
  text-transform: uppercase;
}

/* ── FEATURE 3: NAVIGATION SUITE ── */
.nav-section {
  padding-top: 160px;
}

.nav-section::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(194, 65, 12, 0.03) 0%, transparent 70%);
}

.nav-header-centered {
  text-align: center;
  margin-bottom: 72px;
}

.nav-header-centered .feature-title {
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 20px;
}

.nav-header-centered .feature-desc {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.nav-tool-count {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.nav-tool-count-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tool-count-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  opacity: 0.5;
}

.nav-tool-count-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dust);
}

/* ── MAP HERO CARD ── */
.map-hero {
  border: 1px solid rgba(68, 64, 60, 0.2);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
  background: var(--deep-earth);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.map-hero-titlebar {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--charred);
  border-bottom: 1px solid rgba(68, 64, 60, 0.2);
  gap: 8px;
}

.map-hero-titlebar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.map-hero-titlebar .dot:nth-child(1) { background: var(--stone); }
.map-hero-titlebar .dot:nth-child(2) { background: var(--stone); }
.map-hero-titlebar .dot:nth-child(3) { background: var(--stone); }

.map-hero-titlebar-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ash);
  margin-left: 8px;
}

.map-hero-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
}

/* Map canvas area */
.map-canvas {
  position: relative;
  min-height: 440px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(20, 82, 45, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(28, 25, 23, 1) 0%, var(--void) 100%);
  overflow: hidden;
}

/* Topo contour lines in the map */
.map-topo-lines {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='600' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M300 50 Q400 100 350 200 Q300 300 400 350 Q500 400 450 500 Q400 550 300 550 Q200 550 150 500 Q100 400 200 350 Q300 300 250 200 Q200 100 300 50Z' fill='none' stroke='%2322C55E' stroke-width='0.8'/%3E%3Cpath d='M300 100 Q370 140 340 210 Q300 280 370 320 Q440 360 400 440 Q360 500 300 500 Q240 500 200 440 Q160 360 230 320 Q300 280 260 210 Q230 140 300 100Z' fill='none' stroke='%2322C55E' stroke-width='0.8'/%3E%3Cpath d='M300 150 Q350 175 330 220 Q300 270 340 300 Q380 330 360 390 Q340 440 300 440 Q260 440 240 390 Q220 330 260 300 Q300 270 270 220 Q250 175 300 150Z' fill='none' stroke='%2322C55E' stroke-width='0.8'/%3E%3Cpath d='M150 300 Q200 200 300 250 Q400 200 450 300 Q400 400 300 350 Q200 400 150 300Z' fill='none' stroke='%2322C55E' stroke-width='0.6'/%3E%3Cpath d='M200 150 Q300 100 400 180 Q350 280 250 250 Q180 230 200 150Z' fill='none' stroke='%2322C55E' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 500px 500px;
  background-position: center;
}

/* Grid overlay */
.map-grid-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 162, 158, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 162, 158, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Waypoints */
.map-waypoint {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.map-waypoint-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid;
  position: relative;
}

.map-waypoint-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: inherit;
}

.map-waypoint.rally .map-waypoint-dot { border-color: var(--ember-glow); }
.map-waypoint.rally .map-waypoint-dot::after { background: var(--ember-glow); }
.map-waypoint.water .map-waypoint-dot { border-color: #3B82F6; }
.map-waypoint.water .map-waypoint-dot::after { background: #3B82F6; }
.map-waypoint.shelter .map-waypoint-dot { border-color: var(--forest-bright); }
.map-waypoint.shelter .map-waypoint-dot::after { background: var(--forest-bright); }
.map-waypoint.danger .map-waypoint-dot { border-color: var(--warning); }
.map-waypoint.danger .map-waypoint-dot::after { background: var(--warning); }

.map-waypoint-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dust);
  white-space: nowrap;
  background: rgba(10, 10, 10, 0.7);
  padding: 2px 6px;
  border-radius: 2px;
}

/* Route line connecting waypoints */
.map-route-line {
  position: absolute;
  height: 2px;
  background: var(--ember-glow);
  opacity: 0.5;
  transform-origin: left center;
  z-index: 1;
}

.map-route-line.dashed {
  background: repeating-linear-gradient(
    90deg,
    var(--ember-glow) 0px,
    var(--ember-glow) 6px,
    transparent 6px,
    transparent 12px
  );
}

/* Measurement overlay */
.map-measure {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(68, 64, 60, 0.3);
  border-radius: 6px;
  padding: 12px 16px;
  z-index: 5;
}

.map-measure-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 4px;
}

.map-measure-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--ember-glow);
}

.map-measure-unit {
  font-size: 11px;
  color: var(--ash);
  font-weight: 400;
}

/* GPS indicator */
.map-gps {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(68, 64, 60, 0.3);
  border-radius: 4px;
  padding: 6px 12px;
  z-index: 5;
}

.map-gps-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-bright);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
  animation: pulse 2s ease infinite;
}

.map-gps-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--forest-bright);
}

/* GPS position marker */
.map-gps-marker {
  position: absolute;
  z-index: 3;
}

.map-gps-marker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ember);
  border: 2px solid white;
  box-shadow: 0 0 16px rgba(194, 65, 12, 0.6);
}

.map-gps-marker-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(194, 65, 12, 0.2);
  background: rgba(194, 65, 12, 0.05);
  animation: pulse 3s ease infinite;
}

/* Crosshair */
.map-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}

.map-crosshair-h, .map-crosshair-v {
  position: absolute;
  background: rgba(168, 162, 158, 0.15);
}

.map-crosshair-h {
  width: 30px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-crosshair-v {
  width: 1px;
  height: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Zoom controls */
.map-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 5;
}

.map-zoom-btn {
  width: 32px;
  height: 32px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(68, 64, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: var(--dust);
  cursor: default;
}

.map-zoom-btn:first-child { border-radius: 4px 4px 0 0; }
.map-zoom-btn:last-child { border-radius: 0 0 4px 4px; }

/* Coordinate readout */
.map-coords {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--stone);
  letter-spacing: 0.5px;
  background: rgba(10, 10, 10, 0.7);
  padding: 4px 8px;
  border-radius: 3px;
  z-index: 5;
}

/* Map sidebar panel */
.map-sidebar {
  border-left: 1px solid rgba(68, 64, 60, 0.2);
  background: var(--void);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-sidebar-section h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 14px;
}

.map-wp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-wp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(68, 64, 60, 0.15);
  border-radius: 6px;
  transition: border-color 0.2s;
}

.map-wp-item:hover {
  border-color: rgba(68, 64, 60, 0.4);
}

.map-wp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-wp-info {
  flex: 1;
  min-width: 0;
}

.map-wp-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 2px;
}

.map-wp-coord {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--stone);
}

/* Route in sidebar */
.map-route-item {
  padding: 12px;
  border: 1px solid rgba(68, 64, 60, 0.15);
  border-radius: 6px;
}

.map-route-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 6px;
}

.map-route-meta {
  display: flex;
  gap: 16px;
}

.map-route-stat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--ash);
}

.map-route-stat span {
  color: var(--ember-glow);
  font-weight: 600;
}

/* ── STAR CHART + SECONDARY TOOLS ── */
.nav-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.nav-secondary-card {
  border: 1px solid rgba(68, 64, 60, 0.2);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.nav-secondary-card:hover {
  border-color: rgba(194, 65, 12, 0.3);
}

.nav-secondary-card.star-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, var(--void) 0%, rgba(20, 18, 16, 1) 100%);
}

.nav-card-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember);
  border: 1px solid rgba(194, 65, 12, 0.3);
  padding: 4px 12px;
  margin-bottom: 16px;
}

.nav-secondary-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--smoke);
  margin-bottom: 14px;
}

.nav-secondary-card p {
  font-size: 15px;
  color: var(--ash);
  line-height: 1.8;
  margin-bottom: 16px;
}

.nav-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-card-features li {
  font-size: 13px;
  color: var(--dust);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.nav-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
  opacity: 0.5;
}

/* Star Chart Visual — larger */
.star-chart-visual {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  background: radial-gradient(circle at center, rgba(20, 18, 16, 1) 0%, var(--void) 100%);
  border: 1px solid rgba(68, 64, 60, 0.15);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(194, 65, 12, 0.03);
}

.star-chart-visual .star {
  position: absolute;
  border-radius: 50%;
  background: white;
}

.star-chart-visual .constellation-line {
  position: absolute;
  background: rgba(168, 162, 158, 0.15);
  height: 1px;
  transform-origin: left center;
}

/* Feature strip */
.nav-feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
}

.nav-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 24px;
  transition: transform 0.2s ease;
}

.nav-feature-item:hover {
  transform: translateY(-2px);
}

.nav-feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

.nav-feature-text h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--smoke);
  margin-bottom: 6px;
}

.nav-feature-text p {
  font-size: 12px;
  color: var(--ash);
  line-height: 1.5;
}

/* ============================================
   OFFLINE ARCHITECTURE
   ============================================ */
.offline-section {
  padding: 140px 0;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
}

.offline-headline {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--smoke);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

.offline-subtitle {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ash);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

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

.offline-card {
  border: 1px solid rgba(68, 64, 60, 0.2);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
}

.offline-card:hover {
  border-color: rgba(194, 65, 12, 0.3);
  transform: translateY(-4px);
}

.offline-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offline-card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

.offline-card h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--smoke);
  margin-bottom: 10px;
}

.offline-card p {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.6;
}

.offline-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--forest-bright);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 10px;
  margin-top: 16px;
}

/* ============================================
   DIFFERENTIATORS
   ============================================ */
.diff-section {
  padding: 140px 0;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
  position: relative;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.diff-card {
  padding: 40px 32px;
  border: 1px solid rgba(68, 64, 60, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.diff-card:hover {
  border-color: rgba(194, 65, 12, 0.3);
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--ember), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.diff-card:hover::before {
  opacity: 1;
}

.diff-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: rgba(194, 65, 12, 0.15);
  margin-bottom: 20px;
}

.diff-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--smoke);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.diff-card p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.8;
}

/* ============================================
   TECH SPECS
   ============================================ */
.specs-section {
  padding: 100px 0;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(68, 64, 60, 0.2);
  border: 1px solid rgba(68, 64, 60, 0.2);
  margin-top: 48px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  background: var(--void);
}

.spec-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ash);
}

.spec-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--smoke);
  text-align: right;
}

/* ============================================
   SAFETY SECTION
   ============================================ */
.safety-section {
  padding: 100px 0;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.safety-card {
  padding: 32px;
  border: 1px solid rgba(68, 64, 60, 0.2);
  border-top: 2px solid var(--forest);
}

.safety-card h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--smoke);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.safety-card p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: breathing 6s ease-in-out infinite;
}

.final-signal {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  height: 48px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.final-signal .bar {
  width: 10px;
  border-radius: 2px;
  background: var(--ember);
}

.final-signal .bar:nth-child(1) { height: 25%; opacity: 0.85; }
.final-signal .bar:nth-child(2) { height: 50%; opacity: 0.25; }
.final-signal .bar:nth-child(3) { height: 75%; opacity: 0.12; }
.final-signal .bar:nth-child(4) { height: 100%; opacity: 0.06; }

.final-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  font-style: normal;
  color: var(--smoke);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.final-tagline {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ash);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.final-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  background: var(--ember);
  color: white;
  padding: 16px 28px;
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  animation: glowPulse 4s ease-in-out infinite;
}

.final-btn:hover {
  background: var(--ember-bright);
  box-shadow: 0 0 60px rgba(194, 65, 12, 0.4), 0 0 120px rgba(194, 65, 12, 0.15);
  transform: translateY(-3px);
}

.final-launch-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember-glow);
  margin-top: 16px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.final-platform {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--stone);
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(68, 64, 60, 0.2);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.footer-logo-bars .bar {
  width: 3px;
  border-radius: 1px;
  background: var(--ember);
  opacity: 0.2;
}

.footer-logo-bars .bar:nth-child(1) { height: 25%; }
.footer-logo-bars .bar:nth-child(2) { height: 50%; }
.footer-logo-bars .bar:nth-child(3) { height: 75%; }
.footer-logo-bars .bar:nth-child(4) { height: 100%; }

.footer-wordmark {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--dust);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--bone);
}

.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--stone);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
  .library-grid { grid-template-columns: repeat(3, 1fr); }
  .map-hero-layout { grid-template-columns: 1fr; }
  .map-sidebar { border-left: none; border-top: 1px solid rgba(68, 64, 60, 0.2); }
  .nav-secondary-card.star-card { grid-column: span 2; grid-template-columns: 1fr; }
  .nav-feature-strip { grid-template-columns: 1fr 1fr; }
  .offline-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container, .container--narrow { padding: 0 24px; }
  .nav { padding: 0 24px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px 40px;
    gap: 20px;
    border-bottom: 1px solid rgba(68, 64, 60, 0.2);
    animation: slideDown 0.3s ease;
  }

  .hero { padding: 120px 24px 60px; }
  .hero-signal { height: 48px; gap: 6px; }
  .hero-signal .bar { width: 8px; }
  .hero-app-sidebar { display: none; }
  .hero-product-preview { margin-top: 40px; }
  .hero-app-content { padding: 20px; }
  .hero-msg-text { font-size: 12px; }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .problem-visual { order: -1; }
  .phone-frame { width: 260px; }
  .phone-screen { min-height: 360px; padding: 32px 24px 40px; }

  .chat-sidebar { display: none; }
  .ai-starters { gap: 8px; }
  .ai-starter-pill { font-size: 12px; padding: 6px 14px; }
  .ai-features-grid { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-secondary-grid { grid-template-columns: 1fr; }
  .nav-secondary-card.star-card { grid-column: span 1; grid-template-columns: 1fr; }
  .nav-feature-strip { grid-template-columns: 1fr; }
  .map-canvas { min-height: 320px; }
  .offline-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }

  .trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px 16px;
    padding: 0 24px;
    justify-items: center;
    overflow-x: visible;
  }

  .trust-item {
    grid-column: span 2;
    justify-content: center;
  }

  .trust-item:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .trust-item {
    flex: 0 0 auto;
  }

  .feature-section, .offline-section, .diff-section, .problem {
    padding: 100px 0;
  }

  /* ── Final CTA ── */
  .final-cta { padding: 120px 24px; }
  .final-btn { font-size: 13px; letter-spacing: 4px; padding: 20px 48px; }

  /* ── Offline ── */
  .offline-subtitle { max-width: 100%; }

  /* ── Star chart ── */
  .star-chart-visual { max-width: 100%; }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  /* ── Global ── */
  .container, .container--narrow { padding: 0 20px; }

  /* ── Hero ── */
  .hero { padding: 100px 20px 48px; }
  .hero-signal { height: 32px; margin-bottom: 20px; }
  .hero-signal .bar { width: 6px; }
  .hero-title { margin-bottom: 16px; }
  .hero-divider { width: 40px; margin-bottom: 20px; }
  .hero-tagline-text { font-size: 16px; }
  .hero-tagline-wrapper { margin-bottom: 12px; }
  .hero-stats { font-size: 13px; margin-bottom: 32px; max-width: 100%; }
  .hero-cta { font-size: 10px; letter-spacing: 2px; padding: 12px 28px; }
  .hero-platform { font-size: 9px; letter-spacing: 1px; }
  .hero-launch-badge { font-size: 8px; letter-spacing: 1px; }
  .hero-product-preview { margin-top: 32px; }
  .hero-app-layout { min-height: 200px; }
  .hero-app-content { padding: 16px; gap: 14px; }
  .hero-msg { max-width: 92%; gap: 8px; }
  .hero-msg-avatar { width: 22px; height: 22px; font-size: 9px; }
  .hero-msg-bubble { padding: 8px 12px; }
  .hero-msg-text { font-size: 12px; line-height: 1.5; }
  .hero-msg-text .source-tag { font-size: 8px; padding: 2px 6px; }
  .hero-scroll { margin-top: 32px; }

  /* ── Trust Bar ── */
  .trust-bar { padding: 24px 0; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; padding: 0 20px; }
  .trust-item { flex-direction: column; text-align: center; gap: 4px; }
  .trust-item:last-child { grid-column: 1 / -1; justify-self: center; }
  .trust-number { font-size: 20px; }
  .trust-text { font-size: 8px; letter-spacing: 1.5px; }

  /* ── Problem ── */
  .problem { padding: 80px 0; }
  .problem-headline { font-size: 24px; }
  .problem-sub { font-size: 14px; }
  .problem-losses { gap: 12px; }
  .problem-loss { padding: 12px 16px; }
  .problem-loss-text { font-size: 12px; }
  .phone-frame { width: 240px; }
  .phone-screen { min-height: 320px; padding: 28px 20px 36px; }
  .phone-dead-icon { width: 60px; height: 60px; }

  /* ── Feature sections ── */
  .feature-section, .offline-section, .diff-section { padding: 80px 0; }
  .feature-header { margin-bottom: 48px; }
  .feature-title { font-size: 24px; }
  .feature-desc { font-size: 15px; max-width: 100%; }
  .ai-header-centered .feature-title { font-size: 26px; }
  .ai-header-centered .feature-desc { max-width: 100%; }
  .nav-header-centered .feature-title { font-size: 26px; }
  .nav-header-centered .feature-desc { max-width: 100%; }

  /* ── AI Assistant ── */
  .ai-starters { gap: 6px; }
  .ai-starter-pill { font-size: 11px; padding: 6px 12px; }
  .chat-titlebar { padding: 10px 14px; }
  .chat-body { padding: 20px; }
  .chat-msg { padding: 10px 14px; font-size: 13px; }
  .chat-input-area { padding: 12px 14px; gap: 8px; }
  .chat-input { padding: 10px 14px; font-size: 12px; }
  .chat-send { width: 38px; height: 38px; }
  .ai-feature-card { padding: 24px; }

  /* ── Document Library ── */
  .library-grid { grid-template-columns: 1fr; }
  .library-card { padding: 20px; }

  /* ── Navigation Suite ── */
  .map-canvas { min-height: 260px; }
  .map-sidebar { padding: 20px; }
  .nav-tool-count { gap: 16px; }
  .nav-feature-strip { grid-template-columns: 1fr; }
  .nav-feature-item { padding: 20px 16px; }
  .star-chart-visual { max-width: 280px; }

  /* ── Offline Architecture ── */
  .offline-headline { font-size: 24px; }
  .offline-subtitle { font-size: 16px; max-width: 100%; margin-bottom: 48px; }
  .offline-card { padding: 24px 20px; }

  /* ── Differentiators ── */
  .diff-card { padding: 28px 24px; }
  .diff-number { font-size: 28px; }
  .diff-card h3 { font-size: 14px; }
  .diff-card p { font-size: 13px; }

  /* ── Specs ── */
  .spec-item { padding: 16px 20px; }
  .spec-label, .spec-value { font-size: 10px; }

  /* ── Safety ── */
  .safety-card { padding: 24px; }

  /* ── Final CTA ── */
  .final-cta { padding: 100px 20px; }
  .final-title { font-size: 28px; }
  .final-tagline { font-size: 16px; margin-bottom: 36px; }
  .final-btn { font-size: 12px; letter-spacing: 3px; padding: 18px 36px; }
  .final-launch-badge { font-size: 8px; letter-spacing: 1px; }
  .final-platform { font-size: 9px; letter-spacing: 1px; }

  /* ── Footer ── */
  .footer { padding: 36px 0; }
  .footer-inner { padding: 0 20px; }
}


/* ── FEATURES DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-arrow { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; transition: transform 0.2s ease; }
.nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 12px; z-index: 1001; }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu-inner { background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(68, 64, 60, 0.3); padding: 8px 0; min-width: 220px; }
.nav-dropdown-menu a { display: block; padding: 10px 20px !important; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ash) !important; text-decoration: none; transition: all 0.2s ease; white-space: nowrap; }
.nav-dropdown-menu a:hover { color: var(--smoke) !important; background: rgba(194, 65, 12, 0.08); }
.nav-dropdown-menu a.active { color: var(--ember-glow) !important; }
@media (max-width: 768px) {
  .nav-dropdown-menu { display: none !important; }
  .nav-dropdown-arrow { display: none; }
  .nav-links.open .nav-dropdown-menu { display: block !important; position: static; transform: none; padding-top: 0; }
  .nav-links.open .nav-dropdown-menu-inner { background: transparent; border: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0 0 0 16px; min-width: 0; }
  .nav-links.open .nav-dropdown-menu a { padding: 8px 0 !important; }
}
/* ── FEATURE PAGE HERO ── */
.feature-page-hero { padding: 160px 0 80px; text-align: center; position: relative; }
.feature-page-hero .section-label { margin-bottom: 16px; }
.feature-page-hero h1 { font-family: var(--font-sans); font-size: clamp(32px, 4vw, 50px); font-weight: 700; font-style: normal; color: var(--smoke); letter-spacing: -0.04em; line-height: 1.2; margin-bottom: 20px; }
.feature-page-hero p.feature-page-desc { font-size: 17px; color: var(--ash); max-width: 620px; margin: 0 auto; line-height: 1.8; }
/* ── CROSS LINKS ── */
.cross-links { padding: 80px 0; border-top: 1px solid rgba(68, 64, 60, 0.15); text-align: center; }
.cross-links-grid { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.cross-link-btn { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ash); text-decoration: none; padding: 14px 28px; border: 1px solid rgba(68, 64, 60, 0.3); transition: all 0.2s ease; }
.cross-link-btn:hover { border-color: rgba(194, 65, 12, 0.4); color: var(--smoke); }
/* ── SOURCE DOCS ── */
.source-docs { margin-top: 64px; }
.source-docs h3 { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ash); margin-bottom: 24px; }
.source-docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.source-doc-item { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid rgba(68, 64, 60, 0.2); transition: border-color 0.2s ease; }
.source-doc-item:hover { border-color: rgba(194, 65, 12, 0.3); }
.source-doc-icon { font-size: 18px; flex-shrink: 0; }
.source-doc-info h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: var(--bone); margin-bottom: 2px; }
.source-doc-info p { font-size: 12px; color: var(--ash); }
/* ── INVENTORY STYLES ── */
.inventory-dashboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.runway-card { border: 1px solid rgba(68, 64, 60, 0.2); padding: 28px 24px; text-align: center; transition: all 0.2s ease; }
.runway-card:hover { border-color: rgba(194, 65, 12, 0.3); transform: translateY(-2px); }
.runway-card-value { font-family: 'JetBrains Mono', monospace; font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.runway-card-value.good { color: var(--forest-bright); }
.runway-card-value.warning { color: var(--ember-glow); }
.runway-card-value.critical { color: var(--warning); }
.runway-card-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ash); margin-bottom: 4px; }
.runway-card-sub { font-size: 12px; color: var(--stone); }
.inventory-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.inventory-feature-card { border: 1px solid rgba(68, 64, 60, 0.2); padding: 32px; transition: border-color 0.2s ease; }
.inventory-feature-card:hover { border-color: rgba(194, 65, 12, 0.3); }
.inventory-feature-icon { width: 40px; height: 40px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.inventory-feature-icon svg { width: 28px; height: 28px; stroke: var(--ember); stroke-width: 1.5; fill: none; }
.inventory-feature-card h4 { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--smoke); margin-bottom: 10px; }
.inventory-feature-card p { font-size: 14px; color: var(--ash); line-height: 1.7; }
.entry-paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.entry-path-card { border: 1px solid rgba(68, 64, 60, 0.2); padding: 24px; text-align: center; transition: all 0.2s ease; }
.entry-path-card:hover { border-color: rgba(194, 65, 12, 0.3); }
.entry-path-number { font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 700; color: rgba(194, 65, 12, 0.3); margin-bottom: 12px; }
.entry-path-card h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--bone); margin-bottom: 8px; }
.entry-path-card p { font-size: 13px; color: var(--ash); line-height: 1.6; }
@media (max-width: 768px) {
  .feature-page-hero { padding: 120px 0 60px; }
  .inventory-dashboard { grid-template-columns: repeat(2, 1fr); }
  .inventory-features-grid { grid-template-columns: 1fr; }
  .entry-paths { grid-template-columns: repeat(2, 1fr); }
  .source-docs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .feature-page-hero { padding: 100px 0 48px; }
  .feature-page-hero h1 { font-size: 26px; }
  .cross-links-grid { flex-direction: column; align-items: center; }
  .inventory-dashboard { grid-template-columns: 1fr; }
  .entry-paths { grid-template-columns: 1fr; }
}

/* ── APP MOCKUP ── */
.app-mockup-section { padding: 0 0 100px; }
.app-mockup-wrapper { position: relative; max-width: 900px; margin: 0 auto; }
.app-mockup-wrapper::before { content: ''; position: absolute; top: 50%; left: 50%; width: 70%; height: 70%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(194, 65, 12, 0.08), transparent 70%); pointer-events: none; z-index: 0; }
.app-mockup { position: relative; z-index: 1; background: rgba(15, 13, 11, 0.95); border: 1px solid rgba(68, 64, 60, 0.3); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); }
.app-mockup-titlebar { display: flex; align-items: center; gap: 8px; padding: 14px 20px; background: rgba(20, 18, 15, 0.98); border-bottom: 1px solid rgba(68, 64, 60, 0.2); }
.app-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.app-mockup-dot.red { background: #ff5f57; }
.app-mockup-dot.yellow { background: #febc2e; }
.app-mockup-dot.green { background: #28c840; }
.app-mockup-titlebar span { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--stone); margin-left: 12px; }
.app-mockup-body { display: flex; min-height: 480px; }
.app-mockup-sidebar { width: 180px; flex-shrink: 0; padding: 20px 0; border-right: 1px solid rgba(68, 64, 60, 0.15); background: rgba(12, 10, 8, 0.6); }
.app-mockup-sidebar-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--stone); cursor: default; transition: color 0.2s; }
.app-mockup-sidebar-item.active { color: var(--smoke); background: rgba(194, 65, 12, 0.06); border-right: 2px solid var(--ember); }
.app-mockup-sidebar-item svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; flex-shrink: 0; }
.app-mockup-main { flex: 1; padding: 32px; overflow: hidden; }
.app-mockup-header h3 { font-family: 'Libre Baskerville', serif; font-size: 22px; font-weight: 700; color: var(--smoke); margin-bottom: 6px; font-style: italic; }
.app-mockup-header p { font-size: 13px; color: var(--ash); margin-bottom: 24px; }
.app-tab-bar { display: flex; gap: 0; margin-bottom: 28px; border: 1px solid rgba(68, 64, 60, 0.25); border-radius: 8px; overflow: hidden; }
.app-tab { flex: 1; padding: 10px 12px; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--stone); text-align: center; cursor: default; transition: all 0.2s; border-right: 1px solid rgba(68, 64, 60, 0.15); }
.app-tab:last-child { border-right: none; }
.app-tab.active { background: rgba(194, 65, 12, 0.15); color: var(--ember-glow); }
.app-min-runway { border: 1px solid rgba(68, 64, 60, 0.2); border-radius: 8px; padding: 28px; text-align: center; margin-bottom: 24px; }
.app-min-runway-value { font-family: 'JetBrains Mono', monospace; font-size: 42px; font-weight: 700; color: var(--smoke); letter-spacing: -1px; }
.app-min-runway-value span { font-size: 22px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; margin-left: 4px; }
.app-min-runway-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--stone); margin-top: 4px; }
.app-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.app-category-card { border: 1px solid rgba(68, 64, 60, 0.2); border-radius: 8px; padding: 16px; }
.app-category-card-header { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.app-category-card-header span { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ash); }
.app-category-card-header svg { width: 14px; height: 14px; stroke: var(--ember-glow); stroke-width: 1.5; fill: none; }
.app-category-value { font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.app-category-value.good { color: var(--forest-bright); }
.app-category-value.warn { color: var(--ember-glow); }
.app-category-value.crit { color: #ef4444; }
.app-category-value small { font-size: 13px; font-weight: 400; color: var(--ash); margin-left: 2px; }
.app-category-bar { height: 3px; border-radius: 2px; background: rgba(68, 64, 60, 0.2); margin-top: 8px; overflow: hidden; }
.app-category-bar-fill { height: 100%; border-radius: 2px; }
.app-category-bar-fill.good { background: var(--forest-bright); }
.app-category-bar-fill.warn { background: var(--ember-glow); }
.app-category-bar-fill.crit { background: #ef4444; }
@media (max-width: 768px) {
  .app-mockup-sidebar { display: none; }
  .app-category-grid { grid-template-columns: repeat(2, 1fr); }
  .app-mockup-main { padding: 24px; }
}
@media (max-width: 480px) {
  .app-category-grid { grid-template-columns: 1fr; }
  .app-tab { font-size: 8px; letter-spacing: 1px; padding: 8px 6px; }
  .app-min-runway-value { font-size: 32px; }
}



/* ── BLOG HERO ── */
.blog-hero {
  padding: 160px 40px 80px;
  text-align: center;
}

.blog-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  font-style: normal;
  color: var(--smoke);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.blog-hero-subtitle {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ash);
  opacity: 0;
  animation: fadeIn 0.8s ease 0.6s forwards;
}

/* ── BLOG LIST ── */
.blog-list {
  padding: 0 0 120px;
}

.blog-post-card {
  border-bottom: 1px solid rgba(68, 64, 60, 0.2);
  padding: 48px 0;
}

.blog-post-card:first-child {
  border-top: 1px solid rgba(68, 64, 60, 0.2);
}

.blog-post-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 12px;
}

.blog-post-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  color: var(--smoke);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.blog-post-title:hover {
  color: var(--ember);
}

.blog-post-excerpt {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  color: var(--dust);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 640px;
}

.blog-post-read {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-post-read:hover {
  color: var(--ember-bright);
}



.article-header {
  padding: 160px 40px 0;
  max-width: 720px;
  margin: 0 auto;
}

.article-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.1s forwards;
}

.article-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  font-style: normal;
  color: var(--smoke);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

/* ── ARTICLE BODY ── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

.article-body p {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 17px;
  color: var(--bone);
  line-height: 1.8;
  margin-bottom: 24px;
}

.article-update {
  font-size: 15px !important;
  padding: 16px 18px;
  border-left: 2px solid var(--ember);
  background: rgba(194, 65, 12, 0.08);
}

.article-body h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 600;
  color: var(--smoke);
  margin-top: 64px;
  margin-bottom: 24px;
  line-height: 1.3;
}

.article-body h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  color: var(--bone);
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.article-body ul,
.article-body ol {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 17px;
  color: var(--bone);
  line-height: 1.8;
  margin-bottom: 24px;
  padding-left: 0;
  list-style: none;
}

.article-body ul li,
.article-body ol li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
}

.article-body ol {
  counter-reset: ol-counter;
}

.article-body ol li {
  counter-increment: ol-counter;
}

.article-body ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0;
  color: var(--ember);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
}

.article-body hr {
  border: none;
  height: 1px;
  background: var(--stone);
  opacity: 0.2;
  margin: 48px 0;
}

.article-body blockquote {
  border-left: 2px solid var(--ember);
  padding-left: 24px;
  margin: 40px 0;
}

.article-body blockquote p {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--dust);
  line-height: 1.7;
}

.article-body a {
  color: var(--ember);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-body a:hover {
  color: var(--ember-bright);
}

.article-body strong {
  color: var(--smoke);
  font-weight: 600;
}

.article-body .line-break {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 17px;
  color: var(--bone);
  line-height: 1.8;
  margin-bottom: 4px;
}

.article-body .line-break:last-of-type {
  margin-bottom: 24px;
}

.article-body .signoff {
  margin-top: 48px;
}

.article-body .signoff p {
  margin-bottom: 4px;
}

/* ── AI RESPONSE DEMO ── */
.demo-response {
  background: rgba(20, 18, 16, 0.8);
  border: 1px solid rgba(68, 64, 60, 0.3);
  padding: 28px;
  margin: 32px 0;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  color: var(--bone);
  line-height: 1.8;
}

.demo-response-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-response-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
  opacity: 0.6;
}

.demo-response p {
  font-size: 15px;
  margin-bottom: 16px;
}

.demo-response .source-cite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--ash);
  background: rgba(68, 64, 60, 0.15);
  padding: 4px 10px;
  margin-top: 8px;
}

.demo-response .source-cite svg {
  width: 12px;
  height: 12px;
  stroke: var(--ash);
  stroke-width: 1.5;
  fill: none;
}

.demo-query {
  background: rgba(194, 65, 12, 0.06);
  border: 1px solid rgba(194, 65, 12, 0.15);
  padding: 16px 20px;
  margin: 32px 0 0;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  color: var(--dust);
  line-height: 1.6;
}

.demo-query-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ember-glow);
  margin-bottom: 8px;
}

/* ── AMBER WARNING DEMO ── */
.amber-banner-demo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(234, 88, 12, 0.06);
  border: 1px solid rgba(234, 88, 12, 0.15);
  padding: 14px 18px;
  margin: 24px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ember-glow);
  line-height: 1.5;
}

.amber-banner-demo .amber-icon {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  margin-top: 1px;
}

/* ── COMPARISON TABLE ── */
.article-comparison {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
}

.article-comparison th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(68, 64, 60, 0.3);
}

.article-comparison td {
  padding: 12px 16px;
  color: var(--bone);
  border-bottom: 1px solid rgba(68, 64, 60, 0.1);
  vertical-align: top;
}

.article-comparison tr td:first-child {
  color: var(--dust);
  font-weight: 500;
}

/* ── CTA BOX ── */
.article-cta {
  background: rgba(194, 65, 12, 0.06);
  border: 1px solid rgba(194, 65, 12, 0.2);
  padding: 40px;
  margin: 48px 0;
  text-align: center;
}

.article-cta h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 600;
  color: var(--smoke);
  margin-bottom: 12px;
  margin-top: 0;
}

.article-cta p {
  font-size: 15px;
  color: var(--dust);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.article-cta-btn {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--ember);
  color: white;
  padding: 14px 32px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-cta-btn:hover {
  background: var(--ember-bright);
  box-shadow: 0 0 30px rgba(194, 65, 12, 0.25);
  color: white;
}

.article-cta-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 12px;
}

/* ── BACK LINK ── */
.article-back {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px 120px;
}

.article-back a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-back a:hover {
  color: var(--ember-bright);
}



/* ── BETA SIGNUP ── */
.beta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
}

.beta-card {
  width: 100%;
  max-width: 520px;
  position: relative;
}

.beta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── HEADER ── */
.beta-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.beta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}

.beta-title {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  color: var(--smoke);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.beta-desc {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  color: var(--dust);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
}

/* ── FORM CARD ── */
.beta-body {
  border: 1px solid rgba(68, 64, 60, 0.3);
  background: rgba(20, 18, 16, 0.6);
  position: relative;
  overflow: hidden;
}

.beta-form-section {
  padding: 32px;
}

.beta-form-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 20px;
}

/* ── EMAIL INPUT ── */
.beta-email-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.beta-email-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ash);
}

.beta-email-field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(68, 64, 60, 0.3);
  color: var(--smoke);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.beta-email-field input::placeholder {
  color: var(--stone);
}

.beta-email-field input:focus {
  border-color: var(--ember);
}

/* ── PLATFORM SELECTOR (optional) ── */
.beta-platform {
  margin-bottom: 28px;
}

.beta-platform-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ash);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.beta-platform-label .optional {
  font-size: 9px;
  color: var(--stone);
  letter-spacing: 0;
  text-transform: none;
  font-family: 'Instrument Sans', sans-serif;
}

.beta-platform-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.beta-platform-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid rgba(68, 64, 60, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  position: relative;
}

.beta-platform-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.beta-platform-option:hover {
  border-color: rgba(68, 64, 60, 0.5);
  background: rgba(28, 25, 23, 0.5);
}

.beta-platform-option:has(input:checked),
.beta-platform-option.selected {
  border-color: var(--ember);
  background: rgba(194, 65, 12, 0.06);
}

.beta-platform-option:has(input:focus-visible) {
  outline: 2px solid var(--ember-glow);
  outline-offset: 2px;
}

.beta-platform-option svg {
  width: 22px;
  height: 22px;
  stroke: var(--dust);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.2s ease;
}

.beta-platform-option:has(input:checked) svg,
.beta-platform-option.selected svg {
  stroke: var(--ember-glow);
}

.beta-platform-option span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ash);
  transition: color 0.2s ease;
}

.beta-platform-option:has(input:checked) span,
.beta-platform-option.selected span {
  color: var(--smoke);
}

/* ── SUBMIT BUTTON ── */
.beta-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--ember);
  border: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  border-radius: 10px;
}

.beta-submit:hover {
  background: var(--ember-bright);
  box-shadow: 0 0 30px rgba(194, 65, 12, 0.25), 0 0 60px rgba(194, 65, 12, 0.1);
}

.beta-submit:active {
  transform: translateY(1px);
}

.beta-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── SUCCESS STATE ── */
.beta-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
}

.beta-success.visible {
  display: block;
}

.beta-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beta-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--forest-bright);
  stroke-width: 2;
  fill: none;
}

.beta-success-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  color: var(--smoke);
  margin-bottom: 12px;
}

.beta-success-text {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  color: var(--dust);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

/* ── WHAT YOU GET ── */
.beta-includes {
  padding: 28px 32px;
  border-top: 1px solid rgba(68, 64, 60, 0.2);
}

.beta-includes-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}

.beta-includes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.beta-includes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--dust);
  line-height: 1.5;
}

.beta-includes-list li .check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beta-includes-list li .check svg {
  width: 14px;
  height: 14px;
  stroke: var(--forest-bright);
  stroke-width: 2;
  fill: none;
}

/* ── TRUST SIGNALS ── */
.beta-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.beta-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.beta-trust-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--stone);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.beta-trust-item span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
}

/* ── Shared additions & overrides (mobile-first rewrite) ── */

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10001;
  background: var(--ember);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 16px;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-dropdown-menu {
  display: none;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.library-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--ember-glow);
  stroke-width: 1.6;
  fill: none;
}

.blog-hero-title,
.blog-hero-subtitle,
.article-date,
.article-title {
  opacity: 1 !important;
  animation: none !important;
}

.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 3;
  min-width: 0;
}

.hero-copy {
  text-align: left;
  min-width: 0;
}

.hero-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}

.hero .hero-title {
  font-size: clamp(28px, 8vw, 56px);
  margin-bottom: 16px;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.hero .hero-tagline-wrapper {
  min-height: 0;
  margin-bottom: 16px;
}

.hero .hero-tagline-text {
  color: var(--dust);
}

.hero .hero-stats {
  max-width: 520px;
  color: var(--dust);
  font-size: 16px;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-cta.solid,
.btn-solid {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
}

.hero-cta.solid:hover,
.btn-solid:hover {
  background: var(--ember-bright);
  color: #fff;
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--dust);
  border: 1px solid rgba(68, 64, 60, 0.45);
  padding: 14px 22px;
  text-decoration: none;
  border-radius: 10px;
}

.btn-ghost:hover {
  color: var(--smoke);
  border-color: var(--stone);
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dust);
  margin-top: 16px;
}

.hero-note a {
  color: var(--ember-glow);
  text-decoration: none;
}

.hero-note a:hover {
  text-decoration: underline;
}

.demo-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ash);
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.beta-desktop-note {
  font-size: 13px;
  color: var(--dust);
  line-height: 1.6;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(194, 65, 12, 0.35);
}

.phone-device {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: #0c0b0a;
  border: 1px solid rgba(68, 64, 60, 0.45);
  border-radius: 32px;
  padding: 12px 10px 18px;
  position: relative;
}

.phone-device .phone-notch {
  width: 88px;
  height: 8px;
  border-radius: 8px;
  background: #1a1714;
  margin: 4px auto 10px;
}

.phone-device-status {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--dust);
  padding: 0 10px 10px;
}

.phone-device-screen {
  background: var(--void);
  border-radius: 20px;
  padding: 16px 14px 18px;
  min-height: 420px;
}

.phone-app-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--smoke);
}

.phone-app-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--forest-bright);
  margin: 6px 0 16px;
}

.phone-chat-q,
.phone-chat-a {
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.phone-chat-q {
  background: var(--bark);
  color: var(--dust);
  padding: 10px 12px;
  border-radius: 12px 12px 4px 12px;
  margin-left: 24px;
}

.phone-chat-a {
  background: rgba(28, 25, 23, 0.7);
  border: 1px solid rgba(68, 64, 60, 0.2);
  color: var(--bone);
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  margin-right: 12px;
}

.phone-cite {
  display: inline-block;
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.5px;
  color: var(--ember-glow);
  border: 1px solid rgba(194, 65, 12, 0.25);
  padding: 2px 6px;
}

.phone-tabs {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(68, 64, 60, 0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
}

.phone-tabs span.active {
  color: var(--ember-glow);
}

.problem-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.phone-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 12px;
}

.phone-caption.bad { color: var(--warning); }
.phone-caption.good { color: var(--forest-bright); }

.disclaimer {
  font-size: 13px;
  color: var(--dust);
  line-height: 1.7;
  max-width: 720px;
  margin: 24px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  background: rgba(217, 119, 6, 0.06);
}

.faq-section,
.req-section,
.legal-section {
  padding: 100px 0;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
}

.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(68, 64, 60, 0.2);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--smoke);
}

.faq-item button span {
  color: var(--ember);
  font-size: 18px;
  line-height: 1;
}

.faq-item .faq-body {
  display: none;
  padding: 0 0 22px;
  color: var(--dust);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.open .faq-body {
  display: block;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.req-card {
  border: 1px solid rgba(68, 64, 60, 0.25);
  padding: 32px 28px;
  background: rgba(20, 18, 16, 0.4);
}

.req-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 22px;
  color: var(--smoke);
  margin-bottom: 8px;
}

.req-card p,
.req-card li {
  font-size: 14px;
  color: var(--dust);
  line-height: 1.7;
}

.req-card ul {
  margin: 16px 0 0 18px;
}

.req-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}

.legal-body {
  max-width: 720px;
  margin: 0 auto;
}

.legal-body h1 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--smoke);
  margin: 0 0 12px;
}

.legal-body .legal-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 40px;
}

.legal-body h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: var(--smoke);
  margin: 36px 0 12px;
}

.legal-body p,
.legal-body li {
  color: var(--dust);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-body ul {
  margin: 0 0 16px 18px;
}

.legal-body a {
  color: var(--ember);
}

.beta-error {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fecaca;
  font-size: 14px;
}

.beta-error.visible {
  display: block;
}

.beta-platform-options {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
}

.beta-fineprint {
  font-size: 12px;
  color: var(--ash);
  line-height: 1.6;
  margin-top: 16px;
}

.beta-fineprint a {
  color: var(--dust);
}

.final-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.final-cta-row .final-btn {
  padding: 18px 36px;
  letter-spacing: 3px;
  font-size: 13px;
}

.final-cta-row .btn-ghost {
  padding: 18px 28px;
  color: var(--bone);
}

.footer-inner {
  flex-wrap: wrap;
  gap: 20px;
}

.footer-right {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.telemetry-note {
  font-size: 12px;
  color: var(--ash);
  max-width: 640px;
  margin: 20px auto 0;
  line-height: 1.6;
}

.scan-phone {
  max-width: 320px;
  margin: 0 auto 40px;
}

.scan-frame {
  border: 1px dashed rgba(251, 146, 60, 0.45);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember-glow);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 20px 0;
}

.ai-starter-pill {
  cursor: pointer;
  background: none;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.ai-starter-pill.active {
  border-color: var(--ember);
  color: var(--smoke);
}

.notice-bar {
  text-align: center;
  font-size: 13px;
  color: var(--dust);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(68, 64, 60, 0.2);
  background: rgba(20, 18, 16, 0.65);
}

.notice-bar a {
  color: var(--ember-glow);
}

@media (max-width: 900px) {
  .hero-layout,
  .problem-phones,
  .req-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy { text-align: center; }
  .hero .hero-stats { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-note { text-align: center; }
}

@media (max-width: 768px) {
  .nav-actions { gap: 8px; }
  .nav-wordmark { font-size: 18px; }
  .nav { padding: 0 16px; }
  .nav-cta { padding: 8px 14px !important; font-size: 14px; letter-spacing: -0.02em; }
  .beta-form-section { padding: 24px 16px; }
  .beta-desc { max-width: 100%; padding: 0 4px; }
  .legal-section { padding: 120px 0 80px; }
  .faq-section, .req-section { padding: 80px 0; }
  .comparison-hint { display: block; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row a { text-align: center; }
  .hero .hero-title,
  .hero-title {
    font-size: 28px !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    max-width: 100%;
  }
  .hero-tagline-text {
    display: block;
    white-space: normal !important;
  }
  .hero .hero-stats,
  .hero-stats {
    max-width: 100% !important;
  }
  .beta {
    padding: 108px 16px 64px;
  }
  .beta-platform-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .nav-wordmark { font-size: 17px; }
  .nav-cta { font-size: 14px !important; letter-spacing: -0.02em; padding: 8px 12px !important; }
  .nav-actions { gap: 6px; }
}

.feature-preview-section {
  padding: 100px 0;
  border-top: 1px solid rgba(68, 64, 60, 0.15);
}

.feature-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature-preview-card {
  display: block;
  padding: 24px;
  border: 1px solid rgba(68, 64, 60, 0.25);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.feature-preview-card:hover {
  border-color: rgba(194, 65, 12, 0.45);
  background: rgba(194, 65, 12, 0.04);
}

.feature-preview-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ember);
  margin-bottom: 16px;
}

.feature-preview-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 22px;
  color: var(--smoke);
  margin-bottom: 10px;
}

.feature-preview-card p {
  font-size: 15px;
  color: var(--ash);
  line-height: 1.55;
  margin-bottom: 16px;
}

.feature-preview-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--ember-glow);
}

@media (max-width: 1024px) {
  .feature-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .feature-preview-grid { grid-template-columns: 1fr; }
}

/* ── APP SHOTS ── */
.hero-shot {
  margin: 0;
  max-width: 360px;
}

.hero-shot img,
.app-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.hero-shot figcaption,
.app-shot figcaption {
  margin-top: 12px;
  text-align: center;
}

.app-shots {
  padding: 80px 0 40px;
}

.app-shots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.app-shot {
  margin: 0;
}

.app-shot h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 20px;
  color: var(--smoke);
  margin: 12px 0 6px;
}

.app-shot p {
  font-size: 15px;
  color: var(--ash);
  line-height: 1.5;
}

.welcome-band {
  padding: 80px 0;
}

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

.welcome-band h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--smoke);
  font-style: normal;
}

.welcome-band p {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 17px;
  color: var(--dust);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 440px;
}

@media (max-width: 1024px) {
  .app-shots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-shot { margin: 24px auto 0; }
  .welcome-band-grid { grid-template-columns: 1fr; }
  .welcome-band-grid .hero-shot { order: -1; }
}

@media (max-width: 600px) {
  .app-shots-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
}

@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;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
