/* ViZTrak website
   Layout: dark night-navy bands, full-bleed photo hero with a live-fleet card,
   alternating plain / tinted sections, brand blue used for emphasis only. */
:root {
  --bg: #070b16;          /* page */
  --band: #0b1222;        /* alternating section band */
  --surface: #101a2e;     /* cards, inputs */
  --line: #1c2a45;        /* hairlines and borders */
  --fg: #eef3fb;          /* main text */
  --muted: #9fb0c9;       /* secondary text */
  --blue: #0596f2;        /* brand blue (logo) */
  --blue-2: #2bb8ff;      /* light brand blue for highlights */
  --deep: #0a4fe0;        /* logo gradient base */
  --ok: #22c55e;
  --warn: #f5a524;
  --wa: #25d366;
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --r: 14px;
  --r-sm: 9px;
  --max: 1200px;
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
figure { margin: 0; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.hl { color: var(--blue-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 51; background: var(--bg); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-2);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 0.85em 1.4em; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(180deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 6px 24px -8px rgba(5,150,242,.7); }
.btn-primary:hover { transform: translateY(-1px); background: var(--blue); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--fg); background: rgba(7,11,22,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--blue-2); }
.btn-sm { padding: 0.62em 1.1em; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa:hover { filter: brightness(1.06); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(7,11,22,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; color: var(--fg); }
.nav a:hover, .nav a.active { color: var(--blue-2); }
.nav-portal { display: inline-flex; align-items: center; gap: 6px; color: var(--muted) !important; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--fg); width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { position: relative; isolation: isolate; padding-block: 72px 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,11,22,.96) 0%, rgba(7,11,22,.86) 38%, rgba(7,11,22,.35) 70%, rgba(7,11,22,.55) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,11,22,0) 30%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; max-width: 680px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.hero .lead { color: #c6d3e6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; padding: 7px 14px; border: 1px solid rgba(43,184,255,.35); border-radius: 999px; background: rgba(5,150,242,.08); }
.chips .ic { color: var(--blue-2); width: 1.05em; height: 1.05em; }

.live-card {
  background: rgba(11,18,34,.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(43,184,255,.28); border-radius: 18px; padding: 18px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  display: grid; gap: 14px;
}
.live-head { display: flex; align-items: center; justify-content: space-between; }
.live-head img { height: 22px; width: auto; }
.live-dot { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
.live-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.live-stats div { background: var(--surface); border-radius: 10px; padding: 10px 12px; display: grid; }
.live-stats b { font-family: var(--font-display); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.live-stats span { font-size: 0.75rem; color: var(--muted); }
.live-map { width: 100%; height: auto; display: block; }
.live-list { display: grid; gap: 6px; }
.live-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 0.85rem; padding: 7px 10px; border-radius: 8px; background: rgba(16,26,46,.7); }
.plate { font-family: var(--font-mono); font-size: 0.78rem; color: var(--fg); }
.where { color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font-size: 0.72rem; padding: 3px 8px; border-radius: 999px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pill.ok { color: var(--ok); background: rgba(34,197,94,.12); }
.pill.warn { color: var(--warn); background: rgba(245,165,36,.12); }
.live-note { font-size: 0.72rem; color: var(--muted); text-align: right; }

.trust { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: rgba(11,18,34,.7); backdrop-filter: blur(6px); }
.trust li { padding: 16px 20px; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: #d6e1f2; }
.trust li + li { border-left: 1px solid var(--line); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* Sections */
.section { padding-block: 96px; }
.section-band { background: var(--band); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 48px; }
.section-head > p:last-child { color: var(--muted); font-size: 1.08rem; }

/* About */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.split-copy { display: grid; gap: 18px; }
.split-copy > p { color: var(--muted); max-width: 62ch; }
.commit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 10px; }
.commit li { display: flex; gap: 14px; align-items: flex-start; }
.commit .ic { color: var(--blue-2); width: 26px; height: 26px; margin-top: 2px; }
.commit h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.commit p { color: var(--muted); font-size: 0.95rem; }
.split-media { position: relative; }
.split-media img { border-radius: 18px; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 40% 50%; width: 100%; }
.split-media figcaption {
  position: absolute; left: -24px; bottom: 28px; max-width: 300px;
  background: var(--blue); color: #fff; padding: 18px 20px; border-radius: var(--r);
  font-size: 0.95rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.split-media figcaption b { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }

/* Vision & values */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-item { display: grid; gap: 12px; padding: 32px; border-radius: 18px; background: linear-gradient(160deg, rgba(5,150,242,.16), rgba(10,79,224,.06)); border: 1px solid rgba(43,184,255,.22); }
.vm-text { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500; line-height: 1.45; }
.values-title { margin-top: 64px; margin-bottom: 24px; font-size: 1.4rem !important; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.values li { padding: 22px 20px; border-top: 2px solid var(--blue); background: var(--surface); border-radius: 0 0 var(--r-sm) var(--r-sm); }
.values h3 { font-size: 1.05rem; margin-bottom: 8px; }
.values p { color: var(--muted); font-size: 0.93rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.services li { background: var(--bg); padding: 28px 24px; display: grid; gap: 10px; align-content: start; transition: background .2s; }
.services li:hover { background: var(--surface); }
.services .ic { width: 30px; height: 30px; color: var(--blue-2); }
.services h3 { font-size: 1.05rem; font-weight: 600; }
.services p { color: var(--muted); font-size: 0.94rem; }

/* Platform */
.platform { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.platform-copy { display: grid; gap: 20px; justify-items: start; }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: #d6e1f2; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 9px; border-left: 2.5px solid var(--blue-2); border-bottom: 2.5px solid var(--blue-2); transform: rotate(-45deg); }
.devices { position: relative; padding-right: 120px; padding-bottom: 40px; }
.laptop .screen { border: 10px solid #1a2233; border-bottom-width: 14px; border-radius: 14px 14px 0 0; background: #0b1426; overflow: hidden; }
.laptop .base { height: 14px; margin-inline: -4%; background: linear-gradient(#2a3346, #151b28); border-radius: 0 0 14px 14px; }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #0e182c; border-bottom: 1px solid var(--line); font-size: 0.75rem; color: var(--muted); }
.app-bar img { height: 15px; width: auto; }
.app-bar span:first-of-type { color: var(--fg); font-weight: 600; }
.app-time { margin-left: auto; font-family: var(--font-mono); font-size: 0.7rem; }
.app-body { display: grid; grid-template-columns: 130px 1fr; }
.app-side { display: grid; gap: 6px; padding: 10px; border-right: 1px solid var(--line); align-content: start; }
.kpi { background: var(--surface); border-radius: 8px; padding: 8px 10px; display: grid; }
.kpi span { font-size: 0.68rem; color: var(--muted); }
.kpi b { font-family: var(--font-display); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.kpi b.amber { color: var(--warn); }
.app-map { width: 100%; height: 100%; display: block; }
.phone { position: absolute; right: 0; bottom: 0; width: 190px; border: 7px solid #1a2233; border-radius: 28px; background: #0b1426; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); overflow: hidden; }
.phone img { width: 100%; height: auto; display: block; }
.desk-shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03); }
.desk-shot img { width: 100%; height: auto; display: block; }
.phone-screen { padding: 14px 12px 18px; display: grid; gap: 8px; min-height: 340px; align-content: start; }
.chat-head { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.chat-head .ic { color: var(--blue-2); }
.bubble { font-size: 0.76rem; line-height: 1.45; padding: 8px 10px; border-radius: 12px; max-width: 88%; }
.bubble.me { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { justify-self: start; background: var(--surface); border-bottom-left-radius: 4px; }

/* Trackers */
.devices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.device { display: grid; grid-template-rows: auto 1fr; border: 1px solid rgba(43,184,255,.28); border-radius: 18px; overflow: hidden; background: var(--band); box-shadow: 0 30px 60px -40px rgba(5,150,242,.45); }
.device-img { background: radial-gradient(120% 90% at 50% 40%, #f4f7fc 0%, #dfe6f1 70%, #cdd7e6 100%); display: grid; place-items: center; padding: 24px 28px; aspect-ratio: 16 / 9; }
.device-img { position: relative; }
.device-img img { position: absolute; inset: 8% 6%; width: 88%; height: 84%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(7,11,22,.28)); }
.device-body { padding: 26px 28px 28px; display: grid; gap: 14px; align-content: start; }
.device-body h3 { font-size: 1.5rem; }
.device-body > p { color: var(--muted); }
.device-body .ticks li { font-size: 0.97rem; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { font-size: 0.84rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: #d6e1f2; }

/* Dashcams */
.section-line { border-top: 1px solid var(--line); }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-2); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.more .ic { width: 1em; height: 1em; }
.more:hover { text-decoration: underline; }
.hardware a { color: inherit; text-decoration: underline; text-decoration-color: rgba(43,184,255,.5); text-underline-offset: 3px; }
.hardware a:hover { color: var(--blue-2); }
.cams { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cam { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--band); }
.cam-img { background: radial-gradient(120% 90% at 50% 40%, #f4f7fc 0%, #dfe6f1 70%, #cdd7e6 100%); display: grid; place-items: center; padding: 18px 24px; }
.cam-img img { width: 100%; max-width: 420px; height: auto; filter: drop-shadow(0 18px 18px rgba(7,11,22,.25)); }
.cam-body { padding: 26px 28px 28px; display: grid; gap: 14px; align-content: start; }
.cam-tag { justify-self: start; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-2); background: rgba(5,150,242,.12); border: 1px solid rgba(43,184,255,.3); padding: 4px 10px; border-radius: 999px; }
.cam-body h3 { font-size: 1.35rem; }
.cam-body > p { color: var(--muted); }
.cam-body .ticks li { font-size: 0.97rem; }
.cam-fit { padding-top: 14px; border-top: 1px solid var(--line); color: #c6d3e6 !important; font-size: 0.95rem; }
.cam-fit b { color: var(--fg); }

/* Industries */
.ind-photos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.ind-photos figure { position: relative; border-radius: var(--r); overflow: hidden; }
.ind-photos img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .5s; }
.ind-photos figure:hover img { transform: scale(1.04); }
.ind-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-family: var(--font-display); font-weight: 600; background: linear-gradient(0deg, rgba(7,11,22,.92), rgba(7,11,22,0)); }
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industries li { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--band); display: grid; gap: 10px; align-content: start; }
.industries .ic { width: 28px; height: 28px; color: var(--blue-2); }
.industries h3 { font-size: 1.02rem; font-weight: 600; }
.industries p { color: var(--muted); font-size: 0.93rem; }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: start; }
.why-copy { display: grid; gap: 28px; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; counter-reset: r; }
.reasons div { padding-top: 16px; border-top: 1px solid var(--line); }
.reasons dt { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.reasons dd { color: var(--muted); font-size: 0.95rem; }
.why-media img { border-radius: 18px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 30% 50%; width: 100%; }
.hardware { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 22px 26px; border: 1px solid rgba(43,184,255,.25); border-radius: var(--r); background: rgba(5,150,242,.06); }
.hardware-label { font-family: var(--font-display); font-weight: 600; color: var(--blue-2); }
.hardware ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hardware li { position: relative; padding-left: 16px; color: #d6e1f2; }
.hardware li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); }

/* How it works */
.how-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 56px; }
.how-top .section-head { margin-bottom: 0; }
.how-img { border-radius: 18px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); opacity: .5; }
.steps li { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; }
.step-n { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue-2); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; box-shadow: 0 0 24px -4px rgba(43,184,255,.6); }
.steps h3 { font-size: 1.05rem; color: var(--blue-2); margin-top: 6px; }
.steps p { color: var(--muted); font-size: 0.93rem; max-width: 26ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact-copy { display: grid; gap: 20px; }
.details { display: grid; gap: 16px; margin-top: 8px; }
.details li { display: flex; gap: 14px; align-items: flex-start; }
.details .ic { color: var(--blue-2); width: 24px; height: 24px; margin-top: 3px; }
.details span { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.details a { text-decoration: none; }
.details a:hover { color: var(--blue-2); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: grid; gap: 22px; }
.form h3 { font-size: 1.3rem; color: var(--blue-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 500; color: #c6d3e6; min-width: 0; }
.form label.full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(43,184,255,.18); }
.form [aria-invalid="true"] { border-color: #f87171; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: -8px; }
.form-note a, .footer-bottom a { color: var(--blue-2); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* Privacy policy page */
.legal-head { padding-block: 72px 32px; border-bottom: 1px solid var(--line); background: var(--band); }
.legal-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 10px; }
.legal-head p.updated { color: var(--muted); margin-top: 10px; }
.legal { padding-block: 48px 96px; }
.legal-body { max-width: 760px; display: grid; gap: 34px; }
.legal-body section { display: grid; gap: 12px; }
.legal-body h2 { font-size: 1.3rem; color: var(--fg); }
.legal-body p, .legal-body li { color: #c6d3e6; }
.legal-body ul { display: grid; gap: 8px; padding-left: 0; }
.legal-body li { position: relative; padding-left: 20px; }
.legal-body li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); }
.legal-body a { color: var(--blue-2); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-2); text-decoration: none; font-family: var(--font-display); font-weight: 600; }
.back-link .ic { transform: rotate(180deg); }
.form-status { font-size: 0.95rem; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #fca5a5; }

/* Footer */
.footer { padding-block: 72px 24px; background: #050810; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr; gap: 40px; }
.f-brand { display: grid; gap: 14px; align-content: start; }
.f-brand img { width: 220px; }
.f-tag { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.f-brand > p:not(.f-tag) { color: var(--muted); font-size: 0.95rem; max-width: 40ch; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); }
.social a:hover { color: var(--blue-2); border-color: var(--blue-2); }
.f-col { display: grid; gap: 10px; align-content: start; font-size: 0.95rem; }
.f-col h3 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 6px; }
.f-col a { text-decoration: none; color: #c6d3e6; }
.f-col a:hover { color: var(--blue-2); }
.f-col p { color: var(--muted); }
.portal-box { margin-top: 12px; padding: 18px; border: 1px solid rgba(43,184,255,.3); border-radius: var(--r); display: grid; gap: 8px; justify-items: start; }
.portal-box h4 { font-size: 1rem; color: var(--fg); }
.portal-box p { font-size: 0.88rem; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--muted); }

/* WhatsApp chat */
.chat { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: grid; justify-items: end; gap: 12px; }
.chat-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--fg); }
.chat-label { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--blue); box-shadow: 0 10px 30px -12px rgba(0,0,0,.9); }
.chat-icon { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.55); transition: transform .2s; }
.chat-icon .ic { width: 32px; height: 32px; }
.chat-btn:hover .chat-icon { transform: scale(1.06); }
.online { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); border: 3px solid var(--bg); }
.chat-panel { width: min(340px, calc(100vw - 32px)); background: var(--band); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
.chat-panel-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075e54; color: #fff; }
.chat-panel-head img { border-radius: 50%; width: 40px; height: 40px; }
.chat-panel-head b { display: block; font-family: var(--font-display); }
.chat-panel-head span { position: relative; font-size: 0.78rem; opacity: .9; padding-left: 14px; }
.chat-panel-head span .online { top: 4px; left: 0; right: auto; width: 8px; height: 8px; border: 0; }
.chat-close { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; }
.chat-panel-body { padding: 16px; display: grid; gap: 12px; }
.chat-panel-body .bubble { font-size: 0.92rem; max-width: 100%; }
.chat-panel-body textarea { font: inherit; font-size: 0.95rem; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; resize: none; width: 100%; }
.chat-alt { font-size: 0.85rem; color: var(--muted); text-align: center; }

/* Responsive */
@media (max-width: 1100px) {
  .nav a:not(.nav-portal) { padding: 8px 6px; font-size: 0.9rem; }
  .services, .industries { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .hero-inner, .split, .platform, .why, .how-top, .contact { grid-template-columns: 1fr; }
  .live-card { max-width: 460px; }
  .split-media figcaption { left: 16px; }
  .vm { grid-template-columns: 1fr; }
  .why-media img { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--blue-2)); }
  .steps li { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 18px; row-gap: 4px; }
  .step-n { grid-row: span 2; }
  .steps h3 { margin-top: 12px; }
  .steps p { max-width: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .brand img { height: 36px; }
  .section { padding-block: 68px; }
  .hero { padding-block: 44px 32px; }
  .hero::before { background: linear-gradient(180deg, rgba(7,11,22,.75) 0%, rgba(7,11,22,.88) 45%, var(--bg) 100%); }
  .services, .industries, .values, .commit, .reasons, .form-grid, .ind-photos, .cams, .devices-grid { grid-template-columns: 1fr; }
  .device-body { padding: 22px 18px 24px; }
  .device-img { padding: 18px; }
  .cam-body { padding: 22px 18px 24px; }
  .services li { padding: 22px 18px; }
  .devices { padding-right: 0; padding-bottom: 0; display: grid; gap: 20px; }
  .phone { position: relative; width: 210px; justify-self: center; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { grid-template-columns: repeat(2, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }
  .app-map { height: auto; }
  .vm-item { padding: 24px; }
  .form { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .f-brand, .footer-grid > .f-col:last-child { grid-column: 1 / -1; }
  .chat-label { display: none; }
  .chat-icon { width: 56px; height: 56px; }
  .split-media figcaption { position: static; max-width: none; margin-top: -40px; margin-inline: 16px; position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Multi-page additions ===== */
/* Navigation: current page + dropdowns */
.nav a[aria-current="page"] { color: var(--blue-2); }
.nav > a, .nav-item > a { position: relative; }
.nav > a[aria-current="page"]::after, .nav-item > a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--blue-2); }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.caret { width: 0.9em; height: 0.9em; opacity: .7; transition: transform .2s; }
.subnav { position: absolute; top: 100%; left: 0; min-width: 200px; padding: 8px; margin-top: 6px; background: var(--band); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.9); display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.subnav::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.subnav a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 0.93rem; }
.subnav a:hover { background: var(--surface); color: var(--blue-2); }
.nav-item:hover .subnav, .nav-item:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(180deg); }
.nav-cta { display: none !important; }

/* Page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 64px 56px; border-bottom: 1px solid var(--line); background: var(--band); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,11,22,.96) 0%, rgba(7,11,22,.88) 45%, rgba(7,11,22,.6) 100%); }
.page-hero-inner { display: grid; gap: 14px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; max-width: 22ch; }
.page-hero .lead { color: #c6d3e6; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-2); }
.crumbs [aria-current] { color: var(--blue-2); }

/* Jump links within a page */
.jump { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 28px; }
.jump a { text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.jump a:hover { border-color: var(--blue-2); color: var(--blue-2); }

/* Home: section heading with a link on the right */
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.section-head-row > div { display: grid; gap: 14px; }
.services-6 { grid-template-columns: repeat(3, 1fr); }

/* Home: hardware teasers */
.teasers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.teaser { display: grid; grid-template-rows: auto 1fr; text-decoration: none; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); transition: border-color .2s, transform .2s; }
.teaser:hover { border-color: var(--blue-2); transform: translateY(-2px); }
.teaser-img { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 50% 40%, #f4f7fc 0%, #dfe6f1 70%, #cdd7e6 100%); }
.teaser-img img { position: absolute; inset: 10% 8%; width: 84%; height: 80%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(7,11,22,.25)); }
.teaser-body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.teaser-body h3 { font-size: 1.15rem; }
.teaser-body p:last-child { color: var(--muted); font-size: 0.95rem; }

/* Call-to-action band */
.cta-band { padding-block: 64px; background: linear-gradient(120deg, rgba(5,150,242,.22), rgba(10,79,224,.12)), var(--band); border-top: 1px solid rgba(43,184,255,.25); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-inner p { color: #c6d3e6; margin-top: 8px; }

@media (max-width: 1100px) {
  .services-6, .teasers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-item { display: grid; }
  .nav-item > a { border-bottom: 1px solid var(--line); }
  .caret { display: none; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; margin: 0; padding: 0 0 6px 16px; background: none; border: 0; box-shadow: none; min-width: 0; }
  .subnav::before { display: none; }
  .subnav a { padding: 11px 8px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--muted); }
  .nav > a[aria-current="page"]::after, .nav-item > a[aria-current="page"]::after { display: none; }
  .nav-cta { display: inline-flex !important; margin-top: 14px; border-bottom: 0 !important; justify-content: center; }
}
@media (max-width: 680px) {
  .services-6, .teasers { grid-template-columns: 1fr; }
  .page-hero { padding-block: 44px 40px; }
  .cta-band { padding-block: 48px; }
}

.section-tight { padding-block: 0 72px; }
#dashcams + .section-tight { padding-top: 56px; }

/* Single-product hardware sections (image beside details) */
.device-wide { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.device-wide .device-img { aspect-ratio: auto; min-height: 100%; }
.device-wide .device-img img { inset: 10% 8%; width: 84%; height: 80%; }
.device-wide .device-body { padding: 32px 36px 34px; }
@media (max-width: 960px) {
  .device-wide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .device-wide .device-img { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 680px) { .device-wide .device-body { padding: 22px 18px 24px; } }

/* Datasheet download link */
.datasheet { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 11px 16px; border-radius: 10px; border: 1px solid rgba(43,184,255,.4); background: rgba(5,150,242,.1); color: var(--fg); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.datasheet .ic { color: var(--blue-2); width: 22px; height: 22px; }
.datasheet small { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.datasheet:hover { border-color: var(--blue-2); background: rgba(5,150,242,.18); }

/* Three hardwired options */
.devices-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.devices-grid-3 .device-body { padding: 24px 22px 26px; }
.devices-grid-3 .device-body h3 { font-size: 1.3rem; }
@media (max-width: 1180px) {
  .devices-grid-3 { grid-template-columns: 1fr 1fr; }
  .devices-grid-3 .device:last-child { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .devices-grid-3 .device:last-child .device-img { aspect-ratio: auto; min-height: 100%; }
}
@media (max-width: 680px) { .devices-grid-3 { grid-template-columns: 1fr; } .devices-grid-3 .device:last-child { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .devices-grid-3 .device:last-child .device-img { aspect-ratio: 16 / 9; min-height: 0; } }

/* AI assistant */
.services li.svc-feature { grid-column: 1 / -1; display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(120deg, rgba(5,150,242,.16), rgba(10,79,224,.06)), var(--bg); }
.services li.svc-feature > div { display: grid; gap: 8px; justify-items: start; max-width: 70ch; }
.services li.svc-feature .ic { width: 36px; height: 36px; }
.ai { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.ai-copy { display: grid; gap: 18px; }
.ai-copy > p { color: var(--muted); max-width: 60ch; }
.ai-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 6px; }
.ai-tier { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--band); display: grid; gap: 8px; align-content: start; justify-items: start; }
.ai-tier h3 { font-size: 1.1rem; }
.ai-tier p:last-child { color: var(--muted); font-size: 0.95rem; }
.ai-chat { background: var(--band); border: 1px solid rgba(43,184,255,.3); border-radius: 18px; padding: 20px; display: grid; gap: 12px; box-shadow: 0 30px 60px -40px rgba(5,150,242,.6); }
.ai-chat-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ai-chat-head .ic { color: var(--blue-2); }
.ai-chat-head .live-dot { margin-left: auto; }
.ai-chat .bubble { font-size: 0.95rem; max-width: 85%; padding: 10px 14px; }
.ai-note { font-size: 0.75rem; color: var(--muted); text-align: right; }
.ai-strip { margin-top: 18px; display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--r); border: 1px solid rgba(43,184,255,.35); background: linear-gradient(120deg, rgba(5,150,242,.16), rgba(10,79,224,.06)); text-decoration: none; color: #d6e1f2; }
.ai-strip > .ic { width: 28px; height: 28px; color: var(--blue-2); }
.ai-strip > span:nth-child(2) { flex: 1 1 320px; }
.ai-strip b { color: var(--fg); }
.ai-strip:hover { border-color: var(--blue-2); }
@media (max-width: 960px) { .ai { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .ai-tiers { grid-template-columns: 1fr; } .services li.svc-feature { flex-direction: column; } }
.services .more .ic, .services li.svc-feature .more .ic { width: 1em; height: 1em; }

/* Hero tagline: one even line on phones, scaled to the screen width */
@media (max-width: 600px) {
  .hero .eyebrow {
    white-space: nowrap;
    font-size: min(0.8rem, calc((100vw - 32px) / 31.8));
    letter-spacing: 0.14em;
  }
}

/* Header with Client Login: keep the logo full size and fit the menu on small laptops */
.brand { flex-shrink: 0; }
@media (min-width: 961px) and (max-width: 1400px) {
  .header-inner { gap: 12px; }
  .nav { gap: 0; }
  .nav a, .nav a:not(.nav-portal) { padding: 8px 6px; font-size: 0.86rem; }
  .nav-portal { margin-left: 4px; }
  .header-actions .btn-sm { padding-left: 14px; padding-right: 14px; font-size: 0.8rem; }
  .brand img { height: 36px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  /* icon-only Client Login on narrow laptops (text is still read by screen readers) */
  .nav-portal { font-size: 0 !important; padding: 8px !important; }
  .nav-portal .ic { width: 18px; height: 18px; }
  .header-actions .btn-sm { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 960px) {
  /* Client Login matches the other mobile menu items */
  .nav a.nav-portal { font-size: 0.9rem; padding: 8px 6px; }
  .nav a.nav-portal .ic { width: 16px; height: 16px; }
}
.f-logo { display: inline-block; justify-self: start; }

/* Customisable solutions */
@media (min-width: 1101px) {
  .services li.svc-feature { grid-column: span 2; }
  .services li.svc-feature > div { max-width: none; }
}
.split.custom { align-items: center; }
.custom .commit { gap: 20px 28px; }
.custom .cta-row { margin-top: 8px; }
.custom-media img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
@media (max-width: 960px) { .custom-media { max-width: 520px; } }

/* Desktop and laptop: size the hero to the screen height so it fits on one screen */
@media (min-width: 961px) {
  .hero { padding-block: clamp(24px, 5vh, 72px) clamp(24px, 4vh, 40px); }
  .hero-copy { gap: clamp(12px, 2.2vh, 22px); }
  .hero h1 { font-size: clamp(2.1rem, min(4.2vw, 7vh), 3.6rem); }
  .hero .lead { font-size: clamp(1rem, 2.4vh, 1.15rem); }
  .hero .btn { padding-block: clamp(11px, 1.8vh, 15px); }
  .live-card { gap: clamp(8px, 1.6vh, 14px); padding-block: clamp(14px, 2.4vh, 22px); }
  .live-map { height: clamp(110px, 25vh, 240px); }
  .live-list li { padding-block: clamp(5px, .9vh, 7px); }
  .trust { margin-top: clamp(24px, 5vh, 56px); }
}

/* Wider layout on PCs: less empty space at the sides */
:root { --max: 1400px; }
@media (min-width: 961px) {
  .wrap { padding-left: clamp(24px, 4vw, 64px); padding-right: clamp(24px, 4vw, 64px); max-width: calc(var(--max) + 2 * clamp(24px, 4vw, 64px)); }
  .hero-copy { max-width: 760px; }
}

/* ================= Light / dark view switch ================= */
.logo-on-light { display: none; }
:root[data-vz-theme="light"] .logo-on-light { display: block; }
:root[data-vz-theme="light"] .logo-on-dark { display: none; }
.theme-btn { background: none; border: 1px solid var(--line); color: var(--fg); width: 44px; height: 44px; border-radius: 10px; display: inline-grid; place-items: center; cursor: pointer; flex: none; }
.theme-btn:hover { color: var(--blue-2); border-color: var(--blue-2); }
.theme-btn .ic { width: 20px; height: 20px; }
.theme-btn .t-moon { display: none; }
:root[data-vz-theme="light"] .theme-btn .t-sun { display: none; }
:root[data-vz-theme="light"] .theme-btn .t-moon { display: block; }
@media (min-width: 961px) and (max-width: 1100px) { .theme-btn { width: 38px; height: 38px; } }

:root[data-vz-theme="light"] {
  --bg: #f5f8fc;
  --band: #e9eff7;
  --surface: #ffffff;
  --line: #d3ddea;
  --fg: #0b1530;
  --muted: #4d5d78;
  --blue-2: #0577c9;
  --ok: #15803d;
  --warn: #b45309;
  --soft-text: #33435f;
  color-scheme: light;
}
:root[data-vz-theme="light"] .site-header { background: rgba(245,248,252,.9); }
:root[data-vz-theme="light"] .btn-primary { background: linear-gradient(180deg, #2bb8ff, var(--blue)); }
:root[data-vz-theme="light"] .btn-ghost { border-color: rgba(11,21,48,.2); background: rgba(255,255,255,.6); }
:root[data-vz-theme="light"] .hero::before {
  background:
    linear-gradient(90deg, rgba(245,248,252,.97) 0%, rgba(245,248,252,.9) 40%, rgba(245,248,252,.45) 72%, rgba(245,248,252,.6) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(245,248,252,0) 30%);
}
:root[data-vz-theme="light"] .page-hero::before { background: linear-gradient(90deg, rgba(245,248,252,.97) 0%, rgba(245,248,252,.9) 45%, rgba(245,248,252,.65) 100%); }
:root[data-vz-theme="light"] .hero .lead, :root[data-vz-theme="light"] .page-hero .lead,
:root[data-vz-theme="light"] .trust li, :root[data-vz-theme="light"] .ticks li, :root[data-vz-theme="light"] .specs li,
:root[data-vz-theme="light"] .cam-fit, :root[data-vz-theme="light"] .hardware li, :root[data-vz-theme="light"] .form label,
:root[data-vz-theme="light"] .legal-body p, :root[data-vz-theme="light"] .legal-body li, :root[data-vz-theme="light"] .f-col a,
:root[data-vz-theme="light"] .cta-inner p { color: var(--soft-text) !important; }
:root[data-vz-theme="light"] .live-card { background: rgba(255,255,255,.92); border-color: rgba(5,150,242,.3); box-shadow: 0 30px 60px -30px rgba(11,21,48,.35); }
:root[data-vz-theme="light"] .live-list li { background: #f0f4fa; }
:root[data-vz-theme="light"] .live-map rect { fill: #e8eef7; }
:root[data-vz-theme="light"] .live-map g[stroke] { stroke: #cdd8e8; }
:root[data-vz-theme="light"] .live-map path[stroke="#1d3b6e"] { stroke: #b9cbe6; }
:root[data-vz-theme="light"] .trust { background: rgba(255,255,255,.85); }
:root[data-vz-theme="light"] .chips li { background: rgba(255,255,255,.75); }
:root[data-vz-theme="light"] .footer { background: #e6edf6; }
:root[data-vz-theme="light"] .ind-photos figcaption { color: #fff; }
:root[data-vz-theme="light"] .cta-band { background: linear-gradient(120deg, rgba(5,150,242,.14), rgba(10,79,224,.06)), var(--band); }
:root[data-vz-theme="light"] .subnav, :root[data-vz-theme="light"] .chat-panel { box-shadow: 0 20px 40px -20px rgba(11,21,48,.3); }
:root[data-vz-theme="light"] .chat-label { box-shadow: 0 10px 30px -12px rgba(11,21,48,.35); }
:root[data-vz-theme="light"] .desk-shot, :root[data-vz-theme="light"] .custom-media img { box-shadow: 0 30px 60px -30px rgba(11,21,48,.4); }
:root[data-vz-theme="light"] .phone { box-shadow: 0 30px 60px -20px rgba(11,21,48,.4); }
:root[data-vz-theme="light"] .phone, :root[data-vz-theme="light"] .laptop .screen { border-color: #1a2233; }
:root[data-vz-theme="light"] .ai-strip { color: var(--soft-text); }
@media (max-width: 960px) { :root[data-vz-theme="light"] .subnav { box-shadow: none; } }
@media (max-width: 680px) {
  :root[data-vz-theme="light"] .hero::before { background: linear-gradient(180deg, rgba(245,248,252,.88) 0%, rgba(245,248,252,.94) 45%, var(--bg) 100%); }
}

/* Full-width card inside a two-column device grid (personal tracker) */
.devices-grid .device-span { grid-column: 1 / -1; }
.device-span .device-img img { inset: 14% 18%; width: 64%; height: 72%; }
.devices-grid-1 { grid-template-columns: 1fr; }
.devices-grid-1 .device-wide .device-img img { inset: 14% 18%; width: 64%; height: 72%; }

/* Hardware categories: a device-type label that reads differently from the page title */
.section-head .hw-cat { display: flex; align-items: center; gap: 14px; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; color: var(--blue-2); }
.hw-cat .hw-ic { flex: none; width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(43,184,255,.22), rgba(10,79,224,.18)); border: 1px solid rgba(43,184,255,.4); color: var(--blue-2); }
.hw-cat .hw-ic .ic { width: 29px; height: 29px; }
.section-head .hw-tagline { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.3; color: var(--fg); padding-top: 4px; }
.section-head .hw-tagline + p { color: var(--muted); }
@media (max-width: 680px) { .hw-cat .hw-ic { width: 44px; height: 44px; border-radius: 12px; } .hw-cat .hw-ic .ic { width: 22px; height: 22px; } }
:root[data-vz-theme="light"] .hw-cat .hw-ic { background: linear-gradient(160deg, rgba(5,150,242,.14), rgba(10,79,224,.08)); border-color: rgba(5,150,242,.35); }
.hw-cat .nw { white-space: nowrap; }
.hw-cat > span:last-child { min-width: 0; }
@media (max-width: 380px) { .section-head .hw-cat { font-size: 1.7rem; } .hw-cat .nw { white-space: normal; } }

/* Two product views side by side (personal tracker) */
.device-img.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; padding: 32px 28px; }
.device-img.dual figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.device-img.dual img { position: static; inset: auto; width: 100%; height: auto; max-height: 300px; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(7,11,22,.28)); }
.device-img.dual figcaption { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #4d5d78; }
@media (max-width: 680px) { .device-img.dual { padding: 20px 16px; gap: 12px; } }
.device .device-img.dual figure img, .devices-grid-1 .device-wide .device-img.dual img { position: static; inset: auto; width: 100%; height: auto; max-height: 320px; }
.device-wide .device-img.dual { min-height: 100%; }
/* Personal tracker: angled view on top, front view below */
.device-img.dual { grid-template-columns: 1fr; gap: 28px; align-content: center; justify-items: center; padding: 40px 32px; }
.device .device-img.dual figure img, .devices-grid-1 .device-wide .device-img.dual img { width: auto; max-width: min(320px, 100%); max-height: 250px; }
@media (max-width: 960px) { .device .device-img.dual figure img, .devices-grid-1 .device-wide .device-img.dual img { max-width: min(260px, 100%); max-height: 200px; } .device-wide .device-img.dual { aspect-ratio: auto; } }

/* Home hardware teasers: five categories */
.teasers { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .teasers .teaser:last-child { grid-column: 1 / -1; } .teasers .teaser:last-child .teaser-img { aspect-ratio: 21 / 8; } }
@media (max-width: 680px) { .teasers { grid-template-columns: 1fr; } .teasers .teaser:last-child .teaser-img { aspect-ratio: 16 / 10; } }

/* New wider logo: keep the header on one line at every width */
@media (min-width: 961px) and (max-width: 1100px) { .brand img { height: 26px; } }
@media (min-width: 1101px) and (max-width: 1400px) { .brand img { height: 30px; } }
.live-head img { height: 20px; }
.f-brand img { width: 240px; }
@media (min-width: 961px) and (max-width: 1023px) {
  .brand img { height: 22px; }
  .nav a, .nav a:not(.nav-portal) { padding: 8px 4px; font-size: 0.8rem; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding-left: 10px; padding-right: 10px; font-size: 0.74rem; }
}
@media (min-width: 1101px) and (max-width: 1199px) { .brand img { height: 24px; } }
@media (min-width: 1401px) and (max-width: 1499px) { .brand img { height: 36px; } }

/* WhatsApp button (bottom left); live chat bubble from tawk.to sits bottom right */
.wa-float { position: fixed; left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; box-shadow: 0 12px 30px -8px rgba(37,211,102,.55); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float .ic { width: 24px; height: 24px; }
@media (max-width: 680px) { .wa-float span { display: none; } .wa-float { padding: 13px; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } }
