/* SpotCars.app — landing v2 (2026-11-19). Black, metallic, motion on enter / tap / drag only (no scroll-jacking). */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/JetBrainsMono_500Medium.ttf') format('truetype'); }
.home { --bg: #000000; --ink: #f7f7f8; --rc: #f4e4b4; background: var(--bg); }
.home .nav { background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .66)); }
.home .foot { background: var(--bg); }
.mono { font: 500 11px/1.4 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .12em; }
.kick { margin: 0; font: 500 11px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.lead { color: #b0b0b6; font-size: 16px; line-height: 1.6; max-width: 520px; }
[data-r="common"] { --rc: #94a3b8; --rs: #e2e8f0; } [data-r="rare"] { --rc: #0ea5e9; --rs: #7dd3fc; } [data-r="epic"] { --rc: #a855f7; --rs: #e9d5ff; }
[data-r="mythic"] { --rc: #ef4444; --rs: #fca5a5; } [data-r="legendary"] { --rc: #f59e0b; --rs: #fef08a; } [data-r="grail"] { --rc: #f4e4b4; --rs: #ffffff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 18px) 0 28px; display: grid; overflow: hidden; }
.hero-in { display: grid; grid-template-areas: 'head' 'lead' 'stage' 'cta'; gap: 10px; align-content: start; }
.hero-head { grid-area: head; }
.hero-foot { display: contents; }
.hero-foot .lead { grid-area: lead; font-size: 15px; line-height: 1.5; }
.hero-foot .cta { grid-area: cta; margin-top: 6px; }
.h1 { margin-top: 14px; font-size: clamp(34px, 10.2vw, 46px); letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }
.type { display: inline-block; min-height: 1.04em; background: linear-gradient(180deg, #ffffff 0%, #eef2f7 40%, #9aa6b8 64%, #e2e8f0 80%, #7a8698 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.caret { display: inline-block; width: .07em; height: .78em; margin-left: .08em; background: #e6e6e9; vertical-align: baseline; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.hero-stage { grid-area: stage; --ch: clamp(350px, calc(100svh - 380px), 500px); position: relative; display: grid; justify-items: center; gap: 12px; padding-top: calc(var(--ch) * .07); }
.c3d { position: relative; z-index: 1; height: var(--ch); aspect-ratio: 1056 / 1698; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.c3d.grab { cursor: grabbing; }
.c3d-cv { position: absolute; left: -12%; top: -12%; width: 124%; height: 124%; pointer-events: none; }
/* a still Grail kept alive: the moving veins (a 2D copy of one shared canvas) inside the frame, the face picture over them */
.glive { position: absolute; inset: 0; visibility: hidden; pointer-events: none; }
.glive.on { visibility: visible; }
.glive canvas { position: absolute; left: 1.25%; top: .777%; width: 97.5%; height: 98.446%; border-radius: 6.41% / 3.95%; }
span.glive > img.gface { position: absolute; left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; filter: none; }
.c3d > img.still { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.glow { position: absolute; left: 50%; top: calc(var(--ch) * .07); width: calc(var(--ch) * 1.25); height: calc(var(--ch) * 1.06); transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--rc), transparent 72%); opacity: 0; transition: opacity 1s; pointer-events: none; }
.ready .glow { opacity: .2; }
.glow::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: -3%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, var(--rc), transparent); opacity: .5; }
/* scan corners: they lock on the card, then stay as a faint frame */
.lock { position: absolute; inset: -5.5% -9%; opacity: 0; transform: scale(1.22); pointer-events: none; }
.lock i { position: absolute; width: 9%; aspect-ratio: 1; border: 0 solid #e6e6e9; }
.lock i:nth-child(1) { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; border-top-left-radius: 9px; }
.lock i:nth-child(2) { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; border-top-right-radius: 9px; }
.lock i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; border-bottom-left-radius: 9px; }
.lock i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: 9px; }
.locking .lock { opacity: 1; transform: scale(1); transition: transform .5s cubic-bezier(.2, .9, .2, 1), opacity .3s; }
.ready .lock { opacity: .3; transform: scale(1); transition: opacity 1.2s; }
.flash { position: absolute; z-index: 2; left: 50%; top: calc(var(--ch) * .57); width: calc(var(--ch) * 1.3); aspect-ratio: 1; transform: translate(-50%, -50%) scale(.2); border-radius: 50%; background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, .5) 30%, transparent 70%); opacity: 0; pointer-events: none; }
.flash.on { animation: flash .6s ease-out; }
@keyframes flash { 0% { opacity: .95; transform: translate(-50%, -50%) scale(.2); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); } }
.plate { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-top: calc(var(--ch) * .04); font: 500 11px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .22em; color: #d2d2d6; opacity: 0; transition: opacity .5s; }
.ready .plate { opacity: 1; }
.plate i { width: 6px; height: 6px; border-radius: 50%; background: var(--rc); box-shadow: 0 0 10px var(--rc); }
.plate b { font-weight: 500; color: var(--rc); padding-left: 10px; border-left: 1px solid var(--line-2); }
.hint { display: inline-flex; align-items: center; gap: 8px; font: 500 10px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); opacity: 0; transition: opacity .6s; }
.hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ready .hint { opacity: 1; } .touched .hint { opacity: 0; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ticks li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #d2d2d6; }
.ticks svg { width: 16px; height: 16px; fill: none; stroke: #e6e6e9; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 960px) {
  .hero { padding-bottom: 30px; }
  .hero-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'head stage' 'foot stage'; column-gap: 40px; row-gap: 26px; align-content: center; }
  .hero-head { align-self: end; } .hero-foot { grid-area: foot; display: grid; align-self: start; gap: 30px; }
  .hero-foot .lead, .hero-foot .cta { grid-area: auto; margin: 0; }
  .hero-foot .lead { font-size: 18px; line-height: 1.6; }
  .h1 { font-size: clamp(56px, 6.1vw, 84px); margin-top: 22px; }
  .lead { font-size: 18px; }
  .hero-stage { --ch: clamp(420px, calc(100svh - 270px), 640px); padding-left: 70px; padding-right: 70px; }
}
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } .flash { display: none; } }

/* ---------- sections ---------- */
.sec { position: relative; padding: 48px 0; }
.head { display: grid; gap: 14px; justify-items: center; text-align: center; margin: 0 auto 26px; max-width: 720px; }
.head.left { justify-items: start; text-align: left; margin: 0; }
.h2 { font-size: clamp(30px, 8.4vw, 54px); text-transform: uppercase; letter-spacing: 0; }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.btn-primary.sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 11px; text-decoration: none; }
.brk i { position: absolute; width: 20px; height: 20px; border: 0 solid #fff; }
.brk i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; border-top-left-radius: 8px; }
.brk i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; border-top-right-radius: 8px; }
.brk i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 8px; }
.brk i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 8px; }

/* ---------- try it ---------- */
.try-in { display: grid; gap: 26px; }
.steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 440px; }
.steps li { display: grid; gap: 4px; align-content: start; padding: 10px 0 0; border-top: 2px solid var(--line); opacity: .42; transition: opacity .4s, border-color .4s; }
.steps li > b { font: 500 10px/1.4 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .12em; color: var(--muted); }
.steps strong { display: block; font: 800 10.5px/1.35 var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.steps span { display: none; color: #b0b0b6; font-size: 14px; line-height: 1.5; }
@media (min-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 4px; margin-top: 8px; }
  .steps li { display: flex; gap: 16px; align-items: flex-start; padding: 13px 0; border-top-width: 1px; }
  .steps li > b { font-size: 11px; line-height: 22px; }
  .steps strong { font-size: 13px; line-height: 22px; letter-spacing: .12em; }
  .steps span { display: block; }
}
.try[data-step="cam"] .steps li[data-s="cam"], .try[data-step="ai"] .steps li[data-s="ai"], .try[data-step="card"] .steps li[data-s="card"] { opacity: 1; border-top-color: rgba(255, 255, 255, .5); }
.demo { justify-self: center; width: min(100%, 300px); }
/* an iPhone's proportions (9 : 19.5), with its island */
.screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 42px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 7px #0c0c0d, 0 0 0 8px rgba(255, 255, 255, .08), 0 40px 80px rgba(0, 0, 0, .7);
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; isolation: isolate; }
.screen::before { content: ''; position: absolute; z-index: 6; left: 50%; top: 10px; width: 78px; height: 22px; margin-left: -39px; border-radius: 12px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07); pointer-events: none; }
/* 1. pick: the app's four street shots (2 x 2); the tapped one lifts with a platinum frame, the others dim */
.pick { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: auto auto 1fr; padding: 52px 16px 18px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.demo[data-state="pick"] .pick { opacity: 1; pointer-events: auto; }
.pk-k { text-align: center; font: 500 9px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .26em; color: var(--muted); }
.pk-t { margin: 12px 0 18px; text-align: center; font: 800 15px/1.3 var(--f-display); letter-spacing: .02em; }
.pk-grid { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 9px; min-height: 0; padding-bottom: 20px; }
.pk-grid button { position: relative; aspect-ratio: 1 / 1.42; padding: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; overflow: hidden; background: #0d0d0f; cursor: pointer; transition: opacity .26s, transform .32s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.demo.in .pk-grid button { animation: tilein .48s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(.14s + var(--i) * 90ms); }
@keyframes tilein { from { opacity: 0; transform: translateY(14px); } }
.pk-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx) var(--fy); }
.pk-grid button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 60%, #000000aa); }
.pk-grid b { position: absolute; z-index: 1; left: 11px; bottom: 9px; font: 500 8.5px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .18em; color: #e6e6e9cc; }
.pk-grid button[data-s="on"] { z-index: 1; border: 2px solid #f7f7f8; transform: scale(1.035); }
.pk-grid button[data-s="off"] { opacity: .35; transform: scale(.97); }
.pk-grid button[data-s="on"]::before { content: ''; position: absolute; z-index: 2; top: 9px; right: 9px; width: 24px; height: 24px; border-radius: 50%; background: #f7f7f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0d12' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (hover: hover) { .demo[data-state="pick"] .pk-grid button:not([data-s="on"]):not([data-s="off"]):hover { border-color: rgba(255, 255, 255, .4); } }
/* 2. the app's camera: big logo, flash button, brackets on the car, zoom pill, the floating glass bar (gallery, shutter, Scan) */
.cam { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .4s; }
.demo:not([data-state="pick"]) .cam { opacity: 1; }
.demo[data-state="cam"] .cam { pointer-events: auto; }
.cam { background: #000; }
.cam .shot { position: absolute; left: 0; top: var(--t, 10%); width: 100%; height: auto; aspect-ratio: 2 / 3; -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 80%, transparent); }
.cam > :not(.shot) { transition: opacity .3s; }
.demo:not([data-state="cam"]) .cam > :not(.shot) { opacity: 0; }
.glass { background: rgba(22, 22, 24, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cam-top { position: absolute; z-index: 3; left: 14px; right: 14px; top: 42px; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; }
.cam-top .wordmark { justify-self: center; font-size: 20px; }
.cam-flash { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.cam-flash svg, .gal svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.demo .brk { position: absolute; z-index: 3; left: 0; top: 0; width: var(--w, 200px); height: var(--h, 120px); transform: translate(var(--x, 0), var(--y, 0)); pointer-events: none; }
.zoom { position: absolute; z-index: 3; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; gap: 3px; padding: 3px; border-radius: 30px; }
.zoom span { width: 38px; height: 27px; display: grid; place-items: center; border-radius: 20px; font: 700 11px/1 var(--f-body); color: #a0a0a6; }
.zoom .on { background: #f7f7f822; color: #f7f7f8; }
.cam-bar { position: absolute; z-index: 3; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 12px; border-radius: 28px; }
.gal { position: relative; justify-self: start; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #ffffff14; }
.gal img { position: absolute; left: 0; top: 6.5px; width: 42px; height: 29px; border-radius: 6px; box-shadow: 0 0 0 1px #fff; object-fit: cover; opacity: 0; transform: translate(60px, -150px) scale(3); transition: opacity .2s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.demo.taken .gal img { opacity: 1; transform: none; }
.scanpill { justify-self: end; height: 36px; padding: 0 15px; display: grid; place-items: center; border-radius: 20px; background: #ffffff14; font: 700 11.5px/1 var(--f-body); color: #a0a0a6; }
.shutter { position: relative; width: 58px; height: 58px; padding: 0; border-radius: 50%; border: 3px solid #f7f7f8; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.shutter i { position: absolute; inset: 3.5px; border-radius: 50%; background: #f7f7f8; transition: transform .15s; }
.shutter:active i { transform: scale(.88); }
.shutter::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid #fff; opacity: 0; }
.demo.nudge .shutter::after { animation: nudge 1.6s ease-out infinite; }
@keyframes nudge { 0% { opacity: .7; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.3); } }
.screen .dim { position: absolute; inset: 0; z-index: 2; background: #000; opacity: 0; pointer-events: none; transition: opacity .5s; }
.demo[data-state="ai"] .dim { opacity: 1; }
.demo[data-state="reveal"] .dim, .demo[data-state="done"] .dim { opacity: 1; }
/* the app's analysis screen: the shot, the step title, three rows (waiting / running / done), a tip, a running line */
.ana { position: absolute; inset: 0; z-index: 3; display: grid; align-content: center; gap: 14px; padding: 24px 22px 20px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.demo[data-state="ai"] .ana { opacity: 1; }
.ana::before { content: ''; position: absolute; z-index: -1; inset: -40px; background: var(--shot) center / cover no-repeat; filter: blur(27px); opacity: .07; }
.ana-ph { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.ana-ph img { width: 100%; height: 100%; object-fit: cover; }
.ana-ph::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); box-shadow: 0 0 14px #fff; }
.demo[data-state="ai"] .ana-ph::after { animation: anascan 1.3s ease-in-out infinite alternate; }
@keyframes anascan { to { top: calc(100% - 2px); } }
.ana-h { display: grid; gap: 6px; justify-items: center; text-align: center; }
.ana-h b { font: 800 15px/1.2 var(--f-display); letter-spacing: .03em; }
.ana-h span { font-size: 12px; line-height: 1.3; color: #a0a0a6; }
.ana-rail { --p: 0; position: relative; list-style: none; margin: 0; padding: 8px 14px; border-radius: 16px; background: #ffffff08; border: 1px solid var(--line); }
.ana-rail::before, .ana-rail::after { content: ''; position: absolute; left: 22px; top: 32px; width: 2px; height: 96px; background: #ffffff14; }
.ana-rail::after { background: #f7f7f8; transform-origin: 50% 0; transform: scaleY(var(--p)); transition: transform .9s linear; }
.ana-rail li { position: relative; z-index: 1; height: 48px; display: flex; align-items: center; gap: 13px; }
.ana-rail li > i { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #ffffff33; background: #000000; }
.ana-rail li[data-s="on"] > i { border: 2px solid #f7f7f8; }
.ana-rail li[data-s="on"] > i::before { content: ''; position: absolute; inset: -3px; z-index: -1; border-radius: 50%; background: #e6e6e9; animation: halo 1.2s ease-out infinite; }
@keyframes halo { from { opacity: .35; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
.ana-rail li[data-s="done"] > i { border: 0; background: #f7f7f8; }
.ana-rail li[data-s="done"] > i::after { content: ''; position: absolute; left: 6.5px; top: 3.5px; width: 5px; height: 9px; border: solid #000000; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.ana-rail li div { display: grid; gap: 4px; min-width: 0; }
.ana-rail li b { font: 800 9.5px/1 var(--f-display); letter-spacing: .16em; color: #4f4f55; transition: color .3s; }
.ana-rail li span { min-height: 14px; font-size: 11px; line-height: 14px; color: #3a3a3f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.ana-rail li[data-s="on"] b, .ana-rail li[data-s="done"] b { color: #f7f7f8; }
.ana-rail li[data-s="on"] span { color: #a0a0a6; }
.ana-rail li[data-s="done"] span { color: #e6e6e9; font-weight: 700; }
.ana-rail li:first-child[data-s="done"] span { font-size: 13px; }
.ana-tip { display: grid; gap: 6px; justify-items: center; text-align: center; }
.ana-tip small { font: 500 8px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .22em; color: #6f6f76; }
.ana-tip span { font-size: 10.5px; line-height: 1.4; color: #a0a0a6; }
.ana-line { height: 2px; background: #ffffff12; overflow: hidden; }
.ana-line i { display: block; width: 30%; height: 100%; background: #e6e6e9; }
.demo[data-state="ai"] .ana-line i { animation: runline 1.3s linear infinite; }
@keyframes runline { from { transform: translateX(-100%); } to { transform: translateX(334%); } }
/* the result: the card, then its full details below it. Once the card has landed this layer scrolls, as in the app. */
.result { position: absolute; inset: 0; z-index: 3; overflow: hidden; padding-bottom: 28px; opacity: 0; pointer-events: none; transition: opacity .4s; scrollbar-width: none; }
.result::-webkit-scrollbar { display: none; }
.demo[data-state="reveal"] .result, .demo[data-state="done"] .result { opacity: 1; pointer-events: auto; }
.demo[data-state="done"] .result { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.reveal { position: relative; display: grid; justify-items: center; padding-top: 17%; }
/* the reveal shows the card centred (the app's 232 pt card); in the details it is the app's big card, 310 of 390 pt wide, at the top */
.reveal .c3d { width: 79.5%; height: auto; transform-origin: 50% 0; transform: translateY(26%) scale(.75); transition: transform .76s cubic-bezier(.2, .8, .2, 1); }
.demo[data-file="1"] .reveal .c3d { transform: none; }
.reveal::before { content: ''; position: absolute; left: -10%; right: -10%; top: 0; height: 100%; background: radial-gradient(closest-side, var(--rc), transparent 70%); opacity: 0; transition: opacity .8s; pointer-events: none; }
.demo[data-state="done"] .reveal::before { opacity: .2; }
.demo[data-file="1"] .reveal::before { opacity: .1; }
.swipe { position: absolute; z-index: 3; left: 0; right: 0; bottom: 7%; display: flex; justify-content: center; align-items: center; gap: 8px; font: 500 11px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .26em; text-transform: uppercase; color: #e6e6e9; opacity: 0; transition: opacity .3s; pointer-events: none; }
.again { display: flex; margin: 14px auto 0; min-height: 40px; padding: 0 18px; align-items: center; font: 800 10.5px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.demo[data-state="done"] .again { opacity: 1; visibility: visible; }
.swipe svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; animation: nudgex 1.2s ease-in-out infinite alternate; }
@keyframes nudgex { from { transform: translateX(-5px); } to { transform: translateX(5px); } }
.demo[data-state="reveal"] .swipe { opacity: 1; }
/* full details: the app's CarDetailsBody at the size of this small screen */
/* the app's Full details (CarDetailsBody.tsx + RarityBadge.tsx, 2026-11-22): 1 pt of the app = --u (screen width / 390) */
.demo, .viewer { --u: 1px; --sf: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, 'Segoe UI', Roboto, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace; }
[data-r="common"] { --rim: #94a3b8; --ink: #f5f8fb; } [data-r="rare"] { --rim: #38bdf8; --ink: #e9f6fe; } [data-r="epic"] { --rim: #a855f7; --ink: #f7efff; }
[data-r="mythic"] { --rim: #ef4444; --ink: #feebeb; } [data-r="legendary"] { --rim: #f59e0b; --ink: #fef7d8; } [data-r="grail"] { --rim: #e3bf62; --ink: #f3ead2; }
.det { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(var(--u) * 30); padding: calc(var(--u) * 22) calc(var(--u) * 20) 0; }
.d-head { display: grid; gap: calc(var(--u) * 10); }
.d-top { display: flex; justify-content: space-between; align-items: center; gap: calc(var(--u) * 10); }
.d-plate { display: inline-flex; align-items: center; gap: calc(var(--u) * 7); height: calc(var(--u) * 28); padding: 0 calc(var(--u) * 10); border-radius: calc(var(--u) * 8); border: 1px solid var(--rim); background: linear-gradient(135deg, #17171a, #060607, #17171a); white-space: nowrap; }
[data-r="grail"] .d-plate.rar { background: linear-gradient(135deg, #1a1710, #060606, #1a1710); }
.d-plate.rar b { font: 900 calc(var(--u) * 12) / calc(var(--u) * 15) var(--f-display); letter-spacing: calc(var(--u) * 1.6); color: var(--ink); }
.d-plate .mk { width: calc(var(--u) * 10); height: calc(var(--u) * 10); fill: var(--ink); }
.d-plate .gem { width: calc(var(--u) * 13); height: calc(var(--u) * 13); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.d-plate.ver { border-color: #ffffff4d; }
.d-plate.ver svg { width: calc(var(--u) * 13); height: calc(var(--u) * 13); fill: none; stroke: #d2d2d6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-plate.ver span { font: 500 calc(var(--u) * 12) / calc(var(--u) * 15) var(--f-body); color: #f7f7f8; }
.d-brand { margin-top: calc(var(--u) * 6); font: 500 calc(var(--u) * 13) / 1.25 var(--mono); letter-spacing: calc(var(--u) * 3); color: #a0a0a6; }
.d-model { font: 800 calc(var(--u) * 28) / calc(var(--u) * 34) var(--sf); color: var(--rs); }
.d-meta { font: 500 calc(var(--u) * 13) / calc(var(--u) * 18) var(--f-body); color: var(--rs); }
.d-desc { margin-top: calc(var(--u) * 4); font: 500 calc(var(--u) * 14.5) / calc(var(--u) * 23) var(--f-body); color: #b9b9c0; }
.d-sec { display: grid; gap: calc(var(--u) * 12); }
.d-k { font: 500 calc(var(--u) * 10) / calc(var(--u) * 16) var(--mono); letter-spacing: calc(var(--u) * 1.6); color: #a0a0a6; }
.d-h { font: 700 calc(var(--u) * 19) / calc(var(--u) * 25) var(--sf); }
.d-box { display: grid; gap: calc(var(--u) * 16); padding: calc(var(--u) * 18); border-radius: calc(var(--u) * 18); border: 1px solid rgba(255, 255, 255, .08); background: #000; }
.d-box.perf { gap: 0; padding-bottom: calc(var(--u) * 4); }
.d-box.val { gap: calc(var(--u) * 12); }
.d-nums { list-style: none; margin: 0; padding: 0 0 calc(var(--u) * 18); display: grid; grid-template-columns: repeat(3, 1fr); }
.d-nums li { display: grid; gap: calc(var(--u) * 6); align-content: start; min-width: 0; }
.d-nums li + li { padding-left: calc(var(--u) * 14); border-left: 1px solid rgba(255, 255, 255, .08); }
.d-nums b { font: 700 calc(var(--u) * 25) / calc(var(--u) * 30) var(--sf); white-space: nowrap; }
.d-nums b i, .d-cells dd i, .d-score em i { font: 500 calc(var(--u) * 10.5) / 1 var(--f-body); font-style: normal; color: #a0a0a6; }
.d-nums small, .d-cells dt, .d-fig span, .d-score span, .d-ends span, .d-tiers { font: 500 calc(var(--u) * 9.5) / calc(var(--u) * 16) var(--mono); letter-spacing: calc(var(--u) * .6); color: #7e7e85; white-space: nowrap; }
.d-cells { margin: 0; display: flex; flex-wrap: wrap; }
.d-cells div { width: 50%; display: grid; gap: calc(var(--u) * 7); align-content: start; padding: calc(var(--u) * 15) calc(var(--u) * 10) calc(var(--u) * 15) 0; border-top: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.d-cells .wide { width: 100%; }
.d-cells dt i { font: 500 calc(var(--u) * 9.5) / 1 var(--f-body); font-style: normal; letter-spacing: 0; }
.d-cells dd { margin: 0; font: 800 calc(var(--u) * 15.5) / calc(var(--u) * 20) var(--sf); color: #f7f7f8; }
.d-cells dd.txt { font: 700 calc(var(--u) * 12.5) / calc(var(--u) * 20) var(--f-body); }
.d-cells .wide dd.txt { font-size: calc(var(--u) * 13.5); line-height: calc(var(--u) * 19); }
.d-cells dd.long { font-size: calc(var(--u) * 11.5); line-height: calc(var(--u) * 16); }
.d-fig { display: grid; gap: calc(var(--u) * 5); min-width: 0; }
/* the landing has no spot number on the right: units built sit in the middle, no LIMITED tag (owner 2026-11-23: how a Grail is decided stays inside the app) */
.d-fig.mid { justify-items: center; text-align: center; }
.d-fig p { display: flex; align-items: center; gap: calc(var(--u) * 9); }
.d-fig b { font: 700 calc(var(--u) * 26) / calc(var(--u) * 31) var(--sf); white-space: nowrap; }
.d-fig.big b { font-size: calc(var(--u) * var(--fit, 30)); line-height: calc(var(--u) * 36); }
.d-lim { display: inline-flex; align-items: center; gap: calc(var(--u) * 4); padding: calc(var(--u) * 4) calc(var(--u) * 6) calc(var(--u) * 4) calc(var(--u) * 9); border-radius: calc(var(--u) * 20); border: 1px solid color-mix(in srgb, var(--rc) 40%, transparent); background: color-mix(in srgb, var(--rc) 7%, transparent); font: 800 calc(var(--u) * 9.5) / calc(var(--u) * 15) var(--sf); letter-spacing: calc(var(--u) * 1.2); color: var(--rs); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.d-lim svg { width: calc(var(--u) * 11); height: calc(var(--u) * 11); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-rar { display: grid; gap: calc(var(--u) * 9); padding-top: calc(var(--u) * 14); border-top: 1px solid rgba(255, 255, 255, .08); }
.d-score { display: flex; justify-content: space-between; align-items: flex-end; }
.d-score em { font: 800 calc(var(--u) * 20) / calc(var(--u) * 24) var(--sf); font-style: normal; color: var(--rs); }
/* one bar, six equal tiers: it fills in the tier colours up to the card's score when it scrolls into view */
.d-bar { --tiers: linear-gradient(90deg, #94a3b8 0 16.67%, #0ea5e9 0 33.33%, #a855f7 0 50%, #ef4444 0 66.67%, #f59e0b 0 83.33%, #f4e4b4 0); position: relative; height: calc(var(--u) * 6); border-radius: calc(var(--u) * 3); overflow: hidden; background: #ffffff14; }
.d-bar::before, .d-bar i { content: ''; position: absolute; inset: 0; background: var(--tiers); }
.d-bar::before { opacity: .22; }
.d-bar i { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.33, 0, .15, 1); }
.d-bar.in i { clip-path: inset(0 var(--p) 0 0); }
.d-tiers { display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; letter-spacing: 0; }
.d-tiers .on { color: #f7f7f8; }
.d-valtop { display: flex; justify-content: space-between; align-items: center; gap: calc(var(--u) * 10); }
.d-chip { flex: none; display: inline-flex; align-items: center; gap: calc(var(--u) * 5); padding: calc(var(--u) * 6) calc(var(--u) * 10); border-radius: calc(var(--u) * 20); border: 1px solid #ffffff1f; background: #ffffff0a; white-space: nowrap; }
.d-chip svg { width: calc(var(--u) * 13); height: calc(var(--u) * 13); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.d-chip .up { stroke: #86efac; } .d-chip .down { stroke: #f87171; }
.d-chip b { font: 700 calc(var(--u) * 12) / calc(var(--u) * 16) var(--f-body); color: #f7f7f8; }
.d-chip span { font: 400 calc(var(--u) * 11.5) / calc(var(--u) * 16) var(--f-body); color: #a0a0a6; }
/* the market line draws itself once (1.5 s), its area fades in over the last part, the dot lands at the end */
.d-chart { display: block; width: 100%; height: auto; }
.d-chart .ln { fill: none; stroke: var(--rc); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.33, 0, .15, 1); }
.d-chart .area { opacity: 0; transition: opacity .68s ease-in .82s; }
.d-chart .dot { fill: var(--rc); opacity: 0; transition: opacity .05s 1.44s; }
.d-chart.in .ln { stroke-dashoffset: 0; }
.d-chart.in .area, .d-chart.in .dot { opacity: 1; }
.d-ends { display: flex; justify-content: space-between; }
.d-ends p { display: grid; gap: calc(var(--u) * 3); }
.d-ends b { font: 800 calc(var(--u) * 13) / calc(var(--u) * 18) var(--sf); color: #f7f7f8; }
.d-ends .now { justify-items: end; }
.d-ends .now b { color: var(--rs); }
/* the LIMITED sheet (the app's Sheet: black, round top, handle, title + close) */
.lsheet { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-end; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; }
.lsheet.on { opacity: 1; }
.ls-p { width: 100%; display: grid; gap: calc(var(--u) * 16); padding: 0 calc(var(--u) * 18) calc(var(--u) * 40); border-radius: calc(var(--u) * 28) calc(var(--u) * 28) 0 0; border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; background: #000; transform: translateY(100%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.lsheet.on .ls-p { transform: none; }
.ls-p::before { content: ''; justify-self: center; width: calc(var(--u) * 34); height: calc(var(--u) * 4); margin: calc(var(--u) * 10) 0 calc(var(--u) * -6); border-radius: 2px; background: rgba(255, 255, 255, .2); }
.ls-head { display: flex; align-items: center; gap: calc(var(--u) * 12); }
.ls-head p { flex: 1; font: 700 calc(var(--u) * 16) / calc(var(--u) * 23) var(--sf); text-transform: uppercase; }
.ls-x { width: calc(var(--u) * 36); height: calc(var(--u) * 36); padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); background: #ffffff08; color: #f7f7f8; cursor: pointer; }
.ls-x svg { width: calc(var(--u) * 16); height: calc(var(--u) * 16); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.ls-top { display: grid; justify-items: center; gap: calc(var(--u) * 6); padding-top: calc(var(--u) * 6); }
.ls-top b { font: 800 calc(var(--u) * 44) / calc(var(--u) * 50) var(--sf); color: var(--rs); }
.ls-top span { font: 500 calc(var(--u) * 10) / calc(var(--u) * 16) var(--mono); letter-spacing: calc(var(--u) * 1.6); color: #7e7e85; }
.ls-why { display: grid; gap: calc(var(--u) * 12); padding-top: calc(var(--u) * 16); border-top: 1px solid rgba(255, 255, 255, .08); }
.ls-why b { font: 700 calc(var(--u) * 15) / calc(var(--u) * 21) var(--f-body); }
.ls-why p { display: flex; align-items: center; gap: calc(var(--u) * 10); font: 400 calc(var(--u) * 13.5) / calc(var(--u) * 19) var(--f-body); color: #a0a0a6; }
.ls-why svg { flex: none; width: calc(var(--u) * 15); height: calc(var(--u) * 15); fill: none; stroke: #d2d2d6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.screen .flash { position: absolute; inset: 0; z-index: 5; left: 0; top: 0; width: auto; aspect-ratio: auto; transform: none; border-radius: 0; background: #fff; opacity: 0; pointer-events: none; }
.screen .flash.on { animation: shot .45s ease-out; }
@keyframes shot { 0% { opacity: .9; } 100% { opacity: 0; } }

@media (min-width: 960px) {
  .sec { padding: 84px 0; }
  .head { margin-bottom: 40px; gap: 20px; }
  .try-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 60px; }
  .demo { width: 330px; margin-right: 60px; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .swipe svg, .demo.nudge .shutter::after, .ana-ph::after, .ana-line i, .ana-rail li > i::before, .pk-grid button { animation: none !important; } .reveal .c3d { transition: none; } }

/* ---------- rarity row ---------- */
.rrow { display: grid; grid-auto-flow: column; grid-auto-columns: 54vw; align-items: end; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 23vw 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rrow::-webkit-scrollbar { display: none; }
.rc { scroll-snap-align: center; display: grid; gap: 16px; justify-items: center; opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 80ms); }
.rrow.in .rc { opacity: 1; transform: none; }
.rcard { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 7.4% / 4.75%; -webkit-tap-highlight-color: transparent; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.rcard[data-tall] { border-radius: 7.4% / 4.6%; }
.rcard::before { content: ''; position: absolute; inset: 6% -12% -4%; background: radial-gradient(closest-side, var(--rc), transparent 72%); opacity: .2; transition: opacity .35s; pointer-events: none; }
.rcard img { position: relative; width: 100%; height: auto; aspect-ratio: 1056 / 1644; -webkit-user-drag: none; }
.rcard[data-tall] img { aspect-ratio: 1056 / 1698; }
.rcard .lt { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.rcard .lt::after { content: ''; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 46%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .34), transparent); transform: skewX(-12deg); }
.rrow.in .rcard .lt::after { animation: pass 1.1s cubic-bezier(.4, 0, .2, 1) calc(.5s + var(--i) * 160ms) both; }
@keyframes pass { to { left: 130%; } }
@media (hover: hover) { .rcard:hover { transform: translateY(-8px); } .rcard:hover::before { opacity: .38; } }
.rc .lbl { display: grid; gap: 7px; justify-items: center; text-align: center; }
.rc .lbl b { font: 800 12px/1 var(--f-display); letter-spacing: .18em; color: var(--rc); }
.rc .lbl span { font-size: 13px; line-height: 1.2; color: #b0b0b6; }
.rc .lbl small { font: 500 10px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; color: var(--dim); }
.ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; max-width: 560px; margin: 24px auto 0; }
.ladder i { height: 3px; border-radius: 3px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.3, .7, .2, 1); transition-delay: calc(.3s + var(--i) * 130ms); }
.ladder.in i { transform: none; }
.ladder i:nth-child(1) { --i: 0; background: #a0a0a6; } .ladder i:nth-child(2) { --i: 1; background: #0ea5e9; } .ladder i:nth-child(3) { --i: 2; background: #a855f7; }
.ladder i:nth-child(4) { --i: 3; background: #ef4444; } .ladder i:nth-child(5) { --i: 4; background: #f59e0b; } .ladder i:nth-child(6) { --i: 5; background: linear-gradient(90deg, #e8c56a, #fffbeb); }
.tap-note { margin-top: 16px; text-align: center; font: 500 10px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
@media (min-width: 620px) and (max-width: 959px) { .rrow { grid-auto-columns: 30vw; padding-left: var(--gutter); padding-right: var(--gutter); } }
@media (min-width: 960px) { .rrow { grid-auto-columns: 1fr; overflow: visible; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); gap: 18px; } }
@media (min-width: 960px) { .rc[data-clone] { display: none; } }

/* ---------- viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 80; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: #000; opacity: 0; transition: opacity .3s; }
.viewer.on { opacity: 1; }
.viewer-bg { position: fixed; inset: 0; background: #000000; }
.viewer-stage { overflow-x: clip; --ch: min(64svh, 600px, 128vw); position: relative; display: grid; justify-items: center; gap: 12px; padding-top: calc(70px + env(safe-area-inset-top)); pointer-events: none; }
.viewer .det { width: min(100%, 430px); margin: 0 auto; padding-bottom: calc(var(--u) * 48 + env(safe-area-inset-bottom)); }
.viewer .lsheet { position: fixed; z-index: 3; justify-content: center; }
.viewer .ls-p { max-width: 430px; }
.d-note { font: 500 calc(var(--u) * 10) / calc(var(--u) * 17) var(--f-body); color: #a0a0a6; }
.viewer-stage .c3d { pointer-events: auto; }
.viewer-stage .glow { top: 0; opacity: .2; }
.viewer-stage .plate, .viewer-stage .hint { opacity: 1; }
.viewer-stage .plate { margin-top: calc(var(--ch) * .05); }
.xbtn { position: fixed; z-index: 4; right: 16px; top: calc(16px + env(safe-area-inset-top)); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; }
.xbtn svg { width: 18px; height: 18px; fill: none; stroke: #e6e6e9; stroke-width: 1.6; stroke-linecap: round; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 26px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: #ffffff06; }
.tabs [role="tab"] { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 800 11px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.tabs [aria-selected="true"] { background: #ffffff1c; color: #fff; }
.panel.swap { animation: swap .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }
.shelves { position: relative; margin-top: 10px; transition: height .42s cubic-bezier(.3, .7, .2, 1); }
.shelves > .shelf { margin-top: 0; }
.shelf.from-r { animation: fromR .42s cubic-bezier(.3, .7, .2, 1); } .shelf.from-l { animation: fromL .42s cubic-bezier(.3, .7, .2, 1); }
@keyframes fromR { from { opacity: 0; transform: translateX(28px); } } @keyframes fromL { from { opacity: 0; transform: translateX(-28px); } }
@media (prefers-reduced-motion: reduce) { .panel.swap, .shelf.from-r, .shelf.from-l { animation: none; } .shelves { transition: none; } }

/* ---------- discover ---------- */
.disc-in { display: grid; gap: 26px; }
.disc-in .head { order: -1; }
.deck-col { display: grid; justify-items: center; gap: 18px; }
.deck { position: relative; width: min(60vw, 250px); aspect-ratio: 1056 / 1698; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.dcard { position: absolute; left: 0; right: 0; bottom: 0; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s; will-change: transform; }
.dcard img, .dcard .glive { transition: filter .45s; }
.dcard[data-d="1"] { transform: translate(14px, 2px) rotate(4.5deg) scale(.97); }
.dcard[data-d="1"] img { filter: brightness(.5); } .dcard[data-d="1"] .glive { filter: brightness(.5); }
.dcard[data-d="2"] { transform: translate(-16px, 3px) rotate(-5.5deg) scale(.94); }
.dcard[data-d="2"] img { filter: brightness(.26); } .dcard[data-d="2"] .glive { filter: brightness(.26); }
.dcard[data-d="3"] { transform: scale(.9); opacity: 0; }
.dcard img { width: 100%; height: auto; -webkit-user-drag: none; pointer-events: none; }
.dcard.top { cursor: grab; }
.dcard.drag { transition: none; cursor: grabbing; }
.dcard.out { transition: transform .34s cubic-bezier(.4, 0, .8, .5), opacity .3s .06s; opacity: 0; }
.stamp { position: absolute; top: 9%; padding: 8px 14px; border-radius: 10px; border: 2px solid #fff; font: 900 18px/1 var(--f-display); letter-spacing: .14em; color: #fff; background: rgba(0, 0, 0, .55); opacity: var(--o, 0); pointer-events: none; }
.stamp.l { right: 8%; transform: rotate(10deg); } .stamp.r { left: 8%; transform: rotate(-10deg); }
.deck-btns { display: flex; align-items: center; gap: 34px; }
.round { width: 58px; height: 58px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; transition: transform .2s, border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.round svg { width: 24px; height: 24px; fill: none; stroke: #e6e6e9; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.round:active { transform: scale(.92); }
.round.like.pop svg { animation: heart .45s cubic-bezier(.2, .9, .3, 1.4); fill: #fff; }
@keyframes heart { 0% { transform: scale(.7); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@media (hover: hover) { .round:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .07); } }
.points { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #d2d2d6; }
@media (max-width: 759px) { .points { display: none; } }
.points svg { flex: none; width: 18px; height: 18px; fill: none; stroke: #e6e6e9; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 960px) {
  .disc-in { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 90px; }
  .disc-in .head { order: 0; }
  .deck-col { margin-left: 60px; }
  .deck { width: 310px; }
}
@media (prefers-reduced-motion: reduce) { .rc { opacity: 1; transform: none; transition: none; } .rrow.in .rcard .lt::after { animation: none; } .ladder i { transform: none; transition: none; } }


/* ---------- map ---------- */
.map-in { display: grid; gap: 24px; }
.stats { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.stats li { display: grid; gap: 7px; }
.stats b { font: 900 24px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.stats span { font: 500 9.5px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .22em; color: var(--dim); }
.mapbox { position: relative; aspect-ratio: 4 / 4.9; border-radius: 28px; overflow: hidden; background: #0a0a0a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); isolation: isolate; -webkit-user-select: none; user-select: none; }
.mapsvg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapbox::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .7)); pointer-events: none; }
.rd path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1); }
.rd path:nth-child(2) { transition-delay: .15s; } .rd path:nth-child(3) { transition-delay: .3s; } .rd path:nth-child(4) { transition-delay: .45s; } .rd path:nth-child(5) { transition-delay: .6s; }
.mapbox.live .rd path { stroke-dashoffset: 0; }
.pins { position: absolute; inset: 0; z-index: 2; }
.pin { position: absolute; width: 60px; padding: 0 0 9px; margin: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%, -100%); -webkit-tap-highlight-color: transparent; }
.pin .fr { display: block; aspect-ratio: 16 / 10; border-radius: 9px; border: 1.5px solid var(--rc); background: linear-gradient(160deg, #161617, #080808); overflow: hidden; transition: box-shadow .25s, border-width .25s; }
.pin .fr img { width: 100%; height: 100%; object-fit: contain; padding: 4px 3px; }
.pin::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--rc); box-shadow: 0 0 0 3px rgba(0, 0, 0, .55); }
.pin::before { content: ''; position: absolute; left: 50%; bottom: 4px; width: 1.5px; height: 7px; margin-left: -.75px; background: var(--rc); }
.pin > span { display: block; opacity: 0; transform: translateY(-34px) scale(.7); transition: opacity .3s, transform .55s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(.9s + var(--i) * 110ms); }
.mapbox.live .pin > span { opacity: 1; transform: none; }
.pin::after, .pin::before { opacity: 0; transition: opacity .3s calc(.9s + var(--i) * 110ms); }
.mapbox.live .pin::after, .mapbox.live .pin::before { opacity: 1; }
.pin[aria-pressed="true"] { z-index: 2; }
.pin[aria-pressed="true"] .fr { border-width: 2.2px; box-shadow: 0 0 18px var(--rc); }
.spot { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: rgba(8, 8, 8, .92); border: 1px solid var(--line-2); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.spot.on { opacity: 1; transform: none; }
.spot .thumb { width: 74px; aspect-ratio: 16 / 10; border-radius: 10px; border: 1.5px solid var(--rc); background: linear-gradient(160deg, #161617, #080808); overflow: hidden; }
.spot .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px 4px; }
.spot .txt { display: grid; gap: 6px; min-width: 0; }
.spot .txt b { font: 800 13px/1.15 var(--f-display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot .txt > span { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 12px; color: #b0b0b6; }
.spot em { font: 500 10px/1 'JetBrains Mono', ui-monospace, monospace; font-style: normal; letter-spacing: .16em; color: var(--rc); }
.spot i { font-style: normal; }
.spot .go { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; }
.spot .go svg { width: 18px; height: 18px; fill: none; stroke: #e6e6e9; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 620px) { .mapbox { aspect-ratio: 4 / 3.3; } .pin { width: 68px; } }
@media (min-width: 960px) {
  .map-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; column-gap: 64px; }
  .mapbox { aspect-ratio: 4 / 3.4; }
  .pin { width: 74px; }
  .spot { left: 16px; right: auto; bottom: 16px; width: 360px; }
}

/* ---------- garage ---------- */
.gtop { display: grid; gap: 22px; }
.gtop > * { min-width: 0; }
.ghead { display: grid; gap: 20px; }
.gvalue { display: grid; gap: 10px; }
.gvalue span { font: 500 10px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .24em; color: var(--dim); }
.gvalue em { font-style: normal; color: #d2d2d6; }
.gvalue b { font: 900 clamp(34px, 10.5vw, 60px)/1 var(--f-display); font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #ffffff 0%, #eef2f7 40%, #9aa6b8 64%, #e2e8f0 80%, #7a8698 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* the garage: 9 minis, 3 a row on every screen (owner 2026-11-23: no sideways scroll) */
.wall { --k: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; width: 100%; max-width: 660px; margin: 0 auto; padding: 4px 0 0; justify-self: center; }
.wall > button { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .7s cubic-bezier(.2, .8, .2, 1), border-color .2s; }
.wall.in > button { opacity: 1; transform: none; }
@media (min-width: 700px) { .wall { gap: 14px; } }
/* the app's mini card (CardSlab, 171 pt wide in the Garage; every size below is that times --k) */
.mini { --u: calc(var(--k) * 1px); position: relative; display: block; width: 100%; min-width: 0; overflow: hidden; padding: calc(6 * var(--u)); border-radius: calc(18 * var(--u)); border: var(--u) solid #ffffff29; cursor: pointer; color: inherit; text-align: center;
  background: linear-gradient(#ffffff1c, #ffffff06, #ffffff12); }
.mini::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, #ffffff00, #ffffff0c, #ffffff00); }
.mini:hover, .mini:focus-visible { border-color: #ffffff55; outline: none; }
.mini .lab { height: calc(24 * var(--u)); margin-bottom: calc(6 * var(--u)); padding: 0 calc(6 * var(--u)); border-radius: calc(9 * var(--u)); border: var(--u) solid var(--lb); background: linear-gradient(90deg, var(--lg), #0d0d0f);
  display: flex; justify-content: space-between; align-items: center; }
.mini .lab span { display: flex; white-space: nowrap; align-items: center; gap: calc(5 * var(--u)); font: 900 calc(7.5 * var(--u))/1.5 var(--f-display); letter-spacing: calc(.9 * var(--u)); color: var(--ls); }
.mini .lab span i { width: calc(6 * var(--u)); height: calc(6 * var(--u)); background: var(--ld); transform: rotate(45deg); }
.mini .lab em { display: flex; white-space: nowrap; align-items: center; gap: calc(3 * var(--u)); font: 900 calc(9 * var(--u))/1.5 var(--f-display); font-style: normal; color: var(--text); }
.mini .lab em svg { width: calc(9 * var(--u)); height: calc(9 * var(--u)); fill: none; stroke: var(--ld); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mini .frm, .mini .inn, .mini .ph { display: block; }
.mini .frm { padding: calc(1.5 * var(--u)); border-radius: calc(13 * var(--u)); background: var(--fr); }
.mini .inn { padding: calc(4 * var(--u)) calc(4 * var(--u)) calc(8 * var(--u)); border-radius: calc(11 * var(--u)); overflow: hidden; background: var(--ib); }
.mini .ph { position: relative; aspect-ratio: 16 / 9; border-radius: calc(8 * var(--u)); overflow: hidden; border: var(--u) solid #ffffff20; background: var(--sb); }
.mini .ph::before { content: ''; position: absolute; inset: 0; background: linear-gradient(#00000066, #00000010, #06070bb0); }
.mini .ph::after { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 55%, color-mix(in srgb, var(--rp) 30%, transparent), color-mix(in srgb, var(--rp) 10%, transparent) 50%, transparent); }
.mini .ph img { position: absolute; z-index: 1; left: 4%; top: 7%; width: 92%; height: 86%; object-fit: contain; filter: drop-shadow(0 0 calc(1.5 * var(--u)) var(--rp)); }
.mini .br { display: block; height: calc(11 * var(--u)); margin-top: calc(7 * var(--u)); font: 800 calc(7.5 * var(--u))/calc(11 * var(--u)) var(--f-display); letter-spacing: calc(2 * var(--u)); color: var(--bc); white-space: nowrap; overflow: hidden; }
.mini .md { display: block; height: calc(18 * var(--u)); margin-top: var(--u); font: 900 calc(13 * var(--u))/calc(18 * var(--u)) var(--f-display); color: var(--mc); text-shadow: var(--mg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .vl { display: block; height: calc(26 * var(--u)); padding-top: calc(6 * var(--u)); font: 900 calc(14 * var(--u))/calc(18 * var(--u)) var(--f-display); color: var(--vc); white-space: nowrap; }
.more { min-height: 22px; margin: 20px 0 0; text-align: center; font: 500 12px/22px 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .12em; color: #b0b0b6; }
.more b { font-weight: 500; color: #fff; }
.more .caret { height: 12px; width: 1.5px; margin-left: 3px; vertical-align: -1px; }
.gtabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.gtabs [role="tab"] { display: grid; gap: 9px; justify-items: center; padding: 16px 6px 14px; border-radius: 18px; border: 1px solid var(--line); background: #ffffff05; color: var(--muted); cursor: pointer; transition: border-color .25s, background .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.gtabs b { font: 900 clamp(24px, 7.2vw, 40px)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.gtabs span { font: 500 9.5px/1.2 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; }
.gtabs [aria-selected="true"] { border-color: rgba(255, 255, 255, .36); background: #ffffff0f; color: #fff; }
.shelf { margin-top: 10px; padding: 20px; border-radius: 22px; background: #ffffff08; border: 1px solid var(--line); }
.shelf > p { margin: 0 0 18px; color: #b0b0b6; font-size: 14px; line-height: 1.5; }
.sets { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.set-row { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px 12px; }
.set-row img { width: 46px; height: 46px; object-fit: contain; }
.set-row b { display: block; font: 700 14px/1.2 var(--f-body); }
.set-row span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.set-row em { font: 500 11px/1 'JetBrains Mono', ui-monospace, monospace; font-style: normal; color: #d2d2d6; }
.set-row .bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: #ffffff12; overflow: hidden; }
.set-row .bar i { display: block; height: 100%; width: var(--p); background: var(--lc); border-radius: 4px; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s cubic-bezier(.3, .7, .2, 1) calc(.2s + var(--i) * 120ms); }
.shelf.in .set-row .bar i { transform: none; }
.medals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 4px; }
.medals li, .road li { display: grid; justify-items: center; gap: 8px; text-align: center; opacity: 0; transform: translateY(12px) scale(.9); transition: opacity .5s, transform .6s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(.15s + var(--i) * 70ms); }
.shelf.in .medals li, .shelf.in .road li { opacity: 1; transform: none; }
.medals img { width: min(100%, 76px); height: auto; aspect-ratio: 1; }
.medals span { min-height: 2.5em; font-size: 11px; line-height: 1.25; color: #d2d2d6; }
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 6px; }
.road img { width: min(100%, 76px); height: auto; aspect-ratio: 1; }
.road b { min-height: 2.5em; display: flex; align-items: center; font: 800 9px/1.25 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: #e6e6e9; }
.road small { font: 500 9px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; color: var(--dim); }
@media (min-width: 960px) {
  .gtop { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; column-gap: 56px; }
  .gtop .h2 { font-size: clamp(32px, 2.9vw, 42px); }
  .ghead { grid-template-columns: 1fr; align-items: start; gap: 34px; }
  .gvalue { justify-items: start; text-align: left; }
  .gvalue b { font-size: clamp(36px, 3.4vw, 48px); }
  .more { margin-top: 34px; }
  .gtabs { max-width: 720px; margin: 22px auto 0; gap: 12px; }
  .shelf { margin-top: 14px; padding: 28px 32px; }
  .sets { grid-template-columns: 1fr 1fr; gap: 22px 48px; }
  .medals { grid-template-columns: repeat(8, 1fr); }
  .road { grid-template-columns: repeat(8, 1fr); }
  .road img { width: 96px; }
  .road b { font-size: 10px; }
  .medals img { width: 96px; } .medals span { font-size: 12px; }
}
@media (hover: hover) { .wall.in > .mini:hover { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .rd path { stroke-dashoffset: 0; transition: none; } .pin > span, .wall > button, .medals li, .road li { opacity: 1; transform: none; transition: none; } .pin::after, .pin::before { opacity: 1; } .set-row .bar i { transform: none; transition: none; } }


/* ---------- get it ---------- */
.get { padding-bottom: 60px; }
.get .head { margin-bottom: 0; gap: 22px; }
.iconlock { position: relative; padding: 16px; margin-bottom: 6px; }
.iconlock .app-icon { width: 96px; height: 96px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 20px 50px rgba(0, 0, 0, .7); }
.iconlock .lock { inset: 0; }
.iconlock .lock i { width: 18px; }
.head.in .iconlock .lock { opacity: .7; transform: scale(1); transition: transform .6s cubic-bezier(.2, .9, .2, 1) .2s, opacity .4s .2s; }
.get .h2 { font-size: clamp(24px, 7vw, 58px); white-space: nowrap; }
.cta.center { justify-content: center; margin-top: 8px; }
.soon { font-size: 13px; font-weight: 600; color: var(--muted); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); }
@media (min-width: 960px) { .get { padding: 96px 0 100px; } .iconlock .app-icon { width: 112px; height: 112px; } }

/* ---------- tablet (between the phone and the laptop layouts) ---------- */
@media (min-width: 620px) and (max-width: 959px) {
  .h1 { font-size: 64px; }
  .hero-stage { --ch: clamp(360px, calc(100svh - 500px), 560px); }
}
@media (min-width: 760px) and (max-width: 959px) {
  .try-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 36px; }
  .demo { width: 300px; }
  .disc-in { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 44px; }
  .disc-in .head { order: 0; }
  .deck { width: 270px; }
  .try .h2, .disc-in .h2 { font-size: 40px; }
}
