/* ---------- Landing ---------- */
body.landing { overflow: hidden; height: 100vh; height: 100dvh; min-height: 100svh; }
body.landing .app *, body.landing header { animation-play-state: paused !important; }
.landing { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #2a1b12, #120f0c 70%); transition: transform 1.15s cubic-bezier(.77, 0, .18, 1); will-change: transform; }
.landing.leaving { transform: translateY(-102%); }
.landing.gone { display: none; }
.landing::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 90px; background: linear-gradient(transparent, #120f0c); pointer-events: none; z-index: 1; }
.px { position: absolute; inset: 0; will-change: transform; transform: translate3d(calc(var(--px, 0) * var(--m)), calc(var(--py, 0) * var(--m)), 0); }
.px-map { --m: -26px; perspective: 1100px; }
.px-orbit { --m: 18px; }
.land-map { position: absolute; left: 50%; top: 50%; width: 110vmax; max-width: none; border-radius: 30px; opacity: .3; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-18deg); animation: fadeIn 2s var(--ease) backwards; }
.px-map::after { content: ""; position: absolute; inset: -32px; background: radial-gradient(ellipse at center, transparent 20%, #120f0c 75%); pointer-events: none; }
@keyframes fadeIn { from { opacity: 0; } }
.land-glow { position: absolute; width: 70vmin; height: 70vmin; border-radius: 50%; background: radial-gradient(circle, #f0803944, transparent 65%); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.18); opacity: .7; } }

.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: spin var(--sp) linear infinite; }
.o1 { --r: min(40vmin, 400px); --c: 62px; --sp: 48s; }
.o2 { --r: min(60vmin, 620px); --c: 44px; --sp: 70s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb { position: absolute; left: 0; top: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); }
.orb-up { transform: rotate(calc(var(--a) * -1)); }
.chip { display: grid; place-items: center; width: var(--c); height: var(--c); margin: calc(var(--c) / -2); border: 1px solid #ffffff22; border-radius: 50%; background: #ffffff10; font-size: calc(var(--c) * .5); box-shadow: 0 10px 30px #0006; animation: spin var(--sp) linear infinite reverse, pop .8s var(--spring) calc(var(--n) * 90ms + 700ms) backwards; }
.o2 .chip { animation-direction: normal, normal; }
@keyframes pop { from { opacity: 0; scale: 0; } }

.land-center { position: relative; z-index: 2; text-align: center; padding: 0 20px; max-width: 900px; }
.land-badge { display: inline-block; padding: 7px 16px; border: 1px solid #f0803955; border-radius: 99px; background: #f0803914; color: var(--orange-2); font-size: 12px; font-weight: 700; letter-spacing: .5px; animation: reveal 1s var(--ease) .2s backwards; }
.land-title { margin: 22px 0 8px; display: flex; flex-direction: column; align-items: center; font-size: clamp(58px, 14vw, 156px); font-weight: 850; line-height: .92; letter-spacing: -.045em; }
.land-title .line { display: block; overflow: hidden; padding: .04em .06em .1em; }
.ch { display: inline-block; animation: rise 1s var(--ease) calc(var(--i) * 60ms + 350ms) backwards; transition: transform .5s var(--spring), color .3s; }
.ch:hover { transform: translateY(-.08em) rotate(-4deg) scale(1.06); }
@keyframes rise { from { transform: translateY(115%) rotate(9deg); opacity: 0; } }
.shim .ch { background: linear-gradient(100deg, #ff8a3d 20%, #ffe3a8 45%, #ff8a3d 70%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise 1s var(--ease) calc(var(--i) * 60ms + 650ms) backwards, shimmer 4s linear calc(var(--i) * -.18s) infinite; }
.land-sub { max-width: 520px; margin: 6px auto 28px; color: #c9c1b4; font-size: clamp(14px, 1.8vw, 18px); line-height: 1.6; animation: reveal 1s var(--ease) 1.1s backwards; }
.land-cta { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px; border: 0; border-radius: 99px; background: linear-gradient(135deg, #ffa457, #e2561f); color: #1a0d04; font-size: 16px; font-weight: 800; box-shadow: 0 14px 40px #f0803966, inset 0 1px 0 #ffffff66; transition: transform .4s var(--ease), box-shadow .4s; animation: reveal 1s var(--ease) 1.3s backwards, glowPulse 2.8s ease-in-out 2.5s infinite; }
.land-cta i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
.land-cta:hover { box-shadow: 0 18px 55px #f0803999, inset 0 1px 0 #ffffff66; }
.land-cta:hover i { transform: translateX(6px); }
.land-cta:active { scale: .96; }
@keyframes glowPulse { 50% { box-shadow: 0 14px 60px #f08039aa, inset 0 1px 0 #ffffff66; } }
.land-hint { display: block; margin-top: 16px; color: #8f887c; font-size: 12px; animation: reveal 1s var(--ease) 1.5s backwards; }
.land-hint kbd { padding: 1px 7px; border: 1px solid #ffffff2e; border-radius: 6px; background: #ffffff0d; font: inherit; }

.land-stats { position: absolute; z-index: 2; left: 0; right: 0; bottom: 86px; display: flex; justify-content: center; gap: clamp(24px, 6vw, 80px); animation: reveal 1s var(--ease) 1.6s backwards; }
.land-stats div { text-align: center; }
.land-stats b { display: block; font-size: clamp(22px, 3vw, 34px); letter-spacing: -1px; color: var(--orange-2); font-variant-numeric: tabular-nums; }
.land-stats span { color: var(--muted); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; }
.marquee { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 16px 0; background: #120f0ccc; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; width: max-content; gap: 46px; animation: marquee 26s linear infinite; }
.track span { font-size: 15px; font-weight: 700; color: #d9d1c4; white-space: nowrap; }
.track span::after { content: "✦"; margin-left: 46px; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand { cursor: pointer; }

@media (max-width: 850px) {
  .o1 { --r: 44vw; --c: 46px; } .o2 { --r: 70vw; --c: 36px; }
  .land-stats { bottom: 74px; }
  .land-map { width: 200vmax; }
  .land-center { width: 100%; padding-inline: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .land-title { margin: 0 0 12px; font-size: clamp(54px, 15vw, 100px); }
  .land-sub { margin-bottom: 22px; }
  .land-cta { min-height: 50px; padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) { .landing, .landing.leaving { transition-duration: .01ms !important; } }


/* Pause background drift while the landing screen covers it */
body.landing .bg .blob { animation-play-state: paused; }
