/* Lantaw marketing site
   Theme: single dark theme, locked. Accent: traffic amber.
   Shape system: cards 14px, nested elements 8px, buttons pill. */

@font-face { font-family: 'Schibsted Grotesk'; src: url('fonts/schibsted-grotesk-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('fonts/schibsted-grotesk-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('fonts/schibsted-grotesk-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/jetbrains-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/jetbrains-mono-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #0b0d10;
  --bg-elev: #11151b;
  --bg-elev2: #151a21;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e9edf1;
  --muted: #9aa5b0;
  --accent: #f2a33c;
  --accent-soft: rgba(242, 163, 60, 0.14);
  --accent-ink: #181004;
  --danger: #e5484d;
  --ok: #3ddc84;
  --radius: 14px;
  --radius-in: 8px;
  --font: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.mono { font-family: var(--mono); }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

/* ---------- nav ---------- */
#navSentinel { position: absolute; top: 0; height: 12px; width: 1px; }
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  height: 68px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 19px; letter-spacing: -0.02em;
  text-decoration: none; color: var(--text);
}
.brand-mark { width: 24px; height: 24px; color: var(--accent); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-toggle {
  display: none; margin-left: 4px; padding: 6px;
  background: transparent; border: 0; color: var(--text);
  font-size: 24px; line-height: 1; cursor: pointer; border-radius: 8px;
}
.nav-toggle:hover { color: var(--accent); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; text-decoration: none; font-weight: 600;
  padding: 13px 26px; font-size: 15.5px; white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-1px); background: #f7b155; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.42); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 17px; }

/* ---------- hero ---------- */
.hero { padding: 130px 0 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 78% 18%, rgba(242, 163, 60, 0.07), transparent 65%),
    radial-gradient(560px 400px at 8% 82%, rgba(70, 110, 160, 0.06), transparent 65%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 10fr 11fr; gap: 56px; align-items: center;
}
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.09; letter-spacing: -0.03em; font-weight: 700;
  margin-bottom: 20px;
}
h1 .nowrap { white-space: nowrap; }
.city { color: var(--accent); display: inline-block; transition: opacity 0.24s ease, transform 0.24s ease; }
.city.swap { opacity: 0; transform: translateY(9px); }
.lede { color: var(--muted); font-size: 17.5px; max-width: 46ch; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- console (hero demo) ---------- */
.console {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: grid; gap: 10px;
  box-shadow: 0 24px 70px rgba(4, 6, 10, 0.55);
}
.console-head {
  display: flex; align-items: center; gap: 14px;
  font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted);
}
.console-head .unit { color: var(--text); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.clock { margin-left: auto; }
.cams { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cam { position: relative; background: #0c0f13; border-radius: var(--radius-in); overflow: hidden; }
.cam canvas {
  position: relative; z-index: 1;
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-in);
  background: transparent;
}
.cam-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: none;
}
.cam-video.ready { display: block; }
.cam-tag {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  color: rgba(233, 237, 241, 0.85);
  background: rgba(11, 13, 16, 0.65); border: 1px solid var(--line);
  padding: 3px 8px; border-radius: 999px;
}
.alertbar {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  background: rgba(46, 12, 14, 0.92); border: 1px solid rgba(229, 72, 77, 0.55);
  color: #ffd9da; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 9px 12px; border-radius: var(--radius-in);
  animation: alert-in 0.3s ease;
}
.alertbar[hidden] { display: none; }
.alertbar i { color: var(--danger); font-size: 15px; }
.alertbar b { color: #fff; }
@keyframes alert-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.detlog { list-style: none; display: grid; gap: 4px; min-height: 122px; }
.detlog li {
  display: grid; grid-template-columns: 64px 1fr 52px 56px 52px;
  gap: 8px; align-items: center;
  font-size: 11.5px; color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 6px; padding: 5px 10px;
  animation: row-in 0.25s ease;
}
@keyframes row-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.detlog .lp { color: var(--text); font-weight: 600; letter-spacing: 0.04em; display: flex; flex-direction: column; }
.detlog .lp .rsn { font-size: 10px; font-weight: 500; font-style: normal; letter-spacing: 0; color: var(--danger); opacity: 0.9; margin-top: 1px; }
.detlog .st { text-align: right; font-weight: 600; }
.detlog .st.ok { color: var(--ok); }
.detlog .st.hit { color: var(--danger); }
.detlog li.is-hit { background: rgba(229, 72, 77, 0.1); }
.console-foot {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 10.5px; color: var(--muted); letter-spacing: 0.05em;
  border-top: 1px solid var(--line); padding-top: 10px;
}
.sim-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: right; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-line { border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 52px; }
h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.025em; line-height: 1.12; font-weight: 700;
  margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 16.5px; }

/* ---------- diagram ---------- */
.diagram {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; overflow: hidden;
}
.diagram svg { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.diagram-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: none;
}
.diagram-video.ready { display: block; }
/* when real footage loads, hide the schematic road/car/cones but keep the read chips */
.diagram.has-video .dg-road,
.diagram.has-video .dg-edge,
.diagram.has-video .dg-center,
.diagram.has-video .dg-cone,
.diagram.has-video #dgPatrol,
.diagram.has-video #dgCar { opacity: 0; }
.dg-road { fill: #0e1218; }
.dg-edge { stroke: rgba(255, 255, 255, 0.14); stroke-width: 2; }
.dg-center { stroke: rgba(255, 255, 255, 0.16); stroke-width: 2; stroke-dasharray: 16 14; }
.dg-cone { fill: rgba(242, 163, 60, 0.07); stroke: rgba(242, 163, 60, 0.28); stroke-width: 1; transition: fill 0.2s ease, stroke 0.2s ease; }
.dg-cone.active { fill: rgba(61, 220, 132, 0.16); stroke: rgba(61, 220, 132, 0.6); stroke-width: 1.5; }
.dg-patrol { fill: #171e26; stroke: var(--accent); stroke-width: 1.5; }
.dg-patrol-txt { fill: var(--accent); font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-anchor: middle; }
.dg-camdot { fill: var(--accent); }
.dg-car { fill: #232b35; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.dg-plate { fill: #3ddc84; }
.dg-chip rect { fill: rgba(17, 21, 27, 0.95); stroke: rgba(61, 220, 132, 0.6); stroke-width: 1.2; }
.dg-chip text { fill: #d6f7e4; font-family: var(--mono); font-size: 12.5px; font-weight: 600; text-anchor: middle; }
.dg-chip { transition: opacity 0.25s ease; }
.reads-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px;
}
.reads-facts > div { display: flex; gap: 14px; align-items: flex-start; }
.reads-facts i { font-size: 24px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.reads-facts p { color: var(--muted); font-size: 15px; }

/* ---------- map ---------- */
.map-shell { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
#map { height: 480px; background: #0e1218; z-index: 1; }
#map.map-fallback::after {
  content: "Map preview unavailable offline. Reads are pinned to a live map of your city.";
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--muted); font-size: 15px; padding: 24px; text-align: center;
}
.map-feed {
  position: absolute; top: 14px; right: 14px; z-index: 20;
  width: 252px; padding: 14px 16px;
  background: rgba(13, 16, 20, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius-in);
}
.map-feed h3 { font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.map-feed ul { list-style: none; display: grid; gap: 7px; min-height: 118px; }
.map-feed li { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--muted); animation: row-in 0.25s ease; }
.map-feed li b { color: var(--text); font-weight: 600; }
.map-feed li.is-hit b { color: var(--danger); }
.patrol-icon {
  width: 16px; height: 16px; border-radius: 4px;
  background: var(--accent); border: 2px solid #0b0d10;
  box-shadow: 0 0 0 2px rgba(242, 163, 60, 0.4), 0 0 18px rgba(242, 163, 60, 0.5);
}
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--bg-elev2); color: var(--text); }
.leaflet-popup-content { font-family: var(--mono); font-size: 12px; }
/* dark-themed zoom controls + attribution to match the UI */
.leaflet-bar { border: 1px solid var(--line); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.leaflet-bar a, .leaflet-bar a:link, .leaflet-bar a:visited {
  background: var(--bg-elev2); color: var(--text);
  border-bottom-color: var(--line); font-family: var(--font);
}
.leaflet-bar a:hover { background: var(--bg-elev); color: var(--accent); }
.leaflet-bar a.leaflet-disabled { background: var(--bg-elev); color: var(--muted); opacity: 0.55; }
.leaflet-container .leaflet-control-attribution {
  background: rgba(11, 13, 16, 0.7); color: var(--muted);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.leaflet-container .leaflet-control-attribution a { color: var(--muted); }
#map-section .sim-note { text-align: left; }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-top: 34px; }
.timeline-track {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.timeline-track span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.6s ease; }
.timeline.in .timeline-track span { transform: scaleX(1); }
.phase-time { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 12px; }
.phase h3 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 8px; }
.phase p { color: var(--muted); font-size: 15px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.cell {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.cell:hover { border-color: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.cell h3 { display: flex; align-items: center; gap: 9px; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 8px; }
.cell h3 i { color: var(--accent); font-size: 20px; }
.cell > p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.cell-watch { grid-column: span 5; background: linear-gradient(160deg, var(--bg-elev), rgba(46, 14, 16, 0.35)); }
.cell-evidence { grid-column: span 7; }
.captures { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.capture { margin: 0; }
.capture-frame { position: relative; background: #0c0f13; border-radius: var(--radius-in); overflow: hidden; }
.capture canvas { position: relative; z-index: 1; width: 100%; height: auto; display: block; border-radius: var(--radius-in); background: transparent; }
.capture-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: none;
}
.capture-img.ready { display: block; }
.capture figcaption { display: grid; gap: 3px; margin-top: 9px; font-size: 10.5px; color: var(--muted); letter-spacing: 0.03em; }
.ev-top { display: flex; align-items: baseline; gap: 10px; }
.ev-top b { color: var(--text); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; }
.ev-top em { font-style: normal; color: var(--danger); font-weight: 600; font-size: 10.5px; }
.ev-owner b { color: var(--text); font-weight: 600; letter-spacing: 0.04em; }
.cell-chart { grid-column: span 5; }
.cell-chart canvas { width: 100%; height: auto; margin-top: 6px; cursor: pointer; border-radius: var(--radius-in); }
.cell-chart canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cell-note { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.day-kpi { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.day-kpi-head { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; margin-bottom: 10px; }
.day-kpi-head b { color: var(--text); font-weight: 600; letter-spacing: 0.05em; }
.day-kpi-head span { color: var(--muted); }
.kpi-rows { list-style: none; display: grid; gap: 7px; }
.kpi-rows li { display: grid; grid-template-columns: 140px 1fr 26px; gap: 10px; align-items: center; font-size: 11px; color: var(--muted); }
.kpi-rows i {
  display: block; height: 6px; width: 100%; border-radius: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.kpi-rows i.is-red { background: var(--danger); }
.kpi-rows b { color: var(--text); font-weight: 600; text-align: right; }
.cell-search { grid-column: span 4; }
.cell-export { grid-column: span 3; background: linear-gradient(200deg, var(--bg-elev), rgba(242, 163, 60, 0.06)); }
.watchrows { list-style: none; display: grid; gap: 8px; }
.watchrows li {
  display: grid; grid-template-columns: 92px 1fr 48px; gap: 12px; align-items: center;
  font-size: 12.5px; color: var(--muted);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  border-radius: var(--radius-in); padding: 10px 14px;
}
.wl-plate { color: var(--danger); font-weight: 600; letter-spacing: 0.05em; }
.wl-time { text-align: right; }
#plateSearch {
  width: 100%; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); border-radius: var(--radius-in);
  color: var(--text); font-size: 13px; padding: 10px 14px;
  outline: none; transition: border-color 0.2s ease;
}
#plateSearch::placeholder { color: #7d8791; }
#plateSearch:focus { border-color: rgba(242, 163, 60, 0.6); }
.searchrows { list-style: none; display: grid; gap: 5px; margin-top: 12px; min-height: 104px; }
.searchrows li {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 10px; align-items: center;
  font-size: 11.5px; color: var(--muted); padding: 6px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.searchrows li:first-child { border-top: 0; }
.searchrows li b { color: var(--text); font-weight: 600; letter-spacing: 0.04em; }
.hit-mid { display: grid; gap: 1px; }
.hit-mid em { font-style: normal; color: var(--danger); font-weight: 600; }
.hit-mid small { font-size: 10px; color: var(--muted); }
.hit-when { text-align: right; font-size: 10.5px; }
.searchrows .empty { color: var(--muted); font-size: 12.5px; border-top: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chips span, .chips button {
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em;
  border: 1px solid rgba(242, 163, 60, 0.45); color: var(--accent);
  padding: 6px 14px; border-radius: 999px;
}
.chips button {
  background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.chips button::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: 0.7;
}
.chips button:hover { background: var(--accent-soft); border-color: var(--accent); }
.chips button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- hardware ---------- */
.hardware-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; }
.hardware-copy p { color: var(--muted); font-size: 16.5px; }
.hardware-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  transition: border-color 0.25s ease;
}
.tile:hover { border-color: rgba(242, 163, 60, 0.4); }
.tile i { font-size: 24px; color: var(--accent); }
.tile h3 { font-size: 15.5px; margin: 10px 0 3px; letter-spacing: -0.01em; }
.tile p { color: var(--muted); font-size: 13.5px; }

/* ---------- roadmap marquee ---------- */
.roadmap { padding-bottom: 96px; }
.roadmap h2 { margin-bottom: 40px; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
  flex-shrink: 0; white-space: nowrap;
  font-size: 15px; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.roadmap-note { margin-top: 36px; color: var(--muted); font-size: 15.5px; max-width: 56ch; }

/* ---------- pilot ---------- */
.pilot { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.pilot-bg {
  position: absolute; inset: 0;
  background-image: url('https://picsum.photos/seed/lantaw-night-highway/1800/1000?grayscale');
  background-size: cover; background-position: center;
  opacity: 0.16;
}
.pilot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 13, 16, 0.68) 45%, var(--bg) 100%);
}
.pilot .wrap { position: relative; z-index: 2; }
.pilot-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 52px; }
.pstep {
  background: rgba(17, 21, 27, 0.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.pstep-k { display: inline-block; color: var(--accent); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; margin-bottom: 12px; }
.pstep p { color: var(--muted); font-size: 15px; }
.pilot-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pilot-cta p { color: var(--muted); font-size: 14.5px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 44px; }
.footer-in { display: grid; gap: 10px; }
.brand-foot { font-size: 17px; }
.footer p { color: var(--muted); font-size: 14px; }
.footer a { color: var(--text); text-decoration-color: rgba(242, 163, 60, 0.5); }
.footer-fine { font-size: 12.5px; margin-top: 14px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .live-dot { animation: none; }
  .alertbar, .detlog li, .map-feed li { animation: none; }
  .city { transition: none; }
  .timeline-track span { transition: none; }
  .timeline .timeline-track span { width: 100%; }
  .btn, .cell, .tile { transition: none; }
  .kpi-rows i { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 116px; }
  .lede { max-width: 60ch; }
  .hardware-grid { grid-template-columns: 1fr; gap: 40px; }
  .cell-watch { grid-column: span 12; }
  .cell-evidence { grid-column: span 12; }
  .cell-chart { grid-column: span 6; }
  .cell-search { grid-column: span 6; }
  .cell-export { grid-column: span 12; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-in > .btn-primary { margin-left: auto; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset-inline: 0; top: 68px; margin: 0;
    background: rgba(11, 13, 16, 0.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 6px 0;
    animation: menu-in 0.2s ease;
  }
  .nav-links.open a {
    padding: 15px 24px; font-size: 16px; color: var(--text);
    border-top: 1px solid var(--line);
  }
  .nav-links.open a:first-child { border-top: 0; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .wrap { padding-inline: 18px; }
  .section { padding: 72px 0; }
  .hero { padding: 104px 0 64px; }
  .reads-facts { grid-template-columns: 1fr; gap: 20px; }
  .timeline { grid-template-columns: 1fr; gap: 30px; padding-top: 0; padding-left: 26px; }
  .timeline-track { top: 0; bottom: 0; left: 0; right: auto; width: 2px; height: auto; }
  .timeline-track span { width: 100%; height: 100%; transform: scaleY(0); transform-origin: top; transition: transform 1.6s ease; }
  .timeline.in .timeline-track span { transform: scaleY(1); }
  .cell-chart, .cell-search { grid-column: span 12; }
  .pilot-steps { grid-template-columns: 1fr; }
  .hardware-tiles { grid-template-columns: 1fr 1fr; }
  .map-feed { position: static; width: auto; margin-top: 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); }
  #map { height: 360px; }
  .detlog li { grid-template-columns: 56px 1fr 44px 48px 44px; font-size: 10.5px; }
  .console-head { flex-wrap: wrap; }
}
@media (max-width: 460px) {
  .hardware-tiles { grid-template-columns: 1fr; }
  .cams { grid-template-columns: 1fr; }
  h1 { font-size: 1.75rem; }
  h1 .nowrap { white-space: normal; }
}
