:root {
  --navy: #131b30;
  --navy-mid: #1b2744;
  --navy-soft: #243354;
  --orange: #f69f14;
  --orange-deep: #d8860c;
  --paper: #f4efe6;
  --card: #fffdf8;
  --ink: #131b30;
  --muted: #5d6b82;
  --line: rgba(19, 27, 48, 0.1);
  --shadow: 0 18px 50px rgba(19, 27, 48, 0.12);
  --max: 1120px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Sora, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(19, 27, 48, 0.92);
  backdrop-filter: blur(14px);
  color: #fff;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img,
.logo-word {
  display: block;
  height: 2rem;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 0.86rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
}

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

.nav .cta {
  margin-left: 0.4rem;
}

/* ---------- buttons ---------- */

.cta,
.cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.cta {
  background: var(--orange);
  color: var(--navy);
}

.cta:hover {
  background: #ffb53a;
}

.cta-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.cta-ghost:hover {
  border-color: #fff;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: #0d1424 url("slider.jpg") center / cover no-repeat;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  min-height: 34rem;
  padding: 4.5rem 0 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(246, 159, 20, 0.45);
  border-radius: 999px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.1rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.lede {
  max-width: 36rem;
  margin: 1.35rem 0 1.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.scene {
  position: relative;
  min-height: 340px;
  pointer-events: none;
}

.road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 118px;
  background: none;
  border: 0;
}

.road::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    #8a6410 0 28px,
    transparent 28px 52px
  );
  opacity: 0.7;
  animation: dashes 0.7s linear infinite;
}

.rider {
  position: absolute;
  left: auto;
  right: 4%;
  bottom: 46px;
  width: min(168px, 46%);
  z-index: 2;
  animation: ease-across 4.8s ease-in-out infinite;
}

@keyframes dashes {
  to {
    background-position: -52px 0;
  }
}

@keyframes ease-across {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .road::before,
  .rider,
  .pulse {
    animation: none;
  }
}

/* ---------- sections ---------- */

.section {
  padding: 5.25rem 0;
}

.section h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.section .sub {
  margin: 0 0 2.2rem;
  color: var(--muted);
  max-width: 38rem;
}

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

.step {
  position: relative;
  padding: 1.2rem 1.15rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step .num {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.viz {
  display: grid;
  place-items: center;
  margin: 0 0 0.85rem;
  min-height: 92px;
}

.viz svg {
  width: 100%;
  height: auto;
}

.pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
  }
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.panel {
  padding: 2rem 1.8rem;
  border-radius: 28px;
}

.panel.navy {
  background: var(--navy);
  color: #fff;
}

.panel.cream {
  background: #fff;
  border: 1px solid var(--line);
}

.panel h2 {
  margin-bottom: 1.3rem;
}

.points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.panel.cream .points li {
  border-top-color: var(--line);
}

.points li:first-child {
  border-top: 0;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.points strong {
  display: block;
  margin-bottom: 0.15rem;
}

.points span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.panel.cream .points span {
  color: var(--muted);
}

/* ---------- download ---------- */

.download {
  background: var(--navy);
  color: #fff;
}

.download .section {
  padding: 4.4rem 0;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.download h2 {
  max-width: 12ch;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.play {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.4rem;
  padding: 0.45rem 1.05rem 0.45rem 0.85rem;
  border-radius: 10px;
  background: #2a3348;
  color: rgba(255, 255, 255, 0.42);
  border: 1px solid #3a455e;
  cursor: not-allowed;
}

.play svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.play small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.play b {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.soon-chip {
  position: absolute;
  top: -0.55rem;
  right: -0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.download .cta {
  min-height: 3.4rem;
  padding-inline: 1.35rem;
  border-radius: 10px;
}

/* ---------- footer ---------- */

.footer {
  padding: 0;
  background: #0e1524;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-mark {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  color: var(--orange);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  min-height: 3.1rem;
}

.footer-legal p {
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}

.socials {
  display: flex;
  gap: 0.65rem;
}

.socials a {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.socials a svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ---------- book shell (used later) ---------- */

.book-page {
  min-height: 100dvh;
  margin: 0;
  background: #0d1424 url("slider.jpg") center / cover no-repeat;
}

.phone-frame {
  width: min(440px, calc(100vw - 2rem));
  height: min(860px, calc(100dvh - 5.5rem));
  margin: 1.25rem auto 0;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.book-bar {
  display: flex;
  align-items: center;
  width: min(440px, calc(100vw - 2rem));
  margin: 0 auto;
  padding-top: 1rem;
}

.book-logo {
  display: block;
  height: 1.85rem;
  width: auto;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid,
  .steps,
  .split,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero-grid {
    padding-top: 3rem;
  }

  .scene {
    min-height: 300px;
  }

  .logo-word {
    height: 1.7rem;
  }
}
