:root {
  --font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #07111f;
  --ink-soft: #1f3146;
  --muted: #586a81;
  --subtle: #7689a1;
  --line: rgba(148, 163, 184, 0.22);
  --line-strong: rgba(255, 255, 255, 0.76);
  --surface: rgba(255, 255, 255, 0.56);
  --surface-strong: rgba(255, 255, 255, 0.74);
  --surface-deep: rgba(240, 246, 255, 0.84);
  --glass-edge: rgba(255, 255, 255, 0.68);
  --glass-edge-strong: rgba(255, 255, 255, 0.86);
  --glass-edge-quiet: rgba(137, 157, 184, 0.18);
  --inner-highlight:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(120, 141, 168, 0.075);
  --shadow-soft:
    0 0 0 0.5px rgba(120, 143, 172, 0.1),
    0 10px 22px -16px rgba(25, 38, 58, 0.2),
    0 28px 58px -38px rgba(76, 101, 135, 0.22);
  --shadow-large:
    0 0 0 0.5px rgba(120, 143, 172, 0.12),
    0 18px 42px -26px rgba(25, 38, 58, 0.24),
    0 68px 128px -82px rgba(76, 101, 135, 0.28);
  --shadow-control:
    0 0 0 0.5px rgba(120, 143, 172, 0.1),
    0 8px 18px -14px rgba(25, 38, 58, 0.2),
    0 18px 36px -28px rgba(76, 101, 135, 0.2);
  --shadow-nav:
    0 0 0 0.5px rgba(120, 143, 172, 0.1),
    0 14px 32px -18px rgba(25, 38, 58, 0.22),
    0 44px 96px -62px rgba(76, 101, 135, 0.26);
  --highlight: rgba(255, 255, 255, 0.92);
  --accent: #5aa8ff;
  --accent-strong: #2563eb;
  --accent-soft: #93d5ff;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  color-scheme: light;
}

body {
  position: relative;
  font-family: var(--font-body);
  font-size: 13px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% -4%, rgba(125, 211, 252, 0.24), transparent 26%),
    radial-gradient(circle at 86% 4%, rgba(191, 219, 254, 0.26), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(125, 211, 252, 0.12), transparent 36%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 46%, #e7effa 100%);
  color: var(--ink);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  border-radius: 9999px;
  filter: blur(72px);
}

body::before {
  top: 4rem;
  left: -5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(147, 197, 253, 0.2);
}

body::after {
  top: 9rem;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(125, 211, 252, 0.18);
}

a,
button {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

a:hover,
button:hover {
  transform: translateY(-1px);
}

.font-display {
  font-family: var(--font-display);
}

.section-shell {
  width: min(calc(100% - 2rem), 82rem);
  margin-inline: auto;
}

@media (min-width: 40rem) {
  .section-shell {
    width: min(calc(100% - 4rem), 82rem);
  }
}

@media (min-width: 64rem) {
  .section-shell {
    width: min(calc(100% - 6rem), 82rem);
  }
}

.glass-panel,
.quiet-panel,
.feature-card,
.metric-tile,
.demo-frame,
.mock-window,
.frost-card,
.proof-strip,
.osrm-map-panel,
.screen-card,
.screenshot-frame,
.phone-shell,
.access-form-panel {
  position: relative;
  overflow: hidden;
}

.glass-panel::after,
.quiet-panel::after,
.feature-card::after,
.metric-tile::after,
.demo-frame::after,
.mock-window::after,
.frost-card::after,
.proof-strip::after,
.osrm-map-panel::after,
.screen-card::after,
.screenshot-frame::after,
.access-form-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 18%);
  opacity: 0.56;
}

.glass-panel::before,
.quiet-panel::before,
.feature-card::before,
.metric-tile::before,
.demo-frame::before,
.mock-window::before,
.frost-card::before,
.proof-strip::before,
.osrm-map-panel::before,
.screen-card::before,
.screenshot-frame::before,
.access-form-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(120, 141, 168, 0.08);
  opacity: 0.82;
}

.glass-panel {
  border: 1px solid var(--glass-edge);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(239, 246, 255, 0.56)),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    var(--shadow-nav),
    var(--inner-highlight);
  backdrop-filter: blur(28px) saturate(1.45);
}

.quiet-panel {
  border: 1px solid var(--glass-edge);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(233, 241, 252, 0.52)),
    rgba(255, 255, 255, 0.52);
  box-shadow:
    var(--shadow-soft),
    var(--inner-highlight);
  backdrop-filter: blur(24px) saturate(1.38);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--subtle);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1px;
  background: rgba(120, 141, 166, 0.42);
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6.8vw, 5.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.058em;
  color: var(--ink);
  overflow-wrap: break-word;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
}

.quiet-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.hero-loop {
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  border: 1px solid var(--glass-edge);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.48);
  padding: 0.25rem 0.85rem;
  box-shadow:
    var(--shadow-control),
    var(--inner-highlight);
  backdrop-filter: blur(18px) saturate(1.3);
}

.reveal-ready {
  transform: translateY(28px);
}

.story-stage {
  min-height: clamp(38rem, 84vh, 52rem);
}

.story-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  display: none;
  opacity: 0;
  pointer-events: none;
}

.story-slide[data-active="true"] {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.story-backdrop {
  position: absolute;
  inset: -4rem 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.42;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
  filter: saturate(0.86) brightness(1.08);
}

.story-trigger[data-active="true"] {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow:
    var(--shadow-control),
    var(--inner-highlight);
}

.story-progress {
  height: 1px;
  width: 4rem;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.28);
}

.story-progress span {
  display: block;
  height: 100%;
  transform: scaleX(0.25);
  transform-origin: left;
  background: linear-gradient(90deg, #7dd3fc, #60a5fa, #38bdf8);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.copy-shell {
  padding: 0;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4.05rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--ink);
  text-wrap: balance;
}

.feature-card {
  border: 1px solid var(--glass-edge);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(236, 244, 255, 0.58)),
    rgba(255, 255, 255, 0.56);
  box-shadow:
    var(--shadow-soft),
    var(--inner-highlight);
  backdrop-filter: blur(24px) saturate(1.35);
}

.metric-tile {
  border: 1px solid var(--glass-edge);
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(235, 243, 255, 0.58)),
    rgba(255, 255, 255, 0.58);
  padding: 1rem;
  box-shadow:
    var(--shadow-control),
    var(--inner-highlight);
  backdrop-filter: blur(22px) saturate(1.32);
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.95rem;
  padding: 0.8rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(16px) saturate(1.25);
}

.primary-link {
  border: 1px solid var(--glass-edge-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.9)),
    rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow:
    var(--shadow-control),
    var(--inner-highlight);
}

.secondary-link {
  border: 1px solid var(--glass-edge);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(236, 244, 255, 0.54)),
    rgba(255, 255, 255, 0.56);
  color: var(--ink-soft);
  box-shadow:
    var(--shadow-control),
    var(--inner-highlight);
}

.demo-frame,
.mock-window,
.frost-card {
  border: 1px solid var(--glass-edge);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(236, 244, 255, 0.56)),
    rgba(255, 255, 255, 0.56);
  box-shadow:
    var(--shadow-soft),
    var(--inner-highlight);
  backdrop-filter: blur(24px) saturate(1.34);
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--glass-edge);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.58);
  padding: 0.25rem 0.75rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  box-shadow: var(--inner-highlight);
}

.logo-row {
  mask-image: linear-gradient(90deg, transparent, black 14%, black 86%, transparent);
}

.logo-track {
  animation: logo-marquee 26s linear infinite;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.media-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.full-bleed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.parallax-bg {
  pointer-events: none;
  position: absolute;
  inset: -3rem 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.52;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
  filter: saturate(0.84) brightness(1.08);
}

.image-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 252, 255, 0.96) 0%, rgba(243, 248, 255, 0.82) 42%, rgba(233, 241, 252, 0.52) 72%, rgba(232, 240, 250, 0.9) 100%);
}

.soft-panel {
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px) saturate(1.2);
}

.hairline {
  border-top: 1px solid var(--line);
}

.phone-shell {
  width: min(100%, 22rem);
  margin-inline: auto;
  border-radius: 2.4rem;
  border: 1px solid var(--glass-edge);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(228, 237, 250, 0.78)),
    #f8fbff;
  padding: 0.72rem;
  box-shadow:
    var(--shadow-large),
    var(--inner-highlight);
}

.screenshot-frame {
  border: 1px solid var(--glass-edge);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(232, 240, 252, 0.62)),
    rgba(255, 255, 255, 0.7);
  box-shadow:
    var(--shadow-soft),
    var(--inner-highlight);
}

.screenshot-frame img,
.screen-card img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-visual-compact {
  width: min(100%, 18rem);
  margin-inline: auto;
}

@media (min-width: 64rem) {
  .phone-visual-compact {
    width: min(100%, 19.5rem);
    justify-self: center;
  }
}

.screen-card {
  border: 1px solid var(--glass-edge);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(233, 241, 252, 0.6)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    var(--shadow-soft),
    var(--inner-highlight);
}

.proof-strip {
  border: 1px solid var(--glass-edge);
  border-radius: 1.65rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(235, 243, 255, 0.54)),
    rgba(255, 255, 255, 0.52);
  box-shadow:
    var(--shadow-soft),
    var(--inner-highlight);
  backdrop-filter: blur(24px) saturate(1.3);
}

.hero-route-map {
  position: relative;
  min-height: clamp(8.85rem, 13vw, 10.35rem);
  overflow: hidden;
  border: 1px solid var(--glass-edge);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(231, 239, 251, 0.76));
  box-shadow:
    var(--shadow-control),
    var(--inner-highlight);
  filter: saturate(0.94) contrast(1.02) brightness(1.02);
}

.hero-route-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 450;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.04), rgba(241, 246, 255, 0.22)),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(241, 246, 255, 0.26) 76%);
}

.hero-route-map .leaflet-control-attribution {
  border-radius: 0.5rem 0 0 0;
  background: rgba(255, 255, 255, 0.68) !important;
  color: var(--muted) !important;
  font-size: 9px !important;
  line-height: 1.3 !important;
}

.hero-route-map .leaflet-control-attribution a {
  color: var(--ink-soft) !important;
}

.hero-route-trigger[data-active="true"] {
  border-color: var(--glass-edge-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.92)),
    rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow:
    var(--shadow-control),
    var(--inner-highlight);
}

.hero-osrm-marker {
  display: grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  border: 1px solid var(--glass-edge-strong);
  border-radius: 9999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 255, 0.92)),
    rgba(255, 255, 255, 0.94);
  padding-inline: 0.28rem;
  color: var(--ink);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 0 0 0.28rem rgba(147, 197, 253, 0.1),
    0 10px 20px rgba(148, 163, 184, 0.14);
}

.provider-row {
  overflow: hidden;
  padding-block: 0.4rem;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.provider-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  animation: provider-marquee 34s linear infinite;
}

.provider-row:hover .provider-track {
  animation-play-state: paused;
}

.provider-mark {
  display: inline-flex;
  min-width: 8.25rem;
  height: 4.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-edge);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.9)),
    rgba(255, 255, 255, 0.94);
  padding: 0.85rem 1.2rem;
  box-shadow:
    var(--shadow-control),
    var(--inner-highlight);
}

.provider-mark img {
  display: block;
  max-width: 7.15rem;
  max-height: 2.35rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes provider-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .provider-track {
    animation: none;
  }
}

.osrm-map-panel {
  min-height: clamp(24rem, 38vw, 32rem);
  border: 1px solid var(--glass-edge);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(232, 240, 252, 0.68));
  box-shadow:
    var(--shadow-large),
    var(--inner-highlight);
}

.route-map {
  position: absolute;
  inset: 0;
  min-height: inherit;
  background: #f3f7fd;
  filter: saturate(0.94) contrast(1.02) brightness(1.04);
}

.route-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.08), rgba(241, 246, 255, 0.24)),
    radial-gradient(circle at 50% 52%, transparent 0 44%, rgba(244, 248, 255, 0.34) 78%);
  z-index: 450;
}

.route-map .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 10px;
}

.route-map .leaflet-control-attribution a {
  color: var(--ink-soft);
}

.route-map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid var(--glass-edge);
  border-radius: 0.9rem;
  box-shadow: var(--shadow-control);
}

.route-map .leaflet-control-zoom a {
  border-color: var(--glass-edge);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-soft);
}

.route-map .leaflet-control-zoom a:hover {
  background: rgba(241, 246, 255, 0.96);
  color: var(--ink);
}

.osrm-marker {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--glass-edge-strong);
  border-radius: 9999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 255, 0.92)),
    rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow:
    0 0 0 0.38rem rgba(147, 197, 253, 0.12),
    0 14px 26px rgba(148, 163, 184, 0.14);
}

.phone-screen {
  min-height: 35rem;
  overflow: hidden;
  border-radius: 1.85rem;
  border: 1px solid var(--glass-edge);
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.9), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(231, 239, 251, 0.82));
}

.route-line {
  position: absolute;
  inset: 18% 12% auto 18%;
  height: 46%;
  border-left: 2px solid rgba(37, 99, 235, 0.74);
  border-bottom: 2px solid rgba(125, 211, 252, 0.48);
  border-radius: 0 0 0 5rem;
  transform: rotate(-18deg);
}

.ghost-orb {
  width: 5.5rem;
  aspect-ratio: 1;
  border-radius: 9999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98), rgba(191, 219, 254, 0.62) 34%, rgba(147, 197, 253, 0.24) 58%, rgba(96, 165, 250, 0.14) 76%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(191, 219, 254, 0.16));
  box-shadow:
    inset 0 0 1.4rem rgba(255, 255, 255, 0.36),
    0 0 1.9rem rgba(125, 211, 252, 0.18);
}

.faq-grid details {
  border: 1px solid var(--glass-edge);
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(236, 244, 255, 0.56)),
    rgba(255, 255, 255, 0.56);
  padding: 1.1rem;
  box-shadow:
    var(--shadow-control),
    var(--inner-highlight);
  backdrop-filter: blur(20px) saturate(1.28);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.faq-grid p {
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.75;
}
