/* Marketing landing - page-landing */

/* clip (not hidden) — overflow-x:hidden on html/body breaks position:sticky */
html:has(body.page-landing),
body.page-landing {
  overflow-x: clip;
  max-width: 100%;
}

body.page-landing {
  --landing-max: 1240px;
  --landing-section: 5.5rem;
  --landing-radius: 20px;
  --landing-surface: rgba(12, 11, 18, 0.94);
  --landing-border: rgba(255, 255, 255, 0.09);
  --landing-scroll-y: 0px;
  --landing-scroll-progress: 0;
  --landing-edge: #030205;
  --landing-edge-soft: rgba(3, 2, 5, 0);
  /* Long top fade — black dissolves into video (workflow section style) */
  --landing-top-fade: linear-gradient(
    180deg,
    var(--landing-edge) 0%,
    rgba(3, 2, 5, 0.99) 3%,
    rgba(3, 2, 5, 0.94) 8%,
    rgba(3, 2, 5, 0.82) 16%,
    rgba(3, 2, 5, 0.64) 26%,
    rgba(3, 2, 5, 0.44) 38%,
    rgba(3, 2, 5, 0.26) 50%,
    rgba(3, 2, 5, 0.12) 62%,
    rgba(3, 2, 5, 0.05) 74%,
    rgba(3, 2, 5, 0.02) 86%,
    var(--landing-edge-soft) 100%
  );
  --landing-section-top-overlay: linear-gradient(
    180deg,
    rgba(3, 2, 5, 0.96) 0%,
    rgba(3, 2, 5, 0.92) 6%,
    rgba(3, 2, 5, 0.84) 14%,
    rgba(3, 2, 5, 0.72) 24%,
    rgba(3, 2, 5, 0.54) 36%,
    rgba(3, 2, 5, 0.36) 48%,
    rgba(3, 2, 5, 0.22) 60%,
    rgba(3, 2, 5, 0.12) 72%,
    rgba(3, 2, 5, 0.06) 84%,
    rgba(3, 2, 5, 0.02) 92%,
    rgba(3, 2, 5, 0) 100%
  );
  --landing-bottom-fade: linear-gradient(
    0deg,
    rgba(3, 2, 5, 0.92) 0%,
    rgba(3, 2, 5, 0.76) 10%,
    rgba(3, 2, 5, 0.5) 22%,
    rgba(3, 2, 5, 0.28) 38%,
    rgba(3, 2, 5, 0.12) 56%,
    rgba(3, 2, 5, 0.04) 74%,
    var(--landing-edge-soft) 100%
  );
  /* Down into the next video — thin ~1in seam */
  --landing-seam-fade-top: linear-gradient(
    180deg,
    var(--landing-edge) 0%,
    rgba(3, 2, 5, 0.7) 40%,
    rgba(3, 2, 5, 0.25) 75%,
    rgba(3, 2, 5, 0) 100%
  );
  /* Exact mirror — up into the video above */
  --landing-seam-fade-bottom: linear-gradient(
    0deg,
    var(--landing-edge) 0%,
    rgba(3, 2, 5, 0.7) 40%,
    rgba(3, 2, 5, 0.25) 75%,
    rgba(3, 2, 5, 0) 100%
  );
  /* Double-sided thin seam */
  --landing-seam-bridge: linear-gradient(
    180deg,
    rgba(3, 2, 5, 0) 0%,
    rgba(3, 2, 5, 0.25) 25%,
    rgba(3, 2, 5, 0.7) 42%,
    var(--landing-edge) 50%,
    rgba(3, 2, 5, 0.7) 58%,
    rgba(3, 2, 5, 0.25) 75%,
    rgba(3, 2, 5, 0) 100%
  );
  --landing-video-mask-section: none;
  --landing-veil-tint-section: linear-gradient(
    180deg,
    rgba(3, 2, 5, 0.42) 0%,
    rgba(3, 2, 5, 0.28) 12%,
    rgba(3, 2, 5, 0.18) 24%,
    rgba(3, 2, 5, 0.12) 36%,
    rgba(3, 2, 5, 0.08) 48%,
    rgba(3, 2, 5, 0.06) 58%,
    rgba(3, 2, 5, 0.08) 70%,
    rgba(3, 2, 5, 0.22) 84%,
    rgba(3, 2, 5, 0.48) 100%
  );
  --landing-veil-tint: linear-gradient(
    180deg,
    var(--landing-edge) 0%,
    rgba(3, 2, 5, 0.72) 14%,
    rgba(3, 2, 5, 0.14) 32%,
    rgba(3, 2, 5, 0.1) 58%,
    rgba(3, 2, 5, 0.28) 82%,
    var(--landing-edge) 100%
  );
  --landing-video-feather: linear-gradient(
    180deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  --landing-topo-tint: linear-gradient(
    165deg,
    rgba(12, 11, 18, 0.84) 0%,
    rgba(12, 11, 18, 0.92) 52%,
    rgba(12, 11, 18, 0.9) 100%
  );
  background: #030205;
}

body.page-landing .main {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
  padding-top: calc(var(--brand-logo-height) + 1.5rem);
  background: transparent;
}

/* Full-bleed fog plane under absolute topbar */
body.page-landing .main.main--plane {
  padding-top: 0;
}

/* Transition scrim off — gradients handle the blend, not a flat overlay */
body.page-landing .main.main--plane::after {
  display: none;
}

/* ---- Hero plane: sticky full-viewport fog video ---- */

.landing-plane {
  position: relative;
  z-index: 3;
  margin: 0;
  color: #fff;
}

.landing-plane__track {
  position: relative;
  height: 240vh;
}

.landing-plane__sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: var(--landing-edge);
}

/* No seam band — hero fades to black via opacity */

.landing-plane__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--landing-edge) url("./pv-hero-poster.jpg?v=3") center center / cover no-repeat;
}

.landing-plane__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.22);
  transform-origin: 50% 42%;
  will-change: transform;
  filter: saturate(0.92) contrast(1.06) brightness(0.92);
  background: var(--landing-edge);
  opacity: 1;
  transition: opacity 420ms ease;
}

.landing-plane__fog {
  position: absolute;
  inset: -8%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.72;
}

.landing-plane__fog-layer {
  position: absolute;
  inset: 0;
  display: block;
  background-repeat: no-repeat;
  will-change: transform, opacity;
}

.landing-plane__fog-layer--a {
  background:
    radial-gradient(ellipse 55% 40% at 22% 68%, rgba(255, 255, 255, 0.28), transparent 68%),
    radial-gradient(ellipse 48% 36% at 78% 34%, rgba(230, 230, 240, 0.18), transparent 70%);
  filter: blur(28px);
  animation: landing-fog-drift-a 28s ease-in-out infinite alternate;
}

.landing-plane__fog-layer--b {
  background:
    radial-gradient(ellipse 70% 48% at 48% 88%, rgba(255, 255, 255, 0.22), transparent 72%),
    radial-gradient(ellipse 40% 30% at 12% 28%, rgba(210, 220, 235, 0.14), transparent 65%);
  filter: blur(42px);
  opacity: 0.85;
  animation: landing-fog-drift-b 36s ease-in-out infinite alternate;
}

.landing-plane__fog-layer--c {
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 35% 28% at 62% 18%, rgba(255, 255, 255, 0.1), transparent 60%);
  filter: blur(54px);
  opacity: 0.7;
  animation: landing-fog-drift-c 44s ease-in-out infinite alternate;
}

@keyframes landing-fog-drift-a {
  from { transform: translate3d(-3%, 2%, 0) scale(1.05); }
  to { transform: translate3d(4%, -3%, 0) scale(1.12); }
}

@keyframes landing-fog-drift-b {
  from { transform: translate3d(2%, -2%, 0) scale(1.08); }
  to { transform: translate3d(-5%, 4%, 0) scale(1.02); }
}

@keyframes landing-fog-drift-c {
  from { transform: translate3d(-2%, 0, 0) scale(1.04); }
  to { transform: translate3d(3%, -2%, 0) scale(1.1); }
}

.landing-plane__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 20%, rgba(3, 2, 5, 0.22) 72%, rgba(3, 2, 5, 0.45) 100%),
    linear-gradient(
      180deg,
      rgba(3, 2, 5, 0.36) 0%,
      transparent 18%,
      transparent 62%,
      rgba(3, 2, 5, 0.28) 100%
    );
}

.landing-plane__tiles {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  padding: 0 clamp(0.5rem, 2vw, 1.25rem);
}

.landing-plane__tiles-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.35rem);
  width: min(1080px, 90vw);
  transform: scale(0.88);
  transform-origin: 50% 48%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.landing-plane__tile {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: clamp(10px, 1.4vw, 16px);
  overflow: hidden;
  background: #0a090f;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.landing-plane__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.12);
  transform-origin: center center;
}

/* Bias left so the survey instrument isn't clipped on the edge */
.landing-plane__tile--survey img {
  object-position: 18% center;
}

.landing-plane__copy {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
  padding: max(7rem, calc(var(--brand-logo-height) * 0.55)) 1.5rem 4rem;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.landing-plane__prehead {
  position: absolute;
  top: clamp(6.5rem, 28vh, 34vh);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  max-width: min(52rem, calc(100% - 2rem));
  text-align: center;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 2.1vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
  will-change: transform, opacity;
  white-space: normal;
  box-sizing: border-box;
  padding-inline: 0.5rem;
  min-height: 1.25em;
}

.landing-plane__prehead.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.92em;
  margin-left: 0.12em;
  vertical-align: -0.06em;
  background: rgba(255, 255, 255, 0.92);
  animation: landing-scroll-caret 0.72s step-end infinite;
}

@keyframes landing-scroll-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.landing-plane__title {
  margin: 0;
  max-width: min(18ch, calc(100% - 1rem));
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 6.8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: normal;
  text-wrap: balance;
  padding-inline: 0.35rem;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.62),
    0 0 72px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(0, 0, 0, 0.35);
  will-change: transform, opacity;
}

.landing-plane__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vh, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--sans, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand, #f87171);
  opacity: var(--scroll-cue-opacity, 1);
  transition: opacity 0.35s ease;
  will-change: opacity, transform;
  z-index: 2;
}

.landing-plane__scroll.is-typed,
.landing-plane__scroll.is-typing {
  animation: landing-red-throb 1.55s ease-in-out infinite;
}

.landing-plane__scroll.is-scrolled-away,
.landing-plane__scroll.is-scrolled-away.is-typed,
.landing-plane__scroll.is-scrolled-away.is-typing {
  animation: none;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.landing-plane__tips {
  position: absolute;
  left: max(0.9rem, env(safe-area-inset-left, 0px));
  right: max(0.9rem, env(safe-area-inset-right, 0px));
  bottom: clamp(1.5rem, 4vh, 2.75rem);
  height: 2.55rem;
  pointer-events: none;
  z-index: 1;
  will-change: opacity;
}

.landing-plane__tip {
  position: absolute;
  top: 50%;
  bottom: auto;
  margin: 0;
  max-width: min(38vw, 13rem);
  font-family: var(--sans, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand, #f87171);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  opacity: 0.92;
  transform-origin: center;
  pointer-events: auto;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.landing-plane__tip:hover,
.landing-plane__tip:focus-visible {
  color: #fecaca;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  outline: none;
}

.landing-plane__tip.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 0.1em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: landing-scroll-caret 0.72s step-end infinite;
}

@keyframes landing-red-throb {
  0%, 100% {
    opacity: calc(var(--scroll-cue-opacity, 1) * 0.28);
    filter: brightness(0.72) saturate(0.85);
  }
  50% {
    opacity: calc(var(--scroll-cue-opacity, 1) * 1);
    filter: brightness(1.65) saturate(1.45);
  }
}

.landing-plane__scroll i {
  display: block;
  width: 3px;
  height: 2.55rem;
  border-radius: 2px;
  opacity: 0;
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.95), transparent);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-plane__scroll.is-typed i {
  opacity: 1;
  animation: landing-scroll-pulse 1.6s ease-in-out infinite;
}

@keyframes landing-scroll-pulse {
  0%, 100% { opacity: 0.12; transform: scaleY(0.42); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1.08); transform-origin: top; }
}

/* Next section rises over the hero plane — content scrolls over crossfading media */
.landing-plane-rise {
  position: relative;
  z-index: 4;
  margin-top: -30vh;
  padding-top: clamp(4.5rem, 10vh, 7rem);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  will-change: auto;
}

/* Soft black bridge while section 2 rises — hero simply fades to black */
.landing-plane-rise::before {
  display: none;
}

.landing-plane-rise > .site-shell {
  position: relative;
  z-index: 1;
  padding-top: clamp(1.25rem, 3vh, 2.25rem);
}

/* Second section: content over black (no sticky video) */
.landing-hero--showcase {
  position: relative;
  isolation: isolate;
  padding-top: clamp(4vh, 7vh, 9vh);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
  gap: 1in;
  background: transparent;
}

.landing-section-dwell {
  display: none;
}

.landing-hero--showcase > .landing-hero__showcase,
.landing-hero--showcase > .landing-hero__body {
  position: relative;
  z-index: 3;
}

.landing-section-bg {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  position: sticky;
  top: 0;
  align-self: start;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin-left: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--landing-edge);
}

.landing-section-bg::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  pointer-events: none;
  height: 1in;
  opacity: var(--section-video-opacity, 0);
  background: var(--landing-seam-fade-top);
}

.landing-section-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  pointer-events: none;
  height: 1in;
  opacity: var(--section-video-opacity, 0);
  background: var(--landing-seam-fade-bottom);
}

.landing-section-bg__video {
  position: absolute;
  left: 0;
  right: 0;
  top: -5%;
  display: block;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transform: scale(1.28);
  transform-origin: 50% 48%;
  will-change: opacity, transform;
  filter: saturate(0.92) contrast(1.06) brightness(0.92);
  background: var(--landing-edge);
  -webkit-mask-image: var(--landing-video-feather);
  mask-image: var(--landing-video-feather);
}

.landing-section-bg__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: var(--section-video-opacity, 0);
  background:
    var(--landing-veil-tint-section),
    radial-gradient(ellipse 75% 55% at 50% 40%, transparent 28%, rgba(3, 2, 5, 0.14) 100%);
}

.landing-hero--showcase > .landing-hero__showcase,
.landing-hero--showcase > .landing-hero__body {
  position: relative;
  z-index: 3;
}

/* Card reveals: slow fade + rise — Izanami pace (uses transform; haptic uses translate) */
[data-scroll-card] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-scroll-card].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Workflow / What we are — slower section fades */
.landing-fog-rest [data-scroll-card] {
  transform: translate3d(0, 44px, 0);
  transition:
    opacity 2.15s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-fog-rest [data-scroll-card].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ---- Fog rest of page (from workflow onward) ---- */

.landing-fog-rest {
  position: relative;
  z-index: 3;
  isolation: isolate;
  margin-top: 0;
  padding-top: 0;
  background: transparent;
}

.landing-fog-rest::before {
  display: none;
}

.landing-fog-rest__media {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin-left: 0;
  margin-bottom: calc(-100vh);
  margin-bottom: calc(-100dvh);
  overflow: hidden;
  pointer-events: none;
  background: var(--landing-edge);
}

.landing-fog-rest__media::before,
.landing-fog-rest__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 4;
  pointer-events: none;
}

.landing-fog-rest__media::before {
  top: 0;
  height: 1in;
  opacity: var(--fog-video-opacity, 0);
  background: var(--landing-seam-fade-top);
}

.landing-fog-rest__media::after {
  display: none;
  bottom: 0;
  height: min(42vh, 360px);
  opacity: var(--fog-video-reveal, 1);
  background: var(--landing-bottom-fade);
}

.landing-fog-rest__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.12);
  transform-origin: 50% 42%;
  will-change: opacity, transform;
  filter: saturate(0.94) contrast(1.04) brightness(0.96);
  background: var(--landing-edge);
  -webkit-mask-image: none;
  mask-image: none;
}

.landing-fog-rest__fog {
  position: absolute;
  inset: -8%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: calc(0.4 * var(--fog-video-opacity, 0));
}

.landing-fog-rest__fog-layer {
  position: absolute;
  inset: 0;
  display: block;
}

.landing-fog-rest__fog-layer--a {
  background:
    radial-gradient(ellipse 55% 40% at 22% 68%, rgba(255, 255, 255, 0.26), transparent 68%),
    radial-gradient(ellipse 48% 36% at 78% 34%, rgba(230, 230, 240, 0.16), transparent 70%);
  filter: blur(28px);
  animation: landing-fog-drift-a 28s ease-in-out infinite alternate;
}

.landing-fog-rest__fog-layer--b {
  background:
    radial-gradient(ellipse 70% 48% at 48% 88%, rgba(255, 255, 255, 0.2), transparent 72%),
    radial-gradient(ellipse 40% 30% at 12% 28%, rgba(210, 220, 235, 0.12), transparent 65%);
  filter: blur(42px);
  opacity: 0.85;
  animation: landing-fog-drift-b 36s ease-in-out infinite alternate;
}

.landing-fog-rest__fog-layer--c {
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(255, 255, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 35% 28% at 62% 18%, rgba(255, 255, 255, 0.08), transparent 60%);
  filter: blur(54px);
  opacity: 0.7;
  animation: landing-fog-drift-c 44s ease-in-out infinite alternate;
}

.landing-fog-rest__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: var(--fog-video-opacity, 0);
  background:
    linear-gradient(
      180deg,
      rgba(3, 2, 5, 0.42) 0%,
      rgba(3, 2, 5, 0.12) 18%,
      rgba(3, 2, 5, 0.06) 40%,
      rgba(3, 2, 5, 0.06) 68%,
      rgba(3, 2, 5, 0.18) 88%,
      rgba(3, 2, 5, 0.4) 100%
    ),
    radial-gradient(ellipse 80% 60% at 50% 45%, transparent 40%, rgba(3, 2, 5, 0.1) 100%);
}

.landing-fog-rest__shell {
  position: relative;
  z-index: 2;
  padding-top: clamp(1.5rem, 4vh, 3rem);
  padding-bottom: 2rem;
}

/* Separate `translate` so it never clobbers scroll-card `transform` reveals */
.landing-fog-rest [data-haptic] {
  translate: 0 var(--haptic-y, 0px);
  transition: translate 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: translate;
}

/* Kill fixed scroll-bg under video planes — it was flickering through */
body.page-landing .landing-scroll-bg {
  display: none;
}

@media (max-width: 720px) {
  .landing-plane__track {
    height: 185vh;
  }

  .landing-plane__sticky {
    min-height: 100svh;
  }

  .landing-plane__media {
    background-position: 48% center;
  }

  .landing-plane__video {
    object-position: 48% center;
    transform: scale(1.12);
  }

  .landing-plane__copy {
    padding: max(6.25rem, calc(env(safe-area-inset-top) + 5rem)) 0.75rem max(7.25rem, calc(env(safe-area-inset-bottom) + 6.25rem));
  }

  .landing-plane__prehead {
    top: clamp(7rem, 27svh, 12.5rem);
    max-width: calc(100% - 2.5rem);
    font-size: clamp(0.72rem, 3.6vw, 0.9rem);
    line-height: 1.35;
    letter-spacing: 0.09em;
  }

  .landing-plane__title {
    max-width: min(14ch, calc(100% - 1rem));
    font-size: clamp(2.15rem, 9vw, 2.75rem);
    line-height: 1.05;
    letter-spacing: 0.018em;
  }

  .landing-plane__tips {
    left: max(0.75rem, env(safe-area-inset-left, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.25rem;
  }

  .landing-plane__tip {
    position: static;
    max-width: none;
    min-width: 0;
    transform: none !important;
    text-align: center !important;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 0.6rem;
    line-height: 1.3;
    letter-spacing: 0.11em;
  }

  .landing-plane__scroll {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }

  .landing-plane__tiles-track {
    width: min(100%, 92vw);
    gap: 0.55rem;
  }

  .landing-plane__tile {
    border-radius: 8px;
  }

  .landing-plane-rise {
    margin-top: -26vh;
    padding-top: clamp(4rem, 9vh, 6rem);
    border-radius: 0;
  }

  .landing-section-bg::before,
  .landing-section-bg::after {
    height: 1in;
  }

  .landing-fog-rest__media::before {
    height: 1in;
  }

  .landing-plane-rise::before {
    display: none;
  }

  .landing-hero--showcase {
    padding-top: clamp(4vh, 7vh, 9vh);
    padding-bottom: clamp(2rem, 5vh, 3.5rem);
  }

  .landing-hero__body {
    padding-bottom: clamp(3rem, 8vh, 5rem);
  }

  .landing-fog-rest {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-plane__video,
  .landing-section-bg__video,
  .landing-fog-rest__video {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .landing-plane__video,
  .landing-plane__title,
  .landing-plane__prehead,
  .landing-plane__scroll,
  .landing-plane__tiles-track,
  .landing-section-bg__video,
  .landing-fog-rest__video,
  .landing-fog-rest [data-haptic] {
    transform: none !important;
    translate: none !important;
  }

  .landing-section-bg__video,
  .landing-fog-rest__video {
    opacity: 1 !important;
  }

  .landing-fog-rest__fog-layer,
  .landing-plane__fog-layer,
  .landing-plane__scroll.is-typed i,
  .landing-section-dwell__cue i {
    animation: none !important;
  }

  .landing-plane__scroll.is-typed,
  .landing-plane__scroll.is-typing {
    animation: none !important;
    opacity: 0.92 !important;
    filter: none !important;
  }

  .landing-plane__scroll i {
    opacity: 1 !important;
  }

  .landing-plane__tiles {
    opacity: 0 !important;
  }

  [data-scroll-card] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---- Scroll gradient + dot background ---- */

.landing-scroll-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing-scroll-bg__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(127, 29, 29, 0.14), transparent 58%),
    radial-gradient(ellipse 60% 50% at 88% 28%, rgba(96, 165, 250, 0.06), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(69, 10, 10, 0.2), transparent 62%),
    linear-gradient(180deg, #040308 0%, #030205 48%, #020103 100%);
}

.landing-scroll-bg__base::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 0%,
    rgba(248, 113, 113, 0.04) 35%,
    transparent 55%,
    rgba(99, 102, 241, 0.04) 72%,
    transparent 100%
  );
  transform: translate3d(0, calc(var(--landing-scroll-y, 0px) * 0.08), 0);
}

.landing-scroll-bg__glow {
  position: absolute;
  width: min(92vw, 920px);
  height: min(72vh, 640px);
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  will-change: transform, opacity;
  transform: translate3d(-50%, -50%, 0);
}

.landing-scroll-bg__glow--a {
  left: var(--landing-glow-a-x, 50%);
  top: var(--landing-glow-a-y, 24%);
  background: radial-gradient(
    circle,
    rgba(248, 113, 113, 0.42) 0%,
    rgba(220, 38, 38, 0.18) 42%,
    transparent 72%
  );
}

.landing-scroll-bg__glow--b {
  left: var(--landing-glow-b-x, 82%);
  top: var(--landing-glow-b-y, 58%);
  width: min(78vw, 760px);
  height: min(58vh, 520px);
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.34) 0%,
    rgba(127, 29, 29, 0.14) 48%,
    transparent 74%
  );
  opacity: 0.48;
}

.landing-scroll-bg__glow--c {
  left: var(--landing-glow-c-x, 16%);
  top: var(--landing-glow-c-y, 70%);
  width: min(68vw, 640px);
  height: min(52vh, 460px);
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.28) 0%,
    rgba(69, 10, 10, 0.12) 50%,
    transparent 76%
  );
  opacity: 0.42;
}

.landing-scroll-bg__glow--d {
  left: var(--landing-glow-d-x, 62%);
  top: var(--landing-glow-d-y, 38%);
  width: min(52vw, 480px);
  height: min(44vh, 380px);
  filter: blur(64px);
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.22) 0%,
    rgba(59, 130, 246, 0.1) 45%,
    transparent 72%
  );
  opacity: 0.38;
}

.landing-scroll-bg__glow--e {
  left: var(--landing-glow-e-x, 38%);
  top: var(--landing-glow-e-y, 82%);
  width: min(85vw, 800px);
  height: min(40vh, 360px);
  filter: blur(88px);
  background: radial-gradient(
    ellipse 100% 80% at 50% 50%,
    rgba(251, 113, 133, 0.26) 0%,
    rgba(153, 27, 27, 0.1) 52%,
    transparent 78%
  );
  opacity: 0.5;
}

.landing-scroll-bg__dots {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--landing-dots-height, 240vh);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.landing-scroll-bg__dot {
  position: absolute;
  width: var(--dot-size, 3px);
  height: var(--dot-size, 3px);
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity, left, top;
}

.landing-scroll-bg__dot--red {
  background: rgba(248, 113, 113, 0.9);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.45);
}

.landing-scroll-bg__dot--green {
  background: rgba(147, 197, 253, 0.88);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.38);
}

.landing-scroll-bg__dot--bright {
  box-shadow:
    0 0 14px currentColor,
    0 0 28px currentColor;
}

.landing-scroll-bg__dot--bright.landing-scroll-bg__dot--red {
  color: rgba(248, 113, 113, 0.55);
}

.landing-scroll-bg__dot--bright.landing-scroll-bg__dot--green {
  color: rgba(96, 165, 250, 0.45);
}

.landing-scroll-bg__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 45%, transparent 28%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(180deg, rgba(3, 2, 5, 0.5) 0%, transparent 20%, transparent 80%, rgba(1, 1, 2, 0.45) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .landing-scroll-bg__glow,
  .landing-scroll-bg__dots {
    transform: none !important;
  }
}

body.page-landing .topbar__link[aria-current="page"] {
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Homepage topbar uses the shared site styles */
body.page-landing .topbar__inner {
  min-height: 0;
  align-items: center;
  padding-top: clamp(1rem, 2.2vw, 1.45rem);
  padding-bottom: 0.35rem;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

body.page-landing .landing-plane__copy {
  padding-top: clamp(6.5rem, 14vh, 9rem);
}

body.page-landing .site-shell {
  max-width: calc(var(--landing-max) + 48px);
}

/* ---- Hero ---- */

.landing-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4rem);
}

.landing-hero--showcase {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "showcase"
    "body";
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: visible;
}

.landing-hero__showcase {
  grid-area: showcase;
  position: relative;
  z-index: 1;
}

.landing-hero__showcase-head {
  position: relative;
  z-index: 2;
  max-width: 68rem;
  margin: 0 auto 0.85rem;
  padding-top: clamp(0.75rem, 2vh, 1.35rem);
  text-align: center;
}

.landing-hero__showcase-title {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.landing-hero__showcase-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-strong);
}

.landing-hero__showcase-frame {
  position: relative;
  max-width: min(var(--landing-max), 100%);
  width: 100%;
  margin: 1.15rem auto 0;
  padding: clamp(1rem, 2.2vw, 1.55rem);
  border-radius: calc(var(--landing-radius) + 10px);
  border: 1px solid var(--landing-border);
  overflow: visible;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.landing-showcase-cta {
  position: relative;
  z-index: 3;
  max-width: min(var(--landing-max), 100%);
  width: 100%;
  margin: 0.35rem auto 0;
}

.landing-showcase-cta__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.landing-showcase-cta__card {
  position: relative;
  margin: 0;
  padding: 0.95rem 1rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
    rgba(10, 9, 15, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.landing-showcase-cta__label {
  margin: 0 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-showcase-cta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.landing-showcase-cta__input {
  flex: 1 1 10rem;
  min-width: 0;
  margin: 0;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
}

.landing-showcase-cta__input:focus {
  outline: none;
  border-color: rgba(248, 113, 113, 0.45);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.landing-showcase-cta__row .button {
  flex: 0 0 auto;
  min-height: 2.65rem;
  padding-inline: 1rem;
}

.landing-showcase-cta__hint {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}

.landing-showcase-cta__hint.is-error {
  color: #fca5a5;
}

.landing-showcase-cta__results {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(100% - 0.15rem);
  z-index: 20;
  max-height: 14rem;
  overflow: auto;
  margin: 0;
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 10, 14, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overscroll-behavior: contain;
}

.landing-showcase-cta__hit {
  display: grid;
  gap: 0.1rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.landing-showcase-cta__hit:hover,
.landing-showcase-cta__hit.is-active,
.landing-showcase-cta__hit:focus-visible {
  background: rgba(248, 113, 113, 0.12);
  outline: none;
}

.landing-showcase-cta__hit-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.landing-showcase-cta__hit-meta {
  font-size: 0.72rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .landing-showcase-cta__grid {
    grid-template-columns: 1fr;
  }
}

.landing-hero__showcase-backdrop {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(rgba(220, 38, 38, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.07) 1px, transparent 1px),
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(127, 29, 29, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(5, 3, 8, 0.88), rgba(2, 2, 4, 0.96));
  background-size: 32px 32px, 32px 32px, auto, auto;
  z-index: 0;
  pointer-events: none;
}

.landing-hero__showcase-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 55% at 50% 100%, rgba(69, 10, 10, 0.15), transparent 60%);
}

.landing-hero__body {
  grid-area: body;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(28rem, 0.95fr);
  gap: 1in;
  align-items: stretch;
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.landing-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 1in;
  min-width: 0;
  align-self: stretch;
  height: 100%;
}

.landing-layer-stage,
.landing-hero__panel {
  width: 100%;
  box-sizing: border-box;
}

/* ---- Hero iPhone topo zoom graphic ---- */

.landing-iphone {
  display: flex;
  justify-content: center;
  padding: 0;
  perspective: 920px;
}

.landing-iphone__shell {
  position: relative;
  width: min(100%, 248px);
  padding: 9px;
  border-radius: 40px;
  background: linear-gradient(145deg, #3a3a40 0%, #1a1a1f 38%, #0d0d10 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 2px rgba(0, 0, 0, 0.85),
    0 22px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: rotateY(-6deg) rotateX(3deg);
  transform-style: preserve-3d;
}

.landing-iphone__button {
  position: absolute;
  background: linear-gradient(180deg, #4a4a52, #2a2a30);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.landing-iphone__button--silent {
  left: -2px;
  top: 88px;
  width: 3px;
  height: 18px;
}

.landing-iphone__button--volume {
  left: -2px;
  top: 112px;
  width: 3px;
  height: 28px;
}

.landing-iphone__button--power {
  right: -2px;
  top: 124px;
  width: 3px;
  height: 42px;
}

.landing-iphone__screen {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 32px;
  background: #050508;
  aspect-ratio: 9 / 19.5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.landing-iphone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 12;
  width: 34%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.landing-iphone__status {
  position: relative;
  z-index: 11;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 1.35rem 0.85rem 0.35rem;
  font-size: 0.5625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  pointer-events: none;
}

.landing-iphone__map-window {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #0a090f;
  perspective: 520px;
  transform-style: preserve-3d;
  isolation: isolate;
}

.landing-iphone__zoom-scene {
  position: absolute;
  left: -45%;
  top: -45%;
  width: 190%;
  height: 190%;
  z-index: 1;
  transform-origin: 46% 42%;
  transform-style: preserve-3d;
  will-change: transform;
  animation: landing-iphone-zoom 17s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}

.landing-iphone__topo-base {
  position: absolute;
  inset: 0;
  transform: translateZ(0);
  background:
    linear-gradient(180deg, rgba(8, 10, 16, 0.18) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.22) 100%),
    var(--hero-topo-image-sm) 56% 38% / cover no-repeat;
  filter: saturate(0.82) contrast(1.04);
  animation: landing-iphone-topo-sharpen 17s ease-in-out infinite;
}

.landing-iphone__ridges {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 52%;
  opacity: 0;
  transform: translateZ(18px) translateY(8%);
  transform-origin: center bottom;
  pointer-events: none;
  animation: landing-iphone-ridges 17s ease-in-out infinite;
}

.landing-iphone__elevation {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateZ(28px);
  background:
    linear-gradient(118deg, transparent 36%, rgba(88, 110, 148, 0.18) 44%, transparent 52%),
    linear-gradient(152deg, transparent 48%, rgba(72, 96, 130, 0.24) 56%, transparent 64%),
    linear-gradient(168deg, transparent 58%, rgba(58, 76, 108, 0.28) 66%, transparent 74%),
    radial-gradient(ellipse 72% 48% at 52% 62%, rgba(100, 130, 180, 0.16), transparent 72%);
  mix-blend-mode: soft-light;
  animation: landing-iphone-elevation 17s ease-in-out infinite;
}

.landing-iphone__terrain-shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 6%;
  height: 22%;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.42), transparent 72%);
  filter: blur(8px);
  animation: landing-iphone-terrain-shadow 17s ease-in-out infinite;
}

.landing-iphone__contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  transform: translateZ(12px);
  mix-blend-mode: screen;
  animation: landing-iphone-contours 17s ease-in-out infinite;
  pointer-events: none;
}

.landing-iphone__parcel--fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  overflow: visible;
  pointer-events: none;
  transform: translateZ(36px);
  transform-style: preserve-3d;
  animation: landing-iphone-parcel-fill-3d 17s ease-in-out infinite;
}

.landing-iphone__parcel-overlay {
  position: absolute;
  left: -45%;
  top: -45%;
  width: 190%;
  height: 190%;
  z-index: 5;
  transform-origin: 46% 42%;
  pointer-events: none;
  overflow: visible;
  will-change: transform;
  animation: landing-iphone-zoom 17s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}

.landing-iphone__parcel-stroke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.landing-iphone__parcel-fill {
  fill: rgba(248, 113, 113, 0.14);
  stroke: none;
}

.landing-iphone__parcel-glow {
  fill: none;
  stroke: rgba(248, 113, 113, 0.5);
  stroke-width: 6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: blur(0.8px);
}

.landing-iphone__parcel-halo {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 1.2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  paint-order: stroke fill;
}

.landing-iphone__parcel-line {
  fill: none;
  stroke: rgba(248, 113, 113, 1);
  stroke-width: 2.6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 8px rgba(248, 113, 113, 0.62))
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}

.landing-iphone__zoom-hud {
  position: absolute;
  left: 0.5rem;
  top: 0.45rem;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  pointer-events: none;
}

.landing-iphone__zoom-chip {
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(186, 214, 196, 0.28);
  background: rgba(0, 0, 0, 0.58);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(220, 236, 226, 0.92);
  opacity: 0;
  transform: translateY(4px);
  animation: landing-iphone-hud 17s ease-in-out infinite;
}

.landing-iphone__zoom-chip:last-child {
  animation-delay: 0.12s;
}

.landing-iphone__zoom-chip--terrain {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.34);
  animation-delay: 0.24s;
}

.landing-iphone__toolbar {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.35rem 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 8, 12, 0.92);
}

.landing-iphone__toolbar span {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.landing-iphone__toolbar span.is-active {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.38);
  background: rgba(248, 113, 113, 0.14);
}

.landing-iphone__sheet {
  flex-shrink: 0;
  padding: 0.45rem 0.65rem 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 13, 18, 0.98), rgba(8, 8, 12, 1));
}

.landing-iphone__sheet-kicker {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-iphone__sheet strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text);
}

.landing-iphone__sheet > span:last-child {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.5rem;
  color: var(--muted-strong);
}

@keyframes landing-iphone-zoom {
  0%,
  100% {
    transform: scale(1) translate(14%, 10%) rotateX(0deg) rotateZ(0deg);
  }

  14% {
    transform: scale(1) translate(14%, 10%) rotateX(0deg) rotateZ(0deg);
  }

  52% {
    transform: scale(2.65) translate(2%, 4%) rotateX(18deg) rotateZ(-2deg);
  }

  62% {
    transform: scale(3.45) translate(-1%, 2%) rotateX(56deg) rotateZ(-7deg);
  }

  78% {
    transform: scale(3.45) translate(-1%, 2%) rotateX(56deg) rotateZ(-7deg);
  }

  90% {
    transform: scale(1.35) translate(8%, 6%) rotateX(12deg) rotateZ(-2deg);
  }
}

@keyframes landing-iphone-ridges {
  0%,
  48%,
  92%,
  100% {
    opacity: 0;
    transform: translateZ(18px) translateY(12%) scale(0.98);
  }

  58%,
  82% {
    opacity: 0.68;
    transform: translateZ(22px) translateY(0) scale(1.04);
  }
}

@keyframes landing-iphone-elevation {
  0%,
  50%,
  90%,
  100% {
    opacity: 0;
  }

  60%,
  80% {
    opacity: 0.72;
  }
}

@keyframes landing-iphone-terrain-shadow {
  0%,
  52%,
  88%,
  100% {
    opacity: 0;
    transform: scaleX(0.82);
  }

  62%,
  78% {
    opacity: 0.85;
    transform: scaleX(1.08);
  }
}

@keyframes landing-iphone-topo-sharpen {
  0%,
  100% {
    filter: saturate(0.78) contrast(1.02) brightness(0.94);
  }

  52% {
    filter: saturate(0.9) contrast(1.1) brightness(0.98);
  }

  62%,
  78% {
    filter: saturate(1.05) contrast(1.22) brightness(1.06);
  }
}

@keyframes landing-iphone-contours {
  0%,
  100% {
    opacity: 0.34;
  }

  62%,
  78% {
    opacity: 0.72;
  }
}

@keyframes landing-iphone-parcel-fill-3d {
  0%,
  48%,
  92%,
  100% {
    opacity: 0.88;
    transform: translateZ(24px) rotateX(0deg) rotateZ(0deg);
  }

  58%,
  82% {
    opacity: 1;
    transform: translateZ(78px) rotateX(22deg) rotateZ(-4deg);
  }
}

@keyframes landing-iphone-hud {
  0%,
  48% {
    opacity: 0;
    transform: translateY(4px);
  }

  58%,
  80% {
    opacity: 1;
    transform: translateY(0);
  }

  92%,
  100% {
    opacity: 0;
    transform: translateY(-2px);
  }
}

.landing-layer-stage {
  padding: 0.65rem;
  border-radius: var(--landing-radius);
  border: 1px solid rgba(248, 113, 113, 0.38);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(248, 113, 113, 0.08), transparent 55%),
    rgba(10, 9, 15, 0.94);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(248, 113, 113, 0.06),
    0 0 28px rgba(248, 113, 113, 0.1);
  overflow: hidden;
}

.landing-layer-stage--embedded {
  margin-top: auto;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.85rem clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem);
  border: none;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(248, 113, 113, 0.06), transparent 58%),
    rgba(0, 0, 0, 0.28);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.landing-layer-stage--embedded .landing-layer-map {
  flex: 1 1 auto;
  min-height: 12rem;
  height: 100%;
  aspect-ratio: auto;
}

.landing-layer-stage__chrome {
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.6rem;
}

.landing-layer-map {
  position: relative;
  min-height: 10.5rem;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a090f;
  overflow: hidden;
}

.landing-layer-map__viewport {
  position: absolute;
  inset: 2.35rem 0 2.3rem;
  overflow: hidden;
}

.landing-layer-map__photo {
  position: absolute;
  inset: -4%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.22) 100%),
    image-set(
      url("./landing-aerial-parcel.avif") type("image/avif"),
      url("./landing-aerial-parcel.webp") type("image/webp"),
      url("./landing-aerial-parcel.png") type("image/jpeg")
    ) center 40% / cover no-repeat;
  filter: saturate(0.92) contrast(1.08);
}

.landing-layer-map__parcel {
  position: absolute;
  left: 34%;
  top: 28%;
  width: 22%;
  height: 26%;
  border: 2px solid rgba(248, 113, 113, 0.95);
  background: rgba(248, 113, 113, 0.14);
  box-shadow:
    0 0 0 1px rgba(248, 113, 113, 0.4),
    0 0 18px rgba(248, 113, 113, 0.28);
  z-index: 4;
}

.landing-layer-map__scores {
  position: absolute;
  left: 0.5rem;
  bottom: 0.45rem;
  z-index: 6;
  width: min(11.5rem, 52%);
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.landing-layer-map__scores-label {
  margin: 0 0 0.35rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-layer-map__scores-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.landing-layer-map__score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.22rem;
  font-size: 0.625rem;
  color: var(--muted-strong);
}

.landing-layer-map__score-band {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.landing-layer-map__score-band--high {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.12);
}

.landing-layer-map__score-band--med {
  color: #d6bcfa;
  border-color: rgba(183, 148, 244, 0.35);
  background: rgba(183, 148, 244, 0.1);
}

.landing-layer-map__score-band--low {
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.1);
}

.landing-layer-map__score-bar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.landing-layer-map__score-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 50%);
  border-radius: inherit;
}

.landing-layer-map__score-bar--fire::after {
  background: linear-gradient(90deg, #fc8181, #f56565);
}

.landing-layer-map__score-bar--flood::after {
  background: linear-gradient(90deg, #63b3ed, #4299e1);
}

.landing-layer-map__score-bar--zoning::after {
  background: linear-gradient(90deg, #b794f4, #9f7aea);
}

.landing-layer-map__legend {
  bottom: 2.55rem;
  right: 0.5rem;
}

.landing-layer-map__legend li[data-layer="fire"] i {
  background: #fc8181;
}

.landing-layer-map__legend li[data-layer="flood"] i {
  background: #63b3ed;
}

.landing-layer-map__legend li[data-layer="soils"] i {
  background: #68d391;
}

.landing-layer-map__legend li[data-layer="geology"] i {
  background: #a0aec0;
}

.landing-hero__panel {
  width: 100%;
  box-sizing: border-box;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  padding: clamp(1.35rem, 2.4vw, 1.65rem) clamp(1.4rem, 2.5vw, 1.75rem);
  border-radius: var(--landing-radius);
  border: 1px solid rgba(248, 113, 113, 0.3);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(96, 165, 250, 0.05), transparent 55%),
    var(--landing-topo-tint),
    var(--hero-topo-image-sm) 56% 38% / 210% auto no-repeat,
    var(--landing-surface);
  box-shadow:
    var(--shadow-lg),
    0 0 28px rgba(248, 113, 113, 0.08);
}

.landing-hero__panel-label {
  margin: 0 0 0.9rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-hero__panel-label--spaced {
  margin-top: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-hero__search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.landing-hero__search-input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.82rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--landing-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.landing-hero__search-input:focus {
  outline: none;
  border-color: rgba(248, 113, 113, 0.45);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.landing-hero__panel-hint {
  margin: 0 0 1.15rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.landing-hero__signals {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.landing-hero__layer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem 0.75rem;
  max-height: 14.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.landing-hero__layer-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  font-size: 0.6875rem;
  line-height: 1.25;
  color: var(--muted-strong);
}

.landing-hero__layer-list i {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--swatch, #94a3b8);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.landing-hero__layer-note {
  margin: 0.65rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--muted);
}

.landing-hero__signal {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted-strong);
}

.landing-hero__signal-bar {
  position: relative;
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.landing-hero__signal-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 50%);
  border-radius: inherit;
  animation: hero-signal-fill 2.8s ease-in-out infinite alternate;
}

.landing-hero__signal--zoning .landing-hero__signal-bar::after {
  background: linear-gradient(90deg, #b794f4, #9f7aea);
}

.landing-hero__signal--flood .landing-hero__signal-bar::after {
  background: linear-gradient(90deg, #63b3ed, #4299e1);
  animation-delay: -0.6s;
}

.landing-hero__signal--fire .landing-hero__signal-bar::after {
  background: linear-gradient(90deg, #fc8181, #f56565);
  animation-delay: -1.2s;
}

.landing-hero__signal--soils .landing-hero__signal-bar::after {
  background: linear-gradient(90deg, #68d391, #48bb78);
  animation-delay: -1.8s;
}

.landing-hero__signal--slope .landing-hero__signal-bar::after {
  background: linear-gradient(90deg, #f6ad55, #ed8936);
  animation-delay: -2.4s;
}

.landing-hero__signal--plan .landing-hero__signal-bar::after {
  background: linear-gradient(90deg, #fbd38d, #f6ad55);
  animation-delay: -3s;
}

.landing-hero__metric-icon {
  display: none;
}

.landing-hero__metrics--rich li {
  position: relative;
  padding-left: 0.15rem;
}

@keyframes hero-signal-fill {
  0% {
    opacity: 0.65;
    filter: brightness(0.92);
  }
  100% {
    opacity: 1;
    filter: brightness(1.12);
  }
}

.landing-hero__eyebrow {
  margin: 0 0 0.7rem;
}

.landing-hero__title {
  margin: 0 0 0.7rem;
  max-width: 22ch;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.1vw, 2.55rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.landing-hero__lead {
  margin: 0 0 0.95rem;
  max-width: 48rem;
  color: var(--muted-strong);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.landing-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.95rem;
  padding: 0;
  list-style: none;
}

.landing-hero__trust li {
  position: relative;
  padding: 0.42rem 0.62rem 0.42rem 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  background: rgba(52, 211, 153, 0.07);
  color: var(--muted-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-hero__trust li::before {
  content: "";
  position: absolute;
  left: 0.62rem;
  top: 50%;
  width: 0.34rem;
  height: 0.58rem;
  border: solid #6ee7b7;
  border-width: 0 2px 2px 0;
  transform: translateY(-58%) rotate(45deg);
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.85rem;
}

.landing-hero__secondary {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted-strong);
  text-decoration: none;
}

.landing-hero__secondary:hover {
  color: var(--ink);
}

.landing-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin: auto 0 0;
  padding: 0.5rem 0 0;
  list-style: none;
}

.landing-hero__metrics li {
  display: grid;
  gap: 0.15rem;
}

.landing-hero__metrics strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}

.landing-hero__metrics span {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-hero__metrics--rich {
  gap: 1.25rem 1.75rem;
}

.landing-hero__metrics--rich strong {
  font-size: 1rem;
}

/* ---- Hero output card (real results) ---- */

.landing-output-card {
  margin: 0;
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.landing-output-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--landing-border);
  background: rgba(0, 0, 0, 0.15);
}

.landing-output-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-output-card__address {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
}

.landing-output-card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.landing-output-card__time {
  margin: 0;
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.08);
  font-size: 0.75rem;
  color: var(--muted-strong);
  text-align: center;
}

.landing-output-card__time strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: #6ee7b7;
}

.landing-output-card__checks {
  margin: 0;
  padding: 1rem 1.25rem;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.landing-output-card__checks li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted-strong);
}

.landing-output-card__checks li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.28rem;
  width: 0.34rem;
  height: 0.58rem;
  border: solid #6ee7b7;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.landing-output-card__footnote {
  margin: 0;
  padding: 0.75rem 1.25rem 1rem;
  border-top: 1px solid var(--landing-border);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

.landing-output-card__footnote a {
  color: var(--accent-strong);
}

/* ---- Live demo search ---- */

.landing-demo {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.landing-demo__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.landing-demo__input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--landing-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
}

.landing-demo__input::placeholder {
  color: var(--muted);
}

.landing-demo__input:focus {
  outline: none;
  border-color: rgba(248, 113, 113, 0.45);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.landing-demo__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Sample report grid ---- */

.landing-report {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.landing-report__col {
  padding: 1.15rem 1.1rem;
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
}

.landing-report__col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-report__rows {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.landing-report__rows > div {
  display: grid;
  gap: 0.15rem;
}

.landing-report__rows dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-report__rows dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink);
}

.landing-source-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.landing-source-list li {
  display: grid;
  gap: 0.2rem;
}

.landing-source-list__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.landing-source-list__meta {
  font-size: 0.75rem;
  color: var(--muted);
}

.landing-source-list a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
}

.landing-source-list a:hover {
  text-decoration: underline;
}

.landing-report__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: center;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.landing-report__col--sources {
  grid-column: span 1;
  background:
    var(--landing-topo-tint),
    var(--hero-topo-image-sm) 28% 58% / 200% auto no-repeat,
    var(--landing-surface);
}

/* ---- Workflow vs ---- */

.landing-section--workflow {
  max-width: var(--landing-max);
  margin-inline: auto;
}

.landing-workflow__head {
  width: 100%;
  max-width: 100%;
  padding-top: clamp(0.75rem, 2vh, 1.5rem);
  text-align: center;
}

.landing-workflow__head .eyebrow {
  margin-inline: auto;
  margin-top: 0;
  margin-bottom: clamp(1.35rem, 2.8vw, 2rem);
}

.landing-workflow__head h2,
#workflow-title {
  max-width: 100%;
  width: 100%;
  text-align: center;
  margin-inline: auto;
  color: var(--text);
}

#workflow-title .workflow-title-plain {
  color: var(--text);
  font-style: normal;
  font-family: inherit;
}

.landing-workflow__head p {
  max-width: 100%;
  text-align: center;
  margin-inline: auto;
}

.landing-versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(0.85rem, 2vw, 1.35rem);
  align-items: stretch;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.landing-versus__divider {
  display: grid;
  place-items: center;
  align-self: center;
  padding: 0 0.15rem;
}

.landing-versus__divider span {
  display: grid;
  place-items: center;
  min-width: 3rem;
  min-height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-lg);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.landing-versus__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.35rem, 2.4vw, 1.85rem) clamp(1.25rem, 2.2vw, 1.65rem);
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.landing-versus__card--old {
  opacity: 0.9;
}

.landing-versus__card--new {
  background:
    linear-gradient(160deg, rgba(248, 113, 113, 0.08), rgba(14, 13, 21, 0.42)),
    var(--landing-topo-tint),
    var(--hero-topo-image-sm) 82% 74% / 220% auto no-repeat,
    var(--landing-surface);
}

.landing-versus__card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.landing-versus__badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
}

.landing-versus__badge svg {
  width: 1rem;
  height: 1rem;
}

.landing-versus__badge--old {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.22);
}

.landing-versus__badge--new {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.24);
}

.landing-versus__card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
}

.landing-flow {
  margin: 0 0 auto;
  padding-left: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted-strong);
  list-style: none;
}

.landing-flow--numbered {
  counter-reset: workflow-step;
}

.landing-flow--numbered li {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  counter-increment: workflow-step;
}

.landing-flow--numbered li::before {
  content: counter(workflow-step);
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.landing-versus__card--old .landing-flow--numbered {
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
}

.landing-flow--check li {
  position: relative;
  padding-left: 1.45rem;
}

.landing-flow--check li::before {
  content: "";
  position: absolute;
  left: 0.12rem;
  top: 0.3rem;
  width: 0.36rem;
  height: 0.62rem;
  border: solid #6ee7b7;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.landing-versus__note {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--landing-border);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--muted);
}

.landing-versus__callout {
  margin: 1.15rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.12), rgba(248, 113, 113, 0.04));
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fecaca;
}

.landing-before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

.landing-before-after__side {
  padding: clamp(1.15rem, 2vw, 1.35rem) clamp(1.1rem, 2vw, 1.25rem);
  border-radius: calc(var(--landing-radius) - 4px);
  border: 1px solid var(--landing-border);
}

.landing-before-after__side--before {
  background: var(--landing-surface);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.landing-before-after__side--after {
  border-color: rgba(52, 211, 153, 0.22);
  background:
    linear-gradient(160deg, rgba(96, 165, 250, 0.06), rgba(14, 13, 21, 0.35)),
    var(--landing-surface);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.landing-before-after__side h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-before-after__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-strong);
}

.landing-before-after__hero {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--ink);
}

.landing-before-after__side p:last-child {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-strong);
}

.landing-workflow__disclaimer {
  margin: clamp(1.15rem, 2.4vw, 1.5rem) 0 0;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---- Progressive screening demo (3D map stage) ---- */

.landing-section--screen {
  overflow: hidden;
}

.landing-speed-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
  max-width: 58rem;
  margin: 0 auto;
  padding: 1rem;
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(248, 113, 113, 0.08), transparent 55%),
    var(--landing-surface);
  box-shadow: var(--shadow-lg);
}

.landing-speed-stage--hero {
  position: relative;
  z-index: 2;
  isolation: isolate;
  contain: layout paint;
  transform: translateZ(0);
  max-width: none;
  padding: clamp(0.85rem, 1.6vw, 1.15rem);
  min-height: clamp(24rem, 48vw, 34rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 9, 15, 0.94);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.landing-speed-stage__chrome {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 5, 10, 0.85);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-speed-stage__chrome-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted-strong);
}

.landing-speed-stage__chrome-mark {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f87171, #60a5fa);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.45);
}

.landing-speed-stage__chrome-meta {
  color: var(--muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.landing-speed-stage--hero .landing-speed-map {
  min-height: clamp(18rem, 36vw, 24rem);
  background: rgba(6, 5, 10, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
}

.landing-pdf-preview {
  margin: 0;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(214, 158, 46, 0.1), transparent 60%),
    #07060b;
  align-self: stretch;
  isolation: isolate;
  outline: none;
}

.landing-pdf-preview:focus-visible {
  box-shadow: 0 0 0 2px rgba(104, 211, 145, 0.55);
}

.landing-pdf-preview__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: clamp(22rem, 44vw, 31rem);
  padding: 1.35rem 3rem 1.2rem;
}

.landing-pdf-preview__sheet {
  position: relative;
  width: min(100%, 22.5rem);
  aspect-ratio: 612 / 792;
  border-radius: 4px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.landing-pdf-preview__sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
  mix-blend-mode: soft-light;
}

.landing-pdf-preview__page {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 140ms ease, transform 140ms ease;
}

.landing-pdf-preview__page.is-flipping {
  opacity: 0.35;
  transform: translateX(6px) scale(0.985);
}

.landing-pdf-preview__hud {
  position: absolute;
  z-index: 4;
  left: 0.7rem;
  right: 0.7rem;
  top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.landing-pdf-preview__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 14, 0.72);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.landing-pdf-preview__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #68d391;
  box-shadow: 0 0 10px rgba(104, 211, 145, 0.7);
}

.landing-pdf-preview__meta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.landing-pdf-preview__meta strong {
  color: #68d391;
}

.landing-pdf-preview__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 11, 16, 0.82);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    transform 140ms ease,
    opacity 140ms ease;
}

.landing-pdf-preview__nav:hover:not(:disabled) {
  background: rgba(24, 22, 30, 0.95);
  border-color: rgba(104, 211, 145, 0.45);
  color: #fff;
}

.landing-pdf-preview__nav:active:not(:disabled) {
  transform: translateY(-50%) scale(0.96);
}

.landing-pdf-preview__nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.landing-pdf-preview__nav:focus-visible {
  outline: 2px solid rgba(104, 211, 145, 0.7);
  outline-offset: 2px;
}

.landing-pdf-preview__nav--prev {
  left: 0.55rem;
}

.landing-pdf-preview__nav--next {
  right: 0.55rem;
}

@media (max-width: 900px) {
  .landing-pdf-preview__stage {
    min-height: 22rem;
    padding: 2.5rem 2.25rem 1.25rem;
  }

  .landing-pdf-preview__sheet {
    width: min(100%, 17.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-pdf-preview__page {
    transition: none !important;
  }

  .landing-pdf-preview__page.is-flipping {
    opacity: 1;
    transform: none;
  }
}

.landing-speed-stage--hero .landing-speed-feed {
  background: rgba(8, 7, 12, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
}

.landing-speed-stage--hero .landing-speed-feed__list {
  gap: 0.4rem;
}

.landing-speed-map {
  position: relative;
  min-height: 22rem;
  border-radius: 16px;
  border: 1px solid var(--landing-border);
  background: #0a090f;
  overflow: hidden;
}

.landing-speed-map__hud {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  right: 0.65rem;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.landing-speed-map__hud-pill {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
}

.landing-speed-map__hud-pill--live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.35rem;
  border-radius: 999px;
  background: #34d399;
  animation: speed-live-pulse 1.6s ease-in-out infinite;
}

.landing-speed-map__hud-meta {
  font-size: 0.6875rem;
  color: var(--muted);
}

.landing-speed-map__hud-meta strong {
  color: #6ee7b7;
  font-variant-numeric: tabular-nums;
}

.landing-speed-map__viewport {
  position: absolute;
  inset: 2.5rem 0.5rem 3.25rem;
  perspective: 900px;
  perspective-origin: 50% 42%;
}

.landing-speed-map__scene {
  position: absolute;
  inset: 8% 10% 12%;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-12deg) scale(0.92);
  animation: speed-scene-drift 14s ease-in-out infinite alternate;
}

.landing-speed-map__terrain {
  position: absolute;
  inset: -15% -10%;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.15), rgba(10, 10, 15, 0.55)),
    var(--hero-topo-image-sm) center / 140% auto no-repeat;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateZ(0);
  animation: speed-terrain-pan 18s linear infinite;
}

.landing-speed-map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: translateZ(2px);
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 20%, transparent 75%);
}

.landing-speed-map__slab {
  position: absolute;
  left: 18%;
  top: 22%;
  width: 52%;
  height: 48%;
  border-radius: 6px;
  opacity: 0;
  transform: translateZ(0) scale(0.92);
  transition:
    opacity 0.55s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  mix-blend-mode: screen;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-speed-map__slab.is-active {
  opacity: 0.72;
}

.landing-speed-map__slab--zoning.is-active {
  transform: translateZ(10px) scale(1);
}

.landing-speed-map__slab--flood.is-active {
  transform: translateZ(18px) scale(1);
}

.landing-speed-map__slab--fire.is-active {
  transform: translateZ(26px) scale(1);
}

.landing-speed-map__slab--plan.is-active {
  transform: translateZ(34px) scale(1);
}

.landing-speed-map__slab--soils.is-active {
  transform: translateZ(42px) scale(1);
}

.landing-speed-map__slab--geo.is-active {
  transform: translateZ(50px) scale(1);
}

.landing-speed-map__slab--zoning {
  background: rgba(183, 148, 244, 0.45);
  box-shadow: 0 0 24px rgba(183, 148, 244, 0.25);
}

.landing-speed-map__slab--flood {
  background: rgba(99, 179, 237, 0.42);
  clip-path: polygon(0% 55%, 35% 40%, 70% 62%, 100% 48%, 100% 100%, 0% 100%);
}

.landing-speed-map__slab--fire {
  background: rgba(248, 113, 113, 0.38);
  clip-path: polygon(55% 0%, 100% 15%, 92% 55%, 60% 70%, 30% 45%);
}

.landing-speed-map__slab--plan {
  background: rgba(236, 201, 75, 0.32);
}

.landing-speed-map__slab--soils {
  background: rgba(154, 230, 180, 0.35);
  clip-path: polygon(8% 20%, 45% 8%, 88% 25%, 75% 88%, 12% 92%);
}

.landing-speed-map__slab--geo {
  background: rgba(160, 174, 192, 0.4);
  clip-path: polygon(20% 30%, 80% 22%, 70% 78%, 25% 85%);
}

.landing-speed-map__parcel {
  position: absolute;
  left: 32%;
  top: 34%;
  width: 28%;
  height: 26%;
  border: 2px solid rgba(248, 113, 113, 0.9);
  background: rgba(248, 113, 113, 0.12);
  box-shadow:
    0 0 0 1px rgba(248, 113, 113, 0.35),
    0 8px 24px rgba(248, 113, 113, 0.2);
  transform: translateZ(42px);
  animation: speed-parcel-pulse 2.4s ease-in-out infinite;
}

.landing-speed-map__scan {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 72%;
  height: 72%;
  margin: -36% 0 0 -36%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(96, 165, 250, 0.45) 42deg, transparent 90deg);
  transform: translateZ(50px);
  animation: speed-scan-spin 2.8s linear infinite;
  opacity: 0.55;
  mask-image: radial-gradient(circle, #000 38%, transparent 72%);
}

.landing-speed-map__basemap {
  position: absolute;
  bottom: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.625rem;
  color: var(--muted);
}

.landing-speed-map__basemap span {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.landing-speed-map__basemap .is-active {
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
  font-weight: 600;
}

.landing-speed-map__legend {
  position: absolute;
  right: 0.55rem;
  bottom: 3rem;
  z-index: 5;
  margin: 0;
  padding: 0.45rem 0.55rem;
  list-style: none;
  border-radius: 10px;
  border: 1px solid var(--landing-border);
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.625rem;
  color: var(--muted);
  display: grid;
  gap: 0.3rem;
}

.landing-speed-map__legend li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.45;
  transition: opacity 0.35s ease, color 0.35s ease;
}

.landing-speed-map__legend li.is-active {
  opacity: 1;
  color: var(--ink);
}

.landing-speed-map__legend i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--muted);
}

.landing-speed-map__legend li[data-speed-legend="zoning"] i {
  background: #b794f4;
}

.landing-speed-map__legend li[data-speed-legend="flood"] i {
  background: #63b3ed;
}

.landing-speed-map__legend li[data-speed-legend="fire"] i {
  background: #f56565;
}

.landing-speed-map__legend li[data-speed-legend="plan"] i {
  background: #ecc94b;
}

.landing-speed-map__legend li[data-speed-legend="soils"] i {
  background: #9ae6b4;
}

.landing-speed-map__legend li[data-speed-legend="geo"] i {
  background: #a0aec0;
}

.landing-speed-feed {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--landing-border);
  background: rgba(10, 9, 15, 0.92);
}

.landing-speed-feed__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--landing-border);
}

.landing-speed-feed__label {
  margin: 0 0 0.2rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-speed-feed__address {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.landing-speed-feed__badge {
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(96, 165, 250, 0.1);
}

.landing-speed-feed__badge.is-done {
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.1);
}

.landing-speed-feed__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}

.landing-speed-feed__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.8125rem;
  opacity: 0.4;
  transform: translateX(8px);
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease;
}

.landing-speed-feed__list li.is-active {
  opacity: 1;
  transform: translateX(0);
  border-color: rgba(52, 211, 153, 0.22);
  background: rgba(52, 211, 153, 0.06);
}

.landing-speed-feed__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.landing-speed-feed__list li.is-active .landing-speed-feed__dot {
  background: #6ee7b7;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.55);
}

.landing-speed-feed__name {
  color: var(--muted-strong);
}

.landing-speed-feed__value {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.75rem;
}

.landing-speed-feed__done {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.08);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-strong);
  text-align: center;
}

.landing-speed-feed__done strong {
  color: #6ee7b7;
}

@keyframes speed-live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes speed-terrain-pan {
  0% {
    background-position: 42% 38%;
  }
  100% {
    background-position: 58% 52%;
  }
}

@keyframes speed-scene-drift {
  0% {
    transform: rotateX(56deg) rotateZ(-14deg) scale(0.9) translate3d(-2%, 0, 0);
  }
  100% {
    transform: rotateX(60deg) rotateZ(-8deg) scale(0.94) translate3d(2%, -1%, 0);
  }
}

@keyframes speed-parcel-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(248, 113, 113, 0.35),
      0 8px 24px rgba(248, 113, 113, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(248, 113, 113, 0.55),
      0 12px 32px rgba(248, 113, 113, 0.35);
  }
}

@keyframes speed-scan-spin {
  to {
    transform: translateZ(50px) rotate(360deg);
  }
}

@media (max-width: 900px) {
  .landing-speed-stage {
    grid-template-columns: 1fr;
  }

  .landing-speed-map {
    min-height: 18rem;
  }

  .landing-hero__body {
    grid-template-columns: 1fr;
  }

  .landing-pipeline {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero__signal-bar::after,
  .landing-scroll-bg__streets-wrap {
    transform: none !important;
  }

  .landing-scroll-bg__streets .landing-street {
    opacity: 0.28 !important;
  }

  .landing-speed-map__scene,
  .landing-speed-map__terrain,
  .landing-speed-map__scan,
  .landing-speed-map__parcel,
  .landing-speed-map__hud-pill--live::before {
    animation: none;
  }

  .landing-speed-stage--hero {
    transform: none !important;
  }

  .landing-layer-map__photo,
  .landing-iphone__zoom-scene,
  .landing-iphone__parcel-overlay,
  .landing-iphone__topo-base,
  .landing-iphone__ridges,
  .landing-iphone__elevation,
  .landing-iphone__terrain-shadow,
  .landing-iphone__contours,
  .landing-iphone__parcel--fill,
  .landing-iphone__zoom-chip,
  .landing-hero__signal-bar::after {
    animation: none;
  }

  .landing-iphone__zoom-scene,
  .landing-iphone__parcel-overlay {
    transform: scale(3.2) translate(-1%, 2%) rotateX(48deg) rotateZ(-6deg);
  }

  .landing-iphone__ridges,
  .landing-iphone__elevation {
    opacity: 0.88;
  }

  .landing-iphone__terrain-shadow {
    opacity: 0.72;
  }

  .landing-iphone__topo-base {
    filter: saturate(0.95) contrast(1.14) brightness(1.02);
  }

  .landing-iphone__contours {
    opacity: 0.92;
  }

  .landing-iphone__zoom-chip {
    opacity: 1;
    transform: none;
  }

  .landing-speed-map__slab.is-active {
    transform: translateZ(12px) scale(1);
  }
}

/* ---- How it works pipeline ---- */

.landing-pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pipeline;
  max-width: none;
  margin-inline: auto;
}

.landing-pipeline__step {
  position: relative;
  padding: 1.35rem 1.15rem 1.2rem;
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  text-align: center;
  transition: border-color 0.3s ease, transform 0.42s cubic-bezier(0.34, 1.25, 0.64, 1), box-shadow 0.42s ease;
}

.landing-pipeline__step:hover {
  border-color: rgba(52, 211, 153, 0.28);
}

.landing-pipeline__step::before {
  counter-increment: pipeline;
  content: counter(pipeline);
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--muted);
}

.landing-pipeline__glyph {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: rgba(52, 211, 153, 0.08);
  color: #6ee7b7;
}

.landing-pipeline__glyph svg {
  width: 1.75rem;
  height: 1.75rem;
}

.landing-pipeline__step h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
}

.landing-pipeline__step p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-strong);
}

/* ---- Differentiators ---- */

.landing-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.landing-diff {
  padding: 1.2rem 1.1rem;
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.landing-diff h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.landing-diff p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-strong);
}

/* ---- AI section ---- */

.landing-section--ai {
  padding: 0.5rem 0;
}

.landing-ai {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(24rem, 0.85fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--landing-radius);
  border: 1px solid rgba(248, 113, 113, 0.18);
  background:
    linear-gradient(155deg, rgba(248, 113, 113, 0.06), rgba(14, 13, 21, 0.55)),
    var(--landing-surface);
}

.landing-ai__copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  max-width: 20ch;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.12;
}

.landing-ai__copy > p {
  margin: 0 0 1rem;
  max-width: 44rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-strong);
}

.landing-ai__examples {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.landing-ai__examples li {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted-strong);
}

.landing-ai__preview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 14rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(248, 113, 113, 0.2);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, transparent 42%),
    rgba(0, 0, 0, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 36px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(248, 113, 113, 0.06);
  overflow: hidden;
}

.landing-ai__preview::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 90% 55% at 50% -8%, rgba(248, 113, 113, 0.1), transparent 62%);
  pointer-events: none;
}

.landing-ai__preview-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-ai__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.24);
  color: #fca5a5;
}

.landing-ai__chip-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #f87171;
  box-shadow: 0 0 6px rgba(248, 113, 113, 0.55);
  animation: landing-ai-chip-pulse 2.2s ease-in-out infinite;
}

.landing-ai__status {
  font-size: 0.5625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-ai__thread {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-height: 0;
}

.landing-ai__msg {
  display: flex;
  align-items: flex-start;
  gap: 0.38rem;
  animation: landing-ai-msg-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--msg-i, 0) * 0.14s + 0.15s);
}

.landing-ai__msg--user {
  flex-direction: row-reverse;
}

.landing-ai__avatar {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.85rem;
}

.landing-ai__avatar--user {
  background: rgba(248, 113, 113, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.28);
  color: #fca5a5;
}

.landing-ai__avatar--ai {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--landing-border);
  color: var(--muted-strong);
}

.landing-ai__bubble-wrap {
  max-width: 86%;
  min-width: 0;
}

.landing-ai__label {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-ai__msg--user .landing-ai__label {
  text-align: right;
}

.landing-ai__bubble {
  padding: 0.42rem 0.58rem;
  border-radius: 10px;
  font-size: 0.6875rem;
  line-height: 1.4;
}

.landing-ai__bubble--user {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: var(--muted-strong);
  border-bottom-right-radius: 3px;
}

.landing-ai__bubble--ai {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--landing-border);
  color: var(--muted);
  border-bottom-left-radius: 3px;
}

.landing-ai__tag {
  display: inline-block;
  margin-right: 0.32rem;
  padding: 0.08rem 0.32rem;
  border-radius: 4px;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: baseline;
}

.landing-ai__tag--flood {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.24);
  color: #93c5fd;
}

.landing-ai__tag--land {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.22);
  color: #6ee7b7;
}

.landing-ai__input {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.1rem;
  padding: 0.38rem 0.45rem 0.38rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--landing-border);
  background: rgba(0, 0, 0, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.landing-ai__input-text {
  font-size: 0.625rem;
  font-style: italic;
  color: var(--muted);
}

.landing-ai__send {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 6px;
  font-size: 0.625rem;
  line-height: 1;
  background: rgba(248, 113, 113, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

@keyframes landing-ai-msg-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

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

@keyframes landing-ai-chip-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.65;
    transform: scale(0.88);
  }
}

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

  .landing-ai__chip-dot {
    animation: none;
  }
}

/* ---- Mobile map section ---- */

.landing-section--mobile {
  padding-top: 0.25rem;
}

.landing-mobile {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--landing-radius);
  border: 1px solid rgba(248, 113, 113, 0.16);
  background:
    radial-gradient(ellipse 70% 55% at 100% 20%, rgba(248, 113, 113, 0.07), transparent 58%),
    var(--landing-surface);
}

.landing-mobile > * { min-width: 0; }

.landing-mobile__soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.landing-mobile__soon::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #f56565;
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.5);
}

.landing-mobile__copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  max-width: 22ch;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.12;
}

#mobile-map-title {
  max-width: none;
  font-size: clamp(1.55rem, 2.5vw, 1.9rem);
}

.landing-mobile__title-line {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 32.5rem) {
  .landing-mobile__title-line {
    white-space: normal;
  }
}

.landing-mobile__copy > p {
  margin: 0 0 1rem;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-strong);
}

.landing-mobile__points {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.landing-mobile__points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--muted-strong);
}

.landing-mobile__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #f56565;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.45);
}

.landing-mobile__device {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.landing-mobile__device .welcome-phone {
  padding: 0;
  width: 100%;
}

.landing-mobile__device .welcome-phone__shell {
  width: min(100%, 272px);
}

/* ---- Use cases ---- */

.landing-cases {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  align-items: stretch;
}

.landing-case {
  padding: 1rem 0.85rem;
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  min-width: 0;
}

.landing-case h3 {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.landing-case p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted-strong);
}

.landing-showcase {
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.landing-showcase__label {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--landing-border);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-showcase__frame {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  min-height: 280px;
}

.landing-showcase__map {
  position: relative;
  background:
    linear-gradient(165deg, rgba(96, 165, 250, 0.06), rgba(248, 113, 113, 0.1)),
    var(--hero-topo-image-sm) center / cover no-repeat;
  border-right: 1px solid var(--landing-border);
}

.landing-showcase__map::after {
  content: "";
  position: absolute;
  inset: 24% 30% 26% 34%;
  border: 2px solid rgba(248, 113, 113, 0.75);
  border-radius: 3px;
  background: rgba(248, 113, 113, 0.1);
}

.landing-showcase__panel {
  padding: 1rem 0.9rem;
  font-size: 0.6875rem;
}

.landing-showcase__panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.landing-score {
  margin-bottom: 0.65rem;
}

.landing-score__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  color: var(--muted-strong);
}

.landing-score__badge {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-score__badge--med {
  background: rgba(251, 191, 36, 0.14);
  color: #fcd34d;
}

.landing-score__badge--low {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
}

.landing-score__badge--high {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
}

.landing-score__track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.landing-score__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.landing-score__fill--med {
  width: 55%;
  background: linear-gradient(90deg, #f59e0b, #fcd34d);
}

.landing-score__fill--low {
  width: 28%;
  background: linear-gradient(90deg, #34d399, #6ee7b7);
}

.landing-score__fill--high {
  width: 100%;
  background: linear-gradient(90deg, #ef4444, #fca5a5);
}

/* ---- Shared card surface (uncarded text blocks) ---- */

.landing-hero__copy {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 100%;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(0.95rem, 1.8vw, 1.25rem) clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem);
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
}

.landing-hero__copy > :not(.landing-layer-stage--embedded) {
  padding-inline: 0;
}

.landing-hero__copy .landing-hero__metrics--rich {
  margin-bottom: clamp(0.85rem, 1.8vw, 1.1rem);
}

.landing-hero__copy .landing-hero__panel-label {
  margin-top: 0.1rem;
}

.landing-hero__panel .landing-hero__layer-list {
  margin: 0 0 0.35rem;
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
}

.landing-hero__panel .landing-hero__actions {
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 1.1rem;
}

.landing-hero__panel .landing-hero__actions .button {
  justify-content: center;
}

.landing-hero__panel .landing-hero__metrics {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  padding-top: 0.25rem;
}

/* Topo cards - red highlight border */
.landing-hero__panel,
.landing-report__col--sources,
.landing-versus__card--new {
  border: 1px solid rgba(248, 113, 113, 0.48);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(248, 113, 113, 0.08),
    0 0 36px rgba(248, 113, 113, 0.16);
}

/* ---- Trust strip (text only, no card) ---- */

.landing-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: var(--landing-section);
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.landing-strip__label {
  margin-right: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8125rem;
  color: var(--muted-strong);
}

/* ---- Sections ---- */

.landing-section {
  margin-bottom: var(--landing-section);
}

.landing-section__head {
  max-width: 68rem;
  margin-bottom: clamp(2.2rem, 4vw, 3rem);
}

.landing-section__head--center {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.landing-section__head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body.page-landing .eyebrow {
  gap: 0.7rem;
  margin-bottom: clamp(1.35rem, 2.6vw, 2rem);
  padding: 0.55rem 1.2rem;
  line-height: 1;
  border-color: rgba(248, 113, 113, 0.28);
  box-sizing: border-box;
  vertical-align: middle;
}

body.page-landing .eyebrow::before {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0;
  align-self: center;
}

.landing-section__head p {
  margin: 0;
  max-width: 58rem;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.65;
}

.landing-section__head--center p {
  margin-inline: auto;
}

/* ---- Bento features ---- */

.landing-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.landing-tile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.32s ease, transform 0.42s cubic-bezier(0.34, 1.25, 0.64, 1), box-shadow 0.42s ease;
}

a.landing-tile:hover {
  border-color: rgba(248, 113, 113, 0.28);
}

.landing-tile--wide {
  grid-column: span 2;
}

.landing-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: #fca5a5;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.landing-tile h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
}

.landing-tile p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-strong);
}

.landing-tile__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.landing-tile__preview {
  margin-top: 0.25rem;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--landing-border);
  background: rgba(0, 0, 0, 0.22);
}

.landing-tile__preview--search {
  display: grid;
  gap: 0.5rem;
}

.landing-tile__field {
  height: 2rem;
  border-radius: 8px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.04);
}

.landing-tile__field--accent {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
}

.landing-tile__preview--layers {
  display: grid;
  gap: 0.35rem;
  font-size: 0.6875rem;
  color: var(--muted);
}

.landing-tile__preview--chat {
  display: grid;
  gap: 0.5rem;
}

.landing-tile__bubble {
  max-width: 92%;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.6875rem;
  line-height: 1.45;
}

.landing-tile__bubble--user {
  justify-self: end;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: var(--muted-strong);
}

.landing-tile__bubble--ai {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--landing-border);
  color: var(--muted);
}

/* ---- Layers ---- */

.landing-layers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 52rem;
  margin: 0 auto;
}

.landing-layer {
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8125rem;
  color: var(--muted-strong);
}

.landing-layer strong {
  font-weight: 600;
  color: var(--ink);
}

/* ---- Steps ---- */

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

.landing-step {
  padding: 1.25rem 1.15rem;
  border-radius: var(--landing-radius);
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.02);
}

.landing-step__num {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.landing-step h3 {
  margin: 0 0 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.landing-step p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-strong);
}

/* ---- CTA ---- */

.landing-cta {
  position: relative;
  margin-bottom: 2rem;
  padding: clamp(1.2rem, 2.6vw, 1.75rem) clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--landing-radius);
  text-align: left;
  border: 1px solid rgba(248, 113, 113, 0.18);
  background:
    linear-gradient(155deg, rgba(248, 113, 113, 0.08), rgba(14, 13, 21, 0.48)),
    var(--landing-topo-tint),
    var(--hero-topo-image-sm) 78% 42% / 185% auto no-repeat,
    var(--landing-surface);
  box-shadow:
    var(--shadow-lg),
    0 0 48px rgba(248, 113, 113, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
}

.landing-cta::before {
  content: "";
  position: absolute;
  inset: -28% -8% -18% -28%;
  background: radial-gradient(ellipse at 88% 38%, rgba(248, 113, 113, 0.13), transparent 58%);
  pointer-events: none;
}

.landing-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 82% 92% at 78% 46%, #000 12%, transparent 76%);
  pointer-events: none;
}

.landing-cta h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  max-width: 22ch;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

.landing-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.65rem 0.75rem;
  margin-bottom: 0.55rem;
}

.landing-cta__actions .button {
  min-width: 10.5rem;
  padding: 0.82rem 1.55rem;
  font-size: 0.9375rem;
}

.landing-cta__actions .button--primary {
  min-width: 13.25rem;
}

.landing-cta__lead {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted-strong);
}

.landing-cta__trust {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.landing-cta__trust li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.landing-cta__trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.02em;
  color: #6ee7b7;
  font-size: 0.68rem;
  font-weight: 700;
}

body.page-landing .site-footer {
  position: relative;
  z-index: 1;
  margin-top: 0;
  margin-bottom: 2rem;
  padding: 1.5rem 0 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--landing-border);
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) and (min-width: 901px) {
  .landing-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-tile--wide {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }

  .landing-hero--showcase {
    padding-top: 1rem;
  }

  .landing-hero__title {
    max-width: none;
    font-size: clamp(1.9rem, 6.5vw, 2.6rem);
  }

  .landing-hero__lead,
  .landing-section__head p,
  .landing-cta__lead,
  .landing-ai__copy > p {
    max-width: none;
  }

  .landing-report {
    grid-template-columns: 1fr 1fr;
  }

  .landing-versus,
  .landing-before-after {
    grid-template-columns: 1fr;
  }

  .landing-versus__divider {
    justify-self: center;
    padding: 0.15rem 0;
  }

  .landing-diff-grid {
    grid-template-columns: 1fr 1fr;
  }

  .landing-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-case h3 {
    font-size: 0.95rem;
  }

  .landing-case p {
    font-size: 0.85rem;
  }

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

  .landing-mobile {
    grid-template-columns: 1fr;
  }

  .landing-mobile__device {
    order: -1;
  }

  .landing-showcase__frame {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing-showcase__map {
    min-height: 10rem;
    border-right: none;
    border-bottom: 1px solid var(--landing-border);
  }

  .landing-bento {
    grid-template-columns: 1fr;
  }

  .landing-tile--wide {
    grid-column: auto;
  }

  .landing-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-versus__card--old .landing-flow--numbered {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .landing-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-hero__actions .button {
    justify-content: center;
  }

  .landing-demo__form {
    flex-direction: column;
  }

  .landing-report {
    grid-template-columns: 1fr;
  }

  .landing-diff-grid,
  .landing-cases {
    grid-template-columns: 1fr;
  }

  .landing-output-card__head {
    flex-direction: column;
  }

  .landing-strip {
    gap: 0.5rem;
  }

  .landing-strip__label {
    width: 100%;
    margin-bottom: 0.25rem;
  }
}

/* ---- Card hover zoom ---- */

@media (hover: hover) and (pointer: fine) {
  body.page-landing :is(
    .landing-hero__panel,
    .landing-layer-stage,
    .landing-speed-stage--hero,
    .landing-speed-map,
    .landing-speed-feed,
    .landing-output-card,
    .landing-versus__card,
    .landing-before-after__side,
    .landing-report__col,
    .landing-mobile,
    .landing-ai,
    .landing-ai__preview,
    .landing-pipeline__step,
    .landing-diff,
    .landing-case,
    .landing-tile,
    .landing-step,
    .landing-showcase
  ) {
    transition:
      transform 0.44s cubic-bezier(0.34, 1.28, 0.64, 1),
      box-shadow 0.44s ease,
      border-color 0.32s ease,
      opacity 0.32s ease;
    transform-origin: center center;
  }

  body.page-landing :is(
    .landing-hero__panel,
    .landing-layer-stage,
    .landing-speed-stage--hero,
    .landing-speed-map,
    .landing-speed-feed,
    .landing-output-card,
    .landing-versus__card,
    .landing-before-after__side,
    .landing-report__col,
    .landing-mobile,
    .landing-ai,
    .landing-ai__preview,
    .landing-pipeline__step,
    .landing-diff,
    .landing-case,
    .landing-tile,
    .landing-step,
    .landing-showcase
  ):hover {
    position: relative;
    z-index: 2;
    transform: scale(1.028);
    box-shadow:
      0 22px 48px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.16);
  }

  body.page-landing .landing-speed-stage--hero:hover {
    transform: scale(1.022) translateZ(0);
  }

  body.page-landing :is(
    .landing-hero__panel,
    .landing-layer-stage,
    .landing-versus__card--new,
    .landing-report__col--sources,
    a.landing-tile
  ):hover {
    border-color: rgba(248, 113, 113, 0.52);
    box-shadow:
      var(--shadow-lg),
      0 0 0 1px rgba(248, 113, 113, 0.1),
      0 0 42px rgba(248, 113, 113, 0.16),
      0 22px 48px rgba(0, 0, 0, 0.3);
  }

  body.page-landing .landing-pipeline__step:hover {
    transform: scale(1.03) translateY(-2px);
    border-color: rgba(52, 211, 153, 0.34);
    box-shadow:
      0 20px 44px rgba(0, 0, 0, 0.3),
      0 0 28px rgba(52, 211, 153, 0.08);
  }

  body.page-landing .landing-versus__card--old:hover {
    opacity: 0.96;
  }

  body.page-landing .landing-before-after__side--after:hover {
    border-color: rgba(248, 113, 113, 0.38);
  }

  body.page-landing .landing-mobile:hover .landing-iphone__shell {
    transform: rotateY(-4deg) rotateX(2deg) scale(1.04);
  }

  body.page-landing .landing-mobile .landing-iphone__shell {
    transition: transform 0.44s cubic-bezier(0.34, 1.28, 0.64, 1);
  }
}

/* Accent-word ascender room — overrides tight hero/section line-heights above */
.landing-hero__title:has(.accent-word),
.landing-hero__showcase-title:has(.accent-word),
.landing-section__head h2:has(.accent-word),
.landing-ai__copy h2:has(.accent-word),
.landing-cta h2:has(.accent-word),
#mobile-map-title:has(.accent-word) {
  line-height: 1.15;
  overflow: visible;
  padding-top: 0.04em;
}

/* —— Landing intro: black + red type → fade page in —— */
body.page-landing.is-landing-intro {
  overflow: hidden;
  background: #000;
}

body.page-landing.is-landing-intro .landing-scroll-bg,
body.page-landing.is-landing-intro .topbar,
body.page-landing.is-landing-intro .landing-plane__media,
body.page-landing.is-landing-intro .landing-plane__fog,
body.page-landing.is-landing-intro .landing-plane__veil,
body.page-landing.is-landing-intro .landing-plane__tiles,
body.page-landing.is-landing-intro .landing-plane__prehead,
body.page-landing.is-landing-intro .landing-plane__title,
body.page-landing.is-landing-intro .landing-plane-rise,
body.page-landing.is-landing-intro .site-footer {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

body.page-landing.is-landing-intro .landing-plane__sticky {
  background: #000;
}

body.page-landing.is-landing-intro .landing-plane__tips {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.page-landing.is-landing-intro .landing-plane__scroll {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.page-landing.is-landing-revealing .landing-plane__tips,
body.page-landing.is-landing-revealing .landing-plane__scroll {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 8;
}

body.page-landing.is-landing-revealing .landing-scroll-bg,
body.page-landing.is-landing-revealing .topbar,
body.page-landing.is-landing-revealing .landing-plane__media,
body.page-landing.is-landing-revealing .landing-plane__fog,
body.page-landing.is-landing-revealing .landing-plane__veil,
body.page-landing.is-landing-revealing .landing-plane__tiles,
body.page-landing.is-landing-revealing .landing-plane__prehead,
body.page-landing.is-landing-revealing .landing-plane__title,
body.page-landing.is-landing-revealing .landing-plane-rise {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 2.6s ease;
}

body.page-landing.is-landing-revealing .landing-plane__sticky {
  background: var(--landing-edge, #050507);
  transition: background 2.6s ease;
}

body.page-landing.is-landing-revealing,
body.page-landing.is-landing-ready {
  overflow-x: clip;
  overflow-y: visible;
}

@media (prefers-reduced-motion: reduce) {
  body.page-landing.is-landing-intro .landing-scroll-bg,
  body.page-landing.is-landing-intro .topbar,
  body.page-landing.is-landing-intro .landing-plane__media,
  body.page-landing.is-landing-intro .landing-plane__fog,
  body.page-landing.is-landing-intro .landing-plane__veil,
  body.page-landing.is-landing-intro .landing-plane__tiles,
  body.page-landing.is-landing-intro .landing-plane__prehead,
  body.page-landing.is-landing-intro .landing-plane__title,
  body.page-landing.is-landing-intro .landing-plane-rise {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
  }
}
