/* ============================================================================
   Public landing page (app/ui/landing.js) — light-first, standalone.

   Loads last. Everything is scoped under .landing-pro / .lp-*, so no other
   view can be affected. Tokens follow the app's own theme mechanism:
     - bare :root                      -> light palette (the default look)
     - prefers-color-scheme: dark      -> dark palette (unless data-theme=light)
     - :root[data-theme="dark"]        -> dark palette

   One signature gradient (electric indigo -> violet -> hot pink) is used for
   every accent: highlighted words, primary buttons, numerals, the final band.
   Coloured section bands: lavender, mint, peach, and one deep-indigo band.

   Content is VISIBLE by default. `.lp-js` (added by JS only once the
   IntersectionObserver is running) is what hides not-yet-seen blocks, so any
   failure leaves a complete page.
   ========================================================================== */

.landing-pro {
  /* ---- light palette (default) ---- */
  --lp-bg: #FFFFFF;
  --lp-soft: #F5F6FD;
  --lp-surface: #FFFFFF;
  --lp-ink: #0E1236;
  --lp-ink-2: #3D4468;
  --lp-ink-3: #5F678B;
  --lp-line: rgba(14, 18, 54, 0.10);
  --lp-line-2: rgba(14, 18, 54, 0.18);

  --lp-indigo: #4F3BFF;
  --lp-violet: #8B3DFF;
  --lp-pink: #F0307F;
  --lp-coral: #F2603F;
  --lp-amber: #E29400;
  --lp-teal: #06A08C;
  --lp-focus: #4F3BFF;

  --lp-grad-text: linear-gradient(100deg, #4F3BFF 0%, #8B3DFF 46%, #F0307F 100%);
  --lp-grad-fill: linear-gradient(100deg, #4F3BFF 0%, #7B3FF5 48%, #C72A8E 100%);
  --lp-band-lav: #F0EDFF;
  --lp-band-mint: #E3F8F0;
  --lp-band-peach: #FFEFE4;
  --lp-deep-1: #130C52;
  --lp-deep-2: #2B18A8;
  --lp-nav-bg: rgba(255, 255, 255, 0.76);
  --lp-shadow-sm: 0 1px 2px rgba(14, 18, 54, 0.05), 0 4px 14px -6px rgba(14, 18, 54, 0.10);
  --lp-shadow: 0 1px 2px rgba(14, 18, 54, 0.04), 0 8px 20px -8px rgba(14, 18, 54, 0.10), 0 28px 60px -30px rgba(60, 40, 200, 0.22);
  --lp-shadow-lg: 0 2px 4px rgba(14, 18, 54, 0.04), 0 18px 40px -12px rgba(14, 18, 54, 0.14), 0 50px 110px -40px rgba(79, 59, 255, 0.40);
  --lp-blob-o: 0.55;
  --lp-code-bg: #0F1230;
  --lp-code-ink: #E6E8FF;

  position: relative;
  isolation: isolate;
  overflow: clip;
  display: block;
  width: 100%;
  min-height: 100vh;
  color: var(--lp-ink);
  background: var(--lp-bg);
  font-family: "IBM Plex Sans Condensed", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .landing-pro {
    --lp-bg: #0A0C1C; --lp-soft: #0F1226; --lp-surface: #14172E;
    --lp-ink: #EEF0FF; --lp-ink-2: #B9BFDD; --lp-ink-3: #8D95B8;
    --lp-line: rgba(255, 255, 255, 0.10); --lp-line-2: rgba(255, 255, 255, 0.20);
    --lp-indigo: #8B7CFF; --lp-violet: #B48BFF; --lp-pink: #FF6FAE; --lp-coral: #FF8A6B; --lp-amber: #FFC24D; --lp-teal: #2DD4BF;
    --lp-focus: #B4A9FF;
    --lp-grad-text: linear-gradient(100deg, #8B7CFF 0%, #B98CFF 46%, #FF7FB8 100%);
    --lp-band-lav: #121234; --lp-band-mint: #0C2029; --lp-band-peach: #24141B;
    --lp-deep-1: #0D0838; --lp-deep-2: #221597;
    --lp-nav-bg: rgba(10, 12, 28, 0.72);
    --lp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px -6px rgba(0, 0, 0, 0.6);
    --lp-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 26px -10px rgba(0, 0, 0, 0.7);
    --lp-shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 60px -16px rgba(0, 0, 0, 0.75), 0 60px 120px -50px rgba(110, 90, 255, 0.5);
    --lp-blob-o: 0.34;
    --lp-code-bg: #090B1E;
  }
}
:root[data-theme="dark"] .landing-pro {
  --lp-bg: #0A0C1C; --lp-soft: #0F1226; --lp-surface: #14172E;
  --lp-ink: #EEF0FF; --lp-ink-2: #B9BFDD; --lp-ink-3: #8D95B8;
  --lp-line: rgba(255, 255, 255, 0.10); --lp-line-2: rgba(255, 255, 255, 0.20);
  --lp-indigo: #8B7CFF; --lp-violet: #B48BFF; --lp-pink: #FF6FAE; --lp-coral: #FF8A6B; --lp-amber: #FFC24D; --lp-teal: #2DD4BF;
  --lp-focus: #B4A9FF;
  --lp-grad-text: linear-gradient(100deg, #8B7CFF 0%, #B98CFF 46%, #FF7FB8 100%);
  --lp-band-lav: #121234; --lp-band-mint: #0C2029; --lp-band-peach: #24141B;
  --lp-deep-1: #0D0838; --lp-deep-2: #221597;
  --lp-nav-bg: rgba(10, 12, 28, 0.72);
  --lp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px -6px rgba(0, 0, 0, 0.6);
  --lp-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 26px -10px rgba(0, 0, 0, 0.7);
  --lp-shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 60px -16px rgba(0, 0, 0, 0.75), 0 60px 120px -50px rgba(110, 90, 255, 0.5);
  --lp-blob-o: 0.34;
  --lp-code-bg: #090B1E;
}

.landing-pro *, .landing-pro *::before, .landing-pro *::after { box-sizing: border-box; }
.landing-pro { --lp-reset: 1; }
:where(.landing-pro) :where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.landing-pro) :where(ul, ol) { list-style: none; }
:where(.landing-pro) :where(img, svg, video, canvas) { display: block; max-width: 100%; }
:where(.landing-pro) :where(button) { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:where(.landing-pro) :where(a) { color: inherit; text-decoration: none; }
.landing-pro :focus-visible { outline: 3px solid var(--lp-focus); outline-offset: 3px; border-radius: 8px; }
.landing-pro .lp-mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace; }

.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-center { display: flex; justify-content: center; margin-top: 44px; }
.lp-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

/* text gradient */
.lp-grad {
  background: var(--lp-grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: 0.06em;
}

/* --------------------------------------------------------------- buttons */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; letter-spacing: 0.005em; white-space: nowrap;
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1), box-shadow 0.18s, background 0.18s, border-color 0.18s;
}
.lp-btn-lg { height: 56px; padding: 0 32px; font-size: 17px; }
.lp-btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.lp-btn-arrow { display: inline-flex; transition: transform 0.18s; }
.lp-btn:hover .lp-btn-arrow { transform: translateX(3px); }
.lp-btn-primary {
  color: #fff; background: var(--lp-grad-fill);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 10px 24px -8px rgba(90, 50, 240, 0.65);
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 16px 32px -8px rgba(90, 50, 240, 0.75); }
.lp-btn-primary:active { transform: translateY(0); }
.lp-btn-ghost { background: var(--lp-surface); color: var(--lp-ink); box-shadow: 0 0 0 1.5px var(--lp-line-2) inset, var(--lp-shadow-sm); }
.lp-btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--lp-indigo) inset, var(--lp-shadow); }
.lp-btn-quiet { color: var(--lp-ink); }
.lp-btn-quiet:hover { background: color-mix(in srgb, var(--lp-indigo) 10%, transparent); }
.lp-btn-white { background: #fff; color: #1A0F70; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45); }
.lp-btn-white:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.55); }
.lp-btn-outline-light { color: #fff; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.55) inset; }
.lp-btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ------------------------------------------------------------------- nav */
.lp-nav {
  position: sticky; top: var(--lp-top, 0px); z-index: 50;
  background: var(--lp-nav-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.lp-nav.is-scrolled { border-bottom-color: var(--lp-line); box-shadow: 0 10px 30px -18px rgba(14, 18, 54, 0.35); }
.lp-nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; }
.lp-brand-mark { display: inline-flex; }
.lp-brand-name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.lp-navlinks { display: flex; gap: 4px; margin-left: 12px; flex: 1; }
.lp-navlink { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--lp-ink-2); transition: background 0.15s, color 0.15s; }
.lp-navlink:hover { color: var(--lp-ink); background: color-mix(in srgb, var(--lp-indigo) 9%, transparent); }
.lp-navlink[aria-current="true"] { color: var(--lp-indigo); background: color-mix(in srgb, var(--lp-indigo) 12%, transparent); }
.lp-nav-cta { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.lp-menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.lp-menu-btn i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--lp-ink); transition: transform 0.2s, opacity 0.2s; }
.lp-nav.is-open .lp-menu-btn i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-nav.is-open .lp-menu-btn i:nth-child(2) { opacity: 0; }
.lp-nav.is-open .lp-menu-btn i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.lp-hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 88px); background: linear-gradient(180deg, var(--lp-soft) 0%, var(--lp-bg) 100%); }
.lp-blobs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lp-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: var(--lp-blob-o); translate: 0 calc(var(--sy, 0) * var(--k, 0.15) * 1px); will-change: translate; }
.lp-blob-a { --k: 0.22; width: 620px; height: 620px; left: -160px; top: -120px; background: radial-gradient(circle, #6A5BFF 0%, transparent 68%); animation: lp-drift-a 16s ease-in-out infinite alternate; }
.lp-blob-b { --k: 0.10; width: 560px; height: 560px; right: -140px; top: 40px; background: radial-gradient(circle, #FF4D9A 0%, transparent 68%); animation: lp-drift-b 19s ease-in-out infinite alternate; }
.lp-blob-c { --k: 0.30; width: 480px; height: 480px; left: 38%; top: 380px; background: radial-gradient(circle, #22D3EE 0%, transparent 68%); opacity: calc(var(--lp-blob-o) * 0.7); animation: lp-drift-a 22s ease-in-out infinite alternate-reverse; }
.lp-dotgrid { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--lp-indigo) 30%, transparent) 1.2px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 70%); opacity: 0.55; }
@keyframes lp-drift-a { to { transform: translate3d(70px, 40px, 0) scale(1.12); } }
@keyframes lp-drift-b { to { transform: translate3d(-60px, 50px, 0) scale(0.92); } }

.lp-hero-copy { text-align: center; max-width: 980px; margin: 0 auto; }
.lp-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--lp-surface); box-shadow: 0 0 0 1px var(--lp-line) inset, var(--lp-shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--lp-ink-2); }
.lp-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-teal) 22%, transparent); }
.lp-h1 { margin: 22px 0 0; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.0; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; }
.lp-sub { margin: 22px auto 0; max-width: 60ch; font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.5; color: var(--lp-ink-2); text-wrap: pretty; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.lp-cta-center { justify-content: center; }
.lp-hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 30px; }
.lp-hero-stats li { display: flex; align-items: baseline; gap: 8px; color: var(--lp-ink-3); font-size: 15px; }
.lp-hero-stats b { font-size: 24px; font-weight: 800; color: var(--lp-ink); letter-spacing: -0.02em; }

/* product stage */
.lp-stage { position: relative; max-width: 1060px; margin: clamp(40px, 5vw, 64px) auto 0; padding-bottom: 0; --mx: 0; --my: 0; }
.lp-window {
  position: relative; z-index: 2; overflow: hidden;
  background: var(--lp-surface); border-radius: 26px;
  box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow-lg);
}
.lp-window-bar { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--lp-line); background: color-mix(in srgb, var(--lp-soft) 70%, var(--lp-surface)); font-size: 12.5px; color: var(--lp-ink-3); }
.lp-dots { display: inline-flex; gap: 7px; }
.lp-dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF6B6B; }
.lp-dots i:nth-child(2) { background: #FFC24D; }
.lp-dots i:nth-child(3) { background: #3DD68C; }
.lp-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: var(--lp-teal); font-weight: 600; }
.lp-live i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: lp-pulse 1.8s ease-in-out infinite; }
.lp-live-still i { animation: none; }
@keyframes lp-pulse { 50% { opacity: 0.35; transform: scale(0.7); } }
.lp-window-body { display: grid; grid-template-columns: 1.2fr 0.8fr; }
.lp-device-stage { position: relative; min-height: 420px; background:
  radial-gradient(60% 70% at 50% 45%, color-mix(in srgb, var(--lp-indigo) 13%, transparent), transparent 75%),
  linear-gradient(180deg, color-mix(in srgb, var(--lp-indigo) 5%, var(--lp-surface)), var(--lp-surface)); }
.lp-bloch { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-device-read { display: flex; flex-direction: column; gap: 22px; padding: 26px 26px 50px; border-left: 1px solid var(--lp-line); }
.lp-read-l { display: block; margin-bottom: 10px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lp-ink-3); font-weight: 600; }
.lp-circ-strip { display: flex; align-items: center; gap: 0; font-size: 13.5px; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.lp-circ-strip > .lp-mono { color: var(--lp-ink-2); font-weight: 600; }
.lp-circ-strip b { flex: 1; min-width: 10px; height: 2px; background: var(--lp-line-2); }
.lp-gate-chip { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 11px; background: var(--lp-soft); box-shadow: 0 0 0 1.5px var(--lp-line-2) inset; font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600; font-size: 13px; color: var(--lp-ink-2); transition: transform 0.2s, box-shadow 0.2s; }
.lp-gate-chip.on { background: var(--lp-grad-fill); color: #fff; box-shadow: 0 8px 18px -6px rgba(90, 50, 240, 0.7); transform: translateY(-2px) scale(1.06); }
.lp-probs { display: grid; gap: 10px; }
.lp-prob { display: grid; grid-template-columns: 2.2em 1fr 3.4em; align-items: center; gap: 12px; font-size: 13px; color: var(--lp-ink-2); font-weight: 600; }
.lp-prob .lp-mono:last-child { text-align: right; color: var(--lp-ink); }
.lp-bar { display: block; height: 12px; border-radius: 99px; background: color-mix(in srgb, var(--lp-indigo) 10%, var(--lp-soft)); overflow: hidden; }
.lp-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #4F3BFF, #8B3DFF); }
.lp-prob-1 .lp-bar i { background: linear-gradient(90deg, #F0307F, #FF6B4A); }
.lp-read-phi { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--lp-line-2); }
.lp-phi-big { display: block; font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; background: var(--lp-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-device-foot { max-width: 20ch; font-size: 12.5px; line-height: 1.4; color: var(--lp-ink-3); text-align: right; }

/* floating mini-cards (parallax) */
.lp-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 18px; background: var(--lp-surface);
  box-shadow: 0 0 0 1px var(--lp-line), 0 20px 44px -16px rgba(30, 20, 120, 0.4);
  translate: calc(var(--mx) * var(--d) * 1px) calc(var(--my) * var(--d) * 1px);
  animation: lp-bob 7s ease-in-out infinite;
}
@keyframes lp-bob { 50% { transform: translateY(-9px); } }
.lp-float b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.lp-float span { font-size: 13px; color: var(--lp-ink-3); }
.lp-float div span { display: block; }
.lp-float-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--lp-indigo) 14%, var(--lp-surface)); color: var(--lp-indigo) !important; }
.lp-float-ic-ok { background: color-mix(in srgb, var(--lp-teal) 16%, var(--lp-surface)); color: var(--lp-teal) !important; }
.lp-float-a { left: -84px; top: 120px; flex-direction: column; align-items: stretch; gap: 10px; width: 180px; animation-delay: -1s; }
.lp-float-a .lp-hist { height: 84px; }
.lp-float-b { right: 84px; top: -34px; animation-delay: -3s; }
.lp-float-b b { font-size: 26px; }
.lp-float-c { left: 84px; bottom: -46px; animation-delay: -5s; }
.lp-float-d { right: -30px; bottom: -46px; animation-delay: -2s; }
.lp-float-rank { display: inline-flex; }
.lp-cap { display: block; white-space: nowrap; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lp-ink-3); font-weight: 600; }

/* trusted stack */
.lp-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: clamp(40px, 5vw, 60px); }
.lp-trust-l { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--lp-ink-3); }
.lp-trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp-trust li { padding: 8px 16px; border-radius: 999px; background: var(--lp-surface); box-shadow: 0 0 0 1px var(--lp-line) inset; font-weight: 700; font-size: 14.5px; color: var(--lp-ink-2); }

/* --------------------------------------------------------------- marquee */
.lp-marquee { overflow: hidden; border-block: 1px solid var(--lp-line); background: var(--lp-bg); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-marquee-row { display: flex; width: max-content; animation: lp-marq 70s linear infinite; }
.lp-marquee:hover .lp-marquee-row { animation-play-state: paused; }
.lp-marquee-track { display: flex; gap: 44px; padding-right: 44px; flex-shrink: 0; }
.lp-marquee-track li { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--lp-ink-2); }
.lp-marquee-track li i { width: 9px; height: 9px; border-radius: 50%; background: var(--lp-grad-fill); flex-shrink: 0; order: 2; }
@keyframes lp-marq { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- sections */
.lp-section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.lp-section-tight { padding-block: clamp(48px, 6vw, 88px); }
.lp-band-lav { background: var(--lp-band-lav); }
.lp-band-mint { background: var(--lp-band-mint); }
.lp-band-peach { background: var(--lp-band-peach); }
.lp-head { max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.lp-head.is-center { margin-inline: auto; text-align: center; }
.lp-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-indigo); }
.lp-kicker i { width: 22px; height: 4px; border-radius: 4px; background: var(--lp-grad-fill); }
.lp-h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.lp-h3 { font-size: 1.32rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.lp-h3xl { font-size: clamp(1.7rem, 2.9vw, 2.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.lp-lede { margin-top: 18px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--lp-ink-2); text-wrap: pretty; }
.lp-head.is-center .lp-lede { margin-inline: auto; max-width: 62ch; }
.lp-p { font-size: 15.5px; line-height: 1.55; color: var(--lp-ink-2); }
.lp-fine { font-size: 13px; line-height: 1.5; color: var(--lp-ink-3); }
.lp-head.is-light .lp-kicker { color: #C9C2FF; }
.lp-head.is-light .lp-kicker i { background: linear-gradient(100deg, #8B7CFF, #FF7FB8); }
.lp-head.is-light .lp-h2 { color: #fff; }
.lp-head.is-light .lp-grad { background-image: linear-gradient(100deg, #B9AEFF 0%, #D6B3FF 46%, #FF9CC8 100%); }
.lp-head.is-light .lp-lede { color: rgba(236, 234, 255, 0.82); }

.lp-points { display: grid; gap: 12px; margin-top: 24px; }
.lp-points li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--lp-ink-2); font-size: 16px; line-height: 1.45; }
.lp-tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: color-mix(in srgb, var(--lp-teal) 16%, var(--lp-surface)); color: var(--lp-teal); }

/* reveal */
.lp-js .lp-reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }
.lp-reveal { transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }

/* --------------------------------------------------------------- numbers */
.lp-numbers { padding: clamp(56px, 7vw, 96px) 0; }
.lp-numgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-numgrid li { display: flex; flex-direction: column; gap: 4px; padding: 26px 26px 24px; border-radius: 24px; background: var(--lp-surface); box-shadow: var(--lp-shadow-sm), 0 0 0 1px var(--lp-line) inset; }
.lp-num { font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; background: var(--lp-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; }
.lp-num-l { margin-top: 10px; font-weight: 800; font-size: 17px; }
.lp-num-n { font-size: 14px; color: var(--lp-ink-3); }

/* ------------------------------------------------------ tabbed showcase */
.lp-showcase { background: var(--lp-surface); border-radius: 30px; box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow-lg); overflow: hidden; }
.lp-ptabs-wrap { border-bottom: 1px solid var(--lp-line); background: linear-gradient(180deg, var(--lp-soft), var(--lp-surface)); overflow-x: auto; scrollbar-width: thin; }
.lp-ptabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; justify-content: center; }
.lp-ptab { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 12px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--lp-ink-2); white-space: nowrap; transition: background 0.15s, color 0.15s, box-shadow 0.15s; }
.lp-ptab-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--tt) 13%, var(--lp-surface)); color: var(--tt); }
.lp-ptab:hover { background: color-mix(in srgb, var(--tt) 9%, transparent); color: var(--lp-ink); }
.lp-ptab.is-on { color: var(--lp-ink); background: var(--lp-surface); box-shadow: 0 0 0 2px var(--tt) inset, 0 10px 22px -12px var(--tt); }
.lp-ptab.is-on .lp-ptab-ic { background: var(--tt); color: #fff; }
.lp-pane { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); padding: clamp(22px, 4vw, 52px); align-items: center; }
.lp-pane[hidden] { display: none; }
.lp-pane-copy .lp-lede { margin-top: 16px; }
.lp-pane-visual { display: grid; place-items: center; padding: clamp(14px, 2.4vw, 30px); border-radius: 24px; min-height: 380px; background:
  radial-gradient(90% 80% at 80% 0%, color-mix(in srgb, var(--pt) 20%, transparent), transparent 70%),
  color-mix(in srgb, var(--pt) 7%, var(--lp-soft)); min-width: 0; }
.lp-pane-visual > * { width: 100%; min-width: 0; }
.lp-card-ui { background: var(--lp-surface); border-radius: 20px; padding: 20px; box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow); }

/* workbench / code */
.lp-wb-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: center; padding-bottom: 16px; }
.lp-wb-circ { display: grid; gap: 8px; overflow-x: auto; align-content: start; }
.lp-wb-top .lp-cap { white-space: normal; }
.lp-wb-hist { display: grid; gap: 8px; }
.lp-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 12px 12px 0 0; background: var(--lp-code-bg); overflow-x: auto; scrollbar-width: none; }
.lp-tab { padding: 7px 13px; border-radius: 9px; font-size: 13px; font-weight: 700; color: #9EA6D6; white-space: nowrap; }
.lp-tab:hover { color: #fff; }
.lp-tab[aria-selected="true"] { background: rgba(255, 255, 255, 0.12); color: #fff; }
.lp-code { margin: 0; padding: 16px 18px; background: var(--lp-code-bg); color: var(--lp-code-ink); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; line-height: 1.65; overflow: auto; }
.lp-workbench .lp-code { border-radius: 0 0 12px 12px; max-height: 260px; }
.lp-code code { font: inherit; white-space: pre; }
.lp-tok-c { color: #7E88BC; font-style: italic; } .lp-tok-s { color: #79E0B4; } .lp-tok-k { color: #C7A6FF; } .lp-tok-n { color: #FFB57E; }

.lp-circ { height: auto; max-width: 100%; overflow: visible; }
.lp-circ .lp-wire { stroke: var(--lp-line-2); stroke-width: 1.6; }
.lp-circ .lp-link { stroke: var(--lp-indigo); stroke-width: 1.8; }
.lp-circ .lp-box { fill: color-mix(in srgb, var(--lp-indigo) 10%, var(--lp-surface)); stroke: var(--lp-indigo); stroke-width: 1.6; }
.lp-circ .lp-boxt { fill: var(--lp-ink); font: 700 12px "IBM Plex Mono", monospace; }
.lp-circ .lp-ctrl { fill: var(--lp-indigo); }
.lp-circ .lp-xtgt { fill: var(--lp-surface); stroke: var(--lp-indigo); stroke-width: 1.8; }
.lp-circ .lp-tgt { stroke: var(--lp-indigo); stroke-width: 1.8; fill: none; }

.lp-hist { display: flex; align-items: flex-end; gap: 12px; height: 110px; }
.lp-hist-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.lp-hist-bar { flex: 1; width: 100%; max-width: 44px; display: flex; align-items: flex-end; }
.lp-hist-bar i { display: block; width: 100%; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #8B3DFF, #4F3BFF); }
.lp-hist-v, .lp-hist-l { font-size: 12px; color: var(--lp-ink-3); font-weight: 600; }
.lp-hist-l { color: var(--lp-ink-2); }

/* IDE */
.lp-ide { padding: 0; overflow: hidden; }
.lp-ide-grid { display: grid; grid-template-columns: 1.15fr 1fr; }
.lp-editor { background: var(--lp-code-bg); padding: 14px 0; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; line-height: 1.7; color: var(--lp-code-ink); overflow: auto; max-height: 340px; }
.lp-ln { display: flex; gap: 14px; padding: 0 14px 0 8px; }
.lp-ln > span { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.lp-ln i { flex: 0 0 24px; text-align: right; color: #58628F; font-style: normal; user-select: none; }
.lp-ide-side { display: grid; align-content: start; gap: 12px; padding: 18px; }

/* lab */
.lp-lab { display: grid; gap: 12px; }
.lp-lab-head, .lp-chat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lp-chip { padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--lp-indigo) 12%, var(--lp-surface)); color: var(--lp-indigo); font-size: 12px; font-weight: 600; white-space: nowrap; }
.lp-plot { width: 100%; height: auto; }
.lp-plot .lp-axis { stroke: var(--lp-line-2); stroke-dasharray: 3 4; }
.lp-plot .lp-curve { fill: none; stroke: var(--lp-indigo); stroke-width: 2.6; stroke-linejoin: round; }
.lp-plot .lp-vline { stroke: var(--lp-pink); stroke-width: 1.4; stroke-dasharray: 3 3; }
.lp-plot .lp-marker { fill: var(--lp-pink); stroke: var(--lp-surface); stroke-width: 3; }
.lp-range-label { font-size: 13px; font-weight: 700; color: var(--lp-ink-2); }
.lp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--lp-indigo) 30%, var(--lp-soft)), color-mix(in srgb, var(--lp-pink) 30%, var(--lp-soft))); outline-offset: 6px; padding: 0; border: 0; }
.lp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--lp-indigo); box-shadow: 0 6px 14px -4px rgba(79, 59, 255, 0.6); cursor: grab; }
.lp-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--lp-indigo); cursor: grab; }
.lp-lab-say { font-size: 14px; color: var(--lp-ink-2); min-height: 2.9em; }

/* chat / class / quests / bell */
.lp-chat { display: grid; gap: 14px; }
.lp-msg { padding: 13px 16px; border-radius: 18px; font-size: 15px; line-height: 1.5; max-width: 92%; }
.lp-msg-you { justify-self: end; background: var(--lp-grad-fill); color: #fff; border-bottom-right-radius: 6px; font-weight: 600; }
.lp-msg-bot { background: var(--lp-soft); border-bottom-left-radius: 6px; display: grid; gap: 10px; color: var(--lp-ink); }
.lp-check { justify-self: start; padding: 6px 11px; border-radius: 9px; background: color-mix(in srgb, var(--lp-teal) 15%, var(--lp-surface)); color: var(--lp-teal); font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.lp-verify { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--lp-soft); font-size: 13px; }
.lp-verify b { font-family: "IBM Plex Mono", monospace; font-size: 14px; }

.lp-heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-top: 14px; }
.lp-heat i { aspect-ratio: 1.3; border-radius: 6px; background: color-mix(in srgb, var(--lp-indigo) calc(var(--v) * 100%), color-mix(in srgb, var(--lp-indigo) 6%, var(--lp-soft))); }
.lp-legend { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12px; color: var(--lp-ink-3); }
.lp-legend i { flex: 1; height: 8px; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--lp-indigo) 6%, var(--lp-soft)), var(--lp-indigo)); }

.lp-quests { display: grid; gap: 16px; }
.lp-quest-list { display: grid; gap: 8px; }
.lp-quest-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--lp-soft); font-size: 15px; font-weight: 600; }
.lp-quest-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--lp-coral) 16%, var(--lp-surface)); color: var(--lp-coral); flex-shrink: 0; }
.lp-rank-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-rank { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 16px; background: var(--lp-soft); text-align: center; }
.lp-rank b { font-size: 14px; } .lp-rank .lp-mono { font-size: 11.5px; color: var(--lp-ink-3); }

.lp-bell { display: grid; gap: 14px; justify-items: center; text-align: center; }
.lp-bell .lp-hist { width: 100%; max-width: 320px; }
.lp-pair { position: relative; display: flex; align-items: center; justify-content: space-between; width: min(320px, 100%); height: 72px; }
.lp-orb { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 10px 24px -6px rgba(79, 59, 255, 0.6); }
.lp-orb-a { background: radial-gradient(circle at 30% 30%, #B7ADFF, #4F3BFF 70%); }
.lp-orb-b { background: radial-gradient(circle at 30% 30%, #FFB0D0, #F0307F 70%); box-shadow: 0 10px 24px -6px rgba(240, 48, 127, 0.6); }
.lp-pair-wave { flex: 1; height: 36px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--lp-indigo) 0 8px, transparent 8px 14px); -webkit-mask: radial-gradient(60% 100% at 50% 50%, #000 40%, transparent 41%) center/24px 100% repeat-x; mask: radial-gradient(60% 100% at 50% 50%, #000 40%, transparent 41%) center/24px 100% repeat-x; opacity: 0.6; animation: lp-wave 2.4s linear infinite; }
@keyframes lp-wave { to { -webkit-mask-position: 24px center; mask-position: 24px center; } }
.lp-bell-read { font-size: 15px; color: var(--lp-ink-2); }
.lp-pair-val { padding: 4px 12px; border-radius: 10px; background: var(--lp-grad-fill); color: #fff; font-weight: 600; }
.lp-bell-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-bell-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 99px; background: var(--lp-soft); font-size: 13px; font-weight: 700; color: var(--lp-ink-2); }
.lp-bell-steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-indigo); color: #fff; font-style: normal; font-size: 11px; }

/* algorithms */
.lp-algo-wrap { display: grid; gap: 14px; }
.lp-algos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-algo { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--lp-soft); box-shadow: 0 -3px 0 var(--h) inset; min-width: 0; }
.lp-algo:last-child:nth-child(odd) { grid-column: 1 / -1; }
.lp-algo-top { display: flex; align-items: center; gap: 12px; }
.lp-algo-top h4 { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.lp-algo-top .lp-mono { font-size: 11.5px; color: var(--lp-ink-3); }
.lp-algo-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--hs); font-size: 22px; flex-shrink: 0; }
.lp-algo-photo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; object-position: top; flex-shrink: 0; }
.lp-algo-circ { overflow: hidden; }
.lp-algo-circ .lp-circ { width: 100%; height: auto; max-height: 90px; }

/* learn trail */
.lp-video-card { margin-top: 26px; overflow: hidden; border-radius: 20px; background: var(--lp-soft); box-shadow: 0 0 0 1px var(--lp-line); }
.lp-video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0B0D1C; object-fit: cover; }
.lp-video-card figcaption { padding: 12px 16px 14px; font-size: 13.5px; color: var(--lp-ink-2); line-height: 1.45; }
.lp-trailcard { padding: 16px 8px; }
.lp-trail { position: relative; }
.lp-trail-row { position: relative; height: 54px; }
.lp-trail-link { position: absolute; left: 0; top: 27px; width: 100%; height: 54px; overflow: visible; }
.lp-trail-link path { fill: none; stroke: color-mix(in srgb, var(--h) 70%, var(--lp-surface)); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 9; }
.lp-trail-node { position: absolute; top: 6px; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; margin-left: -21px; border-radius: 50%; font-size: 20px; background: color-mix(in srgb, var(--h) 20%, var(--lp-surface)); box-shadow: 0 0 0 3px var(--h) inset, 0 8px 16px -6px color-mix(in srgb, var(--h) 70%, transparent); }
.lp-trail-label { position: absolute; top: 7px; display: grid; gap: 1px; max-width: 42%; line-height: 1.2; }
.lp-trail-label.is-l { text-align: right; }
.lp-trail-label b { font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em; }
.lp-trail-label .lp-mono { font-size: 11.5px; color: var(--lp-ink-3); }

/* ------------------------------------------------------------- detail tiles */
.lp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-tile { padding: 28px; border-radius: 26px; background: var(--lp-surface); box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.lp-tile:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 40%, var(--lp-line)), var(--lp-shadow); }
.lp-tile-ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 17px; background: color-mix(in srgb, var(--t) 14%, var(--lp-surface)); color: var(--t); }
.lp-tile .lp-h3 { margin-bottom: 8px; }

/* ------------------------------------------------------------------ tracks */
.lp-tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-track { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 24px; background: var(--lp-surface); box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.lp-track:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 45%, var(--lp-line)), var(--lp-shadow); }
.lp-track-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 16px; font-size: 26px; background: color-mix(in srgb, var(--t) 15%, var(--lp-surface)); }
.lp-track .lp-p { font-size: 14.5px; flex: 1; }
.lp-track-n { align-self: flex-start; margin-top: 8px; padding: 5px 12px; border-radius: 99px; background: color-mix(in srgb, var(--t) 14%, var(--lp-surface)); color: var(--lp-ink); font-weight: 700; font-size: 13px; }
.lp-subjects { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.lp-subjects li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 8px 8px 16px; border-radius: 99px; background: var(--lp-surface); box-shadow: 0 0 0 1px var(--lp-line) inset; font-weight: 700; font-size: 14.5px; }
.lp-subjects b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 99px; background: var(--lp-grad-fill); color: #fff; font-size: 12.5px; }

/* --------------------------------------------------------------- how it works */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.lp-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 30px; border-radius: 28px; background: var(--lp-surface); box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow); }
.lp-step-vis { display: grid; place-items: center; min-height: 200px; margin-bottom: 26px; padding: 18px; border-radius: 20px; overflow: hidden; background: var(--lp-band-lav); }
.lp-step:nth-child(2) .lp-step-vis { background: var(--lp-band-mint); }
.lp-step:nth-child(3) .lp-step-vis { background: var(--lp-band-peach); }
.lp-step-n { position: absolute; left: 30px; top: 200px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lp-ink); color: var(--lp-bg); font-size: 22px; font-weight: 800; box-shadow: 0 0 0 5px var(--lp-surface); }
.lp-step .lp-h3, .lp-step .lp-p { padding: 0 12px; }
.lp-step .lp-h3 { font-size: 1.6rem; }
.lp-rungs { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.lp-rung { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 99px; background: var(--lp-surface); font-size: 13px; font-weight: 700; box-shadow: var(--lp-shadow-sm); }
.lp-rung i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lp-grad-fill); color: #fff; font-style: normal; font-size: 10.5px; }
.lp-step-circ { display: grid; gap: 10px; justify-items: center; width: 100%; }
.lp-step-circ .lp-hist { height: 66px; width: 70%; }
.lp-step-circ .lp-circ { max-width: 78%; }
.lp-step-ranks { display: flex; gap: 8px; }
.lp-step-ranks span { display: grid; place-items: center; padding: 8px; border-radius: 16px; background: var(--lp-surface); box-shadow: var(--lp-shadow-sm); }

/* ------------------------------------------------------- expedition (deep) */
.lp-band-deep { color: #fff; background: radial-gradient(120% 90% at 85% 0%, var(--lp-deep-2) 0%, var(--lp-deep-1) 62%); overflow: hidden; }
.lp-deep-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; background:
  radial-gradient(500px 340px at 8% 90%, rgba(255, 64, 150, 0.28), transparent 70%),
  radial-gradient(520px 320px at 92% 12%, rgba(34, 211, 238, 0.18), transparent 70%); }
.lp-band-deep .lp-wrap { position: relative; z-index: 1; }
.lp-exp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px 0 34px; }
.lp-exp-chips li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, 0.09); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset; font-weight: 600; font-size: 14.5px; color: rgba(240, 238, 255, 0.92); }
.lp-exp-chips i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #8B7CFF, #FF7FB8); }
.lp-exp-frame { position: relative; min-height: min(70vh, 620px); border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 40px 100px -30px rgba(0, 0, 0, 0.7); }
.lp-exp-host { position: relative; z-index: 3; min-height: inherit; }
.lp-exp-skel, .lp-exp-fallback { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 30px; }
.lp-exp-skel { background: linear-gradient(180deg, #2B1FA0 0%, #4E2FC4 55%, #7A3FD6 100%); overflow: hidden; color: rgba(255, 255, 255, 0.85); }
.lp-skel-sun { position: absolute; left: 50%; top: 18%; width: 120px; height: 120px; margin-left: -60px; border-radius: 50%; background: radial-gradient(circle, #FFD3A1, #FF7FB8 70%, transparent 72%); filter: blur(2px); animation: lp-bob 6s ease-in-out infinite; }
.lp-skel-hill { position: absolute; left: -10%; right: -10%; bottom: -40%; height: 70%; border-radius: 50%; background: #170F63; }
.lp-skel-hill-b { bottom: -52%; left: 20%; background: #0F0A45; }
.lp-skel-pins { position: relative; display: flex; gap: 26px; }
.lp-skel-pins i { width: 16px; height: 16px; border-radius: 50%; background: #fff; opacity: 0.9; animation: lp-pulse 1.6s ease-in-out infinite; }
.lp-skel-pins i:nth-child(2) { animation-delay: 0.3s; } .lp-skel-pins i:nth-child(3) { animation-delay: 0.6s; } .lp-skel-pins i:nth-child(4) { animation-delay: 0.9s; }
.lp-exp-skel p { position: relative; }
.lp-exp-fallback { display: none; background: linear-gradient(160deg, #2B1FA0, #4E2FC4); }
.lp-exp-frame.is-live .lp-exp-skel, .lp-exp-frame.is-live .lp-exp-fallback { display: none; }
.lp-exp-frame.is-idle .lp-exp-skel { display: none; }
.lp-exp-frame.is-idle:not(.is-live) .lp-exp-fallback { display: grid; }
.lp-exp-fb-ranks { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.lp-exp-fallback .lp-p { color: rgba(240, 238, 255, 0.85); max-width: 46ch; }
.lp-exp-fallback .lp-h3 { color: #fff; font-size: 1.8rem; }
.lp-band-deep .lp-cta-row { margin-top: 38px; }

/* ---------------------------------------------------------------- hardware */
.lp-hw { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.lp-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 520px; }
.lp-photo { position: relative; overflow: hidden; border-radius: 24px; background: #1A1450; box-shadow: var(--lp-shadow); }
.lp-photo:first-child { grid-row: 1 / span 2; }
.lp-photo img { width: 100%; height: 100%; object-fit: cover; }
.lp-photo figcaption { position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: 56px 14px 12px; color: #fff; background: linear-gradient(180deg, transparent, rgba(10, 6, 50, 0.92) 62%); line-height: 1.25; }
.lp-photo figcaption b { font-size: 14px; font-weight: 800; }
.lp-credit { font-size: 11px; color: rgba(255, 255, 255, 0.75); }

/* ----------------------------------------------------------------- offline */
.lp-offline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.lp-terminal { border-radius: 22px; overflow: hidden; background: var(--lp-code-bg); box-shadow: var(--lp-shadow-lg); }
.lp-terminal .lp-window-bar { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); color: #9EA6D6; }
.lp-terminal .lp-code { font-size: 14.5px; line-height: 1.8; padding: 22px 24px 28px; }

/* --------------------------------------------------------------------- FAQ */
.lp-faq-wrap { max-width: 860px; }
.lp-faqs { display: grid; gap: 12px; }
.lp-faq { border-radius: 20px; background: var(--lp-surface); box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow-sm); transition: box-shadow 0.2s; }
.lp-faq[open] { box-shadow: 0 0 0 2px color-mix(in srgb, var(--lp-indigo) 45%, transparent), var(--lp-shadow); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; list-style: none; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq-chev { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lp-soft); flex-shrink: 0; transition: transform 0.25s, background 0.2s; }
.lp-faq[open] .lp-faq-chev { transform: rotate(180deg); background: var(--lp-grad-fill); color: #fff; }
.lp-faq p { padding: 0 26px 24px; max-width: 68ch; color: var(--lp-ink-2); font-size: 16px; line-height: 1.6; }

/* ------------------------------------------------------------- final CTA */
.lp-final { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; color: #fff; text-align: center; background: linear-gradient(115deg, #3A2AE0 0%, #7B34F0 48%, #DB2C86 100%); }
.lp-final-card { position: relative; max-width: 760px; margin: 0 auto; }
.lp-final-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.lp-final-orb-a { width: 420px; height: 420px; left: -200px; top: -160px; background: radial-gradient(circle, rgba(255,255,255,0.32), transparent 70%); }
.lp-final-orb-b { width: 380px; height: 380px; right: -220px; bottom: -180px; background: radial-gradient(circle, rgba(255,190,120,0.35), transparent 70%); }
.lp-final .lp-h2 { position: relative; color: #fff; }
.lp-final .lp-lede { position: relative; color: rgba(255, 255, 255, 0.88); margin-inline: auto; max-width: 52ch; }
.lp-final .lp-cta-row { position: relative; margin-top: 34px; }

/* ------------------------------------------------------------------ footer */
.lp-footer { padding: 64px 0 36px; background: var(--lp-soft); border-top: 1px solid var(--lp-line); }
.lp-footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.lp-footer-brand { display: grid; gap: 14px; align-content: start; max-width: 34ch; }
.lp-fcol { display: grid; gap: 10px; align-content: start; }
.lp-fcol h4 { margin-bottom: 4px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-ink-3); }
.lp-flink { justify-self: start; padding: 0; font-size: 15px; font-weight: 600; color: var(--lp-ink-2); text-align: left; transition: color 0.15s; }
.lp-flink:not(.is-text):hover { color: var(--lp-indigo); }
.lp-flink.is-text { cursor: default; font-weight: 500; color: var(--lp-ink-3); }
.lp-footer-fine { margin-top: 40px; }
.lp-footer-fine .lp-fine { padding-top: 24px; border-top: 1px solid var(--lp-line); max-width: none; }

.lp-legacy { padding-top: 24px; }

/* ================================================================ responsive */
@media (max-width: 1180px) {
  .lp-float { display: none; }
  .lp-tracks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .lp-nav-in { gap: 10px; }
  .lp-navlinks { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px; margin: 0; padding: 12px 16px 18px; background: var(--lp-surface); border-bottom: 1px solid var(--lp-line); box-shadow: 0 24px 40px -20px rgba(14, 18, 54, 0.35); }
  .lp-nav.is-open .lp-navlinks { display: flex; }
  .lp-navlink { padding: 13px 14px; font-size: 16px; }
  .lp-menu-btn { display: flex; }
  .lp-window-body { grid-template-columns: 1fr; }
  .lp-device-stage { min-height: 340px; }
  .lp-device-read { border-left: 0; border-top: 1px solid var(--lp-line); }
  .lp-pane { grid-template-columns: 1fr; }
  .lp-pane-visual { min-height: 0; }
  .lp-tiles, .lp-steps { grid-template-columns: 1fr; }
  .lp-steps { max-width: 520px; margin-inline: auto; }
  .lp-numgrid { grid-template-columns: repeat(2, 1fr); }
  .lp-hw, .lp-offline-grid { grid-template-columns: 1fr; }
  .lp-photos { height: 460px; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-footer-brand { grid-column: 1 / -1; }
  .lp-ide-grid { grid-template-columns: 1fr; }
  .lp-ptabs { flex-wrap: nowrap; width: max-content; min-width: 100%; justify-content: flex-start; }
}
@media (max-width: 560px) {
  .lp-wrap { padding: 0 16px; }
  .lp-nav-signin { display: none; }
  .lp-brand-name { font-size: 18px; }
  .lp-btn-lg { height: 52px; padding: 0 26px; width: 100%; }
  .lp-cta-row { flex-direction: column; align-items: stretch; }
  .lp-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; justify-items: start; padding: 0 12px; }
  .lp-tile { padding: 22px; }
  .lp-tracks, .lp-tiles { grid-template-columns: 1fr; }
  .lp-numgrid { gap: 12px; }
  .lp-numgrid li { padding: 20px 18px; }
  .lp-wb-top { grid-template-columns: 1fr; }
  .lp-algos { grid-template-columns: 1fr; }
  .lp-photos { grid-template-columns: 1fr 1fr; height: 400px; gap: 10px; }
  .lp-faq summary { padding: 18px 18px; font-size: 1.05rem; }
  .lp-faq p { padding: 0 18px 20px; }
  .lp-device-read { padding: 20px 18px; }
  .lp-window-bar .lp-mono { font-size: 11px; }
  .lp-phi-big { font-size: 36px; }
  .lp-device-stage { min-height: 300px; }
  .lp-trail-label { max-width: 40%; }
  .lp-trail-label b { font-size: 13px; }
  .lp-step-n { top: 200px; }
}

/* ========================================================== reduced motion */
@media (prefers-reduced-motion: reduce) {
  .landing-pro *, .landing-pro *::before, .landing-pro *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .lp-marquee-row { flex-wrap: wrap; width: auto; justify-content: center; }
  .lp-marquee-row .lp-marquee-track[aria-hidden="true"] { display: none; }
  .lp-marquee-track { flex-wrap: wrap; flex-shrink: 1; justify-content: center; padding: 0 24px; gap: 12px 30px; }
}
:root[data-reduced-motion="true"] .landing-pro *,
:root[data-reduced-motion="true"] .landing-pro *::before,
:root[data-reduced-motion="true"] .landing-pro *::after { animation: none !important; transition: none !important; }
:root[data-reduced-motion="true"] .lp-marquee-row { flex-wrap: wrap; width: auto; justify-content: center; }
:root[data-reduced-motion="true"] .lp-marquee-row .lp-marquee-track[aria-hidden="true"] { display: none; }
:root[data-reduced-motion="true"] .lp-marquee-track { flex-wrap: wrap; flex-shrink: 1; justify-content: center; padding: 0 24px; gap: 12px 30px; }

@media print {
  .lp-nav, .lp-blobs, .lp-float { display: none !important; }
  .lp-js .lp-reveal:not(.is-in) { opacity: 1; transform: none; }
}
