/* ──────────────────────────────────────────────────────────────────────
   Landing page — built to the client's 2026-09-21 direction.
   Reference: docs/design/landing/client-mockup-2026-09-21.png

   Its own stylesheet, loaded only by `/`, so the marketing page never pays
   for the admin dashboard's CSS and vice versa. Tokens mirror
   packages/ui/src/tokens.ts rather than importing them, because this page
   deliberately does not boot the Tamagui runtime.

   Dark-only by design: the brand ground IS near-black and the client's
   direction is a lit-from-within dark page. There is no light variant to
   keep in step.
   ────────────────────────────────────────────────────────────────────── */

.lp {
  --ink: #04080f;
  --ink-2: #071322;
  --ink-3: #0a1b2e;
  --primary: #019fff;
  --secondary: #11d2db;
  --text: #eef5fb;
  --muted: #93a7ba;
  --rule: rgba(160, 200, 240, 0.14);

  --shell: min(1180px, 100% - 3rem);
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  background: var(--ink);
  color: var(--text);
  font-family: 'Obvia', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
.lp-container {
  width: var(--shell);
  margin-inline: auto;
}
/* Anchor targets clear the sticky nav. */
.lp [id] {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

/* ── Type ──────────────────────────────────────────────────────────── */

.lp-h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.lp-h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.lp-h1 em,
.lp-h2 em {
  position: relative;
  font-style: normal;
  color: var(--primary);
}
.lp-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  width: 100%;
  height: 0.16em;
  color: var(--primary);
  /* Draws itself once the hero settles. */
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: lp-draw 0.9s var(--ease) 0.75s forwards;
}
@keyframes lp-draw {
  to { stroke-dashoffset: 0; }
}
.lp-eyebrow,
.lp-section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 1.1rem;
}
.lp-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 46ch;
}

/* ── Buttons ───────────────────────────────────────────────────────── */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lp-btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.02rem;
}
.lp-btn-primary {
  background: linear-gradient(180deg, #37b6ff, var(--primary));
  color: #01121f;
  box-shadow: 0 6px 20px -8px rgba(1, 159, 255, 0.75);
}
.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(1, 159, 255, 1);
}
.lp-btn-ghost {
  border-color: var(--rule);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.lp-btn-ghost:hover {
  border-color: rgba(1, 159, 255, 0.6);
  background: rgba(1, 159, 255, 0.08);
  transform: translateY(-2px);
}

/* ── Nav ───────────────────────────────────────────────────────────── */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.lp-nav.is-scrolled {
  background: rgba(4, 8, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}
.lp-nav-inner {
  width: var(--shell);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.lp-nav-logo img {
  display: block;
  height: 2.1rem;
  width: auto;
}
.lp-nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0 auto;
  padding: 0;
}
.lp-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.lp-nav-links a:hover {
  color: var(--text);
}
.lp-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
}
/* Three bars from one element: the bar itself plus two pseudo-elements. */
.lp-nav-toggle span,
.lp-nav-toggle span::before,
.lp-nav-toggle span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.lp-nav-toggle span {
  top: 21px;
}
.lp-nav-toggle span::before {
  content: '';
  left: 0;
  top: -7px;
}
.lp-nav-toggle span::after {
  content: '';
  left: 0;
  top: 7px;
}
.lp-nav-toggle span.is-open {
  background: transparent;
}
.lp-nav-toggle span.is-open::before {
  transform: translateY(7px) rotate(45deg);
}
.lp-nav-toggle span.is-open::after {
  transform: translateY(-7px) rotate(-45deg);
}
.lp-nav-mobile {
  display: none;
}
/* Must out-specify the `display: block` the media query sets below, or the
   `hidden` attribute is inert and the panel never closes. */
.lp-nav-mobile[hidden] {
  display: none !important;
}

/* ── Hero ──────────────────────────────────────────────────────────── */

.lp-hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--nav-h) * -1);
  padding-top: var(--nav-h);
  /* Content-driven with a floor, not a forced 100svh — on a 16:10 laptop a
     locked viewport stretched the hero into exactly the emptiness the
     client's tight reference does not have. */
  min-height: min(92svh, 860px);
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(70rem 38rem at 50% -6%, rgba(1, 159, 255, 0.22), transparent 62%),
    var(--ink);
}
.lp-hero-photos {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.lp-hero-photo {
  position: absolute;
  top: 0;
  height: 100%;
  /* 26%, down from 34% (client ask 2026-09-28): the figures frame the
     devices now, they don't compete with them. */
  width: 26%;
}
.lp-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The client's reference reads the athletes clearly. At 0.5 under the old
     veil they were invisible; the figures are already lit on black, so they
     can carry near-full opacity and let the mask do the blending. */
  opacity: 0.92;
}
/* The photos are already on black, so a soft edge mask is enough to melt
   them into the ground — no cut-out, no visible seam. */
/* Client ask 2026-09-28: he no longer sits behind the headline. Pulled off
   the left edge to just left of the devices and mirrored so he looks down
   at them — the two figures now flank the phones. Mid-frame means both
   crop edges need a fade, not just one. */
.lp-hero-photo-l {
  /* Client 2026-09-30 (final): on the OUTSIDE edge, framing the page — the
     figures bookend copy + devices. Still mirrored so he looks inward. */
  left: 0;
  /* Solid at the screen edge, like the right-hand figure — the mid-frame
     both-sides fade left him ghosted at the edge he now anchors. */
  -webkit-mask-image: linear-gradient(to right, black 18%, transparent 92%);
  mask-image: linear-gradient(to right, black 18%, transparent 92%);
}
.lp-hero-photo-l img {
  object-position: 42% center;
  transform: scaleX(-1);
}
.lp-hero-photo-r {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, black 18%, transparent 92%);
  mask-image: linear-gradient(to left, black 18%, transparent 92%);
}
.lp-hero-photo-r img {
  object-position: 58% center;
}
.lp-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.lp-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* Only enough to seat the headline — the copy column gets its own pool
       so the type stays legible without flattening the whole frame. */
    radial-gradient(38rem 26rem at 26% 52%, rgba(4, 8, 15, 0.82), transparent 72%),
    linear-gradient(to bottom, rgba(4, 8, 15, 0.6) 0%, transparent 22%, transparent 68%, rgba(4, 8, 15, 0.72) 92%);
}

/* Client memo 2026-09-30: copy LEADS on the left again, the device fan
   answers on the right (this reverses the 09-28 swap at the client's own
   direction — marketing copy was written against this order). The fan is
   three devices wide, so its column keeps the larger share. */
.lp-hero-inner {
  flex: 1;
  /* Client 2026-09-30: copy + devices sit a step in from the page shell,
     leaving the edge figures their own room. */
  width: min(var(--shell), 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 2rem;
  padding-block: clamp(1rem, 2.5vh, 2.25rem) clamp(4rem, 9vh, 6.5rem);
}
.lp-hero-copy {
  animation: lp-rise 0.9s var(--ease) both;
}
.lp-hero-art {
  display: flex;
  justify-content: center;
  /* Inset from the copy on its left. */
  padding-left: clamp(0rem, 3vw, 3rem);
  animation: lp-rise 1s var(--ease) 0.15s both;
}
.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}
/* "Available now" + the store badges — the hero's CTA since the listings
   went live (2026-10-18; a launch date before that). Loud on purpose
   (client, 2026-10-13): headline-scale words in the button gradient, with
   the primary glow the button used to carry. */
.lp-hero-launch {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0 0 2rem;
}
.lp-hero-launch .lp-hero-launch-date {
  margin: 0;
}
.lp-hero-launch-date {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}
.lp-hero-launch-date em {
  font-style: normal;
  white-space: nowrap;
  background: linear-gradient(180deg, #37b6ff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(1, 159, 255, 0.55));
}
@keyframes lp-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* The lit ridge, as a real silhouette (see Ridge.tsx). The first pass used
   a blurred radial and read as haze rather than a horizon. */
.lp-ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(90px, 13vw, 170px);
  pointer-events: none;
  z-index: 1;
}
.lp-ridge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.lp-ridge-far {
  fill: #071a2c;
}
.lp-ridge-near {
  fill: #040b14;
}
/* Light from beyond the horizon, sitting behind both ranges. */
.lp-ridge-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(1, 159, 255, 0.55), transparent 70%);
  filter: blur(12px);
}
.lp-ridge-flip {
  top: 0;
  bottom: auto;
  transform: scaleY(-1);
  opacity: 0.85;
}

/* ── Store badges ──────────────────────────────────────────────────── */

.lp-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}
.lp-stores-center {
  justify-content: center;
}
.lp-badge {
  display: inline-flex;
  border-radius: 0.55rem;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}
.lp-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}
.lp-badge img {
  display: block;
  width: auto;
}
/* Apple's SVG has no built-in clear space; Google's PNG does, so the two
   are sized to match optically rather than numerically. */
.lp-badge-apple img {
  height: 46px;
}
.lp-badge-google img {
  height: 68px;
  margin: -11px;
}
.lp-stores-sm .lp-badge-apple img { height: 40px; }
.lp-stores-sm .lp-badge-google img { height: 59px; margin: -9px; }

/* ── Phones ────────────────────────────────────────────────────────── */

/* Height-driven. Each frame has a fixed aspect-ratio, so setting WIDTH made
   the computed height exceed the box and both devices were clipped. */
.lp-phones {
  position: relative;
  /* Client ask 2026-09-28: the app outranks the athletes — three devices,
     FANNED so every screen is legible, not stacked into slivers. The devices
     are edge-anchored inside this box, so the width must scale with the
     height or resizing them just changes how far apart they sit. */
  width: min(100%, clamp(420px, 57vh, 600px));
  height: clamp(380px, 54vh, 565px);
}
.lp-phones-glow {
  position: absolute;
  inset: 10% -6%;
  background: radial-gradient(
    closest-side,
    rgba(1, 159, 255, 0.75),
    rgba(17, 210, 219, 0.25) 52%,
    transparent 76%
  );
  filter: blur(32px);
}
.lp-phone {
  position: relative;
  /* Matched to the real captures (920x2000) so nothing is cropped. */
  aspect-ratio: 920 / 2000;
  border-radius: 2.3rem;
  border: 1px solid rgba(190, 225, 255, 0.22);
  background: linear-gradient(160deg, #1b2a38, #050b13);
  padding: 0.5rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 42px 90px -34px rgba(0, 0, 0, 0.95),
    0 0 70px -10px rgba(1, 159, 255, 0.75);
  transition: transform 0.6s var(--ease);
}
.lp-phones .lp-phone {
  position: absolute;
}
/* Front device: larger, lower-left, tilted toward the viewer. The parallax
   custom properties default to 0 so the static render matches. */
/* ── The card hand (client ask 2026-09-28) ─────────────────────────────
   Three same-size frames fanned like a held hand of cards: all pivot from
   one point well below the container, so rotation alone spreads them. The
   sides sit dimmed and tucked under the centre card; hovering any card
   lifts it to full visibility. Mobile swaps all of this for one phone slot
   with the screens crossfading — see the 900px block. */
.lp-phone-card {
  height: 86%;
  width: auto;
  bottom: 0;
  left: 50%;
  transform-origin: 50% 135%;
  transition:
    transform 0.45s var(--ease),
    filter 0.45s var(--ease);
}
/* Rotation alone spreads the tops but leaves the bottoms stacked (they sit
   nearest the pivot), so the sides also slide out laterally — that's what
   keeps the behind cards visible at the bottom of the fan. */
.lp-phone-card-1 {
  z-index: 1;
  transform: translateX(calc(-50% - 52px)) rotate(-19deg);
  filter: brightness(0.65);
}
.lp-phone-card-2 {
  z-index: 3;
  transform: translateX(-50%);
}
.lp-phone-card-3 {
  z-index: 2;
  transform: translateX(calc(-50% + 52px)) rotate(19deg);
  filter: brightness(0.65);
}
/* Hover = pick the card: full visibility, on top, drawn toward upright. */
.lp-phone-card-1:hover {
  z-index: 4;
  transform: translateX(calc(-50% - 52px)) rotate(-12deg) translateY(-20px) scale(1.03);
  filter: none;
}
.lp-phone-card-2:hover {
  z-index: 4;
  transform: translateX(-50%) translateY(-20px) scale(1.03);
}
.lp-phone-card-3:hover {
  z-index: 4;
  transform: translateX(calc(-50% + 52px)) rotate(12deg) translateY(-20px) scale(1.03);
  filter: none;
}
.lp-phone-notch {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  translate: -50% 0;
  width: 30%;
  height: 0.45rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3;
}
.lp-phone-screen {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1.95rem;
  object-fit: cover;
  overflow: hidden;
}

/* ── Placeholder screens (swap for real captures) ──────────────────── */

.lp-ph {
  background:
    radial-gradient(20rem 15rem at 50% -4%, rgba(1, 159, 255, 0.55), transparent 70%),
    linear-gradient(180deg, #0b2036, #050d17 55%);
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.75rem 0.6rem;
  container-type: inline-size;
}
.lp-ph-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7cqw;
  color: rgba(238, 245, 251, 0.75);
  padding: 0.35rem 0.4rem 0.6rem;
}
.lp-ph-status-r {
  width: 22%;
  height: 5cqw;
  border-radius: 2px;
  background: rgba(238, 245, 251, 0.35);
}
.lp-ph-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4cqw;
}
.lp-ph-eyebrow {
  width: 46%;
  height: 3cqw;
  border-radius: 1rem;
  background: rgba(17, 210, 219, 0.6);
}
.lp-ph-rows {
  display: grid;
  gap: 2.5cqw;
}
.lp-ph-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-ph-brand {
  width: 42%;
  height: 5cqw;
  border-radius: 1rem;
  background: rgba(238, 245, 251, 0.5);
}
.lp-ph-avatar {
  width: 9cqw;
  height: 9cqw;
  border-radius: 50%;
  background: rgba(1, 159, 255, 0.55);
}
.lp-ph-row {
  display: flex;
  align-items: center;
  gap: 2.5cqw;
  height: 13cqw;
  padding: 0 3cqw;
  border-radius: 3cqw;
  background: rgba(160, 210, 255, 0.16);
  border: 1px solid rgba(160, 210, 255, 0.22);
}
.lp-ph-row i {
  width: 7cqw;
  height: 7cqw;
  border-radius: 2cqw;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(1, 159, 255, 0.9);
  flex-shrink: 0;
}
.lp-ph-row b {
  flex: 1;
  height: 3cqw;
  border-radius: 1rem;
  background: rgba(238, 245, 251, 0.5);
}
.lp-ph-row u {
  width: 12cqw;
  height: 6cqw;
  border-radius: 3cqw;
  background: rgba(17, 210, 219, 0.6);
  flex-shrink: 0;
}
.lp-ph-scorebar {
  position: absolute;
  top: 0;
  width: 55%;
  height: 6cqw;
  border-radius: 3cqw;
  background: rgba(160, 210, 255, 0.12);
}
.lp-ph-score {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: auto;
  padding-block: 9cqw 4cqw;
}
.lp-ph-ring {
  width: 44cqw;
  height: 44cqw;
  border-radius: 50%;
  border: 2.5cqw solid rgba(17, 210, 219, 0.22);
  border-top-color: var(--secondary);
  border-right-color: var(--primary);
}
.lp-ph-score strong {
  position: absolute;
  font-size: 13cqw;
  font-weight: 700;
}
.lp-ph-tabs {
  display: flex;
  justify-content: space-between;
  padding: 3cqw 2cqw 1cqw;
  border-top: 1px solid rgba(160, 210, 255, 0.1);
}
.lp-ph-tabs span {
  width: 7cqw;
  height: 7cqw;
  border-radius: 50%;
  background: rgba(160, 210, 255, 0.18);
}
.lp-ph-tabs span.is-active {
  background: var(--primary);
  box-shadow: 0 0 12px rgba(1, 159, 255, 0.9);
}
.lp-ph-body-olli {
  align-items: center;
  text-align: center;
}
.lp-ph-orb {
  width: 30cqw;
  height: 30cqw;
  margin-top: 6cqw;
  border-radius: 50%;
  border: 2cqw solid var(--primary);
  background: radial-gradient(circle at 50% 38%, rgba(1, 159, 255, 0.45), transparent 62%);
  box-shadow: 0 0 34px rgba(1, 159, 255, 0.75);
}
.lp-ph-title {
  width: 40%;
  height: 4.5cqw;
  border-radius: 1rem;
  background: rgba(238, 245, 251, 0.3);
}
.lp-ph-chips {
  width: 100%;
  display: grid;
  gap: 2.5cqw;
}
.lp-ph-sub {
  width: 60%;
  height: 3cqw;
  border-radius: 1rem;
  background: rgba(238, 245, 251, 0.18);
}
.lp-ph-chips span {
  display: flex;
  align-items: center;
  gap: 2.5cqw;
  height: 11cqw;
  padding: 0 3cqw;
  border-radius: 5.5cqw;
  background: rgba(160, 210, 255, 0.08);
  border: 1px solid rgba(1, 159, 255, 0.28);
}
.lp-ph-chips i {
  width: 6cqw;
  height: 6cqw;
  border-radius: 50%;
  background: rgba(1, 159, 255, 0.6);
  flex-shrink: 0;
}
.lp-ph-chips b {
  flex: 1;
  height: 2.6cqw;
  border-radius: 1rem;
  background: rgba(238, 245, 251, 0.32);
}
.lp-ph-input {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2cqw;
  width: 100%;
  height: 11cqw;
  margin-top: auto;
  border-radius: 5.5cqw;
  background: rgba(160, 210, 255, 0.07);
  border: 1px solid rgba(160, 210, 255, 0.14);
}
.lp-ph-input i {
  width: 8cqw;
  height: 8cqw;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 14px rgba(1, 159, 255, 0.9);
}
.lp-ph-label {
  margin: 2cqw 0 0;
  font-size: 5cqw;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(147, 167, 186, 0.8);
  text-align: center;
}

/* ── Sections ──────────────────────────────────────────────────────── */

/* The client's reference fits the whole page in ~1.6 viewports: sections
   butt up against each other and nothing floats in a void. The first pass
   used clamp(4rem, 10vw, 7.5rem) here and read as a series of empty rooms. */
.lp-section {
  padding-block: clamp(3rem, 5.5vw, 4.5rem);
  position: relative;
}

.lp-pillar-grid,
.lp-steps,
.lp-faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}
.lp-pillar-grid > li {
  display: flex;
}
/* Compact and vertically centred. `flex: 1` rather than `height: 100%` —
   see the note on .lp-pillar-grid > li above. */
.lp-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem 2rem;
  text-align: center;
  border: 1px solid var(--rule);
  border-radius: 1.1rem;
  background: linear-gradient(168deg, rgba(1, 159, 255, 0.14), rgba(7, 22, 40, 0.75) 55%, rgba(5, 14, 26, 0.7));
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.lp-card:hover {
  border-color: rgba(1, 159, 255, 0.55);
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -30px rgba(1, 159, 255, 0.9);
}
/* The glyph sits in a lit disc — a bare 2.6rem stroke icon read as an
   afterthought against a 1.45rem title. */
.lp-card-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 7.5rem;
  height: 7.5rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 159, 255, 0.4), transparent 66%);
}
.lp-card-glyph::before {
  content: '';
  position: absolute;
  inset: 1rem;
  border-radius: 50%;
  border: 1px solid rgba(1, 159, 255, 0.45);
  background: radial-gradient(circle, rgba(1, 159, 255, 0.22), rgba(1, 159, 255, 0.04));
  box-shadow: 0 0 34px -4px rgba(1, 159, 255, 0.7),
    inset 0 0 22px -6px rgba(17, 210, 219, 0.8);
}
.lp-card-glyph::after {
  content: '';
  position: absolute;
  inset: 0.3rem;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--secondary);
  border-right-color: var(--primary);
  filter: drop-shadow(0 0 8px rgba(17, 210, 219, 0.9));
  animation: lp-spin 7s linear infinite;
}
@keyframes lp-spin {
  to { transform: rotate(360deg); }
}
.lp-card-icon {
  position: relative;
  z-index: 1;
  width: 3.25rem;
  height: 3.25rem;
  color: #b3e4ff;
  stroke-width: 1.7;
  filter: drop-shadow(0 0 16px rgba(1, 159, 255, 1));
}
.lp-card:hover .lp-card-glyph {
  background: radial-gradient(circle, rgba(1, 159, 255, 0.42), transparent 68%);
}
.lp-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
}
.lp-card-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  text-wrap: balance;
}

/* How it works */
.lp-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.75rem;
  margin-top: 2.25rem;
}
.lp-steps li {
  position: relative;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}
.lp-step-n {
  position: absolute;
  top: -0.9rem;
  left: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  background: var(--ink);
  padding-right: 0.75rem;
}
.lp-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}
.lp-step-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Olli */
.lp-olli {
  background: linear-gradient(to bottom, transparent, var(--ink-2) 40%, transparent);
}
.lp-olli-grid,
.lp-connected-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.lp-olli-art {
  display: flex;
  justify-content: center;
}
/* The reference crops this device against the left edge and runs it large.
   min(280px) left it marooned in the middle of its column. */
.lp-olli-art .lp-phone {
  width: min(330px, 78vw);
}
.lp-olli-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.lp-olli-points li {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.35rem;
  font-size: 0.92rem;
}
/* Same family as the card glyphs, one size down — a bare 1.7rem stroke
   under a 2.9rem heading read as a footnote. */
.lp-point-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.9rem;
  height: 3.9rem;
  margin-bottom: 0.55rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 159, 255, 0.3), transparent 68%);
}
.lp-point-glyph::before {
  content: '';
  position: absolute;
  inset: 0.4rem;
  border-radius: 50%;
  border: 1px solid rgba(1, 159, 255, 0.45);
  background: rgba(1, 159, 255, 0.09);
  box-shadow: 0 0 22px -4px rgba(1, 159, 255, 0.7);
}
.lp-point-icon {
  position: relative;
  z-index: 1;
  width: 1.9rem;
  height: 1.9rem;
  color: #b3e4ff;
  filter: drop-shadow(0 0 12px rgba(1, 159, 255, 1));
}
.lp-olli-points strong {
  font-weight: 600;
}
.lp-olli-points span {
  color: var(--muted);
}

/* ── Connected hub ─────────────────────────────────────────────────── */

/* The diagram needs more width than the prose beside it — an even split
   left the node cards too narrow once the core had its clearance. */
@media (min-width: 901px) {
  .lp-connected-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }
}
.lp-connected {
  background:
    radial-gradient(60rem 30rem at 72% 50%, rgba(1, 159, 255, 0.14), transparent 68%),
    var(--ink-2);
}
.lp-hub {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.lp-hub-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lp-hub-wires path {
  animation: lp-flow 2.6s linear infinite;
  filter: drop-shadow(0 0 5px rgba(1, 159, 255, 0.9));
}
@keyframes lp-flow {
  to { stroke-dashoffset: -48; }
}
.lp-hub-core {
  position: absolute;
  width: 8rem;
  height: 8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 159, 255, 0.5), transparent 66%);
}
.lp-hub-core img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(1, 159, 255, 1))
    drop-shadow(0 0 60px rgba(1, 159, 255, 0.65));
  animation: lp-pulse 4.5s var(--ease) infinite;
}
@keyframes lp-pulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.06); opacity: 1; }
}
.lp-hub-nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem clamp(11rem, 34%, 18rem);
  position: relative;
  z-index: 1;
}
.lp-hub-node {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.1rem;
  box-shadow: 0 0 22px -8px rgba(1, 159, 255, 0.8);
  border: 1px solid rgba(1, 159, 255, 0.35);
  border-radius: 0.7rem;
  background: rgba(4, 12, 22, 0.86);
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.lp-hub-node:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.lp-hub-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ── Real-life adaptation scenarios (client memo 2026-09-30) ───────── */

.lp-scenarios {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}
/* Line-work, not fills — same register as .lp-card. */
.lp-scenario {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  border: 1px solid var(--rule);
  border-radius: 0.9rem;
  padding: 1.1rem 1.3rem;
}
.lp-scenario-when {
  color: var(--muted);
}
.lp-scenario-arrow {
  color: var(--primary);
}
.lp-scenario-then {
  color: var(--text);
  font-weight: 600;
}
.lp-scenarios-tag {
  margin: 1.75rem 0 0;
  text-align: center;
  color: var(--muted);
}
.lp-scenarios-tag em {
  color: var(--secondary);
  font-style: italic;
}

/* ── FAQ ───────────────────────────────────────────────────────────── */

.lp-faq-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.lp-faq-item {
  border: 1px solid var(--rule);
  border-radius: 0.9rem;
  background: rgba(7, 19, 34, 0.55);
  transition: border-color 0.3s var(--ease);
}
.lp-faq-item[open] {
  border-color: rgba(1, 159, 255, 0.45);
}
.lp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.lp-faq-item summary::-webkit-details-marker {
  display: none;
}
.lp-faq-mark {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.lp-faq-mark::before,
.lp-faq-mark::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: transform 0.3s var(--ease);
}
.lp-faq-mark::after {
  transform: rotate(90deg);
}
.lp-faq-item[open] .lp-faq-mark::after {
  transform: rotate(0deg);
}
.lp-faq-body {
  display: grid;
  gap: 0.75rem;
  padding: 0 1.35rem 1.35rem;
}
.lp-faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ── Closing CTA ───────────────────────────────────────────────────── */

/* Store pricing under the badges (client, 2026-10-18): the two stores'
   prices differ, so each is stated, then the fine print. */
.lp-cta-pricing {
  margin: 2rem auto 1.1rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}
.lp-cta-pricing p {
  margin: 0;
}
.lp-cta-fine {
  margin: 0.55rem auto 0;
  font-size: 1rem;
  color: var(--muted);
}

.lp-cta {
  position: relative;
  text-align: center;
  padding-block: clamp(4.5rem, 9vw, 7rem) clamp(3rem, 5.5vw, 4.5rem);
  background:
    radial-gradient(55rem 24rem at 50% 118%, rgba(1, 159, 255, 0.3), transparent 70%),
    var(--ink);
}
.lp-cta-logo {
  height: 2.6rem;
  width: auto;
  margin: 0 auto 1.1rem;
  display: block;
}
.lp-cta-title {
  margin-bottom: 0.9rem;
}
.lp-cta-lede {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
}
.lp-cta-tag {
  margin: 1.5rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(1, 159, 255, 0.65);
}

/* ── Footer ────────────────────────────────────────────────────────── */

.lp-footer {
  border-top: 1px solid var(--rule);
  padding-block: 2.5rem 3rem;
  background: var(--ink);
}
.lp-footer-inner {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}
.lp-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.75rem;
}
.lp-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}
.lp-footer a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
.lp-social {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-footer .lp-social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lp-footer .lp-social a:hover {
  color: var(--secondary);
  border-color: var(--secondary);
  text-decoration: none;
}
.lp-social svg {
  width: 1.1rem;
  height: 1.1rem;
}
.lp-footer-fine {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(147, 167, 186, 0.7);
}

/* ── Reveal ────────────────────────────────────────────────────────── */

.lp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.lp-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* ── Responsive ────────────────────────────────────────────────────── */

/* Small desktops / laptops (client 2026-09-30: "even more so"): the 1040px
   cap above only bites on large screens, so this tier pulls the hero in
   proportionally and shrinks type + fan with it. */
@media (max-width: 1440px) and (min-width: 901px) {
  .lp-hero-inner {
    width: min(80%, 940px);
  }
  .lp-h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  }
  .lp-phones {
    width: min(100%, clamp(360px, 48vh, 540px));
    height: clamp(340px, 47vh, 500px);
  }
}

@media (max-width: 900px) {
  .lp {
    --shell: calc(100% - 2.25rem);
  }
  .lp-nav-links,
  .lp-nav-cta {
    display: none;
  }
  .lp-nav-toggle {
    display: block;
    margin-left: auto;
  }
  .lp-nav-mobile {
    display: block;
    position: fixed;
    inset: var(--nav-h) 0 auto;
    padding: 1.5rem 1.5rem 2rem;
    background: rgba(4, 8, 15, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rule);
  }
  .lp-nav-mobile ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.25rem;
  }
  .lp-nav-mobile a:not(.lp-btn) {
    display: block;
    padding: 0.85rem 0;
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--rule);
  }
  .lp-nav-mobile .lp-btn {
    width: 100%;
  }

  /* The hero stops being a fixed viewport on a phone: a headline, two
     devices and two badges cannot fit 100svh at 390px without shrinking the
     type past readable. Let it be as tall as it needs. */
  .lp-hero {
    min-height: auto;
  }
  .lp-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-block: 2rem 5rem;
  }
  .lp-hero-art {
    padding: 0;
  }
  .lp-lede {
    margin-inline: auto;
  }
  .lp-hero-actions,
  .lp-stores {
    justify-content: center;
  }
  .lp-hero-launch {
    align-items: center;
    text-align: center;
  }
  /* One phone, the three screens crossfading on a ~5s cadence (client ask
     2026-09-28) — three fanned devices have no room at this width. The
     selectors are double-length on purpose: they must out-rank the desktop
     per-card and :hover rules from earlier in the file. */
  .lp-phones {
    width: min(100%, clamp(230px, 34vh, 320px));
    height: clamp(380px, 52vh, 480px);
  }
  .lp-phones .lp-phone-card {
    height: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    filter: none;
    z-index: auto;
    animation: lp-card-cycle 15s linear infinite;
  }
  /* Home (card 2) leads the cycle; Nutrition and Olli follow. */
  .lp-phones .lp-phone-card-1,
  .lp-phones .lp-phone-card-3 {
    opacity: 0;
  }
  .lp-phones .lp-phone-card-3 {
    animation-delay: 5s;
  }
  .lp-phones .lp-phone-card-1 {
    animation-delay: 10s;
  }
  /* One photo behind the content rather than two flanking it — at this
     width a 42% column would sit under the text and mud it. */
  .lp-hero-photo-l {
    left: 0;
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, black 5%, transparent 65%);
    mask-image: linear-gradient(to bottom, black 5%, transparent 65%);
  }
  .lp-hero-photo-l img {
    opacity: 0.65;
    object-position: 50% 22%;
  }
  .lp-hero-photo-r {
    display: none;
  }

  .lp-olli-grid {
    text-align: center;
  }
  .lp-olli-copy .lp-lede {
    margin-inline: auto;
  }
  .lp-connected-copy {
    text-align: center;
  }
  .lp-connected-copy .lp-lede {
    margin-inline: auto;
  }
  .lp-hub-wires {
    display: none;
  }
  .lp-hub-core {
    position: static;
    margin-bottom: 1.5rem;
  }
  .lp-hub {
    display: flex;
    flex-direction: column;
  }
  .lp-hub-nodes {
    gap: 0.75rem;
  }
}

/* Each screen holds ~4.5s then crossfades to the next; the 15s loop divides
   into three 5s slots via the per-card delays above. */
@keyframes lp-card-cycle {
  0%,
  30% {
    opacity: 1;
  }
  36%,
  94% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Reduced motion: no cycling — the first screen simply holds. */
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .lp-phones .lp-phone-card {
    animation: none;
  }
}

@media (max-width: 560px) {
  .lp-phones {
    height: clamp(320px, 46vh, 420px);
  }
  .lp-olli-points {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .lp-hub-nodes {
    grid-template-columns: 1fr;
  }
  .lp-badge img {
    height: auto;
  }
  .lp-badge-apple img { height: 42px; }
  .lp-badge-google img { height: 62px; margin: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp *::before,
  .lp *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .lp-reveal { opacity: 1; transform: none; }
  .lp-underline { stroke-dashoffset: 0; }
}
