:root {
  --navy: #06101f;
  --navy-mid: #0c192f;
  --navy-soft: #152238;
  --ink: #f4f7fb;
  --muted: #9aabbf;
  --orange: #ff6800;
  --orange-deep: #e55d00;
  --line: rgba(255, 255, 255, 0.12);
  --font-display: "Outfit", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Top bar —— */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.25rem;
  pointer-events: none;
}

.topbar__nav {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.topbar__nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.01em;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s var(--ease);
}

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

.topbar__cta {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff !important;
  background: rgba(6, 16, 31, 0.35);
  backdrop-filter: blur(8px);
}

.topbar__cta:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(6, 16, 31, 0.55);
}

@media (max-width: 640px) {
  .topbar__nav a:not(.topbar__cta) {
    display: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 72% 42%, rgba(255, 104, 0, 0.14), transparent 58%),
    radial-gradient(ellipse 50% 40% at 18% 20%, rgba(60, 120, 220, 0.12), transparent 55%),
    linear-gradient(165deg, #040914 0%, #071528 45%, #0a1a2e 100%);
}

.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero__space {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 10px rgba(255, 220, 180, 0.45);
  animation: starPulse 4.5s ease-in-out infinite;
}

.hero__star:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.hero__star:nth-child(2) { top: 22%; left: 72%; width: 2px; height: 2px; animation-delay: 0.8s; }
.hero__star:nth-child(3) { top: 38%; left: 8%; animation-delay: 1.4s; }
.hero__star:nth-child(4) { top: 58%; left: 88%; width: 2px; height: 2px; animation-delay: 0.4s; }
.hero__star:nth-child(5) { top: 16%; left: 48%; animation-delay: 2s; }
.hero__star:nth-child(6) { top: 70%; left: 28%; width: 2px; height: 2px; animation-delay: 1.1s; }

@keyframes starPulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.6); }
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__glow--a {
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  top: 8%;
  right: 4%;
  background: radial-gradient(circle, rgba(255, 104, 0, 0.38), transparent 68%);
  animation: glowDriftA 14s ease-in-out infinite alternate;
}

.hero__glow--b {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  bottom: 12%;
  left: 8%;
  background: radial-gradient(circle, rgba(70, 140, 255, 0.22), transparent 70%);
  animation: glowDriftB 18s ease-in-out infinite alternate;
}

@keyframes glowDriftA {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  to { transform: translate3d(-6%, 8%, 0) scale(1.12); opacity: 0.9; }
}

@keyframes glowDriftB {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.4; }
  to { transform: translate3d(10%, -6%, 0) scale(1.18); opacity: 0.75; }
}

.hero__media {
  position: absolute;
  inset: -4% -3% -2%;
  z-index: 1;
  will-change: transform;
  transition: transform 0.45s var(--ease);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.08);
  animation: heroDrift 26s var(--ease) infinite alternate;
  filter: saturate(1.08) contrast(1.04);
}

@keyframes heroDrift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-2.2%, -1.4%, 0);
  }
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
}

.hero__routes {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
  will-change: transform;
  transition: transform 0.45s var(--ease);
}

.hero__route {
  stroke-dasharray: 18 280;
  animation: routeFlow 5.5s linear infinite;
  filter: drop-shadow(0 0 8px rgba(255, 104, 0, 0.65));
}

.hero__route--2 {
  animation-duration: 7.5s;
  animation-delay: -2s;
  opacity: 0.7;
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -300;
  }
}

.hero__node {
  fill: #ff6800;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 10px rgba(255, 104, 0, 0.9));
  animation: nodePulse 2.4s ease-in-out infinite;
}

.hero__node--delay {
  animation-delay: 0.7s;
}

.hero__node--delay2 {
  animation-delay: 1.3s;
  fill: #ffb070;
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.35); }
}

.hero__orbs {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.45s var(--ease);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 200, 140, 0.95), rgba(255, 104, 0, 0.35) 45%, transparent 70%);
  box-shadow: 0 0 30px rgba(255, 104, 0, 0.35);
  animation: orbFloat 9s ease-in-out infinite;
}

.hero__orb--1 {
  width: 18px;
  height: 18px;
  top: 28%;
  right: 22%;
}

.hero__orb--2 {
  width: 12px;
  height: 12px;
  top: 48%;
  right: 12%;
  animation-duration: 11s;
  animation-delay: -3s;
}

.hero__orb--3 {
  width: 10px;
  height: 10px;
  top: 36%;
  left: 58%;
  animation-duration: 8s;
  animation-delay: -1.5s;
  background: radial-gradient(circle at 30% 30%, rgba(180, 210, 255, 0.9), rgba(70, 140, 255, 0.3) 50%, transparent 72%);
  box-shadow: 0 0 24px rgba(80, 150, 255, 0.35);
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    linear-gradient(180deg, rgba(6, 16, 31, 0.28) 0%, rgba(6, 16, 31, 0.42) 38%, rgba(6, 16, 31, 0.88) 78%, var(--navy) 100%),
    linear-gradient(90deg, rgba(6, 16, 31, 0.78) 0%, rgba(6, 16, 31, 0.28) 48%, rgba(6, 16, 31, 0.35) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 6;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0 0 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.brand__mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}

.brand__name span {
  color: var(--orange);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 0 0.85rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.22s forwards;
}

.hero__lede {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 1.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.34s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.46s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

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

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: var(--orange-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.text-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--orange);
  transition: color 0.2s var(--ease);
}

.text-link:hover {
  color: #ff8a3d;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
}

.section__inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.section__copy {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}

.section-intro--visual {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.section-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    0 0 60px rgba(255, 104, 0, 0.08);
}

@media (min-width: 860px) {
  .section-intro--visual {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 3.5rem;
  }

  .section-intro--reverse {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  }

  .section-intro--reverse > div {
    order: 2;
  }

  .section-intro--reverse > .section-visual {
    order: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Modes */
.modes {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(255, 104, 0, 0.1), transparent 55%),
    var(--navy);
}

.modes__grid {
  display: grid;
  gap: 2.25rem;
  margin-top: 3.5rem;
}

.modes__grid--five {
  gap: 2rem 1.35rem;
}

@media (min-width: 640px) {
  .modes__grid--five {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .modes__grid--five {
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
  }
}

.mode {
  position: relative;
}

.mode__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy-mid);
}

.mode__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.mode:hover .mode__visual img {
  transform: scale(1.04);
}

.mode__visual--vehicle {
  display: grid;
  place-items: end center;
  background: linear-gradient(165deg, var(--navy-soft), var(--navy-mid));
  padding: 1.25rem 0.5rem 0;
}

.mode__visual--vehicle img {
  width: 92%;
  height: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.mode__visual--metro img {
  filter: saturate(0.85) brightness(0.72);
}

.mode__chip {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.9;
}

.mode__label {
  margin: 1rem 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.mode__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 28ch;
}

@media (min-width: 980px) {
  .mode__text {
    max-width: none;
  }
}

/* How it works */
.how {
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps__num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--orange);
  flex-shrink: 0;
}

.steps__title {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.steps__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Features — scannable lists, not cards */
.features {
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(255, 104, 0, 0.08), transparent 50%),
    var(--navy-mid);
}

.feature-groups {
  margin-top: 2.75rem;
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .feature-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }
}

.feature-group__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.feature-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* Live */
.live {
  position: relative;
  overflow: hidden;
}

.live__frame {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .live__frame {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.live__photo {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.live__photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.live__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 35%, transparent 100%);
  pointer-events: none;
}

@media (max-width: 899px) {
  .live__photo::after {
    background: linear-gradient(180deg, transparent 40%, var(--navy) 100%);
  }
}

.live__copy .section__title {
  max-width: 14ch;
}

/* Download */
.download {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent, rgba(255, 104, 0, 0.07) 40%, transparent),
    var(--navy);
  text-align: left;
  padding-bottom: 5rem;
}

.download__art {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.download__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.download::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(6, 16, 31, 0.99) 0%,
    rgba(6, 16, 31, 0.94) 38%,
    rgba(6, 16, 31, 0.46) 70%,
    rgba(6, 16, 31, 0.2) 100%
  );
}

.download__content {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.download .section__title {
  max-width: 16ch;
}

.download .section__copy {
  margin-bottom: 1.75rem;
}

.download .cta-row {
  opacity: 1;
  transform: none;
  animation: none;
}

.download__note {
  margin: 1.1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.download__checklist {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  max-width: 28rem;
  display: grid;
  gap: 0.55rem;
  text-align: left;
}

@media (max-width: 720px) {
  .download__art img {
    object-position: 68% center;
  }

  .download::after {
    background:
      linear-gradient(180deg, rgba(6, 16, 31, 0.72), rgba(6, 16, 31, 0.98)),
      linear-gradient(90deg, rgba(6, 16, 31, 0.92), transparent);
  }

  .download__content {
    min-height: 620px;
    justify-content: flex-end;
  }
}

.download__checklist li {
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 2.1rem;
  font-size: 0.92rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.download__checklist li::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
}

.footer__inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer__brand span {
  color: var(--orange);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.footer__copy {
  width: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: rgba(154, 171, 191, 0.75);
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(255, 104, 0, 0.12), transparent 50%),
    var(--navy);
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, 720px);
  margin: 0 auto;
  padding: 1.5rem 0;
}

.legal-nav a {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-nav a:hover {
  color: #fff;
}

.legal {
  width: min(100% - 2.5rem, 720px);
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.legal .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.legal p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img,
  .hero__glow,
  .hero__star,
  .hero__route,
  .hero__node,
  .hero__orb,
  .brand,
  .hero__headline,
  .hero__lede,
  .cta-row,
  .reveal,
  .mode__visual img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__canvas {
    display: none;
  }
}
