/*
 * NextStop editorial redesign
 *
 * This layer intentionally changes presentation only. The original page
 * remains the source of all content and behavior, which keeps the redesign
 * easy to audit or remove without disturbing waitlist and demo logic.
 */

:root {
  --editorial-ink: #080b10;
  --editorial-ink-2: #10151d;
  --editorial-paper: #f4f1e9;
  --editorial-paper-2: #e9e5db;
  --editorial-blue: #4f75ff;
  --editorial-blue-dark: #2649d8;
  --editorial-line: rgba(255, 255, 255, 0.15);
  --editorial-line-dark: rgba(8, 11, 16, 0.15);
  --editorial-muted: rgba(244, 241, 233, 0.66);
  --pink: var(--editorial-blue);
  --pink-bright: #6c8aff;
  --violet: #7a68ff;
  --violet-deep: #3d55da;
  --bg-0: var(--editorial-ink);
  --bg-1: #0c1016;
  --bg-2: #111722;
  --rule: var(--editorial-line);
}

html,
body {
  background: var(--editorial-ink);
}

body {
  color: var(--editorial-paper);
  background:
    radial-gradient(circle at 82% 7%, rgba(79, 117, 255, 0.16), transparent 31rem),
    var(--editorial-ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.mesh-bg {
  opacity: 0.2;
}

.mesh-bg .cloud-streak,
.mesh-bg .shooting-star,
.mesh-bg .moon,
.mesh-bg .constellation,
.mesh-bg .aurora {
  display: none;
}

.mesh-bg .star {
  opacity: 0.26;
  animation: none;
}

.container {
  width: min(100%, 1320px);
  max-width: none;
  padding-inline: clamp(24px, 5vw, 76px);
}

h1,
h2,
h3,
h4,
.brand {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.grad-text {
  color: var(--editorial-blue);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.pill,
.eyebrow {
  border: 0;
  border-radius: 0;
  padding: 0;
  color: currentColor;
  background: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.pill::before,
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.pill-grad {
  color: #93a8ff;
}

.reveal {
  transform: translateY(18px);
  transition-duration: 700ms;
}

/* A few legacy headings use the directional helper without `.reveal`.
   They are not observed by the reveal script, so the old 40px offset
   otherwise remains forever and pushes the heading into the next line. */
.reveal-up:not(.reveal) {
  transform: none;
}

/* Navigation */
nav.top {
  height: 76px;
  padding: 0 clamp(24px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(8, 11, 16, 0.88), rgba(8, 11, 16, 0));
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

nav.top.scrolled {
  height: 64px;
  padding: 0 clamp(24px, 4vw, 64px);
  background: rgba(8, 11, 16, 0.88);
  border-bottom: 1px solid var(--editorial-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

nav.top .brand {
  font-size: 20px;
  letter-spacing: -0.04em;
}

nav.top .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: none;
}

nav.top .nav-links {
  gap: 34px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

nav.top .nav-links a {
  color: rgba(244, 241, 233, 0.68);
}

nav.top .nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(244, 241, 233, 0.72);
  border-radius: 999px;
  background: rgba(244, 241, 233, 0.98);
  color: var(--editorial-ink);
  box-shadow: none;
}

nav.top .nav-links a.nav-cta {
  color: var(--editorial-ink);
}

@media (hover: hover) and (pointer: fine) {
  nav.top .nav-cta:hover:not(:active) {
    color: white;
    background: var(--editorial-blue);
    border-color: var(--editorial-blue);
    box-shadow: 0 14px 36px rgba(79, 117, 255, 0.28);
  }
}

/* Hero: one poster composition, app image as the visual anchor. */
.hero {
  min-height: 100svh;
  align-items: flex-start;
  justify-content: center;
  padding: 132px max(24px, calc((100vw - 1320px) / 2 + 76px)) 80px;
  text-align: left;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, var(--editorial-ink) 0%, rgba(8, 11, 16, 0.97) 36%, rgba(8, 11, 16, 0.48) 64%, rgba(8, 11, 16, 0.08) 100%),
    linear-gradient(0deg, var(--editorial-ink) 0%, transparent 22%);
}

.hero::after {
  content: none;
}

.hero .top-eyebrow {
  margin-bottom: 28px;
  color: #aab8ef;
  animation: editorialFadeUp 520ms 40ms var(--ease-out) both;
}

.hero h1 {
  width: min(710px, 58vw);
  margin: 0;
  color: var(--editorial-paper);
  font-size: clamp(58px, 7.5vw, 118px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.072em;
  animation: editorialFadeUp 620ms 60ms var(--ease-out) both;
}

.hero h1 .line {
  display: block;
}

.hero h1 .accent {
  color: var(--editorial-blue);
  -webkit-text-fill-color: currentColor;
  background: none;
}

.hero .msg-bubble {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  box-shadow: none;
}

.hero p.sub {
  width: min(620px, 48vw);
  max-width: 620px;
  margin: 34px 0 0;
  color: rgba(244, 241, 233, 0.72);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.58;
  text-align: left;
  animation: editorialFadeUp 620ms 130ms var(--ease-out) both;
}

.hero .cta-row {
  justify-content: flex-start;
  margin-top: 36px;
  animation: editorialFadeUp 620ms 180ms var(--ease-out) both;
}

@keyframes editorialFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero .btn {
  min-height: 54px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 14px;
}

.hero .btn.primary {
  color: white;
  background: var(--editorial-blue);
  box-shadow: 0 16px 42px rgba(79, 117, 255, 0.3);
}

.hero .btn.secondary {
  color: var(--editorial-paper);
  background: transparent;
  border: 1px solid rgba(244, 241, 233, 0.35);
}

.hero .chat-bubble {
  display: none;
}

/* Product sculpture
   The object is intentionally conceptual. It can be expressive without
   becoming a false screenshot of the shipping app. */
.hero > .hero-object-stage {
  --scene-lift: 0px;
  --scene-turn: 0deg;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: absolute;
  z-index: 1;
  top: 50%;
  right: max(2vw, calc((100vw - 1440px) / 2));
  width: min(48vw, 680px);
  aspect-ratio: 1;
  perspective: 1300px;
  transform: translate3d(0, calc(-50% + var(--scene-lift)), 0) rotateZ(var(--scene-turn));
  transform-style: preserve-3d;
  transition: transform 120ms linear;
  pointer-events: none;
  animation: nsObjectArrive 800ms 50ms var(--ease-out) both;
}

@keyframes nsObjectArrive {
  from { opacity: 0; translate: 70px 24px; scale: 0.92; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

.ns-object-shadow,
.sculpture-floor {
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 7%;
  height: 20%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  filter: blur(32px);
  transform: translateZ(-80px) rotateX(70deg);
}

/* Real-satellite hero card. Actual USGS aerial imagery of the Jersey City
   waterfront (public domain), tilted like a map you're holding. Replaces the
   abstract platter: real ground, a drawn route, the app's own pin language. */
.sat-card {
  position: absolute;
  inset: 7% 1% 11% 1%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 30px;
  background: #0a0f16;
  transform: rotateX(calc(8deg + var(--tilt-y))) rotateY(calc(-14deg + var(--tilt-x))) rotateZ(1.6deg);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
  box-shadow:
    0 60px 110px rgba(0, 0, 0, 0.6),
    0 22px 44px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sat-img {
  position: absolute;
  inset: -7%;
  background: url("assets/sat-hero.jpg") center / cover no-repeat;
  animation: satDrift 44s ease-in-out infinite alternate;
}

@keyframes satDrift {
  from { transform: scale(1.03) translate(0.8%, 0.6%); }
  to   { transform: scale(1.11) translate(-1.5%, -1.2%); }
}

.sat-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 92% at 76% 30%, transparent 44%, rgba(5, 8, 13, 0.44) 100%),
    linear-gradient(112deg, rgba(5, 8, 13, 0.5) 0%, transparent 40%),
    linear-gradient(0deg, rgba(5, 8, 13, 0.42) 0%, transparent 32%);
}

.sat-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sat-route-glow,
.sat-route-line {
  fill: none;
  stroke-linecap: round;
}

.sat-route-glow {
  stroke: rgba(123, 157, 255, 0.5);
  stroke-width: 12;
  filter: blur(6px);
}

.sat-route-line {
  stroke: url(#satRouteGradient);
  stroke-width: 5;
  stroke-dasharray: 110;
  /* Draws itself right after the pins land — the "planned route" moment
     happens on load, not only if the visitor happens to scroll. */
  animation: satRouteDraw 1300ms var(--ease-out) 1500ms both;
  filter: drop-shadow(0 0 8px rgba(101, 132, 255, 0.75));
}

@keyframes satRouteDraw {
  from { stroke-dashoffset: 110; }
  to   { stroke-dashoffset: 0; }
}

.sat-pin {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 6px;
  transform: translate(-50%, -50%) translateZ(46px);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
  animation: satPinIn 620ms var(--ease-out) both;
}

.sat-pin i {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  font-size: 21px;
  font-style: normal;
  background: rgba(10, 14, 22, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 2.5px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.sat-pin b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  background: rgba(8, 11, 17, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 5px 9px;
}

.sat-pin-you  { left: 16%; top: 76%; animation-delay: 680ms; }
.sat-pin-a    { left: 40%; top: 52%; animation-delay: 940ms; }
.sat-pin-b    { left: 83%; top: 21%; animation-delay: 1180ms; }

.sat-pin-you i {
  width: 24px;
  height: 24px;
  background: radial-gradient(circle at 32% 28%, #9db6ff, #4f75ff 62%, #2b48c9);
  border-width: 3px;
  box-shadow: 0 0 0 8px rgba(79, 117, 255, 0.2), 0 8px 18px rgba(0, 0, 0, 0.5);
}

@keyframes satPinIn {
  from { opacity: 0; transform: translate(-50%, -28%) translateZ(46px) scale(0.55); }
  to   { opacity: 1; transform: translate(-50%, -50%) translateZ(46px) scale(1); }
}

.sat-eta {
  position: absolute;
  left: 60%;
  top: 8.5%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transform: translateZ(58px);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(9, 12, 19, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 9px 13px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  animation:
    satPinIn 620ms var(--ease-out) 1420ms both,
    satEtaFloat 5.5s ease-in-out 2.2s infinite alternate;
}

.sat-eta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d97a;
  box-shadow: 0 0 10px rgba(53, 217, 122, 0.9);
}

@keyframes satEtaFloat {
  from { translate: 0 0; }
  to   { translate: 0 -7px; }
}

.sat-loc {
  position: absolute;
  right: 4.5%;
  bottom: 5.5%;
  transform: translateZ(30px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(9, 12, 19, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 7px 11px;
  animation: satPinIn 620ms var(--ease-out) 1560ms both;
}

.ns-object-legend {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 1%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  color: rgba(244, 241, 233, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 10, 15, 0.72);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  translate: -50% 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ns-object-legend i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--editorial-blue);
}

/* Smaller physical objects replace the old screenshot frames. */
.feature-sculpture {
  --object-shift: 0px;
  --object-turn: 0deg;
  position: relative;
  width: min(100%, 440px);
  height: 520px;
  margin-inline: auto;
  perspective: 1100px;
  transform: translate3d(0, var(--object-shift), 0) rotateZ(var(--object-turn));
  transform-style: preserve-3d;
  transition: transform 120ms linear;
}

.feature-sculpture.reveal,
.feature-sculpture.reveal.in {
  transform: translate3d(0, var(--object-shift), 0) rotateZ(var(--object-turn));
}

.feature-sculpture .sculpture-floor {
  left: 9%;
  right: 9%;
  bottom: 3%;
  height: 19%;
}

.object-caption {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 1%;
  padding: 9px 14px;
  color: rgba(244, 241, 233, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 11, 16, 0.78);
  translate: -50% 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
}

.route-sculpture svg {
  position: absolute;
  inset: 4% 2% 8%;
  width: 96%;
  height: 88%;
  overflow: visible;
  transform: rotateX(55deg) rotateZ(-8deg) translateZ(8px);
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.36));
}

.route-rail {
  fill: none;
  stroke: var(--editorial-blue);
  stroke-width: 12;
  stroke-linecap: round;
  filter: drop-shadow(0 0 12px rgba(79, 117, 255, 0.45));
}

.route-rail-shadow {
  stroke: #05080d;
  stroke-width: 32;
  filter: none;
}

.route-puck {
  position: absolute;
  z-index: 5;
  display: grid;
  width: 74px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--editorial-ink);
  border: 2px solid white;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 25%, white 0 7%, #dce4ff 18%, #7999ff 52%, #2746b4 100%);
  box-shadow: 0 14px 0 #172661, 0 28px 36px rgba(0, 0, 0, 0.42), 0 0 28px rgba(79, 117, 255, 0.26);
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
}

.route-puck-one { left: 4%; bottom: 15%; }
.route-puck-two { left: 38%; top: 38%; }
.route-puck-three { right: 5%; top: 10%; }

.route-beam {
  position: absolute;
  z-index: 1;
  top: 3%;
  right: 10%;
  width: 120px;
  height: 310px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(98, 131, 255, 0.32), transparent 72%);
  filter: blur(18px);
  transform: rotate(18deg);
}

.radar-sculpture {
  height: 500px;
  transform-style: preserve-3d;
}

.radar-grid {
  position: absolute;
  inset: 12% 6% 15%;
  overflow: hidden;
  border: 1px solid rgba(157, 182, 255, 0.4);
  border-radius: 50%;
  /* Real satellite ground under the radar sweep — the fake grid read as
     placeholder art. A soft blue scan tint keeps the signal language. */
  background:
    radial-gradient(circle at 50% 50%, rgba(38, 64, 152, 0.14), rgba(6, 10, 18, 0.5) 82%),
    url("assets/sat-wide.jpg") center / cover no-repeat;
  box-shadow: 0 13px 0 #0b1220, 0 42px 72px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: rotateX(58deg) rotateZ(-14deg);
}

.radar-ring {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 46%;
  border: 1px solid rgba(117, 149, 255, 0.46);
  border-radius: 50%;
  translate: -50% -50%;
  transform: rotateX(58deg) rotateZ(-14deg);
}

.radar-ring-a { width: 32%; aspect-ratio: 1; }
.radar-ring-b { width: 56%; aspect-ratio: 1; }
.radar-ring-c { width: 80%; aspect-ratio: 1; }

.radar-sweep {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 46%;
  width: 36%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--editorial-blue), transparent);
  box-shadow: 0 0 16px rgba(79, 117, 255, 0.82);
  transform-origin: left center;
  animation: nsRadarSweep 6s linear infinite;
}

@keyframes nsRadarSweep {
  to { transform: rotate(360deg); }
}

.radar-pin {
  position: absolute;
  z-index: 5;
  width: 22px;
  aspect-ratio: 1;
  border: 3px solid white;
  border-radius: 50% 50% 50% 10%;
  background: var(--editorial-blue);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.42), 0 0 18px rgba(79, 117, 255, 0.5);
  transform: rotate(-45deg);
}

.radar-pin-a { left: 25%; top: 46%; }
.radar-pin-b { left: 48%; top: 29%; width: 28px; }
.radar-pin-c { right: 21%; top: 53%; }
.radar-pin-d { left: 46%; bottom: 22%; width: 18px; background: var(--editorial-paper); }

.memory-sculpture {
  height: 500px;
  margin-top: 18px;
}

.memory-slab {
  position: absolute;
  left: 50%;
  top: 45%;
  display: grid;
  width: 72%;
  aspect-ratio: 1.45;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(31, 43, 65, 0.92), rgba(8, 13, 22, 0.92));
  box-shadow: 0 20px 0 rgba(8, 12, 20, 0.92), 0 42px 70px rgba(0, 0, 0, 0.46);
  transform-style: preserve-3d;
}

.memory-slab i {
  display: block;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(105, 135, 227, 0.58), rgba(35, 49, 85, 0.8));
}

.memory-slab i:first-child { grid-row: 1 / 3; }
.memory-slab i:nth-child(2) { background: linear-gradient(145deg, #b6c5f6, #4b64ae); }
.memory-slab i:nth-child(3) { background: linear-gradient(145deg, #435c9b, #1b2744); }

/* The visible top layer holds REAL places (your actual taste memory), not
   blank blue panes: a neon storefront, a warm cafe, a beach bonfire. The
   ghost layers behind stay abstract — they're the "over time" depth. */
.memory-slab-front i {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-size: cover;
  background-position: center;
}

.memory-slab-front i:first-child {
  background-image:
    linear-gradient(rgba(8, 12, 20, 0.08), rgba(8, 12, 20, 0.26)),
    url("assets/place-neon.jpg");
}

.memory-slab-front i:nth-child(2) {
  background-image:
    linear-gradient(rgba(8, 12, 20, 0.08), rgba(8, 12, 20, 0.24)),
    url("assets/place-cafe.jpg");
}

.memory-slab-front i:nth-child(3) {
  background-image:
    linear-gradient(rgba(8, 12, 20, 0.08), rgba(8, 12, 20, 0.24)),
    url("assets/place-beach.jpg");
}

.memory-slab-back {
  opacity: 0.34;
  transform: translate(-50%, -66%) rotateX(58deg) rotateZ(-17deg) translateZ(-34px);
}

.memory-slab-mid {
  opacity: 0.68;
  transform: translate(-50%, -56%) rotateX(58deg) rotateZ(-9deg) translateZ(0);
}

.memory-slab-front {
  transform: translate(-50%, -46%) rotateX(40deg) rotateZ(1deg) translateZ(44px);
}

.memory-core {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 42%;
  width: 86px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, white 0 8%, #97afff 24%, #4f75ff 58%, #182c79 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.44), 0 0 46px rgba(79, 117, 255, 0.58);
  translate: -50% -50%;
}

/* Manifesto: warm editorial interlude. */
.manifesto {
  padding: clamp(100px, 14vw, 190px) 0;
  color: var(--editorial-ink);
  background: var(--editorial-paper);
}

.manifesto .container {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.65fr);
  gap: 40px 8vw;
  align-items: end;
}

.manifesto .quote {
  max-width: 1000px;
  color: var(--editorial-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(44px, 6.4vw, 94px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.manifesto .quote .grey {
  color: rgba(8, 11, 16, 0.34);
}

.manifesto .signoff {
  margin: 0;
  color: rgba(8, 11, 16, 0.64);
  font-size: 16px;
  line-height: 1.6;
}

.manifesto .signal-row {
  grid-column: 1 / -1;
  justify-content: flex-start;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--editorial-line-dark);
  border-bottom: 1px solid var(--editorial-line-dark);
}

.manifesto .signal-chip {
  padding: 18px clamp(12px, 2vw, 30px);
  color: rgba(8, 11, 16, 0.7);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--editorial-line-dark);
  border-radius: 0;
  font-size: 12px;
}

.manifesto .signal-chip:first-child { padding-left: 0; }
.manifesto .signal-chip:last-child { border-right: 0; }

/* Shared chapter typography and rhythm. */
.ai-planner,
.how,
.area-search,
.rally-demo-section,
.night,
.travel,
.personal-ai,
.tiers,
.privacy,
.waitlist {
  position: relative;
  z-index: 1;
  padding-block: clamp(100px, 12vw, 170px);
}

.planner-head,
.how-head,
.night-head,
.tiers .head {
  margin-bottom: clamp(56px, 7vw, 96px);
}

.planner-head h2,
.how-head h2,
.area-search h2,
.rally-demo-head h2,
.night-head h2,
.travel h2,
.personal-ai h2,
.tiers .head h2,
.privacy h2,
.waitlist h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

/* AI planner: remove the startup-card styling and let the conversation lead. */
.ai-planner {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 48%, rgba(79, 117, 255, 0.16), transparent 30rem),
    var(--editorial-ink);
}

.planner-head {
  max-width: 1080px;
  margin-inline: auto;
}

.planner-head .lede {
  max-width: 760px;
  color: var(--editorial-muted);
  font-size: 18px;
}

.planner-row {
  max-width: 1160px;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.72fr);
  gap: clamp(46px, 8vw, 110px);
}

.planner-chat-wrap {
  perspective: 1300px;
}

.planner-object {
  --object-shift: 0px;
  --object-turn: 0deg;
  position: relative;
  width: min(100%, 620px);
  min-height: 570px;
  margin-inline: auto;
  transform: translate3d(0, var(--object-shift), 0) rotateZ(var(--object-turn));
  isolation: isolate;
  transform-style: flat;
  transition: transform 120ms linear;
}

.planner-object::before {
  content: "";
  position: absolute;
  inset: 7% 4% 10%;
  z-index: 1;
  border: 1px solid rgba(150, 178, 255, 0.28);
  border-radius: 48%;
  /* Night-graded real satellite (from the hero's imagery) — a moody map
     table the tickets sit on, instead of the fake blueprint grid. */
  background:
    radial-gradient(circle at 58% 42%, rgba(79, 117, 255, 0.18), transparent 42%),
    url("assets/sat-night.jpg") center / cover no-repeat;
  box-shadow:
    0 8px 0 #05080d,
    0 18px 0 #101a29,
    0 58px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  transform: rotateX(58deg) rotateZ(-7deg) translateZ(-20px);
}

.planner-object-shadow {
  position: absolute;
  z-index: 0;
  left: 10%;
  right: 10%;
  bottom: 5%;
  height: 18%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.68);
  filter: blur(32px);
  transform: rotateX(72deg) translateZ(-80px);
}

.planner-input-ticket,
.planner-reason-ticket,
.planner-ticket {
  position: absolute;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 5px 0 rgba(3, 5, 9, 0.95),
    0 20px 46px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.planner-input-ticket {
  top: 5%;
  left: 3%;
  width: 62%;
  padding: 17px 20px;
  color: #0a0d12;
  border-color: rgba(255, 255, 255, 0.72);
  border-radius: 19px;
  background: linear-gradient(145deg, #fffdf7, #dfe6f7);
  transform: rotateZ(-5deg) translateZ(70px);
}

.planner-input-ticket span,
.planner-reason-ticket span {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.planner-input-ticket strong {
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.2;
}

.planner-route-stack {
  position: absolute;
  z-index: 7;
  inset: 22% 9% 23% 13%;
  transform: rotateZ(2deg) translateZ(95px);
}

.planner-ticket {
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: center;
  min-height: 96px;
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, #212b3c, #0c111a 72%);
}

.planner-ticket-one { top: 0; transform: translate3d(-2%, 0, 28px); }
.planner-ticket-two { z-index: 8; bottom: 0; transform: translate3d(4%, 0, 58px); }

.planner-ticket-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: var(--editorial-blue);
  box-shadow: 0 6px 0 #1f3fa8, 0 16px 30px rgba(79, 117, 255, 0.28);
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.planner-ticket strong,
.planner-ticket small { display: block; }
.planner-ticket strong { color: white; font-size: clamp(17px, 2.1vw, 22px); line-height: 1.15; }
.planner-ticket small { margin-top: 6px; color: rgba(255, 255, 255, 0.58); font-size: 12px; line-height: 1.35; }

.planner-route-line {
  position: absolute;
  z-index: -1;
  top: 42%;
  left: 24px;
  width: 5px;
  height: 25%;
  border-radius: 999px;
  background: linear-gradient(var(--editorial-blue), #9ab0ff);
  box-shadow: 0 0 22px rgba(79, 117, 255, 0.62);
}

.planner-route-pin {
  position: absolute;
  z-index: 2;
  top: 45%;
  left: 16px;
  width: 21px;
  height: 21px;
  border: 5px solid #0c111a;
  border-radius: 50%;
  background: #f2c978;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.38), 0 0 25px rgba(242, 201, 120, 0.46);
}

.planner-reason-ticket {
  z-index: 9;
  right: 0;
  bottom: 4%;
  width: 61%;
  padding: 17px 20px 18px;
  color: white;
  border-radius: 20px;
  background: linear-gradient(145deg, #5c7eff, #2f52c7);
  transform: rotateZ(4deg) translateZ(120px);
}

.planner-reason-ticket p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.45;
}

.planner-signal {
  position: absolute;
  z-index: 8;
  padding: 8px 11px;
  color: rgba(244, 241, 233, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(13, 18, 27, 0.92);
  box-shadow: 0 6px 0 #05080d, 0 15px 28px rgba(0, 0, 0, 0.34);
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.planner-signal-a { top: 15%; right: 4%; transform: rotate(5deg); }
.planner-signal-b { top: 47%; right: 0; transform: rotate(-4deg); }
.planner-signal-c { left: 1%; bottom: 18%; transform: rotate(4deg); }
.planner-object > .object-caption { z-index: 10; bottom: -1%; }

.planner-points {
  gap: 0;
  align-self: center;
}

.pp {
  padding: 27px 0;
  border-bottom: 1px solid var(--editorial-line);
}

.pp:first-child { border-top: 1px solid var(--editorial-line); }

.pp-ic {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(79, 117, 255, 0.15);
}

/* How it works: warm paper, enormous real app screenshot. */
.how {
  color: var(--editorial-ink);
  background: var(--editorial-paper);
}

.how .pill,
.how-head,
.how-copy,
.how-pair {
  color: var(--editorial-ink);
}

.how-head {
  max-width: 980px;
}

.how-head h2 {
  color: var(--editorial-ink);
}

.how-row {
  max-width: 1180px;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
  gap: clamp(60px, 10vw, 150px);
}

.device-shot-wrap {
  max-width: 470px;
}

.device-shot {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 42px;
  background: #07090d;
  box-shadow: 0 36px 90px rgba(5, 8, 14, 0.34);
  transition: transform 550ms var(--ease-out), box-shadow 550ms var(--ease-out);
}

.device-shot img {
  border-radius: 35px;
}

@media (hover: hover) and (pointer: fine) {
  .device-shot:hover {
    transform: translateY(-9px) rotate(-0.6deg);
    box-shadow: 0 50px 120px rgba(5, 8, 14, 0.42);
  }
}

.how-copy h3 {
  color: var(--editorial-ink);
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1;
}

.how-copy > p {
  color: rgba(8, 11, 16, 0.65);
  font-size: 18px;
}

.how-list {
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--editorial-line-dark);
}

.how-list li {
  padding: 17px 0;
  color: rgba(8, 11, 16, 0.76);
  border-bottom: 1px solid var(--editorial-line-dark);
  background: none;
}

.how-list .dot {
  width: 8px;
  height: 8px;
  background: var(--editorial-blue);
  box-shadow: none;
}

.how-pair {
  max-width: 1180px;
  gap: 0;
  margin-top: 110px;
  border-top: 1px solid var(--editorial-line-dark);
  border-bottom: 1px solid var(--editorial-line-dark);
}

.how-pair .travel-card {
  padding: 42px 5vw 46px 0;
  color: var(--editorial-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.how-pair .travel-card + .travel-card {
  padding-left: 5vw;
  border-left: 1px solid var(--editorial-line-dark);
}

.how-pair .travel-card h4 { color: var(--editorial-ink); }
.how-pair .travel-card p { color: rgba(8, 11, 16, 0.62); }
.how-pair .t-tag { color: var(--editorial-blue-dark); }

.mini-scene {
  border-color: rgba(8, 11, 16, 0.12);
  background: rgba(8, 11, 16, 0.04);
}

.mini-scene::after { display: none; }

/* Builder note: a quiet blue editorial block, not a testimonial card. */
.founder-note {
  padding-block: clamp(90px, 11vw, 150px);
  background: var(--editorial-blue-dark);
}

.founder-row {
  max-width: 1120px;
  align-items: flex-start;
  gap: clamp(42px, 8vw, 110px);
}

.founder-avatar {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  color: var(--editorial-blue-dark);
  background: var(--editorial-paper);
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.founder-eye { color: rgba(255, 255, 255, 0.68); }

.founder-headline {
  max-width: 860px;
  color: white;
  font-size: clamp(40px, 5.5vw, 74px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.founder-copy > p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.75);
}

.founder-signoff { color: white !important; }

/* Explore by area: real screenshot plus concise editorial list. */
.area-search {
  color: var(--editorial-paper);
  background:
    radial-gradient(circle at 28% 50%, rgba(79, 117, 255, 0.15), transparent 28rem),
    var(--editorial-ink-2);
}

.area-search-row {
  max-width: 1180px;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1fr);
  gap: clamp(60px, 10vw, 150px);
}

.area-search h2 {
  margin-top: 20px;
}

.area-search p {
  color: var(--editorial-muted);
  font-size: 18px;
}

.area-search ul {
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--editorial-line);
}

.area-search ul li {
  padding: 17px 0;
  border-bottom: 1px solid var(--editorial-line);
  background: transparent;
}

.area-search ul li .dot {
  color: #90a5ff;
}

/* Rally demo: an interactive product board, not a fake app screenshot. */
.rally-demo-section {
  color: var(--editorial-ink);
  background: var(--editorial-paper);
}

.rally-demo-head {
  max-width: 900px;
  margin: 0 auto 64px;
}

.rally-demo-head h2 { color: var(--editorial-ink); }
.rally-demo-head p { color: rgba(8, 11, 16, 0.62); }

.rally-demo-wrap {
  gap: 28px;
}

.rally-phone {
  width: min(100%, 760px);
  height: 520px;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(8, 11, 16, 0.18);
  border-radius: 34px;
  background: #090d14;
  box-shadow:
    0 8px 0 #d9d7d1,
    0 46px 100px rgba(5, 8, 14, 0.24);
  transform: rotateZ(-1deg);
}

.rally-phone > .notch,
.rally-phone > .phone-statusbar {
  display: none;
}

.rally-phone .rally-phone-screen {
  position: absolute;
  inset: 0;
  border-radius: 33px;
  background:
    linear-gradient(rgba(122, 149, 226, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 149, 226, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(79, 117, 255, 0.18), transparent 30%),
    #090d14;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.rally-phone .rally-chat-header {
  padding: 25px 28px 18px;
  background: rgba(8, 11, 16, 0.74);
}

.rally-phone .rally-chat-header .ch-eye {
  color: #91a6ff;
}

.rally-phone .rally-chat-header .ch-title {
  font-size: 22px;
}

.rally-phone .rally-chat-body {
  padding: 24px 28px 28px;
  color: white;
}

.rally-phone .msg-row .bubble {
  max-width: 56%;
  color: white;
}

.rally-phone .sys-card {
  width: min(100%, 560px);
  align-self: center;
  color: white;
  border-radius: 18px;
  background: rgba(18, 24, 35, 0.92);
}

.rally-phone .rally-empty .ie {
  color: #0b0f16;
  background: #f2c978;
  box-shadow: 0 8px 0 #997632, 0 24px 42px rgba(0, 0, 0, 0.3);
}

.rally-demo-btn {
  color: white;
  background: var(--editorial-blue);
  box-shadow: 0 16px 40px rgba(79, 117, 255, 0.28);
}

/* Night: a disciplined 2x2 system with hairline structure. */
.night {
  background: #0a0d12;
}

.night-head {
  max-width: 1000px;
}

.night-grid {
  max-width: 1180px;
  gap: 0;
  border-top: 1px solid var(--editorial-line);
  border-left: 1px solid var(--editorial-line);
}

.night-grid .travel-card {
  min-height: 410px;
  padding: 34px;
  border: 0;
  border-right: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.night-grid .mini-scene {
  background: #121721;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Travel: paper and type, no three-card grid chrome. */
.travel {
  color: var(--editorial-ink);
  background: var(--editorial-paper);
}

.travel h2 { color: var(--editorial-ink); }

.travel > .container > p {
  max-width: 820px;
  color: rgba(8, 11, 16, 0.62);
}

.travel-row {
  gap: 0;
  margin-top: 74px;
  border-top: 1px solid var(--editorial-line-dark);
  border-bottom: 1px solid var(--editorial-line-dark);
}

.travel-row .travel-card {
  min-height: 270px;
  padding: 38px 4vw 42px 0;
  color: var(--editorial-ink);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.travel-row .travel-card + .travel-card {
  padding-left: 4vw;
  border-left: 1px solid var(--editorial-line-dark);
}

.travel-row .travel-card h4 { color: var(--editorial-ink); }
.travel-row .travel-card p { color: rgba(8, 11, 16, 0.62); }
.travel-row .t-tag { color: var(--editorial-blue-dark); }

/* Personal AI: one quiet dark chapter with a central proof image. */
.personal-ai {
  background:
    radial-gradient(circle at 50% 55%, rgba(79, 117, 255, 0.13), transparent 35rem),
    var(--editorial-ink-2);
}

.personal-ai .container {
  max-width: 1180px;
}

.personal-ai .lede {
  color: var(--editorial-muted);
}

.ai-layers {
  gap: 0;
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
}

.ai-layer {
  min-height: 330px;
  padding: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ai-layer + .ai-layer {
  border-left: 1px solid var(--editorial-line);
}

.ai-layer::before { display: none; }

.layer-visual span {
  border-radius: 999px;
}

.personal-ai .device-shot-wrap {
  max-width: 430px;
  margin-inline: auto;
}

.ai-privacy {
  max-width: 780px;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
}

/* Pro: premium because it is clean, not because it glows. */
.tiers {
  color: var(--editorial-ink);
  background: var(--editorial-paper);
}

.tiers .head {
  max-width: 960px;
}

.tiers .head h2 { color: var(--editorial-ink); }
.tiers .head p { color: rgba(8, 11, 16, 0.62); }

.tiers .pillars {
  gap: 0;
  border-top: 1px solid var(--editorial-line-dark);
  border-bottom: 1px solid var(--editorial-line-dark);
}

.pillar-card {
  min-height: 260px;
  padding: 34px 4vw 38px 0;
  color: var(--editorial-ink);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pillar-card + .pillar-card {
  padding-left: 4vw;
  border-left: 1px solid var(--editorial-line-dark);
}

.pillar-card::before { display: none; }

.pillar-card .pillar-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--editorial-line-dark);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.pillar-card h4 { color: var(--editorial-ink); }
.pillar-card p { color: rgba(8, 11, 16, 0.62); }

.tiers .compare {
  max-width: 1120px;
  gap: 20px;
  align-items: stretch;
}

.tier {
  padding: 40px;
  color: var(--editorial-ink);
  border: 1px solid var(--editorial-line-dark);
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}

.tier::before,
.tier.pro::before { display: none; }

.tier.pro {
  color: var(--editorial-paper);
  border-color: var(--editorial-ink);
  background: var(--editorial-ink);
  box-shadow: 0 30px 70px rgba(5, 8, 14, 0.2);
}

.tier h3 { color: var(--editorial-ink); }
.tier.pro h3 { color: white; }
.tier .price { color: rgba(8, 11, 16, 0.58); }

.tier li {
  border-bottom-color: rgba(8, 11, 16, 0.12);
}

.tier.pro li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.tier li strong { color: var(--editorial-ink); }
.tier.pro li strong { color: white; }

.tier li .check,
.tier.pro li .check {
  color: currentColor;
  background: transparent;
}

.tier .tier-cta,
.tier.pro .tier-cta {
  border-radius: 999px;
}

.tier .tier-cta {
  color: var(--editorial-ink);
  border: 1px solid var(--editorial-line-dark);
  background: transparent;
}

.tier.pro .tier-cta {
  color: white;
  background: var(--editorial-blue);
  box-shadow: none;
}

.tier-badge {
  color: white;
  background: var(--editorial-blue);
}

/* Privacy: decisive blue block. */
.privacy {
  color: white;
  background: var(--editorial-blue-dark);
}

.privacy .container {
  max-width: 1120px;
}

.privacy .grad-line { display: none; }

.privacy h2 {
  max-width: 980px;
  color: white;
}

.privacy h2 .grey {
  color: rgba(255, 255, 255, 0.46) !important;
}

.privacy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.75);
}

.privacy .promises {
  gap: 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.privacy .promise {
  padding: 18px clamp(14px, 3vw, 36px);
  color: white;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  background: transparent;
}

.privacy .promise:first-child { padding-left: 0; }
.privacy .promise:last-child { border-right: 0; }

/* Waitlist: final black poster. */
.waitlist {
  min-height: 82svh;
  display: grid;
  align-items: center;
  background: #05070a;
}

.waitlist::before {
  inset: auto -10vw -32vw auto;
  width: 68vw;
  height: 68vw;
  background: radial-gradient(circle, rgba(79, 117, 255, 0.2), transparent 65%);
}

.waitlist .container {
  max-width: 920px;
  text-align: left;
}

.waitlist h2 {
  max-width: 920px;
}

.waitlist > p,
.waitlist .container > p {
  max-width: 720px;
  margin-inline: 0;
  color: var(--editorial-muted);
}

form.waitlist-form {
  max-width: 720px;
  margin-inline: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

form.waitlist-form input {
  color: white;
  background: transparent;
}

form.waitlist-form button {
  border-radius: 999px;
  background: var(--editorial-blue);
  box-shadow: none;
}

.waitlist-perks {
  justify-content: flex-start;
}

.form-success,
.waitlist .small,
.waitlist-counter {
  margin-left: 0;
  text-align: left;
}

/* Footer: flatter and more editorial. */
footer {
  background: #05070a;
  border-top: 1px solid var(--editorial-line);
}

.footer-main {
  max-width: 1320px;
  padding: 76px clamp(24px, 5vw, 76px) 64px;
  grid-template-columns: 2fr 0.65fr 0.65fr 0.65fr;
  gap: 60px;
}

.footer-brand-col .brand {
  font-size: 24px;
}

.footer-socials a {
  border-color: var(--editorial-line);
  background: transparent;
}

.footer-bottom {
  max-width: 1320px;
  padding: 24px clamp(24px, 5vw, 76px) 34px;
}

/* Mobile */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding: 128px 24px 590px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, var(--editorial-ink) 0%, rgba(8, 11, 16, 0.94) 42%, rgba(8, 11, 16, 0.15) 70%, var(--editorial-ink) 100%);
  }

  .hero > .hero-object-stage {
    top: auto;
    right: 50%;
    bottom: 28px;
    width: min(76vw, 520px);
    transform: translate3d(50%, var(--scene-lift), 0) rotateZ(var(--scene-turn));
  }

  .hero h1 {
    width: min(100%, 720px);
    font-size: clamp(58px, 13vw, 92px);
  }

  .hero p.sub { width: min(100%, 650px); max-width: 650px; }

  .manifesto .container {
    grid-template-columns: 1fr;
  }

  .manifesto .signal-row {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .manifesto .signal-chip {
    flex: 0 0 auto;
  }

  .planner-row,
  .how-row,
  .area-search-row {
    grid-template-columns: 1fr;
  }

  .how-row .device-shot-wrap,
  .area-search-row .device-shot-wrap {
    margin-inline: auto;
  }

  .how-pair,
  .travel-row,
  .tiers .pillars {
    grid-template-columns: 1fr;
  }

  .how-pair .travel-card,
  .how-pair .travel-card + .travel-card,
  .travel-row .travel-card,
  .travel-row .travel-card + .travel-card,
  .pillar-card,
  .pillar-card + .pillar-card {
    padding: 34px 0;
    border-left: 0;
    border-bottom: 1px solid var(--editorial-line-dark);
  }

  .how-pair .travel-card:last-child,
  .travel-row .travel-card:last-child,
  .pillar-card:last-child {
    border-bottom: 0;
  }

  .ai-layers {
    grid-template-columns: 1fr;
  }

  .ai-layer + .ai-layer {
    border-left: 0;
    border-top: 1px solid var(--editorial-line);
  }

  .tiers .compare {
    grid-template-columns: 1fr;
  }

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

  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  nav.top {
    height: 66px;
    padding-inline: 18px;
  }

  nav.top .brand { font-size: 18px; }
  nav.top .brand-mark { width: 30px; height: 30px; }

  .hero {
    min-height: auto;
    padding: 108px 20px 440px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 62px);
    line-height: 0.94;
    letter-spacing: -0.062em;
  }

  .hero h1 .line:last-child {
    white-space: normal;
  }

  .hero > .hero-object-stage {
    bottom: 34px;
    width: min(92vw, 360px);
  }

  .ns-object-legend {
    bottom: -2%;
    padding: 9px 12px;
    font-size: 8px;
  }

  .feature-sculpture,
  .radar-sculpture,
  .memory-sculpture {
    width: min(100%, 340px);
    height: 410px;
  }

  .planner-object {
    min-height: 480px;
  }

  .planner-input-ticket {
    left: 1%;
    width: 72%;
    padding: 14px 16px;
  }

  .planner-route-stack {
    inset: 23% 4% 24% 7%;
  }

  .planner-ticket {
    grid-template-columns: 40px 1fr;
    gap: 11px;
    min-height: 82px;
    padding: 14px;
  }

  .planner-ticket-number {
    width: 38px;
    height: 38px;
  }

  .planner-ticket strong { font-size: 16px; }
  .planner-ticket small { font-size: 10px; }

  .planner-reason-ticket {
    width: 74%;
    padding: 14px 16px;
  }

  .planner-reason-ticket p { font-size: 11px; }
  .planner-signal { font-size: 7px; }

  .rally-phone {
    width: 100%;
    height: 570px;
    border-radius: 28px;
    transform: none;
  }

  .rally-phone .rally-phone-screen { border-radius: 27px; }
  .rally-phone .rally-chat-header { padding: 22px 18px 15px; }
  .rally-phone .rally-chat-header .ch-title { font-size: 19px; }
  .rally-phone .rally-chat-body { padding: 16px; }
  .rally-phone .msg-row .bubble { max-width: 76%; }

  .route-puck {
    width: 58px;
    box-shadow: 0 10px 0 #172661, 0 22px 30px rgba(0, 0, 0, 0.38), 0 0 22px rgba(79, 117, 255, 0.24);
  }

  .memory-core {
    width: 68px;
  }

  .hero p.sub {
    width: 100%;
    margin-top: 24px;
    font-size: 16px;
  }

  .hero .cta-row {
    width: 100%;
    gap: 10px;
    margin-top: 26px;
  }

  .hero .btn {
    width: auto;
    min-height: 48px;
    padding-inline: 16px;
  }

  .hero .btn.secondary { background: rgba(8, 11, 16, 0.52); }

  /* Mobile sections should never depend on an observer firing after an
     anchor jump. The desktop retains the full entrance sequence. */
  .reveal,
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .manifesto,
  .ai-planner,
  .how,
  .area-search,
  .rally-demo-section,
  .night,
  .travel,
  .personal-ai,
  .tiers,
  .privacy,
  .waitlist {
    padding-block: 88px;
  }

  .planner-head,
  .how-head,
  .night-head,
  .tiers .head {
    text-align: left;
  }

  .planner-head h2,
  .how-head h2,
  .area-search h2,
  .rally-demo-head h2,
  .night-head h2,
  .travel h2,
  .personal-ai h2,
  .tiers .head h2,
  .privacy h2,
  .waitlist h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .how-row,
  .area-search-row {
    gap: 64px;
  }

  .how-copy h3 {
    font-size: 42px;
  }

  .how-pair { margin-top: 72px; }

  .founder-row {
    flex-direction: column;
  }

  .founder-headline { font-size: 42px; }

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

  .night-grid .travel-card {
    min-height: 0;
    padding: 24px;
  }

  .ai-layer {
    min-height: 0;
    padding: 30px 0;
  }

  .personal-ai .container {
    text-align: left;
  }

  .personal-ai .lede,
  .ai-shot-caption {
    margin-left: 0;
    margin-right: 0;
  }

  .tier {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .privacy .promises {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .privacy .promise,
  .privacy .promise:first-child {
    padding: 16px 10px 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  form.waitlist-form {
    border-radius: 22px;
  }

  form.waitlist-form button {
    border-radius: 17px;
  }

  .waitlist-perks {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 46px 28px;
  }

  .footer-brand-col { grid-column: 1 / -1; }

  .footer-bottom {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-bottom: 420px;
  }

  .hero::after {
    height: 455px;
  }

  .hero > .hero-object-stage {
    width: 300px;
  }

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

  .hero .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero .top-eyebrow,
  .hero h1,
  .hero .sub,
  .hero .cta-row {
    animation: none !important;
  }

  .hero > .hero-object-stage,
  .sat-img,
  .sat-pin,
  .sat-eta,
  .sat-loc,
  .radar-sweep,
  .feature-sculpture {
    animation: none !important;
    transition: none !important;
  }
  /* Static pins/route must still be visible when entrances are off. */
  .sat-pin, .sat-eta, .sat-loc { opacity: 1 !important; }
  .sat-route-line { stroke-dashoffset: 0 !important; animation: none !important; }
}

/* Satellite ground under the numbered route rails — the plan draws itself
   over a real neighborhood instead of floating in a void. */
.route-sculpture .sculpture-map {
  position: absolute;
  inset: 14% 5% 18%;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: url("assets/sat-hero.jpg") 32% 62% / 170% no-repeat;
  box-shadow: 0 42px 80px rgba(0, 0, 0, 0.52);
  transform: rotateX(16deg) rotateZ(-3deg);
  overflow: hidden;
}

.route-sculpture .sculpture-map::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(158deg, rgba(5, 8, 13, 0.55), rgba(5, 8, 13, 0.12) 46%, rgba(5, 8, 13, 0.58));
}

@media (max-width: 640px) {
  .sat-pin i { width: 40px; height: 40px; font-size: 17px; }
  /* The You dot must stay a dot — the generic pin rule above would
     balloon it to 40px on phones. */
  .sat-pin-you i { width: 20px; height: 20px; }
  .sat-pin b { font-size: 9px; }
  .sat-eta { left: 50%; font-size: 11px; padding: 7px 11px; white-space: nowrap; }
  .sat-loc { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   FEATURE GRID — replaces four full-height "night" sections plus
   the standalone explore + trips sections. Six features, one line
   each, no restatement.
   ───────────────────────────────────────────────────────────── */
.feature-grid-section {
  padding: clamp(90px, 12vw, 150px) 0;
  border-top: 1px solid var(--editorial-line);
}

.fg-head { margin-bottom: 46px; }

.fg-head h2 {
  margin-top: 16px;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

/* Real app screen anchoring the section */
.fg-proof {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 54px;
}

.fg-shot,
.pro-shot {
  width: min(300px, 72vw);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  overflow: hidden;
  background: #05070c;
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.6), 0 12px 26px rgba(0, 0, 0, 0.4);
}

.fg-shot img,
.pro-shot img { display: block; width: 100%; height: auto; }

.fg-proof-note {
  color: rgba(244, 241, 233, 0.5);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
  gap: 1px;
  background: var(--editorial-line);
  border: 1px solid var(--editorial-line);
  border-radius: 22px;
  overflow: hidden;
}

.fg-card {
  padding: 30px 26px 32px;
  background: var(--editorial-ink);
  transition: background 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .fg-card:hover { background: #10151f; }
}

.fg-icon { display: block; font-size: 22px; margin-bottom: 14px; }

.fg-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fg-card p {
  margin: 0;
  color: rgba(244, 241, 233, 0.6);
  font-size: 14.5px;
  line-height: 1.52;
}

/* ── Pro proof row: the real intel screen next to what it means ── */
.pro-proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  margin: 8px 0 56px;
}

.pro-proof-copy h3 {
  margin: 14px 0 12px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.pro-proof-copy p {
  margin: 0;
  color: rgba(244, 241, 233, 0.64);
  font-size: 16px;
  line-height: 1.6;
}

.pro-proof-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.pro-proof-list li {
  padding-left: 16px;
  border-left: 2px solid rgba(79, 117, 255, 0.5);
  color: rgba(244, 241, 233, 0.58);
  font-size: 14.5px;
  line-height: 1.5;
}

.pro-proof-list strong { color: var(--editorial-paper); font-weight: 700; }

@media (max-width: 860px) {
  .pro-proof { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pro-proof-list li { text-align: left; }
}
