:root {
  color-scheme: dark;
  --bg: #020812;
  --panel: rgba(6, 18, 31, 0.82);
  --panel-soft: rgba(8, 24, 40, 0.66);
  --line: rgba(116, 158, 196, 0.22);
  --line-strong: rgba(116, 158, 196, 0.38);
  --text: #f5f8ff;
  --muted: #aeb9c8;
  --green: #4aa7ff;
  --green-dark: #135d9e;
  --cyan: #33c8ff;
  --blue: #1f6feb;
  --red: #ff503f;
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 140px;
}

@media (max-width: 900px) {
  section[id] {
    scroll-margin-top: 120px;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(18, 91, 132, 0.22), transparent 24rem),
    radial-gradient(circle at 92% 24%, rgba(36, 166, 72, 0.12), transparent 20rem),
    linear-gradient(180deg, #01050d 0%, #03101b 46%, #02070f 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(74, 124, 160, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 124, 160, 0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(#000, transparent 86%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(116, 158, 196, 0.14);
  background: rgba(2, 8, 18, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.footer-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-icon {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(84, 212, 92, 0.28));
}

.brand-lockup,
.footer-lockup span {
  display: grid;
  gap: 0.12rem;
}

.brand-logo {
  display: block;
  width: 11.8rem;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.brand-lockup span,
.footer-lockup em {
  color: var(--muted);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 1.7rem);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus,
.site-footer a:hover,
.site-footer a:focus {
  color: var(--text);
}

.download-button,
.primary-action,
.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(91, 175, 255, 0.42);
  border-radius: 8px;
  background: linear-gradient(180deg, #1d6fc1, #0d3f78);
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 30px rgba(30, 111, 193, 0.2);
}

.download-button {
  min-height: 2.7rem;
  padding: 0.65rem 1.25rem;
}

.download-qr {
  position: relative;
  display: inline-flex;
}

.qr-popover {
  position: absolute;
  left: 50%;
  z-index: 30;
  display: grid;
  width: 12rem;
  padding: 0.75rem;
  border: 1px solid rgba(116, 158, 196, 0.38);
  border-radius: 0.8rem;
  background: #fff;
  color: #071422;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.45rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.qr-popover img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0.45rem;
}

.download-qr-header .qr-popover {
  top: calc(100% + 0.65rem);
  right: 0;
  left: auto;
  transform: translateY(0.45rem);
}

.download-qr-header:hover .qr-popover,
.download-qr-header:focus-within .qr-popover {
  opacity: 1;
  transform: translateY(0);
}

.download-qr-footer {
  align-items: center;
  gap: 0.7rem;
}

.download-qr-visible {
  display: block;
  width: 4.9rem;
  height: 4.9rem;
  flex: 0 0 auto;
  padding: 0.2rem;
  border-radius: 0.45rem;
  background: #fff;
  object-fit: contain;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(520px, 1.3fr);
  gap: 0;
  align-items: stretch;
  margin-top: 0.8rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 80% 75%, rgba(32, 102, 161, 0.18), transparent 21rem),
    linear-gradient(90deg, rgba(7, 20, 34, 0.98) 0%, rgba(7, 20, 34, 0.94) 35%, rgba(7, 20, 34, 0.38) 52%, rgba(7, 20, 34, 0.08) 100%),
    var(--panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.map-card,
.feature-card,
.strip-section,
.phone-frame,
.play-badge,
.scan-box,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-copy {
  min-height: 26.5rem;
  padding: 2.35rem 1.65rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--green);
  border-radius: 50%;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.1rem, 5.9vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--green);
}

h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.32rem;
  font-size: 0.94rem;
}

p {
  color: var(--muted);
}

.hero-copy > p:not(.badge) {
  max-width: 34rem;
  margin-bottom: 1.35rem;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.primary-action,
.secondary-action,
.mini-action {
  min-height: 2.9rem;
  padding: 0.72rem 1.2rem;
}

.play-dot {
  width: 0;
  height: 0;
  border-left: 0.64rem solid #fff;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-weight: 800;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 750;
}

.trust-row span + span {
  padding-left: 1.2rem;
  border-left: 1px solid var(--line-strong);
}

.hero-map {
  min-width: 0;
}

.map-card {
  position: relative;
  min-height: 26.5rem;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 54% 48%, rgba(36, 135, 210, 0.16), transparent 15rem),
    linear-gradient(90deg, rgba(7, 20, 34, 0.7), rgba(5, 14, 25, 0.06) 22%, rgba(5, 14, 25, 0.86) 100%);
  box-shadow: none;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 7;
  width: min(14rem, 34%);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 20, 34, 0.98), rgba(7, 20, 34, 0.72) 38%, transparent);
}

.map-grid,
.preview-map::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(104, 160, 190, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 160, 190, 0.07) 1px, transparent 1px),
    linear-gradient(35deg, transparent 0 48%, rgba(104, 160, 190, 0.08) 48% 49%, transparent 49%);
  background-size: 2.2rem 2.2rem, 2.2rem 2.2rem, 7rem 7rem;
  opacity: 0.72;
}

.map-grid {
  animation: heroMapDrift 22s linear infinite;
}

.map-card::after {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, transparent 0 47%, rgba(120, 162, 196, 0.18) 47% 48%, transparent 48% 100%),
    linear-gradient(90deg, transparent 0 57%, rgba(120, 162, 196, 0.12) 57% 58%, transparent 58% 100%),
    linear-gradient(24deg, transparent 0 48%, rgba(120, 162, 196, 0.13) 48% 49%, transparent 49% 100%),
    linear-gradient(-32deg, transparent 0 46%, rgba(120, 162, 196, 0.1) 46% 47%, transparent 47% 100%);
  background-size: 13rem 13rem, 15rem 15rem, 19rem 19rem, 17rem 17rem;
  opacity: 0.55;
  animation: heroStreetDrift 18s linear infinite;
}

.hero-route-map {
  position: absolute;
  inset: -6% 4% -7% 4%;
  z-index: 3;
  width: 92%;
  height: 113%;
  overflow: visible;
}

.hero-road-path,
.hero-route-path,
.hero-lost-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-road-path {
  stroke: rgba(34, 62, 88, 0.92);
  stroke-width: 4.8;
  filter: drop-shadow(0 0 12px rgba(51, 200, 255, 0.1));
}

.hero-route-path {
  stroke: url("#routeGradient");
  stroke: var(--cyan);
  stroke-width: 1.3;
  stroke-dasharray: 2.6 2;
  filter: drop-shadow(0 0 16px rgba(51, 200, 255, 0.42));
  animation: routeDash 6s linear infinite;
}

.hero-route-arrows {
  fill: none;
  stroke: transparent;
  stroke-width: 0.01;
  marker-mid: url("#routeArrowMarker");
  marker-end: url("#routeArrowMarker");
  filter: drop-shadow(0 0 10px rgba(51, 200, 255, 0.7));
  pointer-events: none;
}

.route-arrow-head {
  fill: var(--cyan);
}

.hero-lost-path {
  stroke: rgba(210, 222, 235, 0.52);
  stroke-width: 0.9;
  stroke-dasharray: 1.8 1.8;
}

.route-arrow {
  position: absolute;
  z-index: 4;
  color: var(--cyan);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 10px rgba(51, 200, 255, 0.72);
  pointer-events: none;
}

.arrow-branch {
  left: 76%;
  top: 62%;
  color: rgba(255, 255, 255, 0.75);
  transform: rotate(32deg);
}

.formation-radius {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 48%;
  width: min(18rem, 45%);
  aspect-ratio: 1;
  border: 1px solid rgba(51, 200, 255, 0.72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3.2rem rgba(51, 133, 255, 0.055), 0 0 0 6.4rem rgba(51, 133, 255, 0.035), 0 0 42px rgba(51, 200, 255, 0.18);
}

.ride-chip,
.legend-card,
.map-unit figcaption,
.preview-chip,
.squad-panel,
.ride-summary {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(4, 12, 22, 0.82);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.ride-chip {
  position: absolute;
  z-index: 8;
  left: 1.2rem;
  top: 1.2rem;
  display: grid;
  gap: 0.12rem;
  padding: 0.72rem 0.85rem;
}

.ride-chip span,
.map-unit figcaption span,
.legend-card span,
.preview-chip span,
.squad-panel span,
.ride-summary em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
}

.ride-chip strong,
.map-unit figcaption strong,
.preview-chip strong {
  color: var(--text);
  font-size: 0.9rem;
}

.ride-chip em {
  color: var(--green);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.map-unit {
  position: absolute;
  z-index: 5;
  display: block;
  margin: 0;
  transform: translate(-50%, -50%);
}

.rider-one,
.rider-two {
  transform: translate(-50%, -18%);
}

/* Convoy group: ensure leader stays ahead, riders follow, OOF remains last */
.leader-unit,
.rider-one,
.rider-two {
  animation: convoyRouteLoop 18s linear infinite;
}

/* Ordering: larger negative delay = further along the path (ahead).
   Set leader most advanced, then Rohan, then Vikram, then Manoj (OOF last).
*/
.leader-unit { animation-delay: -12s; }
.rider-one   { animation-delay: -8s;  }
.rider-two   { animation-delay: -4s;  }
/* lost-rider (Manoj) remains last with minimal/zero negative delay */
.lost-rider  { animation: convoyRouteLoop 18s linear infinite; animation-delay: 0s; }

.leader-unit img,
.rider-one img,
.rider-two img,
.lost-rider img {
  animation: markerRouteHeading 18s linear infinite;
  transform-origin: 50% 18%;
}
/* Match heading animation delays with convoy order so rotation follows progression */
.leader-unit img { animation-delay: -12s; }
.rider-one img   { animation-delay: -8s;  }
.rider-two img   { animation-delay: -4s;  }
.lost-rider img  { animation-delay: 0s;   }

.map-unit img {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(51, 200, 255, 0.32)) drop-shadow(0 12px 14px rgba(0, 0, 0, 0.32));
}

.map-unit figcaption {
  position: absolute;
  top: 50%;
  display: grid;
  min-width: 7.1rem;
  padding: 0.48rem 0.6rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.leader-unit figcaption,
.rider-one figcaption {
  left: calc(100% + 0.7rem);
}

.rider-two figcaption {
  right: calc(100% + 0.7rem);
  text-align: right;
}

.lost-rider figcaption {
  left: calc(100% + 0.7rem);
  right: auto;
  text-align: left;
}

.leader-unit {
  left: 50%;
  top: 43%;
}

.leader-unit img {
  width: 3.7rem;
  height: 3.7rem;
}

.rider-one {
  left: 50%;
  top: 25%;
}

.rider-one img {
  width: 1.9rem;
  height: 4.35rem;
}

.rider-two {
  left: 50%;
  top: 66%;
}

.rider-two img {
  width: 2.1rem;
  height: 3.55rem;
}

.lost-rider {
  left: 64%;
  top: 64%;
  animation: manojExit 1.25s ease-in-out 3s forwards;
}

.lost-rider img {
  filter: drop-shadow(0 0 14px rgba(51, 200, 255, 0.22));
}

.oof-marker img,
.pm-lost {
  filter: grayscale(1) contrast(1.05) brightness(0.72) drop-shadow(0 0 14px rgba(255, 255, 255, 0.18));
}

.lost-rider img {
  width: 3.1rem;
  height: 3.1rem;
}

.lost-rider .status-lost {
  grid-area: 1 / 1;
  opacity: 0;
}

.lost-rider .status-ok {
  grid-area: 1 / 1;
  opacity: 1;
}

.lost-rider img {
  animation: manojLostMarker 1ms linear 3.15s forwards;
}

.lost-rider .status-ok {
  animation: manojStatusOut 1ms linear 3.15s forwards;
}

.lost-rider .status-lost {
  animation: manojStatusIn 1ms linear 3.15s forwards;
}

.legend-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 8;
  display: grid;
  gap: 0.36rem;
  padding: 0.7rem 0.8rem;
}

.legend-card span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
}

.leader-dot {
  background: #4aa7ff;
}

.blue-dot {
  background: var(--blue);
}

.green-dot {
  background: #2a76c7;
}

.lost-dot {
  background: #9b9b9b;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.25rem 0 0.55rem;
}

.feature-card {
  flex: 0 0 calc((100% - 1.65rem) / 4);
  min-height: 9.6rem;
  padding: 1rem 0.9rem;
  text-align: center;
}

.feature-symbol {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.72rem;
  border: 1px solid rgba(51, 200, 255, 0.68);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 1.45rem;
  box-shadow: 0 0 24px rgba(51, 200, 255, 0.16);
}

.feature-symbol.green {
  border-color: rgba(74, 167, 255, 0.74);
  color: var(--green);
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.78rem;
}

.strip-section {
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 0.55rem;
  padding: 1rem 1.55rem;
}

.strip-intro p {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.mini-action {
  min-height: 2.45rem;
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
}

.marker-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
  margin-top: 0.55rem;
  padding: 1rem;
}

.marker-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.75rem;
}

.marker-groups {
  display: contents;
}

.marker-groups .marker-example {
  display: grid;
  grid-template-rows: auto 5.75rem auto;
  justify-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.85rem 0.55rem 0.7rem;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(111, 174, 218, 0.16);
  border-radius: 0.9rem;
  background: rgba(8, 25, 40, 0.46);
  transition: transform 160ms ease, border-color 160ms ease;
}

.marker-groups .marker-example .top-label {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(3.25rem, 1fr));
  gap: 0.35rem;
  align-items: center;
  width: 100%;
}

.pair.single {
  grid-template-columns: minmax(3.25rem, 1fr);
  justify-content: center;
}

.pair-item {
  display: grid;
  grid-template-rows: 3.75rem 1rem;
  gap: 0.2rem;
  place-items: center;
  min-width: 0;
}

.pair-item img {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(51, 200, 255, 0.2));
}

.marker-example:nth-child(2) .pair-item img {
  width: 4.5rem;
  height: 4.5rem;
}

.marker-example:nth-child(3) .pair-item img {
  width: 4.1rem;
  height: 4.1rem;
}

.oof-single .pair-item img {
  width: 3.5rem;
  height: 3.5rem;
}

.pair-label {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.oof-single .oof-img,
.oof-img {
  filter: grayscale(1) contrast(1.05) brightness(0.78);
}

.marker-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1rem;
  text-align: center;
}

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

  .marker-intro {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .marker-groups {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 767px) {
  .marker-strip {
    padding: 0.75rem;
  }

  .marker-groups .marker-example {
    padding-inline: 0.4rem;
  }
}

@media (min-width: 768px) {
  .marker-groups .marker-example:hover {
    transform: translateY(-2px);
    border-color: rgba(51, 200, 255, 0.34);
  }
}

@media (max-width: 419px) {
  .marker-groups {
    grid-template-columns: 1fr;
  }
}

.classic-marker img {
  width: 4.4rem;
  height: 4.4rem;
}

.motorcycle-marker img {
  width: 2.2rem;
  height: 5.25rem;
}

.car-marker img {
  width: 2.55rem;
  height: 4.25rem;
}

.oof-marker img {
  width: 3.7rem;
  height: 3.7rem;
}

.top-label {
  color: var(--text);
  font-weight: 800;
}

.marker-example span {
  color: var(--muted);
  font-size: 0.78rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 0.8rem;
  align-items: start;
}

.step-card span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #2d88d8, #114c86);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.step-card p {
  margin-bottom: 0;
  font-size: 0.78rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.use-case-grid article {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.65rem;
  min-height: 7.2rem;
  padding: 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
  overflow: hidden;
}

.use-case-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(2, 7, 15, 0.16), rgba(2, 7, 15, 0.68));
  pointer-events: none;
}

.use-case-grid article img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  transition: transform 220ms ease;
}

.use-case-grid article:hover img {
  transform: scale(1.05);
}

.use-case-grid article strong {
  position: relative;
  z-index: 2;
}

.placeholder-symbol {
  position: relative;
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(198, 213, 229, 0.78);
  border-radius: 4px;
}

.placeholder-symbol::before,
.placeholder-symbol::after {
  content: "";
  position: absolute;
  background: rgba(198, 213, 229, 0.78);
}

.placeholder-symbol::before {
  width: 0.42rem;
  height: 0.42rem;
  right: 0.4rem;
  top: 0.36rem;
  border-radius: 50%;
}

.placeholder-symbol::after {
  left: 0.32rem;
  right: 0.32rem;
  bottom: 0.45rem;
  height: 1px;
  transform: rotate(-42deg);
}

.preview-strip {
  grid-template-columns: 9.6rem 1fr;
}

.preview-video-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ride-video {
  display: block;
  width: min(100%, 980px);
  max-height: 68vh;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(116, 158, 196, 0.3);
  border-radius: 1rem;
  background: #000;
  transform: rotate(0deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 680px) {
  .preview-video-wrap {
    min-height: 0;
    padding: 0.35rem;
  }

  .ride-video {
    width: 100%;
    max-height: 42vh;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.85rem;
    transform: rotate(0deg);
    image-rendering: auto;
  }
}

.download-strip {
  grid-template-columns: minmax(10rem, 0.55fr) auto 1fr;
}

.download-copy p {
  margin-bottom: 0;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 15.4rem;
  padding: 0.7rem 1rem;
  background: #050505;
  color: #fff;
}

.play-triangle {
  width: 2.35rem;
  height: 2.35rem;
  clip-path: polygon(10% 0, 100% 50%, 10% 100%);
  background: linear-gradient(135deg, #1f6feb, #33c8ff 48%, #9fd8ff 76%, #2c72c7);
}

.play-badge small,
.play-badge strong {
  display: block;
  line-height: 1.02;
}

.play-badge small {
  font-size: 0.7rem;
}

.play-badge strong {
  font-size: 1.42rem;
}

.download-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-checks li {
  color: var(--text);
  font-size: 0.86rem;
}

.download-checks li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  color: #031321;
  font-size: 0.72rem;
  font-weight: 900;
}

.faq-strip {
  grid-template-columns: 9rem 1fr;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.faq-grid details {
  padding: 0.7rem 0.95rem;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--text);
  font-size: 0.88rem;
}

.faq-grid p {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 0.7fr) 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0 2.3rem;
  border-top: 1px solid rgba(116, 158, 196, 0.14);
}

.site-footer nav,
.socials {
  display: grid;
  align-content: start;
  gap: 0.48rem;
}

.site-footer h3 {
  margin-bottom: 0.25rem;
  color: var(--text);
}

.footer-brand p {
  max-width: 15rem;
  margin: 0.75rem 0 0;
}

.socials span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(174, 185, 200, 0.7);
  text-align: center;
}

@keyframes heroMapDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 0 2.2rem, 0 2.2rem, 0 7rem;
  }
}

@keyframes routeDash {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -9.2;
  }
}

@keyframes heroStreetDrift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }

  to {
    background-position: 0 13rem, 0 15rem, 0 19rem, 0 17rem;
  }
}

@keyframes convoyRouteLoop {
  0% { left: 49.1%; top: 102.5%; }
  2% { left: 48%; top: 99.6%; }
  4% { left: 46.8%; top: 96.7%; }
  6% { left: 45.5%; top: 94%; }
  8% { left: 44.2%; top: 91.3%; }
  10% { left: 42.9%; top: 88.7%; }
  12% { left: 41.7%; top: 86.1%; }
  14% { left: 40.4%; top: 83.6%; }
  16% { left: 39.3%; top: 81%; }
  18% { left: 38.3%; top: 78.5%; }
  20% { left: 37.4%; top: 75.9%; }
  22% { left: 36.7%; top: 73.3%; }
  24% { left: 36.3%; top: 70.7%; }
  26% { left: 36%; top: 68%; }
  28% { left: 36.1%; top: 65.3%; }
  30% { left: 36.4%; top: 62.5%; }
  32% { left: 37.1%; top: 59.5%; }
  34% { left: 38%; top: 57.1%; }
  36% { left: 39%; top: 55%; }
  38% { left: 40.2%; top: 53.3%; }
  40% { left: 41.6%; top: 51.8%; }
  42% { left: 43.1%; top: 50.6%; }
  44% { left: 44.7%; top: 49.6%; }
  46% { left: 46.4%; top: 48.8%; }
  48% { left: 48.2%; top: 48.1%; }
  50% { left: 50%; top: 47.4%; }
  52% { left: 51.8%; top: 46.8%; }
  54% { left: 53.6%; top: 46.1%; }
  56% { left: 55.4%; top: 45.4%; }
  58% { left: 57.1%; top: 44.6%; }
  60% { left: 58.7%; top: 43.6%; }
  62% { left: 60.2%; top: 42.4%; }
  64% { left: 61.6%; top: 41%; }
  66% { left: 62.8%; top: 39.2%; }
  68% { left: 63.9%; top: 37.1%; }
  70% { left: 64.7%; top: 34.7%; }
  72% { left: 65.3%; top: 32.1%; }
  74% { left: 65.5%; top: 29.6%; }
  76% { left: 65.3%; top: 27.3%; }
  78% { left: 64.9%; top: 25%; }
  80% { left: 64.2%; top: 22.9%; }
  82% { left: 63.3%; top: 20.9%; }
  84% { left: 62.2%; top: 18.9%; }
  86% { left: 61%; top: 16.9%; }
  88% { left: 59.6%; top: 14.9%; }
  90% { left: 58.2%; top: 12.9%; }
  92% { left: 56.7%; top: 10.9%; }
  94% { left: 55.2%; top: 8.8%; }
  96% { left: 53.7%; top: 6.6%; }
  98% { left: 52.3%; top: 4.3%; }
  100% { left: 50.9%; top: 1.9%; }
}

@keyframes markerRouteHeading {
  0% { transform: rotate(-25deg); }
  2% { transform: rotate(-27deg); }
  4% { transform: rotate(-29deg); }
  6% { transform: rotate(-31deg); }
  8% { transform: rotate(-31deg); }
  10% { transform: rotate(-31deg); }
  12% { transform: rotate(-30deg); }
  14% { transform: rotate(-29deg); }
  16% { transform: rotate(-26deg); }
  18% { transform: rotate(-23deg); }
  20% { transform: rotate(-18deg); }
  22% { transform: rotate(-12deg); }
  24% { transform: rotate(-6deg); }
  26% { transform: rotate(1deg); }
  28% { transform: rotate(9deg); }
  30% { transform: rotate(16deg); }
  32% { transform: rotate(23deg); }
  34% { transform: rotate(32deg); }
  36% { transform: rotate(41deg); }
  38% { transform: rotate(50deg); }
  40% { transform: rotate(57deg); }
  42% { transform: rotate(64deg); }
  44% { transform: rotate(68deg); }
  46% { transform: rotate(72deg); }
  48% { transform: rotate(74deg); }
  50% { transform: rotate(74deg); }
  52% { transform: rotate(74deg); }
  54% { transform: rotate(72deg); }
  56% { transform: rotate(68deg); }
  58% { transform: rotate(64deg); }
  60% { transform: rotate(57deg); }
  62% { transform: rotate(50deg); }
  64% { transform: rotate(41deg); }
  66% { transform: rotate(32deg); }
  68% { transform: rotate(23deg); }
  70% { transform: rotate(14deg); }
  72% { transform: rotate(5deg); }
  74% { transform: rotate(-4deg); }
  76% { transform: rotate(-13deg); }
  78% { transform: rotate(-22deg); }
  80% { transform: rotate(-28deg); }
  82% { transform: rotate(-34deg); }
  84% { transform: rotate(-38deg); }
  86% { transform: rotate(-40deg); }
  88% { transform: rotate(-42deg); }
  90% { transform: rotate(-42deg); }
  92% { transform: rotate(-41deg); }
  94% { transform: rotate(-40deg); }
  96% { transform: rotate(-38deg); }
  98% { transform: rotate(-34deg); }
  100% { transform: rotate(-34deg); }
}

@keyframes manojExit {
  from {
    left: 64%;
    top: 64%;
  }

  to {
    left: 72%;
    top: 82%;
  }
}

@keyframes manojLostMarker {
  to {
    filter: grayscale(1) contrast(1.08) brightness(0.72) drop-shadow(0 0 14px rgba(255, 255, 255, 0.18));
  }
}

@keyframes manojStatusOut {
  to {
    opacity: 0;
  }
}

@keyframes manojStatusIn {
  to {
    opacity: 1;
  }
}

@keyframes markerHover {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -0.18rem;
  }
}

.page-hero,
.section {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.page-hero {
  padding: 4rem 0 2rem;
}

.section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.legal {
  max-width: 860px;
}

.legal h2 {
  margin-top: 2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card,
.feature-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 1.1rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-item {
  display: grid;
  grid-template-columns: minmax(12rem, 0.35fr) 1fr;
  gap: 1rem;
}

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

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    order: 3;
  }

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

  .use-case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .strip-section,
  .preview-strip,
  .faq-strip,
  .download-strip {
    grid-template-columns: 1fr;
  }

  .download-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    width: 100%;
    max-width: 100%;
  }

  .shell,
  .site-header,
  .page-hero,
  .section {
    width: min(calc(100% - 1rem), var(--max));
    max-width: calc(100vw - 1rem);
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .download-button {
    width: 100%;
  }

  .download-qr {
    display: flex;
    width: 100%;
  }

  .download-qr-footer {
    gap: 0.5rem;
  }

  .download-qr-footer .play-badge {
    flex: 1 1 auto;
  }

  .download-qr-visible {
    width: 4rem;
    height: 4rem;
  }

  .qr-popover {
    display: none;
  }

  .brand-logo {
    width: 10rem;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.85rem;
  }

  .hero-copy {
    min-height: auto;
    padding: 1.6rem 1rem;
  }

  .hero-copy > * {
    max-width: 20.5rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  h1 span {
    max-width: 7.4ch;
  }

  .hero-copy > p:not(.badge) {
    max-width: 20.5rem;
    overflow-wrap: normal;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 20.5rem;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 20.5rem;
  }

  .trust-row span + span {
    padding-left: 0;
    border-left: 0;
  }

  .map-card {
    min-height: 30rem;
  }

  .formation-radius {
    width: 14.5rem;
  }

  .ride-chip {
    left: 0.75rem;
    top: 0.75rem;
  }

  .legend-card {
    left: 0.75rem;
    right: auto;
    bottom: 0.75rem;
  }

  .map-unit figcaption {
    min-width: 5.4rem;
    padding: 0.34rem 0.42rem;
  }

  .leader-unit figcaption,
  .rider-one figcaption {
    left: calc(100% + 0.35rem);
  }

  .rider-two figcaption {
    right: calc(100% + 0.35rem);
  }

  .lost-rider figcaption {
    left: calc(100% + 0.35rem);
    right: auto;
    text-align: left;
  }

  .map-unit figcaption strong,
  .map-unit figcaption span {
    font-size: 0.66rem;
  }

  .leader-unit img {
    width: 3.5rem;
    height: 3.5rem;
  }

  .rider-one img {
    width: 1.75rem;
    height: 4rem;
  }

  .rider-two img {
    width: 1.95rem;
    height: 3.4rem;
  }

  .lost-rider img {
    width: 3rem;
    height: 3rem;
  }

  .lost-rider {
    left: 57%;
    top: 80%;
  }

  .steps-row,
  .use-case-grid,
  .faq-grid,
  .grid.two,
  .grid.three,
  .feature-item {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    min-height: 38rem;
  }

  .squad-panel {
    left: 1rem;
    right: 1rem;
    top: auto;
    bottom: 5.2rem;
    width: auto;
  }

  .ride-summary {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    justify-content: space-between;
    transform: none;
  }

  .ride-summary span {
    min-width: 0;
  }

  .preview-intro {
    max-width: 22rem;
  }

  .play-badge {
    justify-content: center;
    min-width: 0;
  }

  .qr-block {
    align-items: stretch;
  }

  .download-checks {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* WingRadio additions reuse the existing panels, colors and native FAQ controls. */
.feature-symbol svg {
  display: block;
}

.wingradio-guide {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.wingradio-guide p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.wingradio-sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem 1.8rem;
  padding-left: 1.25rem;
  font-size: 0.86rem;
}

.wingradio-sequence li::marker {
  color: var(--cyan);
  font-weight: 700;
}

.wingradio-faq {
  grid-column: 2;
}

.wingradio-faq h3 {
  margin-bottom: 0.75rem;
}

.wingradio-faq details {
  align-self: start;
}

.wingradio-faq summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

#wingradio-how,
#wingradio-privacy {
  scroll-margin-top: 12rem;
}

@media (max-width: 1040px) {
  .wingradio-faq {
    grid-column: 1;
  }
}

@media (max-width: 680px) {
  .feature-card {
    flex-basis: 100%;
  }

  .wingradio-sequence {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  #wingradio-how,
  #wingradio-privacy {
    scroll-margin-top: 18rem;
  }
}
