/* Public front page. The app pages use styles.css alone. */

.landing {
  --night: #0a0f15;
  --night-2: #0f1620;
  --sand: #e8b04b;
  --sand-soft: #f4d48f;
  --sky: #6ea8ff;
  --mint: #63e0a0;
  --paper: #f7f5f1;
  --card: #ffffff;
  --ink: #10161e;
  --ink-soft: #5b6472;
  --hairline: #e6e2da;
  --on-night: #f3f1ec;
  --on-night-soft: rgba(243, 241, 236, 0.7);
  /* Mosaica's glass: jewel tones used sparingly, for tiles and light */
  --ruby: #d9475a;
  --sapphire: #3d6ff2;
  --emerald: #2fbf86;
  --amber: #f2b33d;
  --amethyst: #8b5cf6;
  --teal: #22b3c4;
  --tile-strip: repeating-linear-gradient(90deg,
    var(--ruby) 0 12px, transparent 12px 14px, var(--sapphire) 14px 26px, transparent 26px 28px,
    var(--emerald) 28px 40px, transparent 40px 42px, var(--amber) 42px 54px, transparent 54px 56px,
    var(--amethyst) 56px 68px, transparent 68px 70px, var(--teal) 70px 82px, transparent 82px 84px);
  display: block;
  height: auto;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  .landing {
    --paper: #0d131a;
    --card: #141c26;
    --ink: #eef0f3;
    --ink-soft: #9aa4b2;
    --hairline: #222c38;
  }
}
.landing a { color: inherit; }
.landing h1, .landing h2, .landing h3 { letter-spacing: -0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
.landing :where(p) { margin: 0; }  /* low priority, so each section's own spacing applies */
.lp-wrap { max-width: 1240px; margin: 0 auto; }

/* ---------- header ---------- */
.lp-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: 0 auto; padding: 20px 24px;
}
.landing .lp-header .lp-brand { color: var(--on-night); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.lp-logo { display: block; width: 30px; height: 30px; border-radius: 7px; box-shadow: 0 0 18px -4px rgba(255, 226, 154, 0.45); }
.lp-header::after {  /* a strip of glass tiles under the header */
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--tile-strip); opacity: 0.85;
}
.lp-nav { display: flex; align-items: center; gap: 22px; }
.landing .lp-nav a { color: var(--on-night-soft); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
.landing .lp-nav a:hover, .landing .lp-nav a[aria-current] { color: var(--on-night); }
.landing .lp-nav .lp-header-cta {
  color: var(--night); background: var(--sand); padding: 9px 16px; border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.landing .lp-nav .lp-header-cta:hover { background: var(--sand-soft); color: var(--night); transform: translateY(-1px); }

/* ---------- hero ---------- */
.lp-hero {
  position: relative; overflow: hidden; color: var(--on-night);
  padding: 104px 24px 56px;
  background:
    radial-gradient(760px 460px at 82% 30%, rgba(232, 176, 75, 0.16), transparent 64%),
    radial-gradient(700px 480px at 0% 100%, rgba(56, 116, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.lp-hero::before, .lp-join::before {  /* a faint mosaic of tiles */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.1;
  background: url("tiles.svg") 0 0 / 240px 240px;
  -webkit-mask-image: radial-gradient(900px 520px at 65% 40%, #000, transparent 75%);
  mask-image: radial-gradient(900px 520px at 65% 40%, #000, transparent 75%);
}
.lp-hero-grid {
  position: relative; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center;
}
.lp-badge {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--sand-soft); padding: 7px 14px; border-radius: 999px;
  background: rgba(232, 176, 75, 0.1); border: 1px solid rgba(232, 176, 75, 0.28);
  animation: lp-rise 0.7s 0.05s both;
}
.lp-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 0 rgba(232, 176, 75, 0.6); animation: lp-pulse 2.2s infinite; }
@keyframes lp-pulse { 70% { box-shadow: 0 0 0 9px rgba(232, 176, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 176, 75, 0); } }
.lp-hero h1 { margin-top: 22px; font-size: clamp(44px, 5.8vw, 82px); font-weight: 850; letter-spacing: -0.045em; line-height: 1; }
/* Gradient text only paints inside its box: the padding keeps the tails of g, p and y. */
.lp-hero h1 span, .lp-join h1 span { display: block; padding: 0.02em 0.04em 0.16em 0; margin-bottom: -0.1em; background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-gold { background-image: linear-gradient(100deg, #f6d48a 0%, #e8b04b 35%, #fff0c8 50%, #e8b04b 65%, #f6d48a 100%); animation: lp-rise 0.8s 0.15s both, lp-shine 6s 1.2s linear infinite; }
.lp-blue { background-image: linear-gradient(100deg, #ffffff 0%, #cfe0ff 40%, #8fb8ff 100%); animation: lp-rise 0.8s 0.3s both; }
@keyframes lp-shine { to { background-position: -200% 0; } }
.lp-sub { margin-top: 22px; max-width: 33em; font-size: clamp(17px, 1.6vw, 19px); color: var(--on-night-soft); animation: lp-rise 0.8s 0.4s both; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* Uses `translate`, so it adds to an element's own transform instead of replacing it. */
@keyframes lp-fade-up { from { opacity: 0; translate: 0 24px; } }

/* ---------- signup form ---------- */
.lp-form { margin-top: 28px; max-width: 540px; animation: lp-rise 0.8s 0.5s both; }
.lp-roles { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-roles legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lp-roles label { margin: 0; color: inherit; font-size: 14px; cursor: pointer; }
.lp-roles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp-roles span {
  display: inline-block; padding: 7px 15px; border-radius: 999px; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2); color: var(--on-night-soft); transition: all 0.2s;
}
.lp-roles label:hover span { border-color: rgba(255, 255, 255, 0.45); color: var(--on-night); }
.lp-roles input:checked + span { background: var(--on-night); border-color: var(--on-night); color: var(--night); }
.lp-roles input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.lp-field {
  display: flex; gap: 6px; padding: 6px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px); transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-field:focus-within { border-color: rgba(232, 176, 75, 0.7); box-shadow: 0 0 0 4px rgba(232, 176, 75, 0.15); }
.lp-field input { flex: 1; min-width: 0; margin: 0; border: 0; background: transparent; color: var(--on-night); font-size: 17px; padding: 12px 14px; outline: none; }
.lp-field input::placeholder { color: rgba(243, 241, 236, 0.45); }
.lp-field button {
  flex: none; border: 0; border-radius: 11px; padding: 0 22px; font-size: 16px; font-weight: 750;
  background: var(--sand); color: #1b1407; cursor: pointer; transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.lp-field button:hover { background: var(--sand-soft); box-shadow: 0 8px 24px -8px rgba(232, 176, 75, 0.7); }
.lp-field button:active { transform: scale(0.98); }
.lp-field button span { display: inline-block; transition: transform 0.2s; }
.lp-field button:hover span { transform: translateX(3px); }
.lp-fine { margin-top: 10px; font-size: 13px; color: rgba(243, 241, 236, 0.5); }
.lp-form [role="status"] { margin-top: 12px; font-size: 15px; font-weight: 650; }
.lp-form [role="status"]:empty { display: none; }
.lp-form [role="status"].ok { color: var(--sand-soft); }
.lp-form [role="status"].error { color: #ff9b8f; }
.landing .lp-demo-link { display: inline-block; margin-top: 18px; color: var(--sand-soft); font-weight: 650; text-decoration: none; }

/* ---------- the live scene ---------- */
/* The scenes sit on a ring that turns: the one in front plays, the others wait behind it, dimmed. */
.lp-stage { position: relative; isolation: isolate; touch-action: pan-y; outline: none; animation: lp-fade-up 1s 0.35s backwards; }
.lp-stage::before {  /* stained glass with light coming through, behind the ring */
  content: ""; position: absolute; inset: -18% -12% -14%; z-index: -1; pointer-events: none; opacity: 0.7;
  background: radial-gradient(closest-side, rgba(255, 226, 154, 0.28), transparent 70%), url("glass.svg") center / 720px 480px;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
}
.lp-ring-box { position: relative; width: 80%; margin: 0 auto; aspect-ratio: 560 / 440; perspective: 1500px; }
.lp-ring {
  --n: 3; --r: 120px; position: absolute; inset: 0; transform-style: preserve-3d;
}
.lp-orbit {
  position: absolute; inset: 0; cursor: pointer;
  transform: translateZ(calc(-1 * var(--r))) rotateY(calc((var(--i) - var(--turn, 0)) * 360deg / var(--n)))
             translateZ(var(--r)) rotateY(calc((var(--turn, 0) - var(--i)) * 360deg / var(--n)));
  transition: transform 1s cubic-bezier(0.45, 0.05, 0.25, 1);
}
.lp-orbit.is-front { cursor: default; }
/* Between turns the front scene sits completely flat (no 3D), so its text is drawn sharp instead of resampled.
   home.js switches this on and off with transitions paused ("jump"): flat and on-the-ring look identical at rest,
   and the ring keeps every scene's real angle, so a turn always takes the short way around. */
.lp-ring.settled .lp-orbit.is-front { transform: none; }
.lp-ring.jump .lp-orbit { transition: none; }
.lp-scene {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(232, 176, 75, 0.08), 0 0 120px -40px rgba(232, 176, 75, 0.45);
}
.lp-scene::after {  /* dims the scenes behind */
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: rgba(6, 10, 15, 0.62); opacity: 0; transition: opacity 0.8s ease;
}
.lp-orbit:not(.is-front) .lp-scene::after { opacity: 1; }
.lp-orbit:not(.is-front):hover .lp-scene::after { opacity: 0.4; }
/* Arrows: bare chevrons at the sides that glow and slide out on hover, kick on click, and nudge now and then. */
.landing .lp-ring-arrow {
  position: absolute; top: 0; bottom: 0; z-index: 5; width: 9%; min-width: 44px; padding: 0; margin: 0;
  display: grid; place-items: center; border: 0; border-radius: 0; background: none; cursor: pointer;
  color: rgba(243, 241, 236, 0.55); -webkit-tap-highlight-color: transparent;
}
.lp-ring-prev { left: 0; }
.lp-ring-next { right: 0; }
.lp-ring-arrow::before {  /* soft light behind the chevron */
  content: ""; position: absolute; top: 50%; left: 50%; width: 130px; height: 130px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 176, 75, 0.28), rgba(232, 176, 75, 0) 70%);
  opacity: 0; scale: 0.6; transition: opacity 0.35s ease, scale 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none;
}
.lp-ring-arrow svg {
  position: relative; width: 22px; height: 44px; overflow: visible; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition: translate 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), scale 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lp-ring-arrow path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke-width 0.3s; }
.lp-ring-prev svg { animation: lp-nudge-left 5s 2s ease-in-out infinite; }
.lp-ring-next svg { animation: lp-nudge-right 5s 2s ease-in-out infinite; }
@keyframes lp-nudge-left { 0%, 82%, 100% { transform: none; } 88% { transform: translateX(-5px); } 94% { transform: translateX(1px); } }
@keyframes lp-nudge-right { 0%, 82%, 100% { transform: none; } 88% { transform: translateX(5px); } 94% { transform: translateX(-1px); } }
.landing .lp-ring-arrow:hover, .landing .lp-ring-arrow:focus-visible { color: var(--sand-soft); outline: none; }
.lp-ring-arrow:hover::before, .lp-ring-arrow:focus-visible::before { opacity: 1; scale: 1; }
.lp-ring-arrow:hover path, .lp-ring-arrow:focus-visible path { stroke-width: 2.8; }
.lp-ring-prev:hover svg, .lp-ring-prev:focus-visible svg { translate: -5px 0; scale: 1.12; }
.lp-ring-next:hover svg, .lp-ring-next:focus-visible svg { translate: 5px 0; scale: 1.12; }
.lp-ring-arrow:hover svg { animation: none; }
.lp-ring-prev.kick svg { animation: lp-kick-left 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lp-ring-next.kick svg { animation: lp-kick-right 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes lp-kick-left { 40% { transform: translateX(-12px) scale(0.9); } }
@keyframes lp-kick-right { 40% { transform: translateX(12px) scale(0.9); } }
/* little bits of life in the new scenes */
.lp-drive { animation: lp-drive 9s linear infinite; }
.lp-drive-back { animation-name: lp-drive-back; animation-duration: 11s; }
.lp-drive-slow { animation-duration: 16s; }
@keyframes lp-drive { from { transform: translateX(-60px); } to { transform: translateX(860px); } }
@keyframes lp-drive-back { from { transform: translateX(60px); } to { transform: translateX(-860px); } }
.lp-crane { transform-box: view-box; transform-origin: 430px 168px; animation: lp-slew 14s ease-in-out infinite alternate; }
@keyframes lp-slew { from { transform: rotate(-16deg); } to { transform: rotate(14deg); } }
.lp-fans circle { fill: none; stroke: #6b7684; stroke-width: 1.4; stroke-dasharray: 5 3; transform-box: fill-box; transform-origin: center; animation: lp-spin 1.2s linear infinite; }
.lp-scene > svg { display: block; width: 100%; height: 100%; }
/* Squares, photo dots and the path line run on the drone's own SVG timeline (<animate> in home.html):
   each lights as the drone passes and all reset together when it starts over, also with reduced motion. */
.lp-cell { fill: var(--sand); stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.lp-trail { fill: none; stroke: var(--sand-soft); stroke-opacity: 0.6; stroke-width: 1.6; stroke-dasharray: 1; }
.lp-shot-dot { fill: #fff; }
.lp-drone > circle { animation: lp-glow 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lp-glow { 50% { opacity: 0.28; transform: scale(1.25); } }
.lp-rotor { transform-box: fill-box; transform-origin: center; animation: lp-spin 0.5s linear infinite; }
.lp-rotor circle { fill: rgba(243, 241, 236, 0.18); stroke: #f3f1ec; stroke-width: 1.2; stroke-dasharray: 6 4; }
@keyframes lp-spin { to { transform: rotate(360deg); } }

.lp-live {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 650; color: var(--on-night);
  background: rgba(10, 15, 21, 0.72); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px);
}
.lp-live .lp-dot { background: #ff5d5d; box-shadow: 0 0 0 0 rgba(255, 93, 93, 0.6); animation-name: lp-pulse-red; }
@keyframes lp-pulse-red { 70% { box-shadow: 0 0 0 8px rgba(255, 93, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 93, 93, 0); } }
.lp-pop {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(10, 15, 21, 0.82); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7); color: var(--on-night);
  opacity: 0; animation: lp-pop 12s infinite both;
}
.lp-pop small { display: block; font-size: 11.5px; color: var(--on-night-soft); }
.lp-pop strong { display: block; font-size: 26px; font-weight: 850; letter-spacing: -0.03em; line-height: 1.15; }
.lp-pop em { font-style: normal; font-size: 15px; font-weight: 700; color: var(--on-night-soft); }
.lp-pop-pilot { top: 15%; right: 4%; animation-delay: 3.4s; }
.lp-pop-pilot strong { color: var(--sand-soft); }
.lp-pop-fund { bottom: 6%; left: 4%; animation-delay: 7.4s; }
.lp-pop-fund strong { color: var(--mint); }
.lp-pop-fund svg { width: 64px; height: 28px; }
.lp-pop-fund path { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: lp-spark 12s 7.4s infinite both; }
@keyframes lp-spark { 4% { stroke-dashoffset: 80; } 14%, 100% { stroke-dashoffset: 0; } }
.lp-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); color: var(--night); font-weight: 800; }
@keyframes lp-pop {
  0% { opacity: 0; transform: translateY(12px) scale(0.94); } 5% { opacity: 1; transform: none; }
  45% { opacity: 1; transform: none; } 52% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 0; }
}

/* ---------- example ticker: one row sliding left forever, like a stock exchange board (home.js repeats it) ---------- */
.lp-ticker {
  position: relative; display: flex; align-items: stretch; overflow: hidden; color: var(--on-night); background: #070b10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-ticker::before { content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 3px; background: var(--tile-strip); }
.lp-ticker-label {
  flex: none; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 0 20px 0 24px;
  background: var(--sand); color: #1b1407; font-size: 12px; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 14px 0 26px -8px rgba(0, 0, 0, 0.7);
}
.lp-ticker-label .lp-dot { background: #d6302f; box-shadow: 0 0 0 0 rgba(214, 48, 47, 0.6); animation-name: lp-pulse-red; }
.lp-ticker-window {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.lp-ticker-track { display: flex; width: max-content; }
.lp-ticker-track.moving { animation: lp-slide var(--duration, 60s) linear infinite; }
@keyframes lp-slide { to { transform: translateX(calc(-1 * var(--set))); } }
.lp-tick {
  flex: none; display: inline-flex; align-items: baseline; gap: 11px; padding: 17px 28px; white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.08); font-variant-numeric: tabular-nums;
}
.lp-tick b { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night-soft); }
.lp-tick strong { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--on-night); }
.lp-tick em { font-style: normal; font-size: 14px; font-weight: 800; }
.lp-tick .up { color: var(--mint); }
.lp-tick .down { color: #ff6b6b; }

/* ---------- pilots / funds ---------- */
.lp-sides { max-width: 1240px; margin: 0 auto; padding: 64px 24px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lp-side {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 36px 36px 0; border-radius: 28px; border: 1px solid var(--hairline);
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px));
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}
.lp-side:hover { --lift: -8px; box-shadow: 0 40px 70px -34px rgba(16, 22, 30, 0.45); }
.lp-side-pilots:hover { border-color: rgba(232, 176, 75, 0.55); }
.lp-side-funds:hover { border-color: rgba(110, 168, 255, 0.55); }
.lp-side-pilots { background: radial-gradient(500px 300px at 0% 0%, rgba(232, 176, 75, 0.22), transparent 70%), var(--card); }
.lp-side-funds { background: radial-gradient(500px 300px at 100% 0%, rgba(110, 168, 255, 0.24), transparent 70%), var(--card); }
.lp-tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.lp-side-pilots .lp-tag { background: rgba(232, 176, 75, 0.18); color: #a46f12; }
.lp-side-funds .lp-tag { background: rgba(110, 168, 255, 0.18); color: #2a5fc0; }
@media (prefers-color-scheme: dark) { .lp-side-pilots .lp-tag { color: var(--sand-soft); } .lp-side-funds .lp-tag { color: #a9c8ff; } }
.lp-side h2 { margin-top: 16px; font-size: clamp(34px, 4vw, 54px); font-weight: 850; }
.lp-checks { list-style: none; padding: 0; margin: 22px 0 0; }
.lp-checks li { position: relative; padding-left: 34px; margin: 12px 0; color: var(--ink-soft); }
.lp-checks b { color: var(--ink); font-weight: 700; }
.lp-checks li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.lp-side-pilots .lp-checks li::before { background-color: #c98d22; }
.lp-side-funds .lp-checks li::before { background-color: #3a74d8; }
.landing .lp-side-cta {
  align-self: flex-start; margin-top: 14px; padding: 12px 20px; border-radius: 999px; font-weight: 750; text-decoration: none;
  background: var(--ink); color: var(--paper); transition: transform 0.2s, box-shadow 0.2s;
}
.landing .lp-side-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(16, 22, 30, 0.6); }
.lp-side-cta span { display: inline-block; transition: transform 0.2s; }
.lp-side-cta:hover span { transform: translateX(4px); }
.lp-side-shot {
  position: relative; margin: auto -6px 0; padding-top: 30px; transform-origin: 50% 100%;  /* sits on the card's bottom edge */
  transform: perspective(900px) translateY(16px) rotateX(7deg);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lp-side:hover .lp-side-shot { transform: perspective(900px) translateY(-2px) rotateX(0deg) scale(1.03); }
.lp-side-shot img {
  display: block; width: 100%; height: auto; border-radius: 16px 16px 0 0; border: 1px solid var(--hairline); border-bottom: 0;
  box-shadow: 0 -10px 40px -20px rgba(16, 22, 30, 0.3); filter: saturate(0.9);
  transition: box-shadow 0.8s ease, filter 0.8s ease;
}
.lp-side:hover .lp-side-shot img { box-shadow: 0 -24px 60px -24px rgba(16, 22, 30, 0.55); filter: saturate(1.08); }
.lp-side-shot::after {  /* a sweep of light across the picture */
  content: ""; position: absolute; inset: 30px 0 0; border-radius: 16px 16px 0 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.34) 50%, transparent 65%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; transition: background-position 1.1s ease;
}
.lp-side:hover .lp-side-shot::after { background-position: -30% 0; }
.lp-chip {
  position: absolute; top: 16px; right: 18px; padding: 9px 15px; border-radius: 999px; font-weight: 800; font-size: 15px;
  z-index: 1; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); animation: lp-bob 3.2s ease-in-out infinite;
  transition: scale 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lp-side:hover .lp-chip { scale: 1.1; }
.lp-chip-money { background: var(--sand); color: #1b1407; }
.lp-chip-insight { background: #0f1620; color: var(--mint); border: 1px solid rgba(99, 224, 160, 0.4); animation-delay: 1.2s; }
@keyframes lp-bob { 50% { transform: translateY(-7px); } }

/* ---------- how it works: the six steps, then what a flight becomes ---------- */
.lp-how { padding: 56px 24px 64px; scroll-margin-top: 12px; }
.lp-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #a46f12; }
.lp-eyebrow::before, .lp-made-tag::before {  /* three little glass tiles */
  content: ""; flex: none; width: 26px; height: 6px; border-radius: 1px;
  background: linear-gradient(90deg, var(--ruby) 0 6px, transparent 6px 10px, var(--sapphire) 10px 16px, transparent 16px 20px, var(--emerald) 20px 26px);
}
.lp-how h2, .lp-about h2 { margin-top: 10px; font-size: clamp(32px, 4vw, 52px); font-weight: 850; }
.lp-how-lead { margin-top: 12px; max-width: 40em; font-size: 18px; color: var(--ink-soft); }
.lp-flow { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-flow li { position: relative; padding: 22px 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--hairline); }
.lp-flow-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 850; background: var(--ink); color: var(--paper); }
.lp-who { position: absolute; top: 26px; right: 22px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.lp-by-fund .lp-flow-num { background: #3a74d8; color: #fff; }
.lp-by-fund .lp-who { background: rgba(110, 168, 255, 0.16); color: #2a5fc0; }
.lp-by-pilot .lp-flow-num { background: var(--sand); color: #1b1407; }
.lp-by-pilot .lp-who { background: rgba(232, 176, 75, 0.2); color: #a46f12; }
.lp-by-mosaica .lp-who { background: rgba(99, 224, 160, 0.18); color: #1f8a57; }
.lp-flow h3 { margin-top: 14px; font-size: 19px; font-weight: 800; }
.lp-flow p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }
.lp-flow li:not(:nth-child(3n))::after {  /* the flow from one step to the next */
  content: ""; position: absolute; top: 43px; right: -18px; width: 18px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 4px, transparent 4px 6px, var(--sapphire) 6px 10px, transparent 10px 12px, var(--emerald) 12px 16px, transparent 16px 18px);
  background-size: 18px 4px; animation: lp-flow 1s linear infinite;
}
@keyframes lp-flow { to { background-position: 18px 0; } }
.lp-how .lp-made-title { margin-top: 56px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 850; }
.lp-made { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 20px; }
.lp-made-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; color: var(--on-night);
  background: var(--night-2); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 30px 60px -36px rgba(10, 15, 21, 0.7);
  transition: translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s;
}
.lp-made-card:hover { translate: 0 -6px; box-shadow: 0 40px 70px -34px rgba(10, 15, 21, 0.85); }
.lp-viz { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.lp-viz svg { display: block; width: 100%; height: 100%; }
.lp-viz-badge {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; color: var(--on-night); background: rgba(10, 15, 21, 0.78); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px);
}
.lp-viz-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: lp-glow 1.4s ease-in-out infinite; }
.lp-made-copy { padding: 18px 20px 22px; }
.lp-made-tag { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); }
.lp-made-copy h4 { margin: 6px 0 0; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.lp-made-copy p:last-child { margin-top: 6px; font-size: 14.5px; color: var(--on-night-soft); }

/* illustrations. Each one rests on its finished picture, so with motion off it still reads. */
.lp-det rect { fill: rgba(99, 224, 160, 0.1); stroke: var(--mint); stroke-width: 1.4; }
.lp-det { transform-box: fill-box; transform-origin: center; animation: lp-det 7s infinite both; }
@keyframes lp-det { 0% { opacity: 0; transform: scale(1.6); } 4% { opacity: 1; transform: none; } 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
.lp-det-tag rect { fill: var(--mint); stroke: none; }
.lp-det-tag text { font-size: 6.5px; font-weight: 800; fill: #08130d; }
.lp-scan { animation: lp-scan 7s linear infinite; }
@keyframes lp-scan { 0% { transform: translateX(0); } 55%, 100% { transform: translateX(380px); } }
.lp-iso-grid { fill: none; stroke: rgba(110, 168, 255, 0.14); stroke-width: 0.7; }
.lp-face { stroke: none; animation: lp-faces 8s infinite both; }
.lp-face-t { fill: rgba(110, 168, 255, 0.34); }
.lp-face-r { fill: rgba(110, 168, 255, 0.16); }
.lp-face-l { fill: rgba(110, 168, 255, 0.24); }
.lp-face-p { fill: rgba(232, 176, 75, 0.28); }
.lp-tower.lp-face-t { fill: rgba(110, 168, 255, 0.42); }
@keyframes lp-faces { 0%, 30% { opacity: 0; } 45%, 90% { opacity: 1; } 100% { opacity: 0; } }
.lp-wire { fill: none; stroke: #9cc2ff; stroke-width: 1; stroke-linejoin: round; stroke-dasharray: 1; animation: lp-wire 8s infinite both; }
.lp-wire-p { stroke: var(--sand-soft); }
@keyframes lp-wire { 0% { stroke-dashoffset: 1; } 35%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.lp-dim { stroke: var(--on-night); stroke-width: 1; stroke-dasharray: 2 2; }
.lp-dim-text { font-size: 9px; font-weight: 800; fill: var(--on-night); }
.lp-dim-mint { fill: var(--sand-soft); }
.lp-dim, .lp-dim-text { animation: lp-faces 8s infinite both; }
.lp-tile { stroke: none; transform-box: fill-box; transform-origin: center; animation: lp-tile 9s infinite both; }
@keyframes lp-tile {
  0% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.9); }
  12% { opacity: 1; transform: none; } 92% { opacity: 1; } 100% { opacity: 0; }
}
.lp-map-feats { animation: lp-feats 9s infinite both; }
@keyframes lp-feats { 0%, 24% { opacity: 0; } 34%, 92% { opacity: 1; } 100% { opacity: 0; } }
.lp-seams { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; animation: lp-seams 9s infinite both; }
@keyframes lp-seams { 0%, 14% { opacity: 0; } 18%, 28% { opacity: 1; } 38%, 100% { opacity: 0; } }
.lp-bar { fill: rgba(110, 168, 255, 0.45); transform-box: fill-box; transform-origin: 50% 100%; animation: lp-bar 7s infinite both; }
.lp-bar-now { fill: var(--mint); }
@keyframes lp-bar { 0% { transform: scaleY(0); } 10%, 90% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.lp-trend { fill: none; stroke: var(--sand-soft); stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 1; animation: lp-wire 7s 0.6s infinite both; }
.lp-now-tag rect { fill: var(--mint); }
.lp-now-tag text { font-size: 9px; font-weight: 850; fill: #08130d; }
.lp-now-tag { animation: lp-faces 7s infinite both; }
.lp-axis { font-size: 8px; fill: rgba(243, 241, 236, 0.45); }

/* ---------- why Mosaica ---------- */
.lp-about { padding: 24px 24px 88px; scroll-margin-top: 12px; }
.lp-about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.lp-about-lead { margin-top: 14px; font-size: 18px; color: var(--ink-soft); }
.lp-points { list-style: none; padding: 0; margin: 22px 0 0; }
.lp-points li { position: relative; padding-left: 34px; margin: 12px 0; color: var(--ink-soft); }
.lp-points b { color: var(--ink); font-weight: 700; }
.lp-points li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.lp-name-card {
  position: relative; overflow: hidden; margin-top: 26px; padding: 22px 24px; border-radius: 20px; color: var(--on-night-soft);
  background: var(--night); border: 1px solid rgba(232, 176, 75, 0.25);
}
.lp-name-card p { position: relative; }
.lp-name-label { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand-soft); }
.lp-name-line { margin-top: 10px; font-size: clamp(20px, 2vw, 25px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--on-night); }
.lp-name-close { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--sand-soft); }
.lp-name-tiles { position: absolute; right: -12px; top: -12px; width: 190px; height: 106px; opacity: 0.38; }
.lp-name-tiles rect { opacity: 0.8; }
.lp-name-card.in .lp-name-tiles rect { animation: lp-tile-in 0.6s var(--d) cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
@keyframes lp-tile-in { from { opacity: 0; transform: scale(0.4); } }
.lp-name-tiles rect { transform-box: fill-box; transform-origin: center; }
.lp-glass-ruby { fill: var(--ruby); } .lp-glass-sapphire { fill: var(--sapphire); } .lp-glass-emerald { fill: var(--emerald); }
.lp-glass-amber { fill: var(--amber); } .lp-glass-amethyst { fill: var(--amethyst); } .lp-glass-teal { fill: var(--teal); }
.lp-compare { padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--hairline); box-shadow: 0 30px 60px -40px rgba(16, 22, 30, 0.4); }
.lp-compare-title { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.lp-compare table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 15px; }
.lp-compare th, .lp-compare td { padding: 13px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.lp-compare tbody tr:last-child > * { border-bottom: 0; }
.lp-compare thead th { padding-top: 4px; font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.lp-compare thead th:last-child { color: #a46f12; }
.lp-compare tbody th { padding-left: 0; font-size: 13px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.lp-compare td { color: var(--ink-soft); }
.lp-compare td:last-child { font-weight: 700; color: var(--ink); background: rgba(232, 176, 75, 0.1); }
.lp-compare tbody tr:first-child td:last-child { border-radius: 10px 10px 0 0; }
.lp-compare tbody tr:last-child td:last-child { border-radius: 0 0 10px 10px; }
@media (prefers-color-scheme: dark) {
  .lp-eyebrow, .lp-compare thead th:last-child { color: var(--sand-soft); }
  .lp-by-fund .lp-who { color: #a9c8ff; }
  .lp-by-pilot .lp-who { color: var(--sand-soft); }
  .lp-by-mosaica .lp-who { color: var(--mint); }
}

/* ---------- final call ---------- */
.lp-final { position: relative; overflow: hidden; isolation: isolate; padding: 88px 24px; text-align: center; color: var(--on-night); background: var(--night); }
.lp-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.2;
  background: url("glass.svg") center / 720px 480px;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 32%, #000 92%);
  mask-image: radial-gradient(ellipse at center, transparent 32%, #000 92%);
}
.lp-final h2 { font-size: clamp(60px, 10vw, 128px); font-weight: 900; letter-spacing: -0.055em; padding-bottom: 0.08em; background: linear-gradient(180deg, #fff 40%, #d9d3c7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-final .lp-lead { margin: 10px auto 0; font-size: clamp(17px, 1.8vw, 20px); color: var(--on-night-soft); }
.lp-final .lp-form { margin: 26px auto 0; text-align: left; animation: none; }
.lp-final .lp-roles { justify-content: center; }
.lp-final .lp-form [role="status"] { text-align: center; }

.lp-footer {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  max-width: 1240px; margin: 0 auto; padding: 22px 24px 30px; font-size: 14px; color: var(--ink-soft);
}
.lp-footer::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; border-radius: 1px; background: var(--tile-strip); opacity: 0.55; }
.landing .lp-brand-small { color: var(--ink-soft); font-weight: 500; font-size: 14px; }
.lp-brand-small .lp-logo { width: 22px; height: 22px; border-radius: 5px; box-shadow: none; }
.landing .lp-footer a { color: var(--ink-soft); text-decoration: none; }
.landing .lp-footer a:hover { color: var(--ink); }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.landing .lp-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- signup pages (/join/pilot, /join/fund) ---------- */
.landing.lp-join-page { display: flex; flex-direction: column; min-height: 100vh; background: var(--night); color: var(--on-night); }
html:not([data-role="pilot"]) .lp-join-page [data-for~="pilot"]:not([data-for~="fund"]),
html:not([data-role="fund"]) .lp-join-page [data-for~="fund"]:not([data-for~="pilot"]),
html[data-role="choose"] .lp-join-page [data-for="pilot fund"],
html:not([data-role="choose"]) .lp-join-page [data-for~="choose"] { display: none !important; }
.lp-join {
  flex: 1; position: relative; overflow: hidden; padding: 112px 24px 72px;
  background:
    radial-gradient(720px 460px at 0% 10%, rgba(232, 176, 75, 0.15), transparent 64%),
    radial-gradient(760px 520px at 100% 100%, rgba(56, 116, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
html[data-role="fund"] .lp-join {
  background:
    radial-gradient(720px 460px at 0% 10%, rgba(110, 168, 255, 0.2), transparent 64%),
    radial-gradient(760px 520px at 100% 100%, rgba(99, 224, 160, 0.1), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.lp-join::before {
  -webkit-mask-image: radial-gradient(900px 600px at 30% 30%, #000, transparent 75%);
  mask-image: radial-gradient(900px 600px at 30% 30%, #000, transparent 75%);
}
.lp-join-grid {  /* phones: intro, form, then the rest of the pitch */
  position: relative; max-width: 1160px; margin: 0 auto; display: grid; align-items: start; column-gap: 56px;
  grid-template-columns: 1.05fr 0.95fr; grid-template-rows: auto 1fr; grid-template-areas: "intro card" "more card";
}
.lp-join-intro { grid-area: intro; }
.lp-join-card { grid-area: card; }
.lp-join-more { grid-area: more; }
.lp-switch { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 28px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); animation: lp-rise 0.6s both; }
.landing .lp-switch a { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--on-night-soft); transition: background 0.25s, color 0.25s; }
.landing .lp-switch a:hover { color: var(--on-night); }
.landing .lp-switch a[aria-current] { background: var(--on-night); color: var(--night); }
.lp-join h1 { margin-top: 22px; font-size: clamp(42px, 4.8vw, 68px); font-weight: 850; letter-spacing: -0.045em; line-height: 1; }
.lp-join .lp-sub { animation-delay: 0.25s; }
.lp-perks { list-style: none; padding: 0; margin: 26px 0 0; animation: lp-rise 0.8s 0.35s both; }
.lp-perks li { position: relative; padding-left: 34px; margin: 13px 0; color: var(--on-night-soft); }
.lp-perks b { color: var(--on-night); font-weight: 700; }
.lp-perks li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230a0f15' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
html[data-role="fund"] .lp-perks li::before { background-color: var(--sky); }

.lp-join-card {
  position: relative; padding: 32px; border-radius: 26px; color: var(--on-night);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)), rgba(12, 18, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.13); backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 120px -50px rgba(232, 176, 75, 0.5);
  animation: lp-rise 0.9s 0.2s both; overflow: hidden;
}
.lp-join-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--tile-strip); }
html[data-role="fund"] .lp-join-card { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 120px -50px rgba(110, 168, 255, 0.55); }
.lp-join-card h2 { font-size: 30px; font-weight: 850; }
.lp-join-lead { margin-top: 6px; color: var(--on-night-soft); }
.lp-join-form label, .lp-pills legend { display: block; margin: 18px 0 0; font-size: 14px; font-weight: 650; color: var(--on-night); }
.lp-join-form label i, .lp-pills legend i { font-style: normal; font-weight: 500; color: rgba(243, 241, 236, 0.45); }
.lp-join-form input:not([type="radio"]), .lp-join-form textarea {
  margin-top: 7px; padding: 13px 14px; border-radius: 12px; font-size: 16px; color: var(--on-night);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.lp-join-form input::placeholder, .lp-join-form textarea::placeholder { color: rgba(243, 241, 236, 0.38); }
.lp-join-form input:not([type="radio"]):focus, .lp-join-form textarea:focus {
  border-color: rgba(232, 176, 75, 0.75); background: rgba(255, 255, 255, 0.09); box-shadow: 0 0 0 4px rgba(232, 176, 75, 0.15);
}
.lp-pills { border: 0; padding: 0; margin: 18px 0 0; }
.lp-join-form .lp-pills legend { padding: 0; margin: 0 0 8px; }
.lp-join-form .lp-pills label { display: inline-block; margin: 0 6px 6px 0; cursor: pointer; }
.lp-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp-pills span {
  display: inline-block; padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2); color: var(--on-night-soft); transition: all 0.2s;
}
.lp-pills label:hover span { border-color: rgba(255, 255, 255, 0.45); color: var(--on-night); }
.lp-pills input:checked + span { background: var(--on-night); border-color: var(--on-night); color: var(--night); }
.lp-pills input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.lp-join-form button {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 24px; padding: 16px 22px;
  border: 0; border-radius: 14px; font-size: 17px; font-weight: 750; background: var(--sand); color: #1b1407;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.lp-join-form button:hover { background: var(--sand-soft); box-shadow: 0 12px 30px -10px rgba(232, 176, 75, 0.75); }
.lp-join-form button:active { transform: scale(0.985); }
.lp-join-form button b { display: inline-block; transition: transform 0.2s; }
.lp-join-form button:hover b { transform: translateX(4px); }
.lp-join-form [role="status"] { margin-top: 12px; font-size: 15px; font-weight: 650; color: #ff9b8f; }
.lp-join-form [role="status"]:empty { display: none; }
.lp-join-form .lp-fine { text-align: center; }
.lp-join-done { padding: 22px 4px 8px; text-align: center; animation: lp-rise 0.6s both; }
.lp-join-done svg { width: 76px; height: 76px; }
.lp-join-done circle { fill: rgba(232, 176, 75, 0.14); stroke: var(--sand); stroke-width: 3; stroke-dasharray: 189; stroke-dashoffset: 189; animation: lp-draw 0.8s 0.1s ease forwards; }
.lp-join-done path { fill: none; stroke: var(--sand-soft); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: lp-draw 0.5s 0.7s ease forwards; }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
.lp-join-done h2 { margin-top: 18px; font-size: 34px; }
.lp-join-done p { margin: 10px auto 0; max-width: 26em; color: var(--on-night-soft); }
.lp-join-done .lp-done-note { margin-top: 12px; font-size: 14px; color: rgba(243, 241, 236, 0.55); }
.landing .lp-done-home { display: inline-block; margin-top: 22px; padding: 12px 20px; border-radius: 999px; font-weight: 750; text-decoration: none; background: var(--on-night); color: var(--night); }
.lp-join-page .lp-footer { width: 100%; }
.landing.lp-join-page .lp-footer, .landing.lp-join-page .lp-footer a, .landing.lp-join-page .lp-brand-small { color: rgba(243, 241, 236, 0.5); }
.landing.lp-join-page .lp-footer a:hover { color: var(--on-night); }

/* the /join chooser */
.lp-choose { position: relative; max-width: 980px; margin: 0 auto; text-align: center; }
.lp-choose h1 span { display: inline-block; }
.lp-choose .lp-sub { margin: 18px auto 0; }
.lp-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; text-align: left; animation: lp-rise 0.8s 0.35s both; }
.landing .lp-choice {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 24px; text-decoration: none;
  color: var(--on-night-soft); border: 1px solid rgba(255, 255, 255, 0.13); overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.45s, box-shadow 0.45s;
}
.lp-choice-pilot { background: radial-gradient(420px 260px at 0% 0%, rgba(232, 176, 75, 0.24), transparent 70%), rgba(255, 255, 255, 0.04); }
.lp-choice-fund { background: radial-gradient(420px 260px at 100% 0%, rgba(110, 168, 255, 0.26), transparent 70%), rgba(255, 255, 255, 0.04); }
.landing .lp-choice:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.9); }
.lp-choice-pilot:hover { border-color: rgba(232, 176, 75, 0.6); }
.lp-choice-fund:hover { border-color: rgba(110, 168, 255, 0.6); }
.lp-choice-tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.lp-choice-pilot .lp-choice-tag { background: rgba(232, 176, 75, 0.18); color: var(--sand-soft); }
.lp-choice-fund .lp-choice-tag { background: rgba(110, 168, 255, 0.18); color: #a9c8ff; }
.lp-choice strong { font-size: clamp(30px, 3.4vw, 42px); font-weight: 850; letter-spacing: -0.035em; line-height: 1.05; color: var(--on-night); }
.lp-choice-go { align-self: flex-start; margin-top: 8px; padding: 11px 18px; border-radius: 999px; font-weight: 750; background: var(--on-night); color: var(--night); }
.lp-choice-go span { display: inline-block; transition: transform 0.25s; }
.lp-choice:hover .lp-choice-go span { transform: translateX(4px); }
.lp-curious { margin: 36px auto 0; text-align: left; animation-delay: 0.5s; }
.lp-curious-title { margin-bottom: 10px; font-size: 15px; font-weight: 650; color: var(--on-night-soft); text-align: center; }
.lp-curious [role="status"] { text-align: center; }

/* ---------- privacy and other reading pages ---------- */
.lp-doc { position: relative; max-width: 760px; margin: 0 auto; font-size: 16.5px; color: var(--on-night-soft); }
.lp-doc .lp-eyebrow { color: var(--sand-soft); }
.lp-doc h1 { margin-top: 10px; font-size: clamp(36px, 5vw, 56px); font-weight: 850; letter-spacing: -0.04em; color: var(--on-night); }
.lp-doc-date { margin-top: 10px; font-size: 14px; color: rgba(243, 241, 236, 0.5); }
.lp-doc h2 { margin-top: 34px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; color: var(--on-night); }
.lp-doc h3 { margin-top: 18px; font-size: 16.5px; font-weight: 750; color: var(--on-night); }
.landing .lp-doc p { margin-top: 12px; }
.lp-doc ul { margin: 12px 0 0; padding-left: 20px; }
.lp-doc li { margin: 8px 0; }
.lp-doc b { color: var(--on-night); }
.landing .lp-doc a { color: var(--sand-soft); }

/* ---------- reveal on scroll (only when scripts run) ---------- */
.js .reveal:not(.in) { opacity: 0; }
.js .reveal.in { animation: lp-fade-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.lp-sides .reveal:nth-child(2), .lp-flow .reveal:nth-child(3n+2), .lp-made .reveal:nth-child(2), .lp-points .reveal:nth-child(2) { animation-delay: 0.12s; }
.lp-flow .reveal:nth-child(3n), .lp-made .reveal:nth-child(3), .lp-points .reveal:nth-child(3) { animation-delay: 0.24s; }
.lp-made .reveal:nth-child(4) { animation-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  /* Loops stop and short hover transitions stay. The ticker keeps sliding: it's slow, steady and the page's centerpiece. */
  .landing *:not(.lp-ticker-track), .landing *::before, .landing *::after { animation: none !important; }
  .lp-side-shot { transform: none; }
  .lp-side:hover .lp-side-shot { transform: translateY(-4px); }
  .lp-pop { opacity: 1; }
  .js .reveal:not(.in) { opacity: 1; }
  .lp-join-done circle, .lp-join-done path { stroke-dashoffset: 0; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-stage { max-width: 640px; }
  .lp-ring-box { width: 82%; }
  .lp-sides { grid-template-columns: 1fr; }
  .lp-flow { grid-template-columns: 1fr 1fr; }
  .lp-flow li:not(:nth-child(3n))::after { display: none; }
  .lp-made { grid-template-columns: 1fr 1fr; }
  .lp-about-grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-join-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "intro" "card" "more"; row-gap: 32px; max-width: 640px; }
  .lp-perks { margin-top: 0; }
  .lp-choices { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-header { padding: 16px; }
  .lp-header::after { left: 16px; right: 16px; }
  .lp-hero::before, .lp-join::before { opacity: 0.05; }
  .landing .lp-nav a:not(.lp-header-cta) { display: none; }
  .lp-hero { padding: 92px 16px 40px; }
  .lp-field { flex-direction: column; padding: 8px; }
  .lp-field button { padding: 14px 22px; }
  .lp-pop { padding: 9px 12px; gap: 9px; }
  .lp-pop strong { font-size: 19px; }
  .lp-pop small { font-size: 10.5px; }
  .lp-avatar { width: 28px; height: 28px; font-size: 13px; }
  .lp-pop-fund svg { width: 44px; }
  .lp-live { font-size: 11px; top: 10px; left: 10px; }
  .lp-ring-box { width: 84%; }
  .lp-ring-arrow svg { width: 16px; height: 34px; }
  .lp-ticker-label { width: 104px; padding: 0 10px 0 14px; gap: 7px; font-size: 9.5px; letter-spacing: 0.1em; line-height: 1.25; }
  .lp-tick { gap: 8px; padding: 13px 18px; }
  .lp-tick b { font-size: 10.5px; }
  .lp-tick strong { font-size: 16px; }
  .lp-tick em { font-size: 12.5px; }
  .lp-sides { padding: 40px 16px 20px; }
  .lp-side { padding: 28px 24px 0; }
  .lp-how { padding: 40px 16px 48px; }
  .lp-flow, .lp-made { grid-template-columns: 1fr; }
  .lp-about { padding: 16px 16px 64px; }
  .lp-compare { padding: 20px 16px; }
  .lp-name-tiles { opacity: 0.25; }
  .lp-compare th, .lp-compare td { padding: 11px 7px; font-size: 14px; }
  .lp-final { padding: 72px 16px; }
  .lp-join { padding: 88px 16px 48px; }
  .lp-join-card { padding: 24px 20px; }
  .lp-footer { flex-direction: column; align-items: flex-start; }
}
