:root {
  --blue-950: #06182d;
  --blue-900: #062b63;
  --blue-700: #0057b8;
  --cyan: #00a6e8;
  --graphite: #151515;
  --graphite-2: #262626;
  --orange: #ff7a00;
  --orange-300: #ffbd72;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --ink: #102033;
  --muted: #607087;
  --line: rgba(16, 32, 51, 0.1);
  --white: #ffffff;
  --display: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  overflow: hidden;
  background: var(--blue-950);
  color: var(--white);
  font-family: var(--sans);
  letter-spacing: 0;
}

button, a { font: inherit; }

.progress {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,0.12);
}

.progress span {
  display: block;
  width: 12.5%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transition: width 600ms cubic-bezier(.16,1,.3,1);
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 22px;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  pointer-events: none;
}

.brand, .meta { pointer-events: auto; }
.brand img { display: block; width: 156px; height: auto; }
.brand .logo-on-light { display: none; }
body.on-light .brand .logo-on-dark { display: none; }
body.on-light .brand .logo-on-light { display: block; }

.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.72);
}

.meta span {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(6, 24, 45, 0.28);
  backdrop-filter: blur(14px);
}

.deck {
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  transform: translateX(5%);
  pointer-events: none;
  transition: opacity 520ms ease, transform 700ms cubic-bezier(.16,1,.3,1);
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide.leaving-left { transform: translateX(-4%); }
.slide.dark {
  background:
    radial-gradient(70% 55% at 82% 12%, rgba(255,122,0,0.15), transparent 60%),
    radial-gradient(56% 46% at 12% 86%, rgba(255,189,114,0.12), transparent 64%),
    linear-gradient(140deg, #0f0f0f, var(--graphite) 56%, var(--graphite-2));
  color: var(--white);
}

.slide.light {
  background:
    radial-gradient(58% 48% at 86% 18%, rgba(0,166,232,0.14), transparent 60%),
    radial-gradient(42% 38% at 8% 92%, rgba(255,122,0,0.13), transparent 70%),
    var(--paper);
  color: var(--ink);
}

.slide.cover-light {
  background:
    radial-gradient(64% 48% at 82% 16%, rgba(255,122,0,0.16), transparent 62%),
    radial-gradient(46% 38% at 14% 90%, rgba(255,189,114,0.18), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--ink);
}

.slide.cover-light .grid {
  background-image:
    linear-gradient(rgba(16,32,51,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,32,51,0.045) 1px, transparent 1px);
}

.slide.cover-light .title em { color: var(--orange); }
.slide.cover-light .lead { color: var(--muted); }
.slide.cover-light .cover-tags span {
  color: var(--ink);
  border-color: rgba(16,32,51,0.12);
  background: rgba(255,255,255,0.76);
  box-shadow: 0 12px 30px rgba(16,32,51,0.08);
}

body.on-light .meta span {
  color: rgba(16,32,51,0.72);
  border-color: rgba(16,32,51,0.12);
  background: rgba(255,255,255,0.76);
}

.slide.final-light {
  background:
    radial-gradient(54% 44% at 80% 16%, rgba(255,122,0,0.14), transparent 64%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--ink);
}

.inner {
  position: relative;
  z-index: 3;
  width: min(1180px, 100%);
  padding: clamp(92px, 12vh, 132px) clamp(22px, 6vw, 72px) clamp(74px, 10vh, 112px);
}

.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.text-first { grid-template-columns: 1.05fr 0.95fr; }

.ambient, .grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse at center, black, transparent 78%);
}

.cover-logo {
  width: min(380px, 72vw);
  margin-bottom: clamp(28px, 5vh, 46px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--mono);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.eyebrow.center { justify-content: center; width: 100%; }
.eyebrow.center::after {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.title, .outline, .final-quote {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

.title {
  max-width: 1020px;
  font-size: clamp(2.8rem, 7vw, 6.7rem);
}

.title.sm { font-size: clamp(2.15rem, 4.8vw, 4.25rem); }
.title em { color: var(--orange-300); font-style: italic; font-weight: 480; }
.light .title em { color: var(--orange); }

.outline {
  font-size: clamp(4rem, 10vw, 8rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(16, 32, 51, 0.22);
}

.lead {
  max-width: 740px;
  margin: 24px 0 0;
  color: rgba(255,255,255,0.76);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.dark-text { color: var(--muted); }
.centered { text-align: center; margin-inline: auto; }
.centered-copy { text-align: center; margin-inline: auto; max-width: 790px; }

.cover-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 34px;
}

.cover-tags span {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.06);
}

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

.toc li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.toc span, .price-row small, .conditions small, .total small {
  font-family: var(--mono);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.toc strong {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 560;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-stack article, .solution-grid article, .conditions article {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.08);
}

.feature-stack .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--graphite), var(--orange));
  color: var(--white);
  font-weight: 800;
  margin-bottom: 18px;
}

h3 { margin: 0 0 10px; font-size: 1.22rem; letter-spacing: 0; }
p { letter-spacing: 0; }
article p { margin: 0; color: var(--muted); line-height: 1.6; }

.map-card {
  position: relative;
  min-height: min(54vh, 520px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at 70% 24%, rgba(255,122,0,0.18), transparent 28%),
    rgba(255,255,255,0.04);
  background-size: 46px 46px, 46px 46px, auto, auto;
  box-shadow: 0 28px 70px rgba(0,0,0,0.22);
}

.map-line {
  position: absolute;
  inset: 22% 18% 28% 18%;
  border: 3px dashed rgba(255,122,0,0.7);
  border-left-color: transparent;
  border-bottom-color: rgba(255,189,114,0.55);
  border-radius: 48% 44% 52% 40%;
  transform: rotate(-8deg);
}

.pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--orange);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 10px rgba(255,122,0,0.12);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--white);
}

.p1 { left: 20%; top: 36%; }
.p2 { right: 24%; top: 24%; }
.p3 { right: 38%; bottom: 22%; background: var(--orange-300); box-shadow: 0 0 0 10px rgba(255,189,114,0.12); }

.vehicle-card {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 20px;
  background: rgba(6,24,45,0.76);
  backdrop-filter: blur(18px);
}

.vehicle-card small {
  display: block;
  color: var(--orange-300);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.vehicle-card strong { display: block; font-size: 1.35rem; }
.vehicle-card span { display: block; margin-top: 6px; color: rgba(255,255,255,0.72); }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.solution-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  font-family: var(--mono);
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 800;
}

.price-panel {
  max-width: 940px;
  margin: 42px auto 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  padding: clamp(18px, 3vw, 32px);
  background: rgba(255,255,255,0.055);
  box-shadow: 0 30px 80px rgba(0,0,0,0.24);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.price-row strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 560;
}

.price-row span {
  font-family: var(--display);
  color: var(--orange-300);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-style: italic;
  white-space: nowrap;
}

.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  border: 1px solid rgba(255,122,0,0.36);
  border-radius: 20px;
  padding: 24px;
  background: rgba(255,122,0,0.1);
}

.total strong {
  font-family: var(--display);
  color: var(--white);
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  line-height: 1;
}

.conditions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.conditions strong {
  display: block;
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 560;
}

.note {
  max-width: 900px;
  margin: 28px auto 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.app-slide {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
}

.app-copy { min-width: 0; }

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  border: 1px solid rgba(16,32,51,0.12);
  border-radius: 16px;
  padding: 13px 16px;
  color: var(--white);
  background: var(--graphite);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(16,32,51,0.14);
}

.store-button span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--orange);
  font-weight: 800;
}

.store-button strong {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.store-button small {
  color: rgba(255,255,255,0.64);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.phone-shot {
  min-height: 420px;
  border: 8px solid #111;
  border-radius: 32px;
  padding: 18px 14px;
  background: #f7f8fb;
  box-shadow: 0 24px 55px rgba(16,32,51,0.18);
}

.phone-shot.lifted { transform: translateY(-26px); }

.phone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink);
}

.phone-top span {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--orange), var(--orange-300));
}

.app-card, .chat-bubble {
  border: 1px solid rgba(16,32,51,0.08);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  background: var(--white);
}

.app-card.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #f15d00);
}

.app-card small {
  display: block;
  color: inherit;
  opacity: 0.72;
  margin-bottom: 6px;
}

.app-card b { display: block; color: inherit; }

.app-row {
  height: 42px;
  border-radius: 14px;
  margin-bottom: 10px;
  background: #e9edf3;
}

.app-row.short { width: 72%; }

.chat-bubble {
  width: 88%;
  color: var(--muted);
  line-height: 1.4;
}

.chat-bubble.alt {
  width: 72%;
  margin-left: auto;
  color: var(--ink);
  background: #fff4ea;
}

.phone-shot button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 10px;
  margin-top: 8px;
  color: var(--white);
  background: var(--graphite);
  font-weight: 800;
}

.final-quote {
  max-width: 980px;
  font-size: clamp(2.6rem, 6.2vw, 5.8rem);
  color: var(--ink);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 720px;
  margin-top: 42px;
  text-align: left;
  border: 1px solid rgba(16,32,51,0.12);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 22px 54px rgba(16,32,51,0.1);
}

.contact-card img { width: 150px; height: auto; flex: none; }
.contact-card strong, .contact-card span { display: block; }
.contact-card strong { margin-bottom: 7px; font-size: 1.05rem; }
.contact-card span { color: var(--muted); line-height: 1.5; }

.controls {
  position: fixed;
  z-index: 25;
  right: clamp(16px, 4vw, 52px);
  bottom: clamp(16px, 4vw, 42px);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 8px;
  color: var(--white);
  background: rgba(6, 24, 45, 0.58);
  backdrop-filter: blur(18px);
}

.controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.controls button:hover { background: rgba(255,255,255,0.2); }
.controls span {
  min-width: 54px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 900ms cubic-bezier(.16,1,.3,1) forwards;
}

.delay-1 { animation-delay: 120ms; }
.delay-2 { animation-delay: 220ms; }
.delay-3 { animation-delay: 340ms; }
.delay-4 { animation-delay: 480ms; }

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

@media (max-width: 900px) {
  body { overflow: auto; }
  .deck { height: auto; overflow: visible; }
  .slide {
    position: relative;
    min-height: 100dvh;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .slide:not(.active) { display: grid; }
  .topbar { position: absolute; }
  .meta { display: none; }
  .controls { display: none; }
  .split, .text-first, .solution-grid, .conditions, .app-slide, .phone-shots {
    grid-template-columns: 1fr;
  }
  .inner { padding-top: 118px; }
  .title { font-size: clamp(2.45rem, 14vw, 4.4rem); }
  .title.sm, .final-quote { font-size: clamp(2.1rem, 11vw, 3.7rem); }
  .price-row, .total {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .total { display: grid; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .phone-shot.lifted { transform: none; }
  .phone-shot { min-height: 360px; }
}

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