:root {
  --bg: #0B0E13;
  --bg-2: #0E1116;
  --panel: #111419;
  --border: rgba(255,255,255,0.08);
  --text: #FFFFFF;
  --muted: #9CA5B1;
  --accent: #1264F3;
  --accent-bright: #1677FF;
  --ok: #00C560;
  --ok-dim: #0A8A46;
  --accent-dim: #0D52CC;
  --warn: #FFB300;
  --danger: #FF1744;
  --r: 10px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
}
a { color: inherit; }

/* ─────────────────────────────── nav ─────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(16px, 4vw, 40px);
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(5, 8, 14, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding-top: 10px;
  padding-bottom: 10px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  color: var(--accent);
}
.nav-brand svg { width: 22px; height: 22px; fill: var(--accent); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); }
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 18px;
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  color: var(--accent) !important;
  background: rgba(18, 100, 243, 0.1);
}
.nav-cta:hover { background: rgba(18, 100, 243, 0.2); }
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 78% at 50% 42%, transparent 30%, rgba(5, 8, 14, 0.72) 72%, var(--bg) 100%),
    linear-gradient(180deg, rgba(5, 8, 14, 0.86) 0%, transparent 26%, transparent 62%, var(--bg) 100%);
}
.hero-inner { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 8px 30px rgba(18, 100, 243, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(18, 100, 243, 0.42); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(15, 22, 34, 0.6); }
.btn-ghost:hover { border-color: var(--accent-dim); color: var(--accent); }
.btn-lg { height: 56px; padding: 0 40px; font-size: 16px; }

.hero-stats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 6vw, 72px);
  width: 100%;
  max-width: var(--maxw);
  margin: clamp(48px, 9vh, 96px) auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero-stats strong {
  display: block;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }

/* ─────────────────────────────── bands ─────────────────────────────── */
.band {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 13vh, 150px) clamp(16px, 4vw, 40px);
}
.band-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
}
.band h2 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
}
.band-lede { max-width: 620px; color: var(--muted); margin: 16px 0 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.card {
  position: relative;
  padding: 28px 26px 26px;
  background: linear-gradient(180deg, var(--panel), rgba(10, 15, 24, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-dim); }
.card-num {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.card li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.card li::before {
  content: "";
  position: absolute;
  left: 2px; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

/* ─────────────────────────────── demo ─────────────────────────────── */
.band-demo { border-top: 1px solid var(--border); }
.demo-box { display: flex; gap: 10px; margin-top: 34px; max-width: 680px; }
.demo-box input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  outline: none;
}
.demo-box input:focus { border-color: var(--accent-dim); box-shadow: 0 0 0 3px rgba(18, 100, 243, 0.12); }
.demo-box button {
  height: 52px;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.demo-box button:disabled { opacity: 0.5; cursor: progress; }

.demo-result {
  max-width: 680px;
  margin-top: 20px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r);
  animation: rise 0.45s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.demo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.demo-place { margin: 0; font-size: 16px; font-weight: 600; }
.demo-coords { margin: 2px 0 0; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.demo-verdict {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.v-go { background: rgba(0, 197, 96, 0.14); color: var(--ok); border-color: var(--ok-dim); }
.v-caution, .v-authorization-required { background: rgba(255, 179, 0, 0.16); color: var(--warn); border-color: #7a5410; }
.v-no-go { background: rgba(255, 23, 68, 0.18); color: var(--danger); border-color: #7d2530; }
.v-unknown { background: rgba(255, 255, 255, 0.08); color: var(--muted); border-color: var(--border); }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.demo-grid div { background: #181C22; padding: 10px 12px; }
.demo-grid label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
}
.demo-grid strong { font-size: 15px; font-weight: 600; }
.demo-reasons { margin: 16px 0 0; padding: 0; list-style: none; }
.demo-reasons li {
  padding: 9px 12px;
  margin-bottom: 6px;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid transparent;
}
.r-no-go { background: rgba(255, 23, 68, 0.12); border-color: #7d2530; color: #ffb3ba; }
.r-caution { background: rgba(255, 179, 0, 0.1); border-color: #7a5410; color: #ffd88a; }
/* The verdict engine emits this level on reasons too, not just the headline.
   Without a rule it rendered as unstyled text between styled siblings. */
.r-authorization-required {
  background: rgba(255, 179, 0, 0.14);
  border-color: #7a5410;
  color: #ffd07a;
}
.r-go { background: rgba(0, 197, 96, 0.09); border-color: var(--ok-dim); color: #7fe0b2; }
.r-unknown { background: rgba(255, 255, 255, 0.05); border-color: var(--border); color: var(--muted); }
.demo-open { margin-top: 8px; height: 44px; }

/* ─────────────────────────────── why ─────────────────────────────── */
.band-why { border-top: 1px solid var(--border); }
.band-why blockquote {
  margin: 24px 0 0;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--accent);
  font-size: clamp(19px, 2.5vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.why-body { max-width: 720px; margin: 26px 0 0; color: var(--muted); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 46px;
}
.why-grid div { padding-top: 18px; border-top: 1px solid var(--border); }
.why-grid strong { display: block; margin-bottom: 6px; font-size: 15px; }
.why-grid span { font-size: 14px; color: var(--muted); }

/* ─────────────────────────────── close ─────────────────────────────── */
.close {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(90px, 15vh, 170px) clamp(16px, 4vw, 40px);
  text-align: center;
  border-top: 1px solid var(--border);
}
.close h2 {
  margin: 0 0 30px;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.disclaimer { max-width: 560px; margin: 34px auto 0; font-size: 12px; line-height: 1.6; color: var(--muted); }

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px clamp(16px, 4vw, 40px) 40px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.foot a { color: var(--muted); }

/* ────────────────────────── scroll reveal ────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

@media (max-width: 700px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .demo-box { flex-direction: column; }
  .demo-box input, .demo-box button { width: 100%; }
}

/* ────────────────────────── live LAANC grid ────────────────────────── */
.band-grid { border-top: 1px solid var(--border); }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.city-chip {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.city-chip:hover { color: var(--text); border-color: var(--accent-dim); }
.city-chip.on { background: rgba(18, 100, 243, 0.14); border-color: var(--accent-dim); color: var(--accent); }

.grid-stage {
  position: relative;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: #060a11;
  aspect-ratio: 16 / 9;
}
#grid-canvas { display: block; width: 100%; height: 100%; }
.grid-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  background: #060a11;
  transition: opacity 0.35s;
}
.grid-loading.gone { opacity: 0; pointer-events: none; }
.grid-tip {
  position: absolute;
  z-index: 3;
  padding: 8px 11px;
  background: rgba(6, 10, 17, 0.95);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, -130%);
}
.grid-tip strong { color: var(--accent); }
.grid-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.grid-legend span { display: inline-flex; align-items: center; gap: 6px; }
.grid-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.grid-legend em { font-style: normal; margin-left: auto; }

@media (max-width: 700px) {
  .grid-stage { aspect-ratio: 4 / 3; }
  .grid-legend em { margin-left: 0; width: 100%; }
}

/* ─────────────────────────── architecture ─────────────────────────── */
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82em;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-right: 6px;
}
.band-arch { border-top: 1px solid var(--border); }
.pipe {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 46px;
}
.pipe-col {
  padding: 22px 20px;
  background: linear-gradient(180deg, var(--panel), rgba(10, 15, 24, 0.55));
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
}
.pipe-col h3 {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--accent);
  font-weight: 600;
}
.pipe-col ul { margin: 0; padding: 0; list-style: none; }

.src-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}
.src-row:first-child { border-top: none; }
.src-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.src-dot.up { background: var(--accent); box-shadow: 0 0 8px rgba(18, 100, 243, 0.7); }
.src-dot.down { background: var(--danger); box-shadow: 0 0 8px rgba(255, 23, 68, 0.7); }
.src-name { min-width: 0; }
.src-name b { display: block; font-weight: 600; }
.src-name span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.src-ms {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.src-skeleton { color: var(--muted); font-size: 13px; padding: 9px 0; }
.pipe-foot {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.fuse-list li, .out-list li {
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.fuse-list li:first-child, .out-list li:first-child { border-top: none; }
.fuse-list b, .out-list b { display: block; font-size: 13px; margin-bottom: 3px; }
.fuse-list span, .out-list span { font-size: 12px; color: var(--muted); line-height: 1.5; }
.out-alt { color: #1677FF; }
.out-verdict { color: var(--accent); }
.out-export { color: var(--warn); }

.pipe-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pipe-arrow span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.25;
  animation: flow 2.2s infinite;
}
.pipe-arrow span:nth-child(2) { animation-delay: 0.35s; }
.pipe-arrow span:nth-child(3) { animation-delay: 0.7s; }
@keyframes flow { 0%, 100% { opacity: 0.18; } 50% { opacity: 1; } }

.pipe-cta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.pipe-cta:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .pipe { grid-template-columns: 1fr; }
  .pipe-arrow { flex-direction: row; padding: 2px 0; }
  @keyframes flow { 0%, 100% { opacity: 0.18; } 50% { opacity: 1; } }
}

/* ─────────────────────────── video stage ─────────────────────────── */
.stage { position: relative; width: 100%; height: 100svh; overflow: hidden; }

.stage-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fills the frame on any aspect ratio without letterboxing. */
}

/* Keeps the wordmark and call to action legible over any frame of the video. */
.stage-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 14, 0.72) 0%, rgba(5, 8, 14, 0.18) 30%, rgba(5, 8, 14, 0.2) 55%, rgba(5, 8, 14, 0.86) 100%),
    radial-gradient(120% 80% at 50% 60%, transparent 40%, rgba(5, 8, 14, 0.55) 100%);
}


.stage-copy {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(74px, 13vh, 132px);
}
.stage-copy h1 {
  margin: 0 0 clamp(20px, 3.4vh, 34px);
  font-size: clamp(38px, 7.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}
.stage-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), #1677FF 62%, #1677FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.enter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(18, 100, 243, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}
.enter:hover { transform: translateY(-2px); box-shadow: 0 16px 52px rgba(18, 100, 243, 0.46); }
.enter svg { width: 20px; height: 20px; fill: none; stroke: #FFFFFF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.sound-btn {
  position: absolute;
  bottom: calc(clamp(18px, 3vh, 30px) + env(safe-area-inset-bottom, 0px) + 34px);
  right: clamp(18px, 4vw, 44px);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(5, 8, 14, 0.55);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.sound-btn svg { width: 20px; height: 20px; fill: var(--text); stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; }
.sound-btn #wave { fill: none; opacity: 0; transition: opacity 0.2s; }
.sound-btn[aria-pressed="true"] #wave { opacity: 1; }
.sound-btn:hover { border-color: var(--accent); }

.stage-foot {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 3vh, 30px);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

/* If the video cannot play, the page must still read as intentional. */
.stage.no-video { background: radial-gradient(120% 90% at 50% 20%, #0d1a2b, var(--bg) 70%); }
.stage.no-video .stage-video { display: none; }

@media (prefers-reduced-motion: reduce) {
  .enter:hover { transform: none; }
}
@media (max-width: 640px) {
  .stage-copy { bottom: clamp(84px, 16vh, 150px); }
  .enter { height: 50px; padding: 0 24px; font-size: 15px; }
}

/* Autoplay refused: the video is fine and still visible, it just needs a tap. */
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 8, 14, 0.5);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(5, 8, 14, 0.7); }
.play-btn svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }

/* ─────────────────── interaction polish (shared) ─────────────────── */
::selection { background: rgba(18, 100, 243, 0.28); color: #eafff7; }
:focus-visible { outline: 2px solid var(--accent-dim); outline-offset: 2px; border-radius: 4px; }
button, a, input, select { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; }
* { scrollbar-width: thin; scrollbar-color: #3A414B transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { background: #3A414B; border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: #4A525E; border: 2px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-track { background: transparent; }
@media (prefers-reduced-motion: reduce) {
  button, a, input, select { transition: none; }
}

/* ═══════════════════ tactical overhaul (design spec) ═══════════════════
   High-trust defense-tech treatment. This layer intentionally overrides
   earlier component rules; values follow the written spec. */

/* 2 ── hero: zero interference behind the headline */
.stage-veil {
  background: radial-gradient(circle, rgba(11, 15, 23, 0.4) 0%, #0B0E13 100%);
}
.enter,
.btn-primary {
  background: #1264F3;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: none;
}
.enter:hover,
.btn-primary:hover {
  box-shadow: 0 0 20px rgba(18, 100, 243, 0.3);
  transform: translateY(-1px);
}

/* 1 ── tactical numerics: anything a pilot reads as a value is mono */
.grid-tip,
.grid-note,
.demo-coords,
.src-ms,
.demo-grid strong,
.hero-stats strong {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

/* 3 ── map HUD: glass city selector */
.city-chip {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(17, 24, 35, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.city-chip.on {
  background: rgba(18, 100, 243, 0.16);
  border-color: rgba(18, 100, 243, 0.45);
  box-shadow: 0 0 14px rgba(18, 100, 243, 0.15);
}
.grid-stage { border-color: rgba(255, 255, 255, 0.08); background: #0B0E13; }
.grid-tip { border-color: rgba(255, 255, 255, 0.12); background: rgba(17, 24, 35, 0.92); backdrop-filter: blur(12px); }

/* 4 ── glass cards for restrictions and the pipeline */
.pipe-col,
.demo-result {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(17, 24, 35, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 4 ── sources as a terminal monitor */
.src-list { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }
.src-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 72px;
  align-items: center;
  column-gap: 12px;
  font-size: 12.5px;
}
.src-name b { font-weight: 600; letter-spacing: 0.01em; }
.src-name span { font-family: "Inter", system-ui, sans-serif; }
.src-dot { width: 8px; height: 8px; }
.src-dot.up { background: #00E676; box-shadow: 0 0 8px rgba(0, 230, 118, 0.8), 0 0 2px #00E676; }
.src-dot.down { background: #FF1744; box-shadow: 0 0 8px rgba(255, 23, 68, 0.8), 0 0 2px #FF1744; }
.src-ms { text-align: right; }

/* 5 ── tactical command input */
.demo-box {
  position: relative;
  padding: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 35, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.demo-box input {
  background: #0B0E13;
  border: 1px solid transparent;
  height: 48px;
}
.demo-box input:focus {
  border: 1px solid #1264F3;
  box-shadow: 0 0 0 3px rgba(18, 100, 243, 0.14);
}
.demo-box button { height: 48px; font-weight: 700; color: #FFFFFF; }

/* 6 ── uniform section rhythm + low-profile footer */
.band { padding-top: clamp(88px, 12vh, 140px); padding-bottom: clamp(88px, 12vh, 140px); }
.close { padding-top: clamp(88px, 12vh, 140px); }
.foot {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  padding-bottom: 22px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #9CA5B1;
}

/* Demo pill: on narrow layouts the row stacks, and a stadium wrapper around
   a column reads wrong — relax it to a card there. */
@media (max-width: 700px) {
  .demo-box { border-radius: 18px; }
  .demo-box input, .demo-box button { border-radius: 12px; }
}

/* ═══════════════════════ NOREVYN identity layer ═══════════════════════ */
.nav-brand { color: #FFFFFF; }
.nav-brand span, .brand-name {
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 15px;
}
.stage-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.stage-kicker::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
}
.stage-copy h1 { letter-spacing: -0.03em; }
.stage-copy h1 em, .stage-copy h1 { color: #FFFFFF; -webkit-text-fill-color: initial; background: none; }
.stage-lede {
  max-width: 560px;
  margin: 18px 0 26px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
}
.stage-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.enter, .btn-primary { border-radius: 10px; }
.enter { background: var(--accent); color: #FFFFFF; }
.enter:hover { background: var(--accent-dim); box-shadow: 0 0 20px rgba(18, 100, 243, 0.35); }
.enter svg { stroke: #FFFFFF; }
.enter-ghost {
  display: inline-flex;
  align-items: center;
  height: 54px;
  padding: 0 26px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(17, 20, 25, 0.5);
  backdrop-filter: blur(8px);
}
.enter-ghost:hover { border-color: var(--accent); color: #FFFFFF; }

/* capability pillars — the brand board's five-icon strip, typographic */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin: 0 0 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.pillars div { background: var(--panel); padding: 16px 18px; }
.pillars b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  margin-bottom: 5px;
}
.pillars div:hover b { color: var(--accent); }
.pillars span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* restrained radii: primary actions are 8-10px, not stadium pills */
.demo-box { border-radius: 14px; }
.demo-box input { border-radius: 9px; }
.demo-box button { border-radius: 9px; color: #FFFFFF; }
.city-chip { border-radius: 9px; }
.nav-cta { border-radius: 9px; }

/* ─────────────────────────── intro splash ─────────────────────────── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.6s ease;
}
.intro.fading { opacity: 0; }
.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(11, 14, 19, 0) 40%, var(--bg) 100%);
  pointer-events: none;
}
.intro-skip {
  position: absolute;
  bottom: clamp(24px, 6vh, 52px);
  right: clamp(20px, 5vw, 56px);
  z-index: 2;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(11, 14, 19, 0.5);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font: 500 13px/1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.intro-skip:hover { color: var(--text); border-color: var(--accent); background: rgba(11, 14, 19, 0.7); }
/* Clickable hotspot sitting over the end card's rendered "Explore Our Platform"
   button. Transparent so the footage shows through; only interactive once the
   end card is up. Generous hit area to stay aligned across viewports. */
.intro-enter {
  position: absolute;
  left: 50%;
  bottom: 15%;
  transform: translateX(-50%);
  z-index: 3;
  width: min(60vw, 340px);
  height: 72px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  font: inherit;
  cursor: pointer;
  pointer-events: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.intro.end-card .intro-enter { pointer-events: auto; }
.intro.end-hold .intro-enter { animation: introCtaGlow 2.4s ease-in-out infinite; }
.intro.end-card .intro-enter:hover,
.intro.end-card .intro-enter:focus-visible {
  border-color: rgba(18, 100, 243, 0.6);
  background: rgba(18, 100, 243, 0.10);
  box-shadow: 0 0 30px rgba(18, 100, 243, 0.30);
  outline: none;
}
@keyframes introCtaGlow {
  0%, 100% { box-shadow: 0 8px 30px rgba(18, 100, 243, 0.10); }
  50%      { box-shadow: 0 10px 44px rgba(18, 100, 243, 0.26); }
}
@media (prefers-reduced-motion: reduce) {
  .intro.end-hold .intro-enter { animation: none; }
}
.intro-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}
.intro-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(18, 100, 243, 0.6);
}
/* The page underneath must not scroll while the splash is up. */
body.intro-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .intro { transition: none; }
}

/* ───────────────────── reference hero: nav CTA pill ───────────────────── */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-bright, #1677FF), var(--accent, #1264F3));
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(22,119,255,0.5), 0 8px 24px rgba(18,100,243,0.35);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(22,119,255,0.7), 0 10px 30px rgba(18,100,243,0.5); }
.nav-cta svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ───────────────────── floating operations preview ───────────────────── */
.hero-preview {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(96px, 15vh, 150px);
  z-index: 3;
  width: min(390px, 42vw);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(17, 20, 25, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}
.hp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hp-mark { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--text); }
.hp-mark svg { width: 15px; height: 15px; }
.hp-mark svg path { fill: var(--text); }
.hp-dots { display: inline-flex; gap: 5px; }
.hp-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.hp-body { display: grid; grid-template-columns: 1fr 130px; gap: 12px; padding: 13px; align-items: stretch; }
.hp-body-solo { grid-template-columns: 1fr; }
.hp-stats { display: flex; flex-direction: column; gap: 11px; }
.hp-stat label { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 0.7px; color: var(--muted); margin-bottom: 2px; }
.hp-stat b { font-size: 22px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.hp-accent { color: var(--accent-bright, #1677FF); }
.hp-ok { color: var(--ok, #00C560); font-size: 15px !important; letter-spacing: 0.5px; }
.hp-wx span { font-size: 12px; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ───────────────────── capability bar ───────────────────── */
.cap-bar {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(30px, 5vh, 46px);
  z-index: 3;
  display: flex;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(17, 20, 25, 0.7);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  overflow: hidden;
}
.cap {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 13px clamp(14px, 1.6vw, 22px);
  color: var(--muted);
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: color 0.15s ease, background 0.15s ease;
}
.cap:last-child { border-right: none; }
.cap:hover { color: var(--text); background: rgba(18,100,243,0.12); }
.cap svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap span { font-size: 10px; font-weight: 600; letter-spacing: 1px; }

@media (max-width: 1024px) { .hero-preview { display: none; } .cap-bar { display: none; } }

@media (min-width: 1025px) {
  .stage-copy { max-width: min(56vw, 780px); }
}

