/* FleetHunt India — one stylesheet, no framework.
   Shares the brand family's type (Space Grotesk + Inter) and night/signal
   palette with the main FleetHunt site. Product UI is drawn in CSS and SVG
   rather than screenshotted, so it stays crisp at every size. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-var-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-var-latin.woff2") format("woff2");
}

:root {
  --ink: #0A0C10;
  --heading: #0B0F17;
  --text: #2A3140;
  --muted: #626B7A;
  --subtle: #8A93A3;
  --line: #E7E9ED;
  --line-strong: #D5DAE1;
  --surface: #F6F7F9;
  --white: #FFFFFF;

  --blue: #1D6FD1;
  --blue-hover: #175CB0;
  --blue-bright: #4BA5FF;
  --blue-tint: #EBF3FD;
  --green: #16A34A;
  --amber: #F59E0B;
  --red: #EF4444;
  --gray: #A3ACB9;

  --d-bg: #07090D;
  --d-raise: #0E121A;
  --d-text: #F3F4F6;
  --d-muted: #98A1AF;
  --d-line: rgba(255, 255, 255, 0.09);
  --d-card: rgba(255, 255, 255, 0.035);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px -8px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, 0.05), 0 40px 80px -24px rgba(16, 24, 40, 0.22);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

*,
*::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(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue-hover);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul[role="list"] {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(29, 111, 209, 0.18);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  body {
    font-size: 16px;
  }
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.on-dark .eyebrow {
  color: var(--blue-bright);
}

.h2 {
  font-size: clamp(34px, 4.6vw, 58px);
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
}

.on-dark .lead {
  color: var(--d-muted);
}

h2 + .lead {
  margin-top: 24px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head .lead {
  margin-top: 20px;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  transition: transform 0.2s var(--ease);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-dark:hover {
  background: #1C222D;
  color: #fff;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(29, 111, 209, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-blue:hover {
  background: var(--blue-hover);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--heading);
}

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

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #E8EEF7;
  color: var(--ink);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 16px;
}

/* ---------- Announcement + header ---------- */

.announce {
  background: var(--ink);
  color: var(--d-muted);
  font-size: 13.5px;
}

.announce .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
}

.announce strong {
  color: var(--d-text);
  font-weight: 500;
}

.announce a {
  color: var(--blue-bright);
  font-weight: 600;
  white-space: nowrap;
}

.announce a:hover {
  color: #fff;
}

.announce-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
  flex: none;
}

@media (max-width: 560px) {
  .announce-long {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand img {
  width: 116px;
  height: auto;
}

.brand-region {
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}

.nav-list a:hover {
  background: var(--surface);
  color: var(--heading);
}

.nav-list a[aria-current="true"] {
  color: var(--heading);
  background: var(--surface);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.header-actions .btn {
  min-height: 42px;
  padding: 0 18px;
}

.link-quiet {
  padding: 8px 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.link-quiet:hover {
  color: var(--heading);
}

.btn-call-short {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-mobile-only {
  display: none;
}

@media (max-width: 1120px) {
  .header-actions .btn-call-label {
    display: none;
  }

  .header-actions .btn-call-short {
    display: inline;
  }
}

@media (max-width: 940px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    display: none;
  }

  /* Hangs off the sticky header, so it sits right under it whether or not
     the announcement bar is still on screen. */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(16, 24, 40, 0.18);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a,
  .nav-list a:hover,
  .nav-list a[aria-current="true"] {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
    font-size: 18px;
  }

  .nav-mobile-only {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
}

/* Secondary pages have no menu, just Home + Call, on every width. */
.header-actions.header-actions-static {
  display: flex;
  grid-column: 3;
}

@media (max-width: 940px) {
  .header-actions.header-actions-static {
    grid-column: 2;
  }
}

@media (max-width: 420px) {
  .brand-region {
    display: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 128px 0;
}

.section-surface {
  background: var(--surface);
}

.on-dark {
  position: relative;
  overflow: hidden;
  background: var(--d-bg);
  color: var(--d-muted);
  isolation: isolate;
}

.on-dark h2,
.on-dark h3,
.on-dark h4 {
  color: var(--d-text);
}

.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(75, 165, 255, 0.22), transparent 70%),
    radial-gradient(30% 30% at 85% 70%, rgba(29, 111, 209, 0.12), transparent 70%);
  pointer-events: none;
}

@media (max-width: 760px) {
  .section {
    padding: 88px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 80px 0 0;
  background: #fff;
  text-align: center;
  overflow: hidden;
}

/* Fine grid behind the headline only — it fades out well before the
   product photo, whose white ground must meet plain white. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 620px;
  background-image:
    linear-gradient(to right, rgba(16, 28, 48, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 28, 48, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.hero-badge:hover {
  border-color: var(--line-strong);
  color: var(--heading);
}

.hero-badge .ok-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.hero-badge .chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--heading);
}

.hero h1 {
  max-width: 980px;
  margin: 28px auto 0;
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 .soft {
  color: #A0A8B6;
}

.hero h1 .grad {
  background: linear-gradient(92deg, #1D6FD1 0%, #4BA5FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 640px;
  margin: 28px auto 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-product {
  position: relative;
  max-width: 1040px;
  margin: 40px auto 0;
}

.hero-product img {
  width: 100%;
  height: auto;
}

/* Callouts on the product photo. Positions are percentages of the photo's
   1600×1072 frame, matching the leader-line SVG drawn in the same frame. */
.callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.callout-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.callout-lines path {
  fill: none;
  stroke: #7FAEE6;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.pin {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px #fff, 0 2px 10px rgba(29, 111, 209, 0.6);
}

.pin::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(75, 165, 255, 0.7);
  animation: ping 2.6s var(--ease) infinite;
}

.pin-b::after {
  animation-delay: 0.8s;
}

.pin-c::after {
  animation-delay: 1.6s;
}

.pin-a { left: 13.31%; top: 21.18%; }
.pin-b { left: 25.75%; top: 34.14%; }
.pin-c { left: 79.13%; top: 36.85%; }

.callout {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: max-content;
  max-width: 240px;
  padding: 11px 16px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.callout strong {
  color: var(--heading);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.callout-a { left: 16.13%; top: 6.53%; transform: translateY(-50%); }
.callout-b { left: 28.5%; top: 59.7%; transform: translateY(-50%); }
.callout-c { right: 0.6%; top: 55.97%; }

.hotspot-chips {
  display: none;
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }

  80%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 56px;
  }

  .callouts {
    display: none;
  }

  .hotspot-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 8px;
    list-style: none;
  }

  .hotspot-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
  }

  .hotspot-chips .icon {
    color: var(--blue);
  }
}

@media (max-width: 480px) {
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Proof strip ---------- */

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.proof-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 28px;
  border-left: 1px solid var(--line);
}

.proof-list li:first-child {
  border-left: 0;
  padding-left: 0;
}

.proof-list .icon {
  width: 28px;
  height: 28px;
  color: var(--blue);
  stroke-width: 1.5;
}

.proof-list strong {
  display: block;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.proof-list span {
  color: var(--muted);
  font-size: 14.5px;
}

@media (max-width: 960px) {
  .proof-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-list li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .proof-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .proof-list {
    grid-template-columns: 1fr;
  }

  .proof-list li {
    border-left: 0;
    padding: 22px 0;
  }

  .proof-list li + li {
    border-top: 1px solid var(--line);
  }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 80px;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-copy .lead {
  margin-top: 24px;
}

.about-copy p:not(.lead):not(.eyebrow) {
  color: var(--muted);
}

.video {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.video img,
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video img {
  transform: scale(1.02);
  transition: transform 0.6s var(--ease);
}

.video:hover img {
  transform: scale(1.05);
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  border: 0;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.15), rgba(7, 9, 13, 0.6));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.video-play .disc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}

.video-play:hover .disc {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.26);
}

.video-play .icon {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- Platform (dark) + console mock ---------- */

.platform {
  overflow: hidden;
}

.console-wrap {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.console {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 50px 100px -30px rgba(0, 0, 0, 0.8),
    0 30px 60px -40px rgba(75, 165, 255, 0.35);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #FBFBFC;
}

.lamps {
  display: flex;
  gap: 7px;
}

.lamps i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #E3E6EA;
}

.console-url {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  color: var(--subtle);
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.console-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(22, 163, 74, 0.45);
  animation: ping 2s var(--ease) infinite;
}

.console-body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  height: 520px;
}

.console-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #fff;
}

.console-tools {
  display: flex;
  gap: 6px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.console-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--subtle);
}

.console-filter {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.console-filter span {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.console-filter .on {
  background: var(--ink);
  color: #fff;
}

.vehicles {
  list-style: none;
  overflow: hidden;
}

.vehicles li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #F0F1F4;
}

.vehicles li.is-active {
  background: var(--blue-tint);
  box-shadow: inset 3px 0 0 var(--blue);
}

.vehicles b {
  display: block;
  color: var(--heading);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.vehicles small {
  display: block;
  overflow: hidden;
  color: var(--subtle);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vehicles .spd {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.vehicles .spd.dim {
  color: var(--subtle);
  font-weight: 500;
}

.st {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.st-move {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

.st-idle {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.st-park {
  background: #64748B;
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.16);
}

.st-off {
  background: #CBD2DC;
}

.console-map {
  position: relative;
  overflow: hidden;
  background: #EEF1F5;
}

.map-svg {
  width: 100%;
  height: 100%;
}

.map-svg text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  fill: #8A94A6;
  letter-spacing: 0.02em;
}

.map-svg .city {
  font-size: 13px;
  font-weight: 600;
  fill: #5D6778;
}

.map-svg .hw-label {
  font-size: 10px;
  font-weight: 700;
  fill: #A07C1F;
}

.map-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 270px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.mc-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mc-head b {
  flex: 1;
  color: var(--heading);
  font-size: 14px;
}

.pill {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.pill-green {
  background: #E8F7EE;
  color: #15803D;
}

.mc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.mc-stats dt {
  color: var(--subtle);
  font-size: 11px;
}

.mc-stats dd {
  color: var(--heading);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mc-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.map-toast {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 260px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: toast-in 6s var(--ease) infinite;
}

.map-toast .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #FEF3C7;
  color: #B45309;
  flex: none;
}

.map-toast b {
  display: block;
  color: var(--heading);
  font-size: 13px;
}

.map-toast span {
  color: var(--muted);
  font-size: 12px;
}

.map-zoom {
  position: absolute;
  right: 18px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.map-zoom span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--muted);
  font-size: 16px;
}

.map-zoom span + span {
  border-top: 1px solid var(--line);
}

@keyframes toast-in {
  0%,
  8% {
    opacity: 0;
    transform: translateY(-8px);
  }

  14%,
  86% {
    opacity: 1;
    transform: none;
  }

  94%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 96px;
  border-top: 1px solid var(--d-line);
  list-style: none;
}

.pillars li {
  padding: 36px 36px 0;
  border-left: 1px solid var(--d-line);
}

.pillars li:first-child {
  padding-left: 0;
  border-left: 0;
}

.pillars .icon {
  width: 26px;
  height: 26px;
  color: var(--blue-bright);
  stroke-width: 1.5;
}

.pillars h3 {
  margin-top: 20px;
  font-size: 22px;
}

.pillars p {
  margin-top: 10px;
}

@media (max-width: 1000px) {
  .console-body {
    grid-template-columns: 250px minmax(0, 1fr);
    height: 460px;
  }

  .map-toast {
    display: none;
  }
}

@media (max-width: 760px) {
  .console-body {
    grid-template-columns: 1fr;
    height: auto;
  }

  .console-list {
    display: none;
  }

  .console-map {
    height: 360px;
  }

  .mc-loc {
    display: none;
  }

  .lamps {
    display: none;
  }

  .console-live .label {
    display: none;
  }

  .map-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .map-zoom {
    display: none;
  }

  .pillars {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }

  .pillars li,
  .pillars li:first-child {
    padding: 28px 0;
    border-left: 0;
  }

  .pillars li + li {
    border-top: 1px solid var(--d-line);
  }
}

/* ---------- Features bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.tile:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.tile-wide {
  grid-column: span 2;
}

.tile-viz {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.tile-body {
  padding: 26px 28px 30px;
}

.tile h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.tile p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
}

.viz-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.viz-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--heading);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.viz-chip small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.chip-live {
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
}

.chip-geo {
  left: 20px;
  bottom: 18px;
}

/* history playback */
.playback {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  flex: none;
}

.play-btn .icon {
  width: 12px;
  height: 12px;
  margin-left: 2px;
}

.track {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}

.track i {
  position: absolute;
  inset: 0 38% 0 0;
  border-radius: 4px;
  background: var(--blue);
}

.track i::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--blue);
}

.playback time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* navigation */
.nav-card {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}

.nav-card .turn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  flex: none;
}

.nav-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
}

.nav-card span {
  color: var(--d-muted);
  font-size: 12.5px;
}

.nav-eta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 12.5px;
  color: var(--muted);
}

.nav-eta b {
  display: block;
  color: var(--heading);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

/* alert stack */
.alerts {
  position: absolute;
  inset: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.alerts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  color: var(--muted);
}

.alerts li:nth-child(2) {
  margin: 0 8px;
  opacity: 0.85;
}

.alerts li:nth-child(3) {
  margin: 0 16px;
  opacity: 0.6;
}

.alerts b {
  display: block;
  color: var(--heading);
  font-size: 13px;
}

.alerts time {
  margin-left: auto;
  color: var(--subtle);
  font-size: 11.5px;
  white-space: nowrap;
}

.a-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: none;
}

.a-ic .icon {
  width: 15px;
  height: 15px;
}

.a-red {
  background: #FEE2E2;
  color: #B91C1C;
}

.a-amber {
  background: #FEF3C7;
  color: #B45309;
}

.a-green {
  background: #DCFCE7;
  color: #15803D;
}

.a-blue {
  background: var(--blue-tint);
  color: var(--blue);
}

/* reports */
.report {
  position: absolute;
  inset: 20px 24px 18px;
  display: flex;
  flex-direction: column;
}

.report-tabs {
  display: flex;
  gap: 6px;
}

.report-tabs span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.report-tabs .on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.report-total {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.report-total b {
  color: var(--heading);
  font-size: 15px;
}

.bars {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  margin-top: 16px;
  list-style: none;
}

.bars li {
  position: relative;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #4BA5FF, #1D6FD1);
  opacity: 0.85;
}

.bars li.dim {
  background: #D6DEE9;
  opacity: 1;
}

.bars li:nth-child(1) { height: 46%; }
.bars li:nth-child(2) { height: 62%; }
.bars li:nth-child(3) { height: 55%; }
.bars li:nth-child(4) { height: 78%; }
.bars li:nth-child(5) { height: 68%; }
.bars li:nth-child(6) { height: 30%; }
.bars li:nth-child(7) { height: 22%; }
.bars li:nth-child(8) { height: 58%; }
.bars li:nth-child(9) { height: 74%; }
.bars li:nth-child(10) { height: 66%; }
.bars li:nth-child(11) { height: 88%; }
.bars li:nth-child(12) { height: 80%; }
.bars li:nth-child(13) { height: 36%; }
.bars li:nth-child(14) { height: 26%; }

/* maintenance & diagnostics */
.checks {
  position: absolute;
  inset: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 12.5px;
  color: var(--muted);
}

.checks b {
  display: block;
  color: var(--heading);
  font-size: 13px;
}

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

  .tile-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .tile-wide {
    grid-column: auto;
  }

  .tile-viz {
    height: 200px;
  }

  .bars li:nth-child(n + 9) {
    display: none;
  }

  .bars {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

/* ---------- FH-140 ---------- */

.fh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

.fh-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.fh-figure img {
  width: 100%;
  height: auto;
}

.fh-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.fh-figure figcaption strong {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
}

.badge-approved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #E8F7EE;
  color: #15803D;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.fh-copy .lead {
  margin-top: 24px;
}

.fh-copy p + p {
  margin-top: 16px;
}

.fh-copy p:not(.lead):not(.eyebrow):not(.fineprint) {
  color: var(--muted);
}

.specs {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.specs div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.specs dt {
  color: var(--subtle);
}

.specs dd {
  color: var(--heading);
  font-weight: 500;
}

.fineprint {
  margin-top: 14px;
  color: var(--subtle);
  font-size: 13px;
}

@media (max-width: 960px) {
  .fh-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 480px) {
  .specs div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- Solutions ---------- */

.solutions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
  counter-reset: sol;
}

.solutions li {
  position: relative;
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background-color 0.3s;
}

.solutions li:hover {
  background: #FBFCFD;
}

.solutions li::before {
  counter-increment: sol;
  content: counter(sol, decimal-leading-zero);
  display: block;
  margin-bottom: 36px;
  color: var(--subtle);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.solutions .icon {
  position: absolute;
  top: 34px;
  right: 32px;
  width: 24px;
  height: 24px;
  color: var(--blue);
  stroke-width: 1.5;
}

.solutions h3 {
  font-size: 22px;
}

.solutions p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
}

.purpose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 80px;
}

.purpose-card {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: var(--d-bg);
  color: var(--d-muted);
  isolation: isolate;
}

.purpose-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 80% at 100% 0%, rgba(75, 165, 255, 0.2), transparent 70%);
}

.purpose-card .eyebrow {
  color: var(--blue-bright);
}

.purpose-card p:last-child {
  color: var(--d-text);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

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

  .purpose {
    grid-template-columns: 1fr;
  }
}

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

  .solutions li {
    padding: 28px 24px 32px;
  }

  .solutions li::before {
    margin-bottom: 20px;
  }

  .solutions .icon {
    top: 26px;
    right: 24px;
  }

  .purpose-card {
    padding: 32px 28px;
  }
}

/* ---------- Use cases ---------- */

.uses-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.uses-points {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  list-style: none;
}

.uses-points li {
  display: flex;
  gap: 14px;
  color: var(--text);
}

.uses-points .icon {
  margin-top: 3px;
  color: var(--blue);
}

.uses-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  list-style: none;
  border-top: 1px solid var(--line);
}

.uses-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.uses-list .icon {
  color: var(--blue);
}

@media (max-width: 960px) {
  .uses-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 480px) {
  .uses-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.quote {
  display: flex;
  flex-direction: column;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--amber);
}

.stars .icon {
  width: 18px;
  height: 18px;
}

.stars .half {
  clip-path: inset(0 50% 0 0);
}

.quote blockquote {
  margin-top: 24px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 32px;
  color: var(--muted);
  font-size: 14.5px;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DCEBFD, #F1F6FD);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.quote figcaption strong {
  display: block;
  color: var(--heading);
  font-size: 15.5px;
}

@media (max-width: 800px) {
  .quotes {
    grid-template-columns: 1fr;
  }

  .quote {
    padding: 32px 28px;
  }
}

/* ---------- App (dark) + phone mock ---------- */

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 80px;
}

.app-grid .lead {
  margin-top: 24px;
}

.app-features {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  list-style: none;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--d-text);
}

.app-features .icon {
  color: var(--blue-bright);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.store-badges a {
  border-radius: 10px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.store-badges a:hover {
  transform: translateY(-2px);
}

.store-badges img {
  width: 160px;
  height: auto;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(75, 165, 255, 0.28), transparent);
  pointer-events: none;
}

.phone {
  position: relative;
  width: 300px;
  padding: 12px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2A303B, #12161D);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 60px 120px -30px rgba(0, 0, 0, 0.9);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  height: 600px;
  border-radius: 38px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
}

.phone-island {
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 2;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #0A0C10;
}

.app-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 26px 0;
  color: var(--heading);
  font-size: 12px;
  font-weight: 600;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 20px 12px;
}

.app-head small {
  display: block;
  color: var(--subtle);
  font-size: 11px;
}

.app-head b {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.app-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4BA5FF, #1D6FD1);
}

.app-card {
  margin: 0 14px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.app-summary {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 24 moving · 11 stopped · 3 unreachable of 38 */
.donut {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 63.2%, var(--amber) 63.2% 92.1%, var(--red) 92.1% 100%);
  flex: none;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #fff;
}

.donut span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--subtle);
  font-size: 10px;
}

.donut b {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.legend {
  display: grid;
  gap: 8px;
  flex: 1;
  list-style: none;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11.5px;
}

.legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend .a-red-dot {
  background: var(--red);
}

.legend b {
  margin-left: auto;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

.app-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 14px 0;
  list-style: none;
}

.app-tiles li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--heading);
  font-weight: 600;
}

.app-tiles .a-ic {
  width: 32px;
  height: 32px;
}

.app-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 14px 0;
  padding: 12px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--d-muted);
  font-size: 11.5px;
}

.app-alert b {
  display: block;
  color: #fff;
  font-size: 12.5px;
}

.app-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  padding: 12px 10px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--subtle);
}

.app-tabbar .on {
  color: var(--blue);
}

@media (max-width: 960px) {
  .app-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}


/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

.contact-list {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-list > li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--blue);
  stroke-width: 1.6;
}

.contact-list h3 {
  color: var(--subtle);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list p,
.contact-list a {
  color: var(--heading);
  font-size: 17px;
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--blue);
}

.contact-list .multi {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 4px;
  list-style: none;
}

.contact-list p {
  margin-top: 4px;
}

.contact-list .note {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.map {
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  filter: grayscale(0.35) contrast(1.02);
}

.form-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.form-card h3 {
  font-size: 28px;
}

.form-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
}

.form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 14px;
  font-weight: 600;
}

.field .optional {
  color: var(--subtle);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--subtle);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: #B9C1CC;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 111, 209, 0.14);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
}

.form-note .icon {
  color: var(--green);
}

.form-status {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  background: #ECFDF3;
  color: #14532D;
}

.form-status.is-info {
  background: var(--blue-tint);
  color: #0F3E78;
}

.form-status.is-error {
  background: #FEF2F2;
  color: #991B1B;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .form-card {
    padding: 28px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-foot .btn {
    width: 100%;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--d-bg);
  color: var(--d-muted);
  font-size: 15px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--d-line);
}

.footer-cta h2 {
  max-width: 640px;
  color: var(--d-text);
  font-size: clamp(30px, 3.6vw, 44px);
}

.footer-cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding: 64px 0 56px;
}

.footer-brand img {
  width: 132px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 20px;
}

.footer-grid h4 {
  margin-bottom: 16px;
  color: var(--d-text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 12px;
  list-style: none;
}

.footer-grid a {
  color: var(--d-muted);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 0 36px;
  border-top: 1px solid var(--d-line);
  font-size: 14px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta .actions,
  .footer-cta .actions .btn {
    width: 100%;
  }
}

/* ---------- Legal pages ---------- */

.legal-hero {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.legal-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.04em;
}

.legal-hero p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 112px;
  font-size: 16.5px;
  line-height: 1.7;
}

.legal h2 {
  margin: 48px 0 12px;
  font-size: 26px;
}

.legal p {
  margin-top: 14px;
}

.legal ul,
.legal ol {
  margin-top: 14px;
  padding-left: 22px;
}

.legal li {
  margin-top: 12px;
  padding-left: 6px;
}

.legal li::marker {
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}

.legal ol[type="a"] li {
  margin-top: 6px;
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 96px 24px;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.not-found p {
  margin: 16px 0 32px;
  color: var(--muted);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
