/* SpotCars.app — landing page sections (mobile first, no scroll-jacking) */

.caret { display: inline-block; width: .09em; height: .8em; margin-left: .08em; vertical-align: -.04em; background: #e2e8f0; border-radius: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- HERO ---------- */
.hero {
  position: relative; display: grid; gap: 34px; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: calc(var(--nav-h) + 26px) var(--gutter) 64px;
}
.hero::before {
  content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none;
  background: radial-gradient(60% 45% at 70% 35%, rgba(148, 163, 184, .08), transparent 70%), linear-gradient(180deg, #07080c, #0b0d12 70%, #07080c);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  font: 800 10.5px/1 var(--f-display); letter-spacing: .26em; text-transform: uppercase; color: #e2e8f0;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: livePulse 2.4s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }
.hero-h1 { font-size: clamp(38px, 10.4vw, 92px); line-height: 1; letter-spacing: -.005em; }
.hero-h1 > span { display: block; }
.typed-line { white-space: nowrap; min-height: 1.05em; }
.typed-line .caret { background: #cbd5e1; }
.lede { margin-top: 20px; max-width: 470px; font-size: 17px; line-height: 1.55; color: #cbd5e1; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.android-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.android-link span { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.android-link svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.android-link:hover svg { transform: translateX(3px); }
.free-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 800 10.5px/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: #e2e8f0; }
.free-line svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #fff; fill: none; stroke: #07080c; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 980px) { .hero { grid-template-columns: 1fr 420px; gap: 48px; min-height: 100svh; } }

/* the Discover deck */
.hero-deck { display: flex; justify-content: center; }
.deck { width: calc(352px * var(--s, 1)); display: flex; flex-direction: column; align-items: stretch; }
.spotter { display: flex; align-items: center; gap: 10px; height: 46px; margin-bottom: 8px; transition: opacity .25s; }
.spotter.fade { opacity: 0; }
.spotter .av { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 900 11px/1 var(--f-display); color: #fff; background: linear-gradient(135deg, #334155, #0f172a); border: 1px solid var(--line-2); }
.spotter div { flex: 1; min-width: 0; }
.spotter b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spotter small { display: block; font-size: 12px; color: var(--muted); }
.spotter .follow { flex-shrink: 0; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; color: #e2e8f0; }
.deck-stage { position: relative; width: 100%; height: var(--dh, 560px); }
.deck-back { position: absolute; left: 0; right: 0; top: 0; height: var(--ch, 100%); transform-origin: 50% 100%; pointer-events: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
.deck-back .sc-back, .deck-cover { border-radius: calc(26px * var(--s, 1)); }
.deck-back .sc-back .in, .deck-cover .in { border-radius: calc(22px * var(--s, 1)); }
.deck-back.d1 { transform: translateY(9px) scale(.96); opacity: .85; }
.deck-back.d2 { transform: translateY(17px) scale(.92); opacity: .55; }
.deck.moving .deck-back.d1 { transform: none; opacity: 1; }
.deck.moving .deck-back.d2 { transform: translateY(9px) scale(.96); opacity: .85; }
.deck-top { position: absolute; left: 0; right: 0; top: 0; height: var(--ch, 100%); z-index: 2; touch-action: pan-y; cursor: grab; }
.deck-top:active { cursor: grabbing; }
.deck-fit { position: absolute; left: 0; top: 0; width: 352px; transform: scale(var(--cs, 1)); transform-origin: 0 0; perspective: 1300px; }
.deck-cover { opacity: 0; pointer-events: none; }
.deck-cover.show { opacity: 1; }
.stamp {
  position: absolute; top: 26px; z-index: 30; padding: 6px 14px; border-radius: 10px; border: 3px solid currentColor;
  font: 900 22px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; opacity: 0; pointer-events: none;
  background: rgba(7, 8, 12, .55); text-shadow: 0 0 14px currentColor;
}
.s-like { left: 22px; color: #fff; transform: rotate(-14deg); }
.s-skip { right: 22px; color: #94a3b8; transform: rotate(14deg); }
.deck-actions { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 26px; }
.da { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(15, 18, 28, .9); color: #fff; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.da svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.da:hover { transform: translateY(-2px); }
.da.hot { transform: scale(1.14); background: rgba(255, 255, 255, .12); box-shadow: 0 0 22px rgba(255, 255, 255, .25); }
.da.fire { animation: daFire .42s ease-out; }
@keyframes daFire { 40% { transform: scale(1.22); } }
.da-like { width: auto; min-width: 74px; padding: 0 18px; border-radius: 999px; display: inline-flex; gap: 8px; }
.da-like b { font: 900 13px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.da-like.liked svg { fill: #fff; }
.da-dream { width: 48px; height: 48px; }
.da-dream svg { width: 20px; height: 20px; }
.deck-cap { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; }
.deck-cap b { color: #fff; font-weight: 700; }
.gyro-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: #e2e8f0; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.gyro-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- section basics ---------- */
.try, .rarity, .map-sec, .garage, .ranks, .free, .get { padding: 96px 0; border-top: 1px solid var(--line); }
.try h2, .rarity h2, .map-sec h2, .garage h2, .ranks h2, .free h2, .get h2 { font-size: clamp(32px, 8.4vw, 68px); }
.sub { margin-top: 18px; }
@media (max-width: 599px) { .try, .rarity, .map-sec, .garage, .ranks, .free, .get { padding: 72px 0; } }

/* ---------- 01 TRY IT ---------- */
.try { background: radial-gradient(60% 40% at 50% 0%, rgba(226, 232, 240, .05), transparent 70%); }
.try-grid { display: grid; gap: 26px; justify-items: center; }
.try-copy { width: 100%; }
.steps { display: none; list-style: none; margin: 34px 0 0; padding: 0; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .35s; }
.steps li.on { opacity: 1; }
.steps li > b { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: 900 11px/1 var(--f-display); transition: background .3s, color .3s; }
.steps li.on > b { background: #fff; color: #07080c; border-color: #fff; }
.steps span { display: block; font: 900 18px/1.2 var(--f-display); letter-spacing: .03em; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }
.try-now { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: #e2e8f0; }
.try-now::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: livePulse 2s infinite; }
@media (min-width: 900px) {
  .try-grid { grid-template-columns: 1fr auto; align-items: center; column-gap: 70px; justify-items: stretch; }
  .steps { display: block; }
}

.phone-wrap { position: relative; width: calc(300px * var(--ps, 1)); height: calc(630px * var(--ps, 1)); }
.phone {
  position: absolute; left: 0; top: 0; width: 300px; height: 630px; transform: scale(var(--ps, 1)); transform-origin: 0 0;
  padding: 9px; border-radius: 50px;
  background: linear-gradient(145deg, #3a3f4b, #111318 40%, #2a2e37 70%, #0c0d11);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 50px 90px -20px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(226, 232, 240, .25);
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.phone .island { position: absolute; left: 50%; top: 19px; z-index: 40; width: 86px; height: 25px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #000; isolation: isolate; }
.screen > div { position: absolute; inset: 0; transition: opacity .4s; }
.phone:not([data-scan="camera"]) .s-cam,
.phone:not([data-scan="wait"]) .s-wait,
.phone[data-scan="camera"] .s-open, .phone[data-scan="wait"] .s-open { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.phone button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }

/* the street at night (CSS only, no orange street light) */
.street { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #0a0e1a 0%, #111727 34%, #1a2030 47%, #0b0c10 56%, #08090c 100%); }
.street .bokeh {
  position: absolute; left: 0; right: 0; top: 26%; height: 26%; filter: blur(1.5px);
  background:
    radial-gradient(circle at 8% 60%, rgba(226, 232, 240, .55) 0 3px, transparent 9px), radial-gradient(circle at 18% 40%, rgba(186, 230, 253, .35) 0 5px, transparent 14px),
    radial-gradient(circle at 31% 70%, rgba(248, 113, 113, .45) 0 3px, transparent 10px), radial-gradient(circle at 46% 30%, rgba(226, 232, 240, .3) 0 7px, transparent 18px),
    radial-gradient(circle at 62% 64%, rgba(226, 232, 240, .5) 0 3px, transparent 10px), radial-gradient(circle at 74% 38%, rgba(165, 243, 252, .3) 0 6px, transparent 16px),
    radial-gradient(circle at 88% 66%, rgba(248, 113, 113, .4) 0 3px, transparent 10px), radial-gradient(circle at 95% 35%, rgba(226, 232, 240, .4) 0 4px, transparent 12px),
    linear-gradient(90deg, transparent 4%, rgba(30, 36, 50, .9) 4% 13%, transparent 13% 22%, rgba(22, 27, 40, .9) 22% 36%, transparent 36% 52%, rgba(28, 33, 46, .9) 52% 61%, transparent 61% 79%, rgba(22, 27, 40, .9) 79% 92%, transparent 92%);
}
.street .road {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 46%;
  background: linear-gradient(180deg, rgba(148, 163, 184, .12), transparent 30%), linear-gradient(180deg, #121520, #07080b);
  transform: perspective(240px) rotateX(30deg); transform-origin: 50% 0;
}
.cam-car { position: absolute; left: 7%; width: 86%; height: auto; top: 37%; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .7)) brightness(.92); transition: opacity .3s; }
.cam-top { position: absolute; left: 0; right: 0; top: 50px; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; }
.ic { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }
.ic svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.sq { width: 40px; height: 40px; border-radius: 12px; }
.ic em { position: absolute; top: -6px; right: -8px; padding: 2px 4px; border-radius: 4px; background: #fff; color: #07080c; font: 900 6.5px/1 var(--f-display); font-style: normal; letter-spacing: .08em; }
.cam-brand { display: inline-flex; align-items: center; gap: 6px; font: 900 12px/1 var(--f-display); color: #fff; }
.cam-brand img { width: 18px; height: 18px; border-radius: 22.4%; }
.cam-brand small { font-size: 8px; color: #94a3b8; }
.hint-pill { position: absolute; left: 50%; top: 96px; z-index: 3; transform: translateX(-50%); white-space: nowrap; padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .14); font-size: 10.5px; font-weight: 600; color: #e2e8f0; transition: background .3s, color .3s; }
.hint-pill.go { background: rgba(255, 255, 255, .92); color: #07080c; }
.frame { position: absolute; left: 12px; right: 12px; top: 31.5%; aspect-ratio: 16 / 9; z-index: 3; pointer-events: none; }
.frame i { position: absolute; width: 30px; height: 30px; border: 0 solid #fff; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .6)); }
.frame i:nth-child(1) { left: 0; top: 0; border-width: 4.5px 0 0 4.5px; border-top-left-radius: 18px; }
.frame i:nth-child(2) { right: 0; top: 0; border-width: 4.5px 4.5px 0 0; border-top-right-radius: 18px; }
.frame i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 4.5px 4.5px; border-bottom-left-radius: 18px; }
.frame i:nth-child(4) { right: 0; bottom: 0; border-width: 0 4.5px 4.5px 0; border-bottom-right-radius: 18px; }
.frame.snap { animation: breathe .45s ease-out; }
@keyframes breathe { 40% { transform: scale(.94); } }
.cam-flash { position: absolute; inset: 0; z-index: 4; background: #fff; opacity: 0; pointer-events: none; }
.cam-flash.go { animation: camFlash .45s ease-out; }
@keyframes camFlash { 0% { opacity: .9; } 100% { opacity: 0; } }
.scans-left { position: absolute; left: 0; right: 0; bottom: 136px; z-index: 3; text-align: center; font-size: 10px; font-weight: 600; color: #cbd5e1; text-shadow: 0 1px 3px #000; }
.tray { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 126px; padding: 12px 18px 22px; background: rgba(10, 11, 16, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, .08); }
.thumbs { display: flex; align-items: center; gap: 10px; height: 28px; }
.thumb { width: 46px; height: 28px; border-radius: 6px; border: 1.5px solid #fff; background: linear-gradient(180deg, #111727, #08090c); position: relative; overflow: hidden; animation: pop .35s cubic-bezier(.2, 1.4, .4, 1); }
.thumb img { position: absolute; left: 6%; width: 88%; top: 30%; }
.thumbs em { font-style: normal; font-size: 10px; color: #94a3b8; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.tray-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.shutter { width: 62px; height: 62px; padding: 0; border-radius: 50%; border: 3px solid #fff; background: none; display: grid; place-items: center; cursor: pointer; position: relative; }
.shutter i { width: 50px; height: 50px; border-radius: 50%; background: #fff; transition: transform .12s; }
.shutter:active i { transform: scale(.88); }
.shutter.cue::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: cue 1.6s ease-out infinite; }
@keyframes cue { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.analyze { min-width: 78px; padding: 11px 12px; border: 0; border-radius: 12px; text-align: center; font: 800 9.5px/1 var(--f-display) !important; letter-spacing: .14em; text-transform: uppercase; color: #07080c !important; background: #fff; cursor: pointer; transition: opacity .25s; }
.analyze:disabled { opacity: .3; cursor: default; }
.analyze.cue { animation: anCue 1.4s ease-in-out infinite; }
@keyframes anCue { 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, .18), 0 0 24px rgba(255, 255, 255, .5); } }

/* AI wait */
.wait-bg { position: absolute; inset: 0; background: radial-gradient(80% 50% at 50% 30%, #1a2030, #07080c 70%); }
.shot { position: absolute; left: 22px; right: 22px; top: 86px; aspect-ratio: 16 / 9; border-radius: 16px; padding: 2px; background: conic-gradient(from var(--angle), #475569, #fff, #94a3b8, #f8fafc, #475569); animation: spinBorder 3s linear infinite, shotFloat 4s ease-in-out infinite; box-shadow: 0 0 40px -6px rgba(226, 232, 240, .45), 0 24px 40px rgba(0, 0, 0, .7); }
@keyframes shotFloat { 0%, 100% { transform: perspective(600px) rotateX(5deg) rotateY(-7deg); } 50% { transform: perspective(600px) rotateX(-4deg) rotateY(7deg) translateY(-4px); } }
.shot-in { position: relative; height: 100%; border-radius: 14px; overflow: hidden; }
.shot-in .cam-car { top: 22%; left: 6%; width: 88%; }
.beam {
  position: absolute; left: 0; right: 0; top: 0; height: 46px; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(226, 232, 240, .16) 80%, rgba(255, 255, 255, .9) 98%, transparent), repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 12px);
  -webkit-mask: linear-gradient(180deg, transparent, #000 70%); mask: linear-gradient(180deg, transparent, #000 70%);
  animation: beam 1.6s ease-in-out infinite alternate;
}
@keyframes beam { from { transform: translateY(-46px); } to { transform: translateY(124px); } }
.shot .brk { position: absolute; inset: -8px; pointer-events: none; opacity: .9;
  background:
    linear-gradient(#fff, #fff) 0 0 / 22px 3px no-repeat, linear-gradient(#fff, #fff) 0 0 / 3px 22px no-repeat,
    linear-gradient(#fff, #fff) 100% 0 / 22px 3px no-repeat, linear-gradient(#fff, #fff) 100% 0 / 3px 22px no-repeat,
    linear-gradient(#fff, #fff) 0 100% / 22px 3px no-repeat, linear-gradient(#fff, #fff) 0 100% / 3px 22px no-repeat,
    linear-gradient(#fff, #fff) 100% 100% / 22px 3px no-repeat, linear-gradient(#fff, #fff) 100% 100% / 3px 22px no-repeat; }
.wait-title { position: absolute; left: 0; right: 0; top: 246px; text-align: center; }
.wait-title b { display: block; font: 900 15px/1.2 var(--f-display); background: linear-gradient(90deg, #94a3b8, #fff, #94a3b8); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: 0 0; } }
.wait-title span { font-size: 11px; color: #94a3b8; }
.flow { position: absolute; left: 18px; right: 18px; top: 300px; margin: 0; padding: 8px 14px; list-style: none; border-radius: 18px; background: rgba(15, 18, 28, .85); border: 1px solid rgba(255, 255, 255, .08); }
.flow li { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 0; opacity: .45; transition: opacity .3s; }
.flow li + li::before { content: ''; position: absolute; left: 15px; top: -11px; height: 22px; width: 1px; background: rgba(255, 255, 255, .14); transition: background .3s; }
.flow li[data-s="done"] + li::before { background: #fff; }
.flow li[data-s="run"], .flow li[data-s="done"] { opacity: 1; }
.fi { position: relative; flex-shrink: 0; width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); transition: background .3s; }
.fi svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow li[data-s="run"] .fi::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid transparent; border-top-color: #fff; animation: spin .9s linear infinite; }
.flow li[data-s="done"] .fi { background: #fff; }
.flow li[data-s="done"] .fi svg { display: none; }
.flow li[data-s="done"] .fi::before { content: ''; width: 11px; height: 6px; border: solid #07080c; border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); }
.flow b { display: block; font: 900 10px/1.2 var(--f-display); letter-spacing: .2em; text-transform: uppercase; }
.flow small { display: block; font-size: 10.5px; color: #94a3b8; line-height: 1.35; }
.flow div { flex: 1; min-width: 0; }
.flow em { font: 800 7.5px/1 var(--f-display); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: #64748b; }
.flow li[data-s="done"] em { color: #fff; }
.wait-bar { position: absolute; left: 40px; right: 40px; bottom: 44px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.wait-bar i { position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, #fff, transparent); animation: indet 1.2s ease-in-out infinite; }
@keyframes indet { from { left: -40%; } to { left: 100%; } }

/* face-down → spin → reveal */
.s-open { background: radial-gradient(70% 45% at 50% 45%, #141824, #050608 75%); --rc: #e2e8f0; --charge: #e2e8f0; }
.phone.struck .s-open { --charge: var(--rc); }
.sp-head { position: absolute; top: 64px; left: 0; right: 0; text-align: center; transition: opacity .3s; }
.sp-head small { font: 800 9px/1 var(--f-display); letter-spacing: .32em; text-transform: uppercase; color: #cbd5e1; }
.sp-head b { display: block; margin-top: 6px; font-size: 19px; font-weight: 800; }
.sp-hint { position: absolute; bottom: 74px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font: 900 10px/1 var(--f-display); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; color: #f8fafc; transition: opacity .3s; pointer-events: none; }
.sp-track { position: relative; width: 150px; height: 34px; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent); }
.sp-track::before { content: ''; position: absolute; top: 50%; left: 18px; right: 18px; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent); animation: spTrail 1.8s ease-in-out infinite; }
.sp-hand { position: absolute; top: 3px; left: 0; width: 28px; height: 28px; color: #fff; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .8)); animation: spHand 1.8s ease-in-out infinite; }
.sp-hand svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes spHand { 0% { transform: translateX(12px); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateX(110px); opacity: 1; } 80%, 100% { transform: translateX(118px); opacity: 0; } }
@keyframes spTrail { 0% { transform: scaleX(0); transform-origin: left; opacity: 0; } 20% { opacity: 1; } 60% { transform: scaleX(1); transform-origin: left; opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.sp-skip { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); min-height: 36px; padding: 0 12px; border: 0; background: none; color: #94a3b8 !important; font-size: 12px !important; font-weight: 600 !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: opacity .3s; }
.phone[data-scan="reveal"] .sp-head, .phone[data-scan="reveal"] .sp-hint, .phone[data-scan="reveal"] .sp-skip { opacity: 0; pointer-events: none; }

.rv-meter { position: absolute; top: 54px; left: 22px; right: 22px; z-index: 20; text-align: center; opacity: 0; transition: opacity .35s; pointer-events: none; }
.phone.metering .rv-meter { opacity: 1; }
.leds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.leds i { height: 5px; border-radius: 3px; background: var(--c); opacity: .2; transition: opacity .1s, box-shadow .1s; }
.leds i.cur, .leds i.on { opacity: 1; box-shadow: 0 0 10px var(--c); }
.leds i.top { box-shadow: 0 0 14px var(--c), 0 0 3px #fff; }
.rv-meter b { display: block; margin-top: 9px; min-height: 14px; font: 900 13px/1 var(--f-display); letter-spacing: .3em; color: var(--tier, #fff); text-shadow: 0 0 12px var(--tier, #fff); }
.rv-meter b.ignite { animation: ignite .7s cubic-bezier(.2, 1.4, .4, 1), flame 1.2s .7s ease-in-out infinite alternate; }
@keyframes ignite { 0% { transform: scale(1.8); filter: brightness(3); letter-spacing: .6em; } 100% { transform: none; filter: none; } }
@keyframes flame { from { text-shadow: 0 0 10px var(--tier), 0 0 22px var(--tier); } to { text-shadow: 0 0 16px var(--tier), 0 0 40px var(--tier); } }
.rv-meter small { display: block; margin-top: 5px; min-height: 10px; font: 800 8px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: #94a3b8; }
.rv-strike { position: absolute; top: 96px; left: 50%; z-index: 21; width: 4px; height: 240px; margin-left: -2px; border-radius: 4px; background: linear-gradient(to bottom, #fff, var(--rc) 45%, transparent); box-shadow: 0 0 14px 3px var(--rc); transform: scaleY(0); transform-origin: top; opacity: 0; pointer-events: none; }
.rv-strike.go { animation: beamDrop .75s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes beamDrop { 0% { opacity: 1; transform: scaleY(0); } 35% { opacity: 1; transform: scaleY(1) scaleX(1.6); } 100% { opacity: 0; transform: scaleY(1) scaleX(.3); } }

.rv-zone { position: absolute; left: 50%; top: 110px; width: 352px; height: 584px; margin-left: -176px; transform: scale(.62); transform-origin: 50% 0; perspective: 1300px; touch-action: pan-y; cursor: grab; }
.phone[data-scan="ready"] .rv-zone { animation: readyFloat 3.2s ease-in-out infinite; }
@keyframes readyFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.rv-glow { position: absolute; inset: -60px; border-radius: 80px; background: radial-gradient(closest-side, color-mix(in srgb, var(--charge) 50%, transparent), transparent); opacity: var(--rev, 0); transform: scale(calc(.8 + var(--rev, 0) * .4)); transition: opacity .12s, transform .12s; pointer-events: none; }
.phone[data-scan="ready"] .rv-glow { opacity: .5; background: radial-gradient(closest-side, rgba(253, 230, 138, .22), transparent); }
.rv-vortex { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--charge) 40%, transparent), transparent 30%, rgba(186, 230, 253, .3), transparent 60%, color-mix(in srgb, var(--charge) 35%, transparent), transparent);
  -webkit-mask: radial-gradient(closest-side, transparent 30%, #000 55%, transparent 100%); mask: radial-gradient(closest-side, transparent 30%, #000 55%, transparent 100%); }
.phone.spinning .rv-vortex { animation: vortex 3.1s .2s cubic-bezier(.45, 0, .85, .6) both; }
@keyframes vortex { 0% { opacity: 0; transform: rotate(0) scale(1.4); } 25% { opacity: .45; } 88% { opacity: .95; transform: rotate(1080deg) scale(.55); } 100% { opacity: 0; transform: rotate(1200deg) scale(.35); } }
.rv-charge, .rv-sparks { position: absolute; left: 50%; top: 50%; z-index: 5; pointer-events: none; }
.rv-charge i { position: absolute; width: var(--sz); height: var(--sz); margin: calc(var(--sz) / -2); border-radius: 50%; background: radial-gradient(circle, #fff 0 35%, color-mix(in srgb, var(--charge) 70%, #fff) 60%, transparent 72%); box-shadow: 0 0 10px 3px color-mix(in srgb, var(--charge) 55%, transparent); opacity: 0; }
.phone.spinning .rv-charge i { animation: moteIn var(--dur) var(--delay) cubic-bezier(.5, 0, .75, .5) both; }
@keyframes moteIn { 0% { opacity: 0; transform: rotate(var(--a)) translateX(var(--r)) scale(1); } 20% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: rotate(calc(var(--a) + 240deg)) translateX(0) scale(.3); } }
.rv-back { position: absolute; inset: 0; z-index: 3; }
.rv-back .sc-back { box-shadow: 0 0 calc(var(--rev, 0) * 40px) calc(var(--rev, 0) * 6px) var(--charge), 0 30px 65px -12px rgba(0, 0, 0, .85); }
.rv-front { position: absolute; left: 0; top: 0; width: 352px; opacity: 0; }
.phone.boom .rv-back { opacity: 0; transition: opacity .1s; }
.phone.boom .rv-front { animation: frontEmerge 1.5s .03s cubic-bezier(.16, 1, .3, 1) both; }
.phone.settled .rv-front { animation: none; opacity: 1; }
.phone.skip-in .rv-front { animation: skipIn .5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes frontEmerge { 0% { opacity: 0; transform: scale(1.22) rotateX(10deg); filter: blur(16px) brightness(3); } 30% { opacity: 1; transform: scale(.97) rotateX(-2deg); filter: blur(2px) brightness(1.5); } 60% { transform: scale(1.01) rotateX(.5deg); filter: blur(0) brightness(1.1); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes skipIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.rv-shock, .rv-ring { position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%; opacity: 0; pointer-events: none; }
.rv-shock { z-index: 1; border: 3px solid var(--rc); box-shadow: 0 0 30px var(--rc), inset 0 0 30px var(--rc); }
.rv-ring { z-index: 4; border: 1.5px solid rgba(255, 255, 255, .9); box-shadow: 0 0 24px rgba(255, 255, 255, .5); }
.rv-bloom { position: absolute; left: 50%; top: 50%; z-index: 4; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), color-mix(in srgb, var(--rc) 60%, transparent) 45%, transparent 75%); opacity: 0; pointer-events: none; }
.rv-sparks i { position: absolute; width: 3px; height: var(--len); margin: calc(var(--len) / -2) 0 0 -1.5px; border-radius: 3px; background: linear-gradient(to bottom, #fff, var(--rc)); box-shadow: 0 0 10px 1px var(--rc); opacity: 0; }
.rv-flash { position: absolute; inset: 0; z-index: 30; opacity: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, #fff 0%, color-mix(in srgb, var(--rc) 55%, #fff) 35%, transparent 75%); }
.phone.boom .rv-flash { animation: rvFlash .8s ease-out both; }
.phone.boom .rv-shock { animation: exRing .9s cubic-bezier(.1, .8, .3, 1) both; }
.phone.boom .rv-ring { animation: exRing 1.2s .08s cubic-bezier(.1, .8, .3, 1) both; }
.phone.boom .rv-bloom { animation: revealBloom 1.3s ease-out both; }
.phone.boom .rv-sparks i { animation: sparkFly var(--dur) var(--delay) cubic-bezier(.1, .75, .3, 1) both; }
.phone.shake .screen { animation: exShake .5s ease-out; }
@keyframes rvFlash { 0% { opacity: 0; } 12% { opacity: .95; } 100% { opacity: 0; } }
@keyframes exRing { 0% { opacity: 0; transform: scale(.2); } 6% { opacity: 1; } 100% { opacity: 0; transform: scale(4.2); } }
@keyframes revealBloom { 0% { opacity: 0; transform: scale(.6); } 22% { opacity: .85; transform: scale(1.05); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes sparkFly { 0% { opacity: 0; transform: translate(0, 0) rotate(var(--rot)) scaleY(.3); } 8% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scaleY(1); } }
@keyframes exShake { 15% { transform: translate(-5px, 3px); } 35% { transform: translate(4px, -3px); } 55% { transform: translate(-2px, 2px); } 75% { transform: translate(1px, -1px); } }
.rv-head { position: absolute; left: 0; right: 0; bottom: 96px; text-align: center; font: 900 15px/1.2 var(--f-display); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
.rv-actions { position: absolute; left: 18px; right: 18px; bottom: 28px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity .6s .1s, transform .6s .1s cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
.phone.done .rv-head, .phone.done .rv-actions { opacity: 1; transform: none; pointer-events: auto; }
.rv-actions button { min-height: 46px; border-radius: 999px; font-size: 12.5px !important; font-weight: 800 !important; cursor: pointer; }
.ra-main { border: 0; background: #f8fafc; color: #0b0d12 !important; }
.ra-main:disabled { opacity: .7; }
.ra-ghost { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }
.toast { position: absolute; left: 50%; top: 58px; z-index: 35; transform: translate(-50%, -12px); opacity: 0; white-space: nowrap; padding: 9px 14px; border-radius: 999px; background: #fff; color: #07080c; font-size: 11.5px; font-weight: 800; transition: opacity .3s, transform .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 02 RARITY ---------- */
.rarity { background: radial-gradient(70% 40% at 50% 0%, rgba(148, 163, 184, .06), transparent 70%); }
.fan { position: relative; height: 250px; margin: 40px auto 10px; max-width: 760px; }
.slab {
  --w: 124px; position: absolute; left: 50%; bottom: 0; width: var(--w); margin-left: calc(var(--w) / -2);
  aspect-ratio: 5 / 7; border-radius: 14px; padding: 2px; cursor: pointer; border: 0; color: #fff;
  background: conic-gradient(from 200deg, color-mix(in srgb, var(--r-primary) 40%, #000), var(--r-primary), #fff, var(--r-primary), color-mix(in srgb, var(--r-primary) 40%, #000));
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .9), 0 0 24px -8px var(--r-glow);
  transform-origin: 50% 190%; transform: rotate(0deg) translateY(30px);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; transition-delay: calc(var(--i) * 50ms);
}
.slab[data-rarity="grail"] { background: conic-gradient(from 200deg, #7928ca, #00d4ff, #00ff9d, #ffea00, #7928ca); }
.fan.open .slab { transform: rotate(var(--rot)) translateY(0); }
.fan.open .slab:hover, .fan.open .slab:focus-visible, .fan.open .slab.on { transform: rotate(var(--rot)) translateY(-26px); transition-delay: 0ms; box-shadow: 0 30px 50px -10px rgba(0, 0, 0, .9), 0 0 40px -4px var(--r-glow); }
.slab-in { position: relative; height: 100%; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; padding: 10px 9px 9px; background: var(--r-bg-grad); text-align: left; }
.slab-badge { align-self: flex-start; padding: 3px 7px; border-radius: 5px; background: var(--r-badge-bg); color: var(--r-badge-text); font: 900 7px/1.2 var(--f-display); letter-spacing: .12em; text-transform: uppercase; }
.slab-photo { position: relative; flex: 1; margin: 8px -2px 6px; border-radius: 9px; overflow: hidden; background: radial-gradient(ellipse 70% 80% at 50% 0%, color-mix(in srgb, var(--r-primary) 45%, transparent), transparent 70%), linear-gradient(#12141b, #07080b); }
.slab-photo img { position: absolute; left: 4%; bottom: 14%; width: 92%; height: auto; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .6)); }
.slab small { font: 700 7px/1.2 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: #cbd5e1; }
.slab b { display: block; font: 900 10.5px/1.2 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slab .sv { margin-top: 4px; font: 900 10px/1 var(--f-display); color: var(--r-secondary); }
@media (min-width: 700px) { .fan { height: 360px; margin-top: 50px; } .slab { --w: 168px; border-radius: 16px; } .slab-in { padding: 12px 11px 11px; border-radius: 14px; } .slab b { font-size: 13px; } .slab-badge, .slab small { font-size: 8px; } .slab .sv { font-size: 12px; } }
.ladder { margin-top: 50px; border-top: 1px solid var(--line); }
.rung { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); transition: background .3s; cursor: pointer; }
.rung.on { background: linear-gradient(90deg, color-mix(in srgb, var(--rc) 9%, transparent), transparent 70%); }
.rung-name { display: flex; align-items: center; gap: 12px; font: 900 13px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; }
.rung-name i { width: 10px; height: 10px; border-radius: 3px; background: var(--rc); box-shadow: 0 0 10px var(--rc); transform: rotate(45deg); }
.rung[data-r="grail"] .rung-name i { background: var(--prism); }
.rung-xp { grid-row: 1; grid-column: 2; font: 900 13px/1 var(--f-display); text-align: right; }
.rung-xp small { display: block; margin-top: 4px; font: 700 8.5px/1 var(--f-display); letter-spacing: .2em; color: var(--dim); }
.rung-ex { grid-column: 1 / -1; font-size: 14px; color: var(--muted); padding-left: 22px; }
.rung-ex em { font-style: normal; color: #e2e8f0; }
.rung-fin { display: none; }
@media (min-width: 760px) {
  .rung { grid-template-columns: 220px 1fr 1fr 120px; padding: 18px 8px; }
  .rung-xp { grid-row: auto; grid-column: auto; }
  .rung-ex { grid-column: auto; padding: 0; }
  .rung-fin { display: block; font: 700 10px/1.3 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
}

/* ---------- 03 MAP ---------- */
.map-grid { display: grid; gap: 34px; }
.map-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); }
.map-facts li { font: 700 10.5px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.map-facts b { color: #fff; font-size: 15px; margin-right: 6px; letter-spacing: .02em; }
.map-box { position: relative; aspect-ratio: 4 / 4.4; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #0b0e14; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pins { position: absolute; inset: 0; }
.pin { position: absolute; z-index: 2; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%, -100%); opacity: 0; transition: opacity .3s; }
.map-box.in .pin { animation: pinDrop .7s var(--d) cubic-bezier(.2, 1.5, .4, 1) both; }
.map-box .pin.off { opacity: .12; pointer-events: none; }
.map-box.in .pin.off { animation: none; opacity: .12; }
@keyframes pinDrop { 0% { opacity: 0; transform: translate(-50%, -160%) scale(.6); } 100% { opacity: 1; transform: translate(-50%, -100%) scale(1); } }
.pin-ring { position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; padding: 2.5px; background: var(--rc); box-shadow: 0 6px 16px rgba(0, 0, 0, .6), 0 0 16px -2px var(--rc); transition: transform .25s; }
.pin[data-r="grail"] .pin-ring { background: conic-gradient(from var(--angle), #7928ca, #00d4ff, #00ff9d, #ffea00, #7928ca); animation: spinBorder 3s linear infinite; }
.pin-ring span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 30%, #1b2030, #07080c); position: relative; }
.pin-ring img { position: absolute; left: -38%; top: 26%; width: 176%; max-width: none; height: auto; }
.pin-tail { display: block; width: 10px; height: 10px; margin: -5px auto 0; background: var(--rc); transform: rotate(45deg); border-radius: 0 0 3px 0; }
.pin[data-r="grail"] .pin-tail { background: #22d3ee; }
.pin.hot .pin-ring::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--rc); animation: cue 2s ease-out infinite; }
.pin.sel .pin-ring { transform: scale(1.14); }
.me { position: absolute; left: 51%; top: 47%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #e2e8f0; border: 3px solid #0b0e14; animation: livePulse 2.2s infinite; }
.map-chips { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.map-chips::-webkit-scrollbar { display: none; }
.map-chips button { flex-shrink: 0; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(7, 8, 12, .75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #e2e8f0; font: 800 9px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.map-chips button[aria-pressed="true"] { background: #fff; color: #07080c; border-color: #fff; }
.map-sheet { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: rgba(12, 14, 20, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1); transform: translateY(130%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.map-sheet.open { transform: none; }
.ms-thumb { flex-shrink: 0; position: relative; width: 84px; height: 58px; border-radius: 12px; padding: 1.5px; background: var(--rc); }
.map-sheet[data-r="grail"] .ms-thumb { background: var(--prism); }
.ms-thumb span { display: block; position: relative; height: 100%; border-radius: 10.5px; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 50% 0%, color-mix(in srgb, var(--rc) 40%, transparent), transparent 70%), #0b0c11; }
.ms-thumb img { position: absolute; left: 4%; width: 92%; bottom: 10%; height: auto; }
.ms-txt { min-width: 0; flex: 1; }
.ms-txt em { font: 900 8px/1 var(--f-display); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--rc); }
.map-sheet[data-r="grail"] .ms-txt em { color: #67e8f9; }
.ms-txt b { display: block; margin: 4px 0 3px; font: 900 13px/1.2 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-txt small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) { .map-grid { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 60px; } .map-box { aspect-ratio: 4 / 3.4; } }

/* ---------- 04 GARAGE ---------- */
.garage { background: linear-gradient(180deg, #07080c, #0a0b10 40%, #07080c); }
.garage-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; }
.hud { display: flex; gap: 26px; }
.hud small { display: block; font: 800 9px/1 var(--f-display); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hud b { font: 900 clamp(22px, 5.4vw, 36px)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.hud-val b { background: linear-gradient(180deg, #fff, #cbd5e1 60%, #94a3b8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hud i { font-style: normal; color: var(--dim); font-size: .6em; }
.chips { display: flex; gap: 8px; margin-top: 22px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: #cbd5e1; font: 800 9.5px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.chip[data-r="grail"] i { background: var(--prism); }
.chip[aria-pressed="true"] { background: #fff; color: #07080c; border-color: #fff; }
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; max-width: var(--maxw); margin: 16px auto 0; padding: 0 var(--gutter); }
.bay { position: relative; aspect-ratio: 16 / 9.5; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .05); background: radial-gradient(80% 70% at 50% 100%, rgba(255, 255, 255, .035), transparent 70%), #0a0b0f; overflow: hidden; transition: opacity .3s, border-color .5s; }
.bay::before { content: ''; position: absolute; left: 10%; right: 10%; bottom: 16%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent); }
.bay img { position: absolute; left: 6%; width: 88%; bottom: 12%; height: auto; }
.bay .v { filter: brightness(.5) contrast(1.2) saturate(0) drop-shadow(0 -1px 0 var(--rc)) drop-shadow(0 0 6px color-mix(in srgb, var(--rc) 50%, transparent)); -webkit-mask: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, .15) 85%); mask: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, .15) 85%); }
.bay .u { opacity: 0; transform: translateY(4px) scale(.98); transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1); filter: brightness(1.15) drop-shadow(0 0 6px color-mix(in srgb, var(--rc) 70%, transparent)) drop-shadow(0 6px 5px rgba(0, 0, 0, .7)); }
.bay::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--rc) 35%, transparent) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.bay.on .u { opacity: 1; transform: none; }
.bay.on::after { transform: translateX(120%); transition: transform .9s ease-out; }
.bay.on { border-color: color-mix(in srgb, var(--rc) 30%, transparent); }
.bay .tag { display: none; position: absolute; left: 8px; top: 7px; right: 8px; font: 800 8px/1.2 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.bay.on .tag { color: #e2e8f0; }
.bay .tag i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--rc); vertical-align: 1px; }
.bay[data-r="grail"] .tag i { background: var(--prism); }
.wall.filtered .bay:not(.match) { opacity: .12; }
.wall-note { margin-top: 14px; color: var(--dim); font-size: 13px; }
@media (min-width: 700px) { .wall { grid-template-columns: repeat(6, 1fr); gap: 10px; } .bay .tag { display: block; } }

/* counters: +32 sets, +30 medals… and counting */
.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 70px; border-radius: 22px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.counters div { padding: 26px 18px 22px; background: #0a0b10; }
.counters b { display: block; font: 900 clamp(36px, 10vw, 72px)/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 0%, #e2e8f0 45%, #94a3b8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.counters b::before { content: '+'; }
.counters span { display: block; margin-top: 10px; font: 800 9.5px/1 var(--f-display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.more { margin-top: 18px; min-height: 22px; font: 800 12px/1.6 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: #e2e8f0; }
.more .caret { height: 1.1em; vertical-align: -.25em; }
@media (min-width: 760px) { .counters { grid-template-columns: repeat(4, 1fr); } .counters div { padding: 34px 26px 28px; } }

/* sets */
.sets { display: grid; gap: 36px; margin-top: 80px; }
.sets h3, .missions h3, .cabinet h3, .leagues h3 { font-size: clamp(22px, 5vw, 34px); }
.set-copy p { margin-top: 14px; color: var(--muted); max-width: 460px; }
.set-copy em { font-style: normal; color: #e2e8f0; }
.plaques { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.plaques li { text-align: center; opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .5s, transform .6s cubic-bezier(.2, 1.3, .4, 1); transition-delay: calc(var(--i) * 90ms); }
.sets.in .plaques li { opacity: 1; transform: none; }
.plaques img { width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
.plaques span { display: block; margin-top: 6px; font: 800 8px/1.3 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.trinity { padding: 20px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.tr-head { display: flex; justify-content: space-between; align-items: baseline; }
.tr-head b { font: 900 16px/1 var(--f-display); letter-spacing: .06em; background: var(--prism); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tr-head span { font: 900 14px/1 var(--f-display); color: #e2e8f0; }
.tr-bar { height: 4px; margin-top: 14px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.tr-bar i { display: block; height: 100%; width: 66.6%; background: var(--prism); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s .3s cubic-bezier(.2, .8, .2, 1); }
.sets.in .tr-bar i { transform: none; }
.tr-cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.tr-car { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; padding: 1.5px; background: conic-gradient(from 200deg, #7928ca, #00d4ff, #00ff9d, #ffea00, #7928ca); }
.tr-car.locked { background: rgba(255, 255, 255, .12); }
.tr-car > div { position: relative; height: 100%; border-radius: 12.5px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 211, 238, .25), transparent 70%), linear-gradient(135deg, #1a0b3a, #062236 50%, #05291f); }
.tr-car.locked > div { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 211, 238, .08), transparent 70%), #0b0c11; }
.tr-car img { position: absolute; left: -12%; width: 124%; max-width: none; top: 34%; height: auto; filter: drop-shadow(0 0 6px rgba(34, 211, 238, .5)) drop-shadow(0 8px 6px rgba(0, 0, 0, .7)); }
.tr-car.locked img { filter: brightness(.5) contrast(1.2) saturate(0) drop-shadow(0 -1px 0 #22d3ee) drop-shadow(0 0 6px rgba(34, 211, 238, .5)); -webkit-mask: linear-gradient(180deg, #000 45%, transparent 85%); mask: linear-gradient(180deg, #000 45%, transparent 85%); }
.tr-car small { position: relative; font: 700 7.5px/1.2 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: #94a3b8; }
.tr-car b { position: relative; font: 900 10.5px/1.25 var(--f-display); }
.tr-car .lock { position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; fill: none; stroke: #94a3b8; stroke-width: 2; stroke-linecap: round; }
.tr-foot { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .sets { grid-template-columns: 1fr 460px; align-items: center; gap: 60px; } }

/* missions */
.missions { margin-top: 70px; padding: 24px 20px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.ms-head p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.ms-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ms-list li { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 6px 12px; padding: 12px; border-radius: 16px; background: rgba(5, 6, 10, .55); border: 1px solid var(--line); }
.ms-ic { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); transition: background .4s; }
.ms-ic svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.ms-list li.ok .ms-ic { background: #fff; }
.ms-list li.ok .ms-ic svg { stroke: #07080c; }
.ms-list b { font-size: 14px; font-weight: 700; }
.ms-list .xp { font: 900 11px/1 var(--f-display); color: #fff; }
.ms-bar { grid-column: 2 / -1; display: flex; align-items: center; gap: 10px; }
.ms-bar span { flex: 1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ms-bar span i { display: block; height: 100%; background: linear-gradient(90deg, #94a3b8, #fff); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.3s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d); }
.missions.in .ms-bar span i { transform: none; }
.ms-bar em { font: 800 10px/1 var(--f-display); font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.chest { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .18); transition: border-color .5s, background .5s, box-shadow .5s; }
.chest svg { flex-shrink: 0; width: 30px; height: 30px; fill: none; stroke: #94a3b8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s, transform .5s; }
.chest div { flex: 1; }
.chest b { display: block; font: 900 12px/1.2 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.chest span { font-size: 13px; color: var(--muted); }
.chest em { font: 800 9px/1 var(--f-display); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.chest.open { border-style: solid; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .05); box-shadow: 0 0 40px -10px rgba(255, 255, 255, .35); }
.chest.open svg { stroke: #fff; transform: rotate(-8deg) scale(1.1); }
.chest.open em { color: #fff; }
.ms-weekly { margin-top: 16px; font-size: 14px; color: var(--muted); }
.ms-weekly b { color: #fff; }
@media (min-width: 900px) { .missions { padding: 34px; display: grid; grid-template-columns: 300px 1fr; column-gap: 40px; } .ms-head { grid-row: span 3; } .ms-list { margin-top: 0; } }

/* ticker */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; background: #050608; }
.ticker-in { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-in { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tk { display: flex; align-items: center; gap: 12px; padding: 15px 28px; border-right: 1px solid var(--line); white-space: nowrap; font-size: 13px; color: var(--muted); }
.tk strong { color: #fff; font-weight: 700; }
.tk em { font-style: normal; font: 900 9px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--rc); }
.tk[data-r="grail"] em { background: var(--prism); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- 05 RANKS ---------- */
.xp-eq { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px 18px; margin-top: 34px; }
.xp-eq div b { display: block; font: 900 clamp(26px, 8vw, 64px)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.xp-eq div small { display: block; margin-top: 8px; font: 800 9px/1 var(--f-display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.xp-eq > span { font: 900 clamp(18px, 5vw, 40px)/1 var(--f-display); color: var(--dim); padding-bottom: 20px; }
.grail-txt b { background: var(--prism); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (max-width: 420px) { .xp-eq { gap: 8px 10px; } .xp-eq div small { font-size: 7px; letter-spacing: .12em; } .xp-eq > span { padding-bottom: 14px; } }
.road { --mx: 50%; --my: 50%; position: relative; display: flex; margin-top: 46px; padding: 20px var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.road::-webkit-scrollbar { display: none; }
.road::before { content: ''; position: absolute; left: 0; top: 84px; height: 1px; width: 1100px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2) 10%, rgba(255, 255, 255, .2) 90%, transparent); }
.rank { position: relative; flex: 0 0 132px; scroll-snap-align: center; text-align: center; }
.rank img { width: 118px; height: 118px; margin: 0 auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .7)); transition: transform .3s; }
.rank:hover img { transform: translateY(-6px); }
.rank b { display: block; margin-top: 8px; font: 900 10.5px/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.rank small { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.rank small i { width: 14px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.rank:last-child small i { background: var(--prism); }
@media (min-width: 1120px) { .road { justify-content: center; overflow: visible; } }
.lamp { position: relative; }
.lamp::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: var(--lamp, 0); transition: opacity .4s; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 60%); }
.cabinet-grid { display: grid; gap: 22px; margin-top: 60px; }
.cabinet, .leagues { padding: 24px 20px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.cab-head p, .leagues p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.shelf { position: relative; list-style: none; margin: 26px 0 0; padding: 0 0 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 10px; }
.shelf::after { content: ''; position: absolute; left: -6px; right: -6px; bottom: 0; height: 10px; border-radius: 3px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03)); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 16px 30px rgba(0, 0, 0, .6); }
.shelf li { text-align: center; }
.shelf img { width: 100%; max-width: 92px; height: auto; margin: 0 auto; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .7)); transition: transform .3s; }
.shelf li:hover img { transform: translateY(-4px) rotate(-4deg); }
.shelf span { display: block; margin-top: 6px; font: 800 8.5px/1.3 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.shields { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.shields li { text-align: center; }
.shields img { width: 100%; max-width: 84px; height: auto; margin: 0 auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .7)); }
.shields span { display: block; margin-top: 6px; font: 900 9px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: #cbd5e1; }
.verified { display: flex; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.verified svg { flex-shrink: 0; width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.verified p { margin: 0; font-size: 14px; color: var(--muted); }
.verified b { color: #fff; }
@media (min-width: 900px) {
  .cabinet, .leagues { padding: 34px; }
  .shelf { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .cab-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; } .cab-head p { margin: 0; max-width: 420px; }
  .leagues { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .leagues .shields { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}

/* ---------- FREE ---------- */
.free { background: radial-gradient(60% 50% at 70% 50%, rgba(226, 232, 240, .06), transparent 70%); }
.free-grid { display: grid; gap: 34px; }
.plate { position: relative; padding: 26px 22px; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01) 40%), #0b0c11; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.plate-top { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .55); background: linear-gradient(180deg, #f8fafc, #cbd5e1); color: #07080c; box-shadow: 0 0 0 4px #0b0c11, 0 0 0 5px rgba(255, 255, 255, .25); }
.plate-top b { font: 900 clamp(46px, 13vw, 76px)/1 var(--f-display); letter-spacing: .1em; margin-right: -.1em; }
.plate-top span { font: 800 8px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: #475569; writing-mode: vertical-rl; transform: rotate(180deg); }
.plate-top span:last-child { transform: none; }
.free-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; }
.free-list li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.free-list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.free-list li::after { content: ''; position: absolute; left: 6px; top: 17px; width: 8px; height: 5px; border: solid #07080c; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.free-list b { color: #fff; font-weight: 700; }
.premium-note { margin-top: 18px; font-size: 13.5px; color: var(--dim); }
.premium-note b { color: #cbd5e1; }
@media (min-width: 900px) { .free-grid { grid-template-columns: 1fr 460px; align-items: center; gap: 70px; } .plate { padding: 32px; } }

/* ---------- FINAL CTA ---------- */
.get { background: radial-gradient(60% 50% at 50% 0%, rgba(226, 232, 240, .07), transparent 70%); }
.get h2 { text-align: center; }
.get-grid { display: grid; gap: 18px; margin-top: 46px; }
.get-ios, .get-android { position: relative; padding: 30px 22px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line); }
.get-ios { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 36px; }
.get-ios h3, .get-android h3 { font-size: 22px; letter-spacing: .06em; }
.get-ios p { color: var(--muted); margin-bottom: 8px; }
.get-ios .app-icon { margin-bottom: 8px; }
.soon { margin: 12px 0 22px; }
.soon-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 800 9.5px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: #cbd5e1; }
.soon-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e2e8f0; }
.signup { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 7px; font: 800 9.5px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: #cbd5e1; }
.field .opt { color: var(--dim); letter-spacing: .1em; margin-left: 6px; }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5, 6, 10, .7); font-size: 16px; color: #fff; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder { color: #475569; }
.field input:focus, .field select:focus { outline: none; border-color: rgba(255, 255, 255, .5); box-shadow: 0 0 0 4px rgba(226, 232, 240, .08); }
.field input[aria-invalid="true"] { border-color: #f87171; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.consent .box { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, .3); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.consent .box svg { width: 14px; height: 14px; fill: none; stroke: #07080c; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.consent input:checked + .box { background: #fff; border-color: #fff; }
.consent input:checked + .box svg { opacity: 1; }
.consent input:focus-visible + .box { outline: 2px solid #e2e8f0; outline-offset: 3px; }
.consent a { color: #fff; }
.consent.invalid .box { border-color: #f87171; }
.signup .btn-primary { width: 100%; margin-top: 4px; }
.btn-primary.busy span { opacity: .4; }
.btn-primary.busy::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(7, 8, 12, .25); border-top-color: #07080c; animation: spin .8s linear infinite; }
.form-msg { min-height: 20px; font-size: 13.5px; color: var(--muted); }
.form-msg.err { color: #fca5a5; }
.signup-done { display: grid; gap: 20px; align-items: center; justify-items: center; text-align: center; padding: 6px 0; outline: none; }
.done-copy b { display: block; font: 900 18px/1.3 var(--f-display); letter-spacing: .03em; }
.done-copy p { margin: 10px auto 18px; max-width: 340px; color: var(--muted); font-size: 14.5px; }
.founder { width: 200px; aspect-ratio: 5 / 7; position: relative; }
.founder .fd { position: absolute; inset: 0; animation: fdIn 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fdIn { 0% { transform: scaleX(0) scale(.85); } 45% { transform: scaleX(1) scale(1.04); } 100% { transform: none; } }
.fd-front { position: absolute; inset: 0; border-radius: 22px; padding: 3px; background: conic-gradient(from var(--angle), #7928ca, #00d4ff, #00ff9d, #ffea00, #7928ca); animation: spinBorder 4s linear infinite; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 40px rgba(34, 211, 238, .25); }
.fd-front > div { height: 100%; border-radius: 19px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px; background: linear-gradient(135deg, #1a0b3a 0%, #062236 40%, #0b0c12 70%, #05291f 100%); }
.fd-front img { width: 58px; height: 58px; border-radius: 22.4%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 12px 24px rgba(0, 0, 0, .6); }
.fd-front small { font: 800 8px/1 var(--f-display); letter-spacing: .34em; text-transform: uppercase; color: #a5f3fc; }
.fd-front b { font: 900 19px/1.15 var(--f-display); background: linear-gradient(90deg, #c4b5fd, #67e8f9, #6ee7b7, #fde68a, #c4b5fd); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: prismFlow 6s linear infinite; }
.fd-front span { font-size: 11.5px; color: #cbd5e1; font-family: var(--f-card); font-weight: 600; letter-spacing: .04em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) { .get-grid { grid-template-columns: 1fr 1.25fr; gap: 22px; } .get-ios, .get-android { padding: 40px; } .signup-done { grid-template-columns: auto 1fr; text-align: left; justify-items: start; } .done-copy p { margin-left: 0; } }

/* keep light effects inside the viewport on small screens */
@media (max-width: 979px) { .hero-deck { overflow-x: clip; padding-bottom: 4px; } }

@media (prefers-reduced-motion: reduce) {
  .caret, .live-dot, .ticker-in, .wait-title b, .shot, .beam, .flow li .fi::after, .founder .fd, .fd-front, .fd-front b, .shutter.cue::after, .analyze.cue, .sp-hand, .sp-track::before, .phone[data-scan="ready"] .rv-zone, .pin .pin-ring, .pin.hot .pin-ring::after, .me { animation: none !important; }
  .slab, .bay .u, .bay::after, .plaques li, .tr-bar i, .ms-bar span i { transition-duration: .01s !important; transition-delay: 0s !important; }
}
.rv-front { perspective: 1300px; }
.phone.skip .rv-back { opacity: 0; }
