/* CFI TradeShala landing page (templates/index.html #landing, static/landing.js). Shown to visitors
   who are not signed in; the app's own styles live in style.css.

   System. Colour: graphite black with a restrained cobalt glow, iridescent glass and warm cream /
   gold highlights in the hero scene. Data colours keep their meaning: green is up, red is down.
   Type: Bricolage Grotesque for display, Geist for text, Geist Mono for every number and label.
   Pieces: a live light wall behind a grille, a phone with the market-mood hexagon, sector cards,
   and a learning curve for the closing section. */
.landing {
  --ink: #07080d; --ink-2: #0c0e14; --ink-3: #141821;
  --line: rgba(200, 212, 240, .08); --line-2: rgba(200, 212, 240, .14);
  --text: #eef1f6; --muted: #8f96a6; --dim: #5c6375;
  --blue: #3b6dff; --blue-hi: #8fb0ff; --blue-deep: #0b1a5c; --gold: #ffb35c; --cream: #fff1d6; --violet: #9b6bff;
  --iri: linear-gradient(110deg, #7af0ff 0%, #4f7bff 22%, #9b6bff 42%, #ff7ac8 60%, #ffb36b 80%, #fff2c4 100%);
  --green: #16d68f; --green-hi: #5cf2bf; --red: #ff4d63; --red-hi: #ff8a99;
  --brand: linear-gradient(100deg, #b8ffe6 0%, var(--green-hi) 22%, var(--green) 48%, #3d8bff 100%);
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif; --body: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  position: relative; min-height: 100vh; overflow-x: clip; color: var(--text); background: var(--ink);
  font-family: var(--body); -webkit-font-smoothing: antialiased; font-optical-sizing: auto;
}
.landing[hidden] { display: none; }
body.on-landing { background: #07080d; }
.landing .up, .landing .g { color: var(--green-hi); }
.landing .down, .landing .rd { color: var(--red); }

/* Film grain on the hero only (kills banding in its glows). Static and scrolls with the hero, so it
   costs nothing per frame; a fixed, animated, blended layer over the page made every scroll frame
   recomposite the whole screen. */
.ld-grain { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── stage: calm ambient light and a faint floor grid; the light lives in the scene's panel ── */
.ld-hero-wrap { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; isolation: isolate; }
.ld-stage { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
/* Room light: a restrained cobalt glow behind the scene, a warm bounce on the floor, the copy in shade. */
.ld-ambient { position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 80% 44%, rgba(48, 88, 230, .22), transparent 70%),
    radial-gradient(35% 45% at 100% 0%, rgba(90, 130, 255, .12), transparent 70%),
    radial-gradient(30% 35% at 62% 100%, rgba(255, 170, 90, .07), transparent 70%),
    linear-gradient(180deg, #07080d 0%, #090b13 70%, #07080d 100%); }
.ld-horizon { position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%; opacity: .45;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 76px 76px;
  transform: perspective(900px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%); }

/* ── nav ─────────────────────────────────────────────────────────────────── */
.ld-nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 20px 28px; }
.ld-brand { display: flex; align-items: center; gap: 18px; text-decoration: none; min-width: 0; }
.ld-brand img { display: block; height: 68px; width: auto; }
.ld-word { font: 750 28px/1 var(--display); letter-spacing: .22em; padding: 10px 0 10px 20px; border-left: 1px solid var(--line-2); color: var(--text); }
.ld-actions { display: flex; gap: 10px; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 14px/1 var(--body); letter-spacing: -.005em;
  border-radius: 999px; padding: 11px 18px; cursor: pointer; white-space: nowrap; border: 0;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s, background .2s; }
.ld-btn.lg { font-size: 15.5px; padding: 8px 8px 8px 24px; min-height: 54px; }
.ld-btn.glass.lg { padding: 0 24px; }
.ld-btn.solid { color: #07080d; background: linear-gradient(180deg, #ffffff 0%, #e3e8f0 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08), 0 0 0 1px rgba(255, 255, 255, .4), 0 12px 40px rgba(47, 107, 255, .26); }
.ld-btn.solid:hover { transform: translateY(-2px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08), 0 0 0 1px #fff, 0 18px 50px rgba(47, 107, 255, .36), 0 0 80px rgba(22, 214, 143, .14); }
.ld-btn.glass { color: var(--text); background: rgba(200, 212, 240, .04); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ld-btn.glass:hover { background: rgba(200, 212, 240, .08); box-shadow: inset 0 0 0 1px rgba(200, 212, 240, .28), inset 0 1px 0 rgba(255, 255, 255, .1); }
.ld-arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .25s, background .25s; }
.ld-btn:hover .ld-arrow { transform: translateX(3px) rotate(-45deg); background: var(--green); }
.ld-btn:active { transform: translateY(1px) scale(.99); }
.ld-btn:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

/* ── hero copy ───────────────────────────────────────────────────────────── */
.ld-hero { position: relative; z-index: 2; flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 24px 28px 64px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.ld-copy > :not(.ld-title) { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: ld-rise 1s cubic-bezier(.16, 1, .3, 1) forwards; }
.ld-copy > .ld-sub { animation-delay: .62s; } .ld-copy > .ld-cta { animation-delay: .74s; } .ld-copy > .ld-stats { animation-delay: .86s; }
.ld-title { margin: 0; font: 800 clamp(50px, 7.4vw, 108px)/.92 var(--display); letter-spacing: -.05em; color: var(--text); }
.ld-title .ln { display: block; white-space: nowrap; }
.ld-title .ln:first-child { color: #d3d9e4; font-weight: 650; }
/* Word masks: each word rises out of its own clip box, staggered by --i. The box extends below the
   baseline so descenders and the marker underline are not cut. */
.ld-title .w { display: inline-block; vertical-align: top; clip-path: inset(-.12em -.12em -.34em -.12em); }
.ld-title .w > * { display: inline-block; transform: translateY(140%); animation: ld-word 1.05s calc(.12s + var(--i) * .075s) cubic-bezier(.16, 1, .3, 1) forwards; }
/* Accent word: polished emerald (light top, deep band, bright lower edge) with a light sheen that
   sweeps across every few seconds, underlined by a marker stroke that writes itself in. */
.ld-mark { position: relative; display: inline-block; font-style: normal; color: transparent; padding-right: .04em;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%) 160% 0 / 250% 100% no-repeat,
    linear-gradient(180deg, #effff8 0%, #a6f7d6 26%, #34e0a1 50%, #0c9e6c 68%, #46e3ad 86%, #c9ffe9 100%);
  -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 26px rgba(22, 214, 143, .28)); }
.ld-title .w > .ld-mark { animation: ld-word 1.05s calc(.12s + var(--i) * .075s) cubic-bezier(.16, 1, .3, 1) forwards, ld-sheen 7s 2.2s ease-in-out infinite; }
.ld-mark svg { position: absolute; left: -2%; right: -2%; bottom: -.14em; width: 104%; height: .2em; overflow: visible; }
.ld-mark path { fill: none; stroke: #2fe0a0; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 8px rgba(22, 214, 143, .6)); animation: ld-draw 1.1s 1s cubic-bezier(.65, 0, .35, 1) forwards; }
.ld-sub { margin: 30px 0 0; max-width: 500px; font-size: clamp(15.5px, 1.35vw, 17px); line-height: 1.65; color: var(--muted); }
.ld-sub b { display: block; margin-bottom: 4px; color: var(--text); font: 650 clamp(17px, 1.6vw, 20px)/1.35 var(--display); letter-spacing: -.01em; }
.ld-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ld-stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; }
.ld-stats li { display: flex; flex-direction: column; gap: 7px; padding: 0 28px; border-left: 1px solid var(--line-2); }
.ld-stats li:first-child { padding-left: 0; border-left: 0; }
.ld-stats b { font: 700 30px/1 var(--display); letter-spacing: -.03em; }
.ld-stats li > span { font: 500 11px/1 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }

/* ── the phone ───────────────────────────────────────────────────────────── */
/* The scene scales with --s (set by landing.js from the viewport) so the phone always fits on screen;
   the phone is laid out at 300px and scaled, the panel is sized from the same factor. */
.ld-device-stage { --s: .9; --ph: calc(300px * var(--s)); position: relative; height: calc(var(--ph) * 2.2); perspective: 1600px;
  opacity: 0; animation: ld-rise 1.3s .35s cubic-bezier(.16, 1, .3, 1) forwards; }
.ld-scene-in { position: absolute; inset: 0; }
.ld-par { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transform-style: preserve-3d; }
.ld-par > * { pointer-events: auto; }
/* Light panel: a graphite slab with live columns glowing through fluted glass ribs. */
.ld-panel { position: relative; width: calc(var(--ph) * 2.4); height: calc(var(--ph) * 1.9); border-radius: 38px; translate: 40% -4%;
  background: linear-gradient(160deg, #1a1e2a, #0b0d13 55%, #141824); transform: rotateY(-14deg) rotateX(5deg);
  box-shadow: inset 0 0 0 1px rgba(200, 212, 240, .09), inset 0 1px 0 rgba(255, 255, 255, .1), 0 60px 120px -20px rgba(0, 0, 0, .8); }
.ld-panel canvas { position: absolute; display: block; }
.ld-panel canvas.bloom { inset: -16%; width: 132%; height: 132%; z-index: -1; opacity: .8; }
.ld-panel canvas.bloom.css-blur { filter: blur(44px); }
.ld-panel-in { position: absolute; inset: 14px; border-radius: 26px; overflow: hidden; background: #05060a; }
.ld-panel-in canvas.crisp { inset: 0; width: 100%; height: 100%; }
/* Fluted glass: thin vertical ribs, each with a bright edge and a shaded groove. */
.ld-mesh { position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, rgba(255, 255, 255, 0) 1px 4px, rgba(2, 4, 26, .5) 4px 7px, rgba(255, 255, 255, .03) 7px 8px);
  box-shadow: inset 0 0 30px rgba(2, 4, 26, .75); }
.ld-phone { --rx: 7deg; --ry: -16deg; position: relative; width: 300px; aspect-ratio: 300 / 624; border-radius: 50px; padding: 11px; translate: -34% 0; scale: var(--s);
  background: linear-gradient(145deg, #4d525e 0%, #16181e 22%, #0b0c10 50%, #2b2f39 78%, #5c6270 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 3px #07080b, 0 0 0 1px rgba(0, 0, 0, .6),
    0 80px 120px -30px rgba(0, 0, 0, .85), 0 0 120px rgba(59, 109, 255, .22), -40px 40px 120px rgba(255, 170, 90, .06);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(1.5deg); transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1); animation: ld-float 7s ease-in-out infinite; }
.ld-screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; padding: 14px 16px 16px;
  background: radial-gradient(90% 45% at 50% 32%, #1b1e29 0%, #0e1016 60%, #0a0b0f 100%); display: flex; flex-direction: column; }
.ld-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .07) 42%, rgba(255, 255, 255, .02) 50%, transparent 58%);
  background-size: 250% 100%; animation: ld-glare 9s ease-in-out infinite; }
/* App screen inside the phone: graphite glass, light type, colour only where it means something. */
.ld-status { display: flex; align-items: center; justify-content: space-between; font: 600 11.5px/1 var(--body); color: #e9ecf2; padding: 5px 12px 0 16px; height: 28px; }
.ld-island { width: 86px; height: 25px; border-radius: 20px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.ld-sys { display: flex; align-items: center; gap: 5px; }
.ld-sys svg { height: 10px; width: auto; fill: #e9ecf2; stroke: none; }
.ld-sys svg.bat { height: 11px; fill: none; stroke: rgba(233, 236, 242, .55); stroke-width: 1; }
.ld-sys svg.bat .lvl, .ld-sys svg.bat .cap { fill: #e9ecf2; stroke: none; }
.ld-screen .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ld-app-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 6px 12px; color: #e9ecf2; }
.ld-app-head b { font: 500 19px/1 var(--body); letter-spacing: -.01em; }
.ld-ov { position: relative; padding: 30px 8px 30px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 1px 0 rgba(255, 255, 255, .06); }
.ld-ov-l { position: absolute; display: flex; flex-direction: column; gap: 4px; font: 500 9.5px/1 var(--body); color: #c7ccd6; z-index: 1; }
.ld-ov-l b { font: 500 13px/1 var(--mono); color: #f2f4f8; letter-spacing: -.01em; }
.ld-ov-l.tl { top: 12px; left: 14px; } .ld-ov-l.tr { top: 12px; right: 14px; text-align: right; align-items: flex-end; }
.ld-ov-l.bl { bottom: 12px; left: 14px; } .ld-ov-l.br { bottom: 12px; right: 14px; text-align: right; align-items: flex-end; }
.ld-ov-l b.g { color: var(--green-hi); } .ld-ov-l b.rd { color: var(--red-hi); }

.ld-hex { position: relative; width: 178px; margin: 0 auto; }
.ld-hex svg { display: block; width: 100%; height: auto; overflow: visible; }
.ld-hex polygon { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.hx-glow { stroke-width: 12; opacity: .55; }
.ld-hex polygon.hx-glass { stroke: none; }
.hx-rim { stroke-width: 3; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .6)); }
.hx-inner { stroke: rgba(255, 255, 255, .09); stroke-width: 1; }
.hx-axes line { stroke: rgba(255, 255, 255, .07); stroke-width: 1; stroke-dasharray: 2 3; }
/* Sector radar: one point per sector group, further out the more of its stocks are up. */
.hx-radar { fill: rgba(255, 196, 130, .07); stroke: url(#hx-radar-g); stroke-width: 2.2; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 192, 122, .6)); }
.hx-dots circle { fill: #fff; stroke: none; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9)); }
.ld-hex polygon.hx-core { stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.ld-score { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding-top: 2px; pointer-events: none; }
.ld-score b { font: 400 30px/1 var(--body); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.ld-score span { font: 500 6.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: #9aa1b0; }

.ld-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ld-mc { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 10px; border-radius: 18px; color: #e9ecf2;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.ld-mc .t { font: 500 11.5px/1 var(--body); }
.ld-mc .n { display: flex; align-items: center; gap: 7px; }
.ld-mc .n b { font: 400 26px/1 var(--body); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ld-mc .n i { font: 400 9px/1.15 var(--body); font-style: normal; color: #9aa1b0; }
.ld-mc .f { display: flex; align-items: center; justify-content: space-between; color: #e9ecf2; }
.ld-mc .f .ic { width: 15px; height: 15px; }
/* Stock "avatars": initials on soft gradient discs, overlapping like a contacts stack. */
.ld-avs { display: flex; }
.ld-avs i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; margin-left: -6px; font: 600 8px/1 var(--body); font-style: normal; color: #fff;
  background: var(--av); box-shadow: 0 0 0 2px #15171e; }
.ld-avs i:first-child { margin-left: 0; }

.ld-tabbar { display: flex; align-items: center; justify-content: space-around; margin: auto -16px -16px; padding: 12px 10px 22px; color: #8d93a1;
  background: linear-gradient(180deg, rgba(10, 11, 15, 0), rgba(10, 11, 15, .9) 40%); }
.ld-tabbar .ic { width: 19px; height: 19px; stroke-width: 1.6; }
/* Centre button: a small iridescent glass orb. */
.ld-orb-btn { width: 38px; height: 38px; border-radius: 50%; display: block;
  background: radial-gradient(circle at 34% 30%, #fff 0 4%, rgba(255, 255, 255, .25) 10%, transparent 30%),
    conic-gradient(from 210deg, #9ff3ff, #7d9bff, #c39bff, #ff9fd2, #ffc58f, #9ff3ff);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, .5), 0 0 18px rgba(143, 176, 255, .45); filter: saturate(.85); }
/* Floating glass cards in front of the scene. */
.ld-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; white-space: nowrap;
  background: linear-gradient(180deg, rgba(46, 50, 62, .58), rgba(16, 18, 24, .8)); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(170, 190, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .55);
  color: var(--text); opacity: 0; animation: ld-pop .9s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.ld-float-a .ld-float { left: -3%; top: 6%; animation-delay: 1.1s; }
.ld-float-b .ld-float { right: -5%; bottom: 13%; animation-delay: 1.3s; flex-direction: column; align-items: flex-start; gap: 7px; width: 196px; padding: 14px 16px; }
.ld-float.bump { animation: ld-bump .5s cubic-bezier(.34, 1.56, .64, 1); opacity: 1; }
.ld-tick { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: rgba(22, 214, 143, .14); box-shadow: inset 0 0 0 1px rgba(22, 214, 143, .35), 0 0 18px rgba(22, 214, 143, .2); }
.ld-tick svg { width: 18px; height: 18px; fill: none; stroke: var(--green-hi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ld-float b { display: block; font: 600 13px/1.2 var(--body); }
.ld-float > div span { display: block; margin-top: 3px; font: 500 11.5px/1.3 var(--mono); color: var(--muted); }
.ld-float > em { margin-left: 6px; font: 500 13px/1 var(--mono); font-style: normal; color: var(--green-hi); }
.ld-cap-l { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ld-cap b { font: 750 23px/1 var(--display); letter-spacing: -.02em; }
.ld-cap svg { display: block; width: 100%; height: 34px; }
.ld-cap .cap-a { fill: url(#cap-f); stroke: none; }
.ld-cap .cap-l { fill: none; stroke: var(--green-hi); stroke-width: 1.6; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(92, 242, 191, .6)); }
.ld-cap-s { font: 500 11px/1 var(--body); color: var(--muted); }
/* Glass spheres: dark cobalt glass, a hard white glint, a warm bounce and an iridescent rim. */
.ld-orb { position: absolute; display: block; width: calc(var(--ph) * .44); aspect-ratio: 1; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 32% 27%, rgba(255, 255, 255, .95) 0 1.6%, rgba(255, 255, 255, .35) 4.5%, transparent 15%),
    radial-gradient(circle at 70% 80%, rgba(255, 190, 120, .5), transparent 32%),
    radial-gradient(circle at 50% 55%, rgba(120, 140, 200, .08), rgba(10, 12, 20, .82) 72%, rgba(180, 195, 230, .45) 100%);
  box-shadow: inset 0 0 18px rgba(190, 205, 240, .3), inset -10px -16px 30px rgba(0, 2, 20, .6), 0 40px 50px -10px rgba(0, 2, 20, .7);
  animation: ld-pop 1s 1.5s cubic-bezier(.34, 1.56, .64, 1) forwards, ld-bob 6s 2.5s ease-in-out infinite; }
.ld-orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2.5px; opacity: .9;
  background: conic-gradient(from 200deg, #7af0ff, #4f7bff, #9b6bff, #ff7ac8, #ffb36b, #fff2c4, #7af0ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ld-orb.sm { width: calc(var(--ph) * .24); animation-delay: 1.7s, 3s; }
.ld-orb-a .ld-orb { left: -9%; bottom: -1%; }
.ld-orb-b .ld-orb { right: 4%; top: 6%; }
.ld-reflect { position: absolute; bottom: 0; left: 50%; translate: -60% 0; width: 240px; height: 40px; border-radius: 50%; filter: blur(22px);
  background: radial-gradient(closest-side, rgba(47, 107, 255, .45), transparent); }

/* Hero off screen (class set by landing.js): park its looping animations. */
.ld-hero-wrap.off .ld-phone, .ld-hero-wrap.off .ld-orb, .ld-hero-wrap.off .ld-screen::after,
.ld-hero-wrap.off .ld-title .w > .ld-mark, .ld-hero-wrap.off .ld-track { animation-play-state: paused; }

/* ── ticker ──────────────────────────────────────────────────────────────── */
.ld-ticker { position: relative; z-index: 3; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 14, .94);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ld-track { display: flex; width: max-content; animation: ld-marquee 110s linear infinite; min-height: 46px; }
.ld-ticker:hover .ld-track { animation-play-state: paused; }
.ld-track span { display: inline-flex; gap: 10px; align-items: center; padding: 14px 24px; white-space: nowrap; font: 500 12px/1 var(--mono); }
.ld-track span::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--dim); margin-left: 24px; }
.ld-track b { font-weight: 600; color: var(--text); letter-spacing: .02em; }
.ld-track em { font-style: normal; color: var(--muted); }
.ld-track i { font-style: normal; font-weight: 500; }

/* ── sections ────────────────────────────────────────────────────────────── */
.ld-section { position: relative; max-width: 1280px; margin: 0 auto; padding: 120px 28px 0; }
.ld-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-hi); }
.ld-eyebrow i { width: 18px; height: 2px; border-radius: 2px; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
/* Two-tone headings: the statement in white, the turn in muted grey. */
.ld-h2 { margin: 0 0 48px; font: 750 clamp(34px, 4.8vw, 64px)/1 var(--display); letter-spacing: -.04em; max-width: 860px; text-wrap: balance; color: var(--text); }
.ld-h2 em { font-style: normal; color: var(--dim); }
/* Crimson turn: bright coral at the top running down into near-black red. */
.ld-h2 em.crimson { color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(180deg, #ff9aa6 0%, #ff3b5c 28%, #d10f3a 56%, #7a0a22 82%, #3d0511 100%);
  filter: drop-shadow(0 0 22px rgba(209, 15, 58, .32)); }
/* Bento: a tall card on the left, two stacked on the right; each card leads with a small working visual. */
.ld-bento { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; }
.ld-bento .tall { grid-row: span 2; display: flex; flex-direction: column; }
.ld-bento .tall .ld-vis { flex: 1; }
.ld-feature { --c: var(--green-hi); position: relative; overflow: hidden; padding: 28px 28px 30px; border-radius: 22px; isolation: isolate;
  background: linear-gradient(180deg, rgba(200, 212, 240, .045), rgba(200, 212, 240, .012));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .07); transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s; }
.ld-feature.fb { --c: var(--blue-hi); } .ld-feature.fr { --c: var(--red); }
.ld-feature::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; top: -35%; right: -25%; border-radius: 50%;
  background: var(--c); opacity: .13; filter: blur(60px); transition: opacity .5s; }
.ld-feature:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(200, 212, 240, .16), inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px rgba(0, 0, 0, .5); }
.ld-feature:hover::before { opacity: .26; }
.ld-num { position: absolute; top: 30px; right: 28px; font: 500 12px/1 var(--mono); color: var(--dim); }
.ld-vis { position: relative; margin: -4px -4px 26px; padding: 16px; border-radius: 16px; background: rgba(6, 7, 12, .55);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .04); font: 500 12px/1 var(--mono); }
.ld-feature h3, .ld-steps h3 { margin: 0 0 10px; font: 700 21px/1.2 var(--display); letter-spacing: -.02em; }
.ld-feature p, .ld-steps p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14.5px; }
.ld-feature .ld-num { top: auto; bottom: 30px; }
/* 01 · live tape (filled by landing.js from the public ticker) */
.ld-tape { display: flex; flex-direction: column; }
.ld-tape-head, .ld-tape li { display: grid; grid-template-columns: 1fr auto 76px; gap: 14px; align-items: center; }
.ld-tape-head { padding: 0 10px 10px; font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid var(--line); }
.ld-tape-head span:not(:first-child), .ld-tape li span:not(:first-child) { text-align: right; }
.ld-tape ol { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.ld-tape li { min-height: 40px; padding: 0 10px; border-radius: 9px; color: #d5dae4; transition: background .6s; }
.ld-tape li b { font: 600 13px/1 var(--body); color: var(--text); }
.ld-tape li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-tape li.flash-up { background: rgba(22, 214, 143, .08); } .ld-tape li.flash-down { background: rgba(255, 77, 99, .08); }
.ld-tape li.sk { background: linear-gradient(90deg, transparent, rgba(200, 212, 240, .05), transparent); background-size: 200% 100%; animation: ld-sk 1.4s infinite; margin: 3px 0; }
/* 02 · a market buy walking the ask side */
.ld-book { display: flex; flex-direction: column; gap: 3px; }
.ld-book-side { display: flex; flex-direction: column; gap: 3px; }
.ld-book-side span { position: relative; display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 6px; overflow: hidden; color: #c3cbd8; }
.ld-book-side span::before { content: ""; position: absolute; inset: 0 0 0 auto; width: var(--d); z-index: -1; opacity: .16; }
.ld-book-side.ask span::before { background: var(--red); } .ld-book-side.bid span::before { background: var(--green); }
.ld-book-side em { font-style: normal; } .ld-book-side b { font-weight: 500; color: var(--muted); }
.ld-book-side span { isolation: isolate; }
.ld-book-side.ask span.hit { box-shadow: inset 0 0 0 1px rgba(127, 166, 255, .7), 0 0 18px rgba(47, 107, 255, .35); color: #fff; }
.ld-book-side.ask span.part { box-shadow: inset 0 0 0 1px rgba(127, 166, 255, .35); }
.ld-book-mid { display: flex; justify-content: space-between; align-items: center; margin: 5px 0; padding: 9px 10px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(47, 107, 255, .22), rgba(47, 107, 255, .06)); color: var(--blue-hi); }
.ld-book-mid b { color: #fff; font-weight: 600; }
/* 03 · leaderboard with you climbing */
.ld-ranks { display: flex; flex-direction: column; gap: 6px; }
.ld-ranks span { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(200, 212, 240, .03); }
.ld-ranks i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(200, 212, 240, .07); color: var(--muted); }
.ld-ranks b { font: 600 13px/1 var(--body); color: var(--text); }
.ld-ranks em { font-style: normal; }
.ld-ranks span:first-child i { background: linear-gradient(180deg, #fff, #c8d0dd); color: #07080d; }
.ld-ranks .me { box-shadow: inset 0 0 0 1px rgba(255, 77, 99, .45), 0 0 24px rgba(255, 77, 99, .14); background: rgba(255, 77, 99, .06); animation: ld-climb 3.2s ease-in-out infinite; }
.ld-ranks .me i { background: var(--red); color: #fff; }

/* Steps: hex badges on one rail. */
.ld-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.ld-steps::before { content: ""; position: absolute; top: 29px; left: 30px; right: 30px; height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--green)); opacity: .6; box-shadow: 0 0 12px var(--blue); }
.ld-steps li { position: relative; padding: 0 20px 0 0; }
.ld-steps li > b { position: relative; display: grid; place-items: center; width: 52px; height: 58px; margin-bottom: 24px; font: 700 18px/1 var(--display); color: #07080d;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(180deg, #ffffff, #c8d0dd); }

/* ── blueprint guides: thin rails with crosshairs ──────────────────────── */
.ld-guides { position: relative; max-width: 1280px; margin: 0 auto; height: 0; }
.ld-guides i { position: absolute; top: 0; width: 1px; height: 100vh; max-height: 2600px; pointer-events: none;
  background: linear-gradient(180deg, var(--line-2), rgba(200, 212, 240, .04) 60%, transparent); }
.ld-guides i:first-child { left: 28px; } .ld-guides i:last-child { right: 28px; }
.ld-guides i::before { content: "+"; position: absolute; top: -10px; left: -5px; font: 300 14px/1 var(--mono); color: #5f697d; }
.ld-section::before { content: ""; position: absolute; top: 60px; left: 28px; right: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.ld-section::after { content: "+"; position: absolute; top: 53px; left: 23px; font: 300 14px/1 var(--mono); color: #5f697d; }

/* ── market overview board ─────────────────────────────────────────────── */
.ld-overview { z-index: 1; }
.ld-glow { position: absolute; z-index: -1; left: 6%; right: 6%; top: 160px; height: 560px; filter: blur(70px);
  background: radial-gradient(45% 55% at 30% 40%, rgba(255, 92, 52, .38), transparent 70%), radial-gradient(40% 50% at 75% 55%, rgba(255, 77, 109, .26), transparent 70%),
    radial-gradient(35% 40% at 55% 20%, rgba(255, 181, 71, .16), transparent 70%); }
.ld-overview .ld-eyebrow { color: #ffb08a; }
.ld-overview .ld-eyebrow i { background: #ff7a45; box-shadow: 0 0 8px #ff7a45; }
.ld-ov-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.ld-ov-head .ld-h2 { margin-bottom: 0; }
.ld-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 14px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(22, 13, 15, .92), rgba(9, 9, 13, .96)); box-shadow: inset 0 0 0 1px rgba(255, 140, 110, .12), inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 120px rgba(0, 0, 0, .5); }
.ld-sector { min-height: 236px; padding: 20px; border-radius: 18px; background: linear-gradient(180deg, rgba(200, 212, 240, .035), rgba(200, 212, 240, .01));
  box-shadow: inset 0 0 0 1px rgba(200, 212, 240, .06); display: flex; flex-direction: column; }
.ld-sector.sk { background: linear-gradient(90deg, rgba(200, 212, 240, .02), rgba(200, 212, 240, .05), rgba(200, 212, 240, .02)); background-size: 200% 100%; animation: ld-sk 1.4s infinite; }
.ld-sec-top { display: flex; align-items: center; gap: 12px; }
/* Chrome coin: conic metal with a bevel, the sector's glyph pressed in. */
.ld-coin { position: relative; width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(from 210deg, #f4f6fb, #8a93a8 18%, #ffffff 30%, #59627a 48%, #dfe4ee 62%, #6b7489 80%, #f4f6fb);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 6px 16px rgba(0, 0, 0, .5), 0 0 22px rgba(255, 140, 90, .18); }
.ld-coin::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #34405a, #0b0f17 75%);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .4); }
.ld-coin svg { position: relative; width: 15px; height: 15px; fill: none; stroke: #e8ecf4; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ld-sec-name { font: 700 15px/1.2 var(--display); letter-spacing: -.01em; }
.ld-sec-meta { font: 500 11px/1 var(--mono); color: var(--dim); margin-top: 5px; }
.ld-badge { margin-left: auto; font: 500 10.5px/1 var(--mono); letter-spacing: .04em; padding: 6px 9px; border-radius: 7px; white-space: nowrap; }
.ld-badge.up { color: var(--green-hi); background: rgba(22, 214, 143, .1); box-shadow: inset 0 0 0 1px rgba(22, 214, 143, .25); }
.ld-badge.down { color: var(--red); background: rgba(255, 77, 99, .1); box-shadow: inset 0 0 0 1px rgba(255, 77, 99, .25); }
.ld-gl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 16px; }
.ld-gl h4 { margin: 0 0 6px; font: 500 10px/1 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.ld-gl ol { list-style: none; margin: 0; padding: 0; }
.ld-gl li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; font: 500 12px/1 var(--body); color: #d5dae4; }
.ld-gl li:nth-child(odd) { background: rgba(200, 212, 240, .03); }
.ld-gl li b { font: 500 12px/1 var(--mono); }
.ld-gl li.none { color: var(--dim); }
.ld-meter { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.ld-meter > span { font: 500 10px/1 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.ld-meter > b { font: 500 11px/1 var(--mono); color: #d5dae4; min-width: 34px; text-align: right; }
.ld-ticks { flex: 1; display: flex; gap: 3px; height: 16px; }
.ld-ticks i { flex: 1; border-radius: 2px; background: rgba(200, 212, 240, .06); transition: background .6s, box-shadow .6s; }
.ld-ticks i.on { box-shadow: 0 0 8px var(--tc); background: var(--tc); }

/* ── closing section: the learning curve ──────────────────────────────── */
.ld-final { position: relative; overflow: hidden; isolation: isolate; max-width: 1224px; margin: 130px auto 0; padding: 88px 0 0; border-radius: 32px;
  background: linear-gradient(180deg, #0a0e14 0%, #07080d 100%); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .07); }
/* Chart paper behind everything. */
.ld-final::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 100%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 50% 100%, #000, transparent 75%); }
.ld-final-in { position: relative; z-index: 2; text-align: center; padding: 0 28px; }
.ld-final .ld-eyebrow { color: var(--green-hi); }
.ld-final .ld-eyebrow i { background: var(--green); box-shadow: 0 0 8px var(--green); }
.ld-final h2 { margin: 0 0 18px; font: 800 clamp(40px, 6.2vw, 88px)/.96 var(--display); letter-spacing: -.045em; color: #c9d1de; }
.ld-final h2 em { font-style: normal; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-final-in > p:not(.ld-eyebrow) { margin: 0 auto 32px; max-width: 520px; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.ld-curve { position: relative; height: 300px; margin-top: 36px; }
.ld-curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lc-line { fill: none; stroke: url(#lc-line); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 8px rgba(47, 107, 255, .7)); }
.lc-area { fill: url(#lc-fill); stroke: none; opacity: 0; }
.lc-split { stroke: var(--line-2); stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.ld-final.drawn .lc-line { animation: ld-draw 2.6s .2s cubic-bezier(.45, 0, .2, 1) forwards; }
.ld-final.drawn .lc-area { animation: ld-fade 1.2s 2.2s forwards; }
.lc-pin { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 4px; width: max-content; max-width: 190px; padding: 10px 12px; margin: 14px 0 0 -12px;
  font: 400 12px/1.35 var(--body); color: var(--muted); border-radius: 12px; background: rgba(10, 14, 20, .85); box-shadow: inset 0 0 0 1px var(--line-2);
  opacity: 0; translate: 0 8px; transition: opacity .6s, translate .6s; }
.lc-pin b { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.lc-pin i { position: absolute; top: -20px; left: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px rgba(6, 7, 12, .9), 0 0 16px var(--c); }
.lc-pin.pr { --c: var(--red); } .lc-pin.pr b { color: var(--red-hi); }
.lc-pin.pb { --c: var(--blue); } .lc-pin.pb b { color: var(--blue-hi); }
.lc-pin.pg { --c: var(--green-hi); }
.lc-pin.above { transform: translateY(-100%); margin-top: -18px; }
.lc-pin.above i { top: auto; bottom: -24px; }
.lc-pin.end { padding: 0; margin: 0; background: none; box-shadow: none; }
.lc-pin.end i { top: -6px; left: -6px; animation: ld-ping 2s 3s infinite; }
.lc-pin.end b { position: absolute; right: 18px; top: -4px; font: 800 15px/1 var(--display); text-transform: none; letter-spacing: -.01em; color: var(--green-hi); }
.ld-final.drawn .lc-pin { opacity: 1; translate: 0 0; }
.ld-final.drawn .lc-pin.pr { transition-delay: 1s; } .ld-final.drawn .lc-pin.pb { transition-delay: 1.6s; } .ld-final.drawn .lc-pin.end { transition-delay: 2.6s; }
.lc-zones { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.lc-zones span { padding: 14px 28px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
.lc-zones span:last-child { text-align: right; color: var(--green-hi); }

.ld-foot { max-width: 1280px; margin: 0 auto; padding: 64px 28px 44px; text-align: center; color: var(--dim); font-size: 12.5px; }
.ld-foot img { height: 38px; width: auto; opacity: .8; margin-bottom: 12px; }
.ld-foot p { margin: 4px 0; }
.ld-foot a { color: var(--muted); }
/* Giant cropped wordmark that fades into the floor of the page. */
.ld-giant { overflow: hidden; height: clamp(70px, 13vw, 190px); text-align: center; white-space: nowrap; user-select: none;
  font: 800 clamp(80px, 17vw, 250px)/1 var(--display); letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(200, 212, 240, .16) 0%, rgba(200, 212, 240, .03) 70%, transparent 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── auth screen in the same look ────────────────────────────────────────── */
.auth { background: radial-gradient(50% 50% at 0% 35%, rgba(47, 107, 255, .2), transparent 70%), radial-gradient(40% 40% at 100% 90%, rgba(22, 214, 143, .08), transparent 70%), #07080d; }
.auth-card { position: relative; border-radius: 26px; background: linear-gradient(180deg, rgba(200, 212, 240, .05), rgba(200, 212, 240, .015)); border: 0;
  box-shadow: inset 0 0 0 1px rgba(200, 212, 240, .1), inset 0 1px 0 rgba(255, 255, 255, .1), 0 40px 100px rgba(0, 0, 0, .6); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.auth-back { position: absolute; top: 16px; left: 16px; background: none; border: 0; color: var(--muted); font: 500 13px "Geist", "Inter", sans-serif; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.auth-back:hover { color: var(--text); }
.auth-card .auth-logo { width: 190px; margin: 20px auto 0; }
.auth-word { text-align: center; font: 750 18px/1 "Bricolage Grotesque", sans-serif; letter-spacing: .24em; padding-left: .24em; margin-bottom: 2px; color: var(--text); }
.auth .btn.submit.primary { color: #07080d; border: 0; border-radius: 999px; padding: 13px; font-weight: 700;
  background: linear-gradient(180deg, #ffffff, #e3e8f0); box-shadow: 0 10px 30px rgba(47, 107, 255, .25); }
.auth #auth-tabs button.active { color: #fff; }

/* ── motion ──────────────────────────────────────────────────────────────── */
@keyframes ld-rise { to { opacity: 1; transform: none; filter: none; } }
@keyframes ld-draw { to { stroke-dashoffset: 0; } }
@keyframes ld-word { to { transform: none; } }
@keyframes ld-bob { 50% { translate: 0 -10px; } }
@keyframes ld-sheen { 0%, 72% { background-position: 160% 0, 0 0; } 100% { background-position: -60% 0, 0 0; } }
@keyframes ld-pop { from { opacity: 0; transform: translateY(18px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ld-bump { 0% { transform: none; } 35% { transform: scale(1.04); } 100% { transform: none; } }
@keyframes ld-fade { to { opacity: 1; } }
@keyframes ld-pulse { 50% { box-shadow: 0 0 0 6px rgba(92, 242, 191, 0), 0 0 12px var(--green-hi); } }
@keyframes ld-ping { 0% { box-shadow: 0 0 0 4px rgba(6, 7, 12, .9), 0 0 0 4px rgba(92, 242, 191, .6); } 100% { box-shadow: 0 0 0 4px rgba(6, 7, 12, .9), 0 0 0 22px rgba(92, 242, 191, 0); } }
@keyframes ld-marquee { to { transform: translateX(-50%); } }
@keyframes ld-sk { to { background-position: -200% 0; } }
@keyframes ld-climb { 50% { translate: 0 -3px; box-shadow: inset 0 0 0 1px rgba(255, 77, 99, .7), 0 0 30px rgba(255, 77, 99, .25); } }
@keyframes ld-float { 50% { translate: 0 -14px; } }
@keyframes ld-glare { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
@keyframes ld-run { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .ld-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .ld-ambient { background: radial-gradient(80% 40% at 0% 20%, rgba(47, 107, 255, .2), transparent 70%), radial-gradient(70% 35% at 60% 78%, rgba(47, 107, 255, .2), transparent 70%); }
  .ld-phone { --rx: 4deg; --ry: -10deg; translate: -16% 0; }
  .ld-panel { translate: 30% -4%; }
  .ld-bento, .ld-steps, .ld-board { grid-template-columns: 1fr; }
  .ld-bento .tall { grid-row: auto; }
  .ld-steps { gap: 28px; }
  .ld-steps::before { top: 30px; bottom: 30px; left: 26px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--blue), var(--green)); }
  .ld-steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
  .ld-steps li > b { grid-row: span 2; margin-bottom: 0; }
  .ld-steps h3 { margin-top: 6px; }
  .ld-section { padding-top: 88px; }
  .lc-pin.pb { display: none; }
}
@media (max-width: 760px) {
  .ld-brand { gap: 12px; }
  .ld-brand img { height: 48px; }
  .ld-word { font-size: 19px; letter-spacing: .18em; padding: 7px 0 7px 13px; }
}
@media (max-width: 560px) {
  .ld-nav { padding: 14px 16px; }
  .ld-brand img { height: 36px; }
  .ld-word { font-size: 14px; letter-spacing: .16em; padding: 5px 0 5px 9px; }
  .ld-brand { gap: 9px; }
  .ld-actions { gap: 8px; }
  .ld-actions .ld-btn { padding: 9px 13px; font-size: 13px; }
  .ld-hero, .ld-section { padding-left: 16px; padding-right: 16px; }
  .ld-title { margin-top: 4px; }
  .ld-cta .ld-btn { flex: 1 1 100%; }
  .ld-stats li { padding: 0 18px; }
  .ld-stats b { font-size: 24px; }
  .ld-float { scale: .86; }
  .ld-phone { translate: -6% 0; }
  .ld-float-b { display: none; }
  .ld-orb-a .ld-orb { left: -2%; bottom: -10%; width: calc(var(--ph) * .34); }
  .ld-board { padding: 8px; }
  .ld-final { margin: 96px 12px 0; padding-top: 64px; border-radius: 26px; }
  .ld-curve { height: 230px; }
  .lc-pin.pr { max-width: 150px; }
  .lc-zones span { padding: 12px 14px; font-size: 9.5px; letter-spacing: .08em; }
}
@media (max-width: 400px) {
  .ld-nav { padding: 12px; gap: 8px; }
  .ld-brand img { height: 30px; }
  .ld-word { font-size: 12.5px; letter-spacing: .1em; padding: 4px 0 4px 7px; }
  .ld-brand { gap: 7px; }
  .ld-actions { gap: 6px; }
  .ld-actions .ld-btn { padding: 8px 11px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-copy > *, .ld-device-stage, .ld-title .w > *, .ld-title .w > .ld-mark, .ld-float, .ld-orb { animation: none; opacity: 1; transform: none; filter: none; }
  .ld-track, .ld-phone, .ld-screen::after, .ld-movers li.sk, .ld-sector.sk, .ld-tape li.sk, .ld-ranks .me { animation: none; }
  .ld-mark path, .lc-line { animation: none; stroke-dashoffset: 0; }
  .lc-area, .lc-pin { animation: none; opacity: 1; translate: none; transition: none; }
}
