/* RUSH IRL home page, in the 1.4 app's anime look: dusk sky, inked type, real screens. Nothing here follows the scroll. */
@font-face { font-family: Barlow; src: url(/assets/fonts/BarlowCondensed-ExtraBold.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ink: #05061A; --night: #0B0D2A; --deep: #120E36; --panel: #1A1546; --rim: #3A2F86; --text: #F4F1FF; --mute: #C6BFE8;
  --lime: #D8FF3E; --cyan: #5FE1FF; --violet: #B79CFF; --fog: #C9B8F0; --peach: #FFC999;
  --g: clamp(20px, 5vw, 72px); --spring: cubic-bezier(.2,.9,.3,1.25); --out: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); color: var(--text); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 clamp(1rem, .97rem + .15vw, 1.1rem)/1.55 Inter, system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
a { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
em { font-style: normal; color: var(--lime); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.symbols { position: absolute; width: 0; height: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--lime); color: var(--ink); padding: 10px 16px; font-weight: 600; border: 3px solid var(--ink); }
.skip:focus { top: 12px; }
.no-js .js-only { display: none !important; }

/* ---- The 1.4 type and furniture ---- */
.ink { font-family: Barlow, 'Arial Narrow', sans-serif; font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: .005em; color: #fff; transform: skewX(-7deg); -webkit-text-stroke: .11em var(--ink); paint-order: stroke fill; text-shadow: .06em .07em 0 var(--ink); text-wrap: balance; }
h2.ink { font-size: clamp(3rem, 7vw, 6.4rem); margin: 16px 0 20px; }
.sticker { display: inline-block; font: 800 clamp(.95rem, .9rem + .3vw, 1.2rem)/1 Barlow, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); background: var(--lime); padding: 8px 12px 6px; border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); transform: rotate(-3deg); }
.sticker.cyan { background: var(--cyan); }
.sticker.violet { background: var(--violet); }
.cap { display: inline-block; max-width: 30em; background: #fff; color: var(--ink); font-weight: 600; line-height: 1.35; padding: 10px 16px; border: 3px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); transform: rotate(-1.2deg); }
.lede { color: var(--mute); max-width: 34em; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px; font: 800 1.35rem/1 Barlow, sans-serif; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); background: var(--lime); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 5px 6px 0 var(--ink); text-decoration: none; cursor: pointer; transition: transform .12s var(--out), box-shadow .12s var(--out); }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.btn.ghost { background: #fff; }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 1.1rem; border-radius: 12px; box-shadow: 3px 4px 0 var(--ink); }
.btn:active { transform: translate(3px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn:disabled { background: #8E86B8; color: #241D55; cursor: default; }
.btn:disabled:active { transform: none; box-shadow: 5px 6px 0 var(--ink); }
@media (hover: hover) { .btn:not(:disabled):hover { transform: translate(-1px, -2px); box-shadow: 7px 8px 0 var(--ink); } }
.panel { background: radial-gradient(120% 80% at 50% 0%, #2B1C6E, var(--panel) 75%); border: 3px solid var(--rim); border-radius: 26px; box-shadow: 10px 12px 0 var(--ink); }
.phone { position: relative; width: clamp(210px, 22vw, 300px); aspect-ratio: 600 / 1304; border: 9px solid var(--ink); border-radius: 40px; overflow: hidden; background: var(--ink); box-shadow: 14px 18px 0 var(--ink); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.tilt-l { transform: rotate(-4deg); }
.tilt-r { transform: rotate(3.5deg); }

/* ---- Sky backgrounds ---- */
.sky { position: relative; isolation: isolate; background: #4A1C8C url(/assets/art/dusk-sky.svg) center bottom / cover no-repeat; }
.band { background: linear-gradient(var(--night), var(--deep)); }
.sky-soft { background: linear-gradient(var(--deep), #2A1466 55%, #4A1C8C); }

/* ---- Header (scrolls away with the page) ---- */
.bar { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; gap: 22px; padding: max(14px, env(safe-area-inset-top)) var(--g) 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 800 1.6rem/1 Barlow, sans-serif; color: #fff; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 3px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); }
.bar nav { display: flex; gap: 4px 22px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.bar nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: #fff; text-decoration: none; text-shadow: 0 1px 2px var(--ink), 0 0 10px #1B0B4A; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* ---- Hero ---- */
.hero { min-height: min(100svh, 940px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; padding: 104px var(--g) 0; overflow: clip; }
.hero::after { content: ''; position: absolute; z-index: 2; inset: auto -10% 0; height: 30%; pointer-events: none; background: radial-gradient(50% 70% at 20% 100%, #CFC2F5f2, #CFC2F500 70%), radial-gradient(45% 80% at 75% 100%, #ABA3EAe6, #ABA3EA00 70%), linear-gradient(#C9B8F000, #C9B8F0b3 55%, var(--night)); }
.hero-copy { position: relative; z-index: 3; padding-bottom: 12vh; }
.hero h1 { font-size: clamp(3.6rem, 8.4vw, 8.4rem); margin: 20px 0 24px; }
.hero h1 span { display: block; }
.hero .cap { font-size: clamp(1rem, .95rem + .4vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stage { position: relative; z-index: 1; align-self: stretch; min-height: 600px; }
.hero-stage .phone { position: absolute; left: 4%; bottom: -36px; transform: rotate(-4deg); }
.hero-stage .dash { position: absolute; right: -4%; bottom: 0; width: clamp(300px, 33vw, 500px); z-index: 3; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---- Sections ---- */
section { scroll-margin-top: 12px; }
.try, .feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; padding: clamp(72px, 10vw, 136px) var(--g); }

/* Try a walk */
.steps { list-style: none; display: grid; gap: 12px; margin-top: 26px; counter-reset: step; max-width: 34em; }
.steps li { position: relative; padding: 14px 16px 14px 62px; color: var(--mute); background: var(--panel); border: 2px solid var(--rim); border-radius: 16px; transition: border-color .2s, background-color .2s; }
.steps b { display: block; font: 800 1.45rem/1 Barlow, sans-serif; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 14px; top: 14px; width: 34px; height: 38px; display: grid; place-items: center; font: 800 1.25rem/1 Barlow, sans-serif; color: var(--ink); background: var(--cyan); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.steps li.on { border-color: var(--cyan); background: #20195A; color: var(--text); }
.try-play { padding: 18px; }
.try-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.try-stats p { display: grid; gap: 2px; font-size: .82rem; color: var(--mute); }
.try-stats b { font: 800 clamp(2rem, 6vw, 2.8rem)/1 Barlow, sans-serif; color: #fff; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; font-variant-numeric: tabular-nums; }
.try-stats .new b { color: var(--cyan); }
.try-stats .kept b { color: var(--lime); }
.try-map { position: relative; margin: 8px auto 0; width: min(100%, 460px); aspect-ratio: 1; }
#t-map { width: 100%; height: 100%; touch-action: manipulation; }
.streets path { fill: none; stroke: #C9B8F01f; stroke-width: 7; stroke-linecap: round; }
.tile { fill: #C9B8F02b; stroke: #C9B8F059; stroke-width: 1.2; cursor: pointer; transition: fill .16s; }
@media (hover: hover) { .tile:hover { fill: #C9B8F05c; } }
.tile.fresh { fill: var(--cyan); stroke: var(--ink); stroke-width: 3; animation: claim .3s var(--spring); transform-box: fill-box; transform-origin: center; }
.tile.kept { fill: var(--lime); stroke: var(--ink); stroke-width: 3; }
@keyframes claim { from { transform: scale(.6); } }
.path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 9; pointer-events: none; transition: opacity .7s; }
.path.gone { opacity: 0; }
.you { fill: #fff; stroke: var(--ink); stroke-width: 4; pointer-events: none; transition: transform .12s linear; }
.toast { position: absolute; inset: auto 4% 10%; display: grid; gap: 2px; justify-items: center; text-align: center; padding: 12px; background: var(--lime); color: var(--ink); font-weight: 600; font-size: .92rem; border: 3px solid var(--ink); box-shadow: 6px 7px 0 var(--ink); transform: rotate(-2deg); pointer-events: none; }
.toast[hidden] { display: none; }
.toast strong { font: 800 clamp(1.6rem, 6vw, 2.3rem)/1 Barlow, sans-serif; }
.toast.show { animation: stamp .36s var(--spring); }
@keyframes stamp { from { transform: rotate(-2deg) scale(1.3); opacity: 0; } }
.try-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.try-hint { margin-top: 12px; text-align: center; color: var(--mute); font-size: .92rem; min-height: 1.5em; }
.try-hint.nudge { color: var(--cyan); font-weight: 600; }

/* Stamps, friends */
.feature-art { position: relative; display: grid; justify-items: center; }
.feature .cap { margin-top: 4px; }
.badges { margin-top: 30px; }
.badges h3 { font: 600 .95rem/1.3 Inter, sans-serif; color: var(--mute); margin-bottom: 10px; }
#badge-wall { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 64px)); gap: 6px 10px; }
.badge svg { width: 100%; overflow: visible; }
.badge polygon { fill: #ffffff10; stroke: #C9B8F059; stroke-width: 3; }
.badge text { font: 800 30px Barlow, sans-serif; fill: #A79FD0; }
.badge.on polygon { fill: var(--lime); stroke: var(--ink); stroke-width: 6; }
.badge.on text { fill: var(--ink); }
.badge .part { fill: none; stroke: var(--lime); stroke-width: 6; }
.badge.next text { fill: #fff; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips li { padding: 8px 14px; background: var(--panel); border: 2px solid var(--rim); border-radius: 999px; color: var(--mute); font-size: .92rem; }
.chips b { color: #fff; font: 800 1.2rem/1 Barlow, sans-serif; text-transform: uppercase; margin-right: 4px; }
.friends .dash.side { position: absolute; width: clamp(180px, 17vw, 250px); right: 0; bottom: -48px; animation: bob 5s ease-in-out infinite reverse; }

/* City Journey */
.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px clamp(36px, 6vw, 96px); padding: clamp(72px, 10vw, 136px) var(--g); }
.journey em { color: var(--violet); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 22px 36px; margin-top: 26px; }
.facts li { display: grid; font-size: .85rem; font-weight: 600; color: var(--mute); }
.facts b { font: 800 2.6rem/1 Barlow, sans-serif; color: var(--violet); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; }
.game { grid-column: 2; grid-row: 1 / span 2; align-self: start; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 20px 18px 24px; }
.game-pos { display: flex; justify-content: space-between; width: 100%; font-weight: 600; font-size: .86rem; color: var(--mute); }
#g-city { font: 800 clamp(2.8rem, 6vw, 4.4rem)/1 Barlow, sans-serif; text-transform: uppercase; color: var(--violet); -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill; text-shadow: 4px 5px 0 var(--ink); transform: skewX(-7deg); overflow-wrap: anywhere; }
#g-city.long { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.3; }
.map-wrap { position: relative; width: min(64vw, 260px); aspect-ratio: 1; }
#g-map { width: 100%; height: 100%; }
#g-map .ghost { fill: #B79CFF38; }
#g-map .ahead { fill: #ffffff38; }
#g-map .done { fill: var(--violet); }
#g-map .dot { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.banner { position: absolute; inset: auto -12% 6%; display: grid; gap: 1px; padding: 10px 12px; background: var(--violet); color: var(--ink); font-weight: 600; font-size: .86rem; line-height: 1.2; border: 3px solid var(--ink); box-shadow: 6px 7px 0 var(--ink); transform: rotate(-2deg); pointer-events: none; }
.banner[hidden] { display: none; }
.banner strong { font: 800 clamp(1.4rem, 5vw, 2rem)/1 Barlow, sans-serif; }
.banner em { color: inherit; font-weight: 600; }
.banner.show { animation: stamp .36s var(--spring); }
.odo { font: 800 clamp(2.6rem, 8vw, 3.6rem)/1 Barlow, sans-serif; font-variant-numeric: tabular-nums; margin-top: 6px; }
.odo small { font-size: .42em; color: var(--mute); text-transform: uppercase; }
.togo { color: var(--mute); font-size: .92rem; min-height: 1.5em; }
.hold { position: relative; width: 128px; height: 128px; margin-top: 12px; padding: 0; border: 3px solid var(--ink); border-radius: 50%; background: var(--violet); color: var(--ink); box-shadow: 5px 6px 0 var(--ink); cursor: pointer; font: 800 1.3rem/1 Barlow, sans-serif; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform .15s var(--spring), background-color .15s; }
.hold svg { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); fill: none; }
.hold .track { stroke: #B79CFF40; stroke-width: 4; }
.hold .fill { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.hold span { position: relative; display: block; padding: 0 20px; }
.hold.held { transform: scale(.93); background: #D7C9FF; }
.hold[hidden] { display: none; }
.finish { display: grid; justify-items: center; gap: 12px; max-width: 26em; margin-top: 10px; }
.finish[hidden] { display: none; }
.finish-title { font: 800 clamp(2.6rem, 9vw, 4rem)/1 Barlow, sans-serif; text-transform: uppercase; color: var(--violet); }
.hives { display: grid; gap: 22px; align-content: start; }
.hive-title { font-weight: 600; margin-bottom: 8px; color: var(--mute); }
.hive-title b { font: 800 1.6rem/1 Barlow, sans-serif; color: var(--violet); }
.hives svg { width: min(100%, 420px); }
.cell polygon { fill: #ffffff0d; stroke: #B79CFF40; stroke-width: .8; transition: fill .2s; }
.cell text { font: 800 12px Barlow, sans-serif; fill: #A79FD0; }
.cell.on polygon { fill: var(--violet); stroke: var(--ink); stroke-width: 1.5; }
.cell.on text { fill: var(--ink); }
.cell.on .face { animation: pop .42s var(--spring); transform-box: fill-box; transform-origin: center; }
@keyframes pop { from { transform: scale(.5); } }
.journey-note { grid-column: 1; font-size: .92rem; color: var(--mute); max-width: 36em; }
.journey-note a, .sample a { color: var(--violet); font-weight: 600; text-underline-offset: 3px; }

/* More */
.more { padding: clamp(72px, 10vw, 136px) var(--g); background: linear-gradient(var(--deep), var(--night)); }
.more h2 { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.card { display: grid; grid-template-rows: auto auto 1fr; gap: 8px; padding: 22px 22px 0; background: var(--panel); border: 3px solid var(--rim); border-radius: 24px; box-shadow: 8px 10px 0 var(--ink); overflow: hidden; }
.card h3 { font: 800 2rem/1 Barlow, sans-serif; text-transform: uppercase; color: #fff; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; transform: skewX(-7deg); }
.card p { color: var(--mute); font-size: .95rem; }
.shot { align-self: end; margin: 14px 0 0; border: 6px solid var(--ink); border-bottom: 0; border-radius: 22px 22px 0 0; overflow: hidden; aspect-ratio: 600 / 520; background: var(--ink); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card:nth-child(2) .shot img { object-position: bottom; }
.card:nth-child(3) .shot img { object-position: 50% 35%; }
.swipe { display: none; margin-top: 8px; font-size: .85rem; font-weight: 600; color: var(--lime); }
.sample { margin-top: 22px; font-size: .85rem; color: var(--mute); }

/* Privacy */
.privacy { padding: clamp(72px, 10vw, 136px) var(--g); }
.privacy-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.privacy h2 em { color: var(--cyan); }
.route-art { width: min(100%, 520px); margin-inline: auto; overflow: visible; }
#route-hexes polygon { fill: var(--lime); stroke: var(--ink); stroke-width: 2.5; opacity: 0; transition: opacity .6s .9s; }
#route-path { fill: none; stroke: var(--cyan); stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--out), opacity .5s 1.6s; }
.play #route-path { stroke-dashoffset: 0; opacity: 0; }
.play #route-hexes polygon { opacity: .95; }
.no-js #route-hexes polygon { opacity: .95; }
.facts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.facts-list div { padding: 18px; background: var(--panel); border: 2px solid var(--rim); border-radius: 18px; }
.facts-list dt { font: 800 1.3rem/1.05 Barlow, sans-serif; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.facts-list dd { color: var(--mute); font-size: .95rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 36px; align-items: start; padding: clamp(64px, 9vw, 120px) var(--g); background: var(--deep); }
.faq h2 { margin-top: 0; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 2px solid var(--rim); border-radius: 16px; }
.faq details[open] { border-color: var(--lime); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 18px; cursor: pointer; list-style: none; font: 800 1.3rem/1.1 Barlow, sans-serif; text-transform: uppercase; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--lime); stroke-width: 3; transition: transform .2s var(--out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: var(--mute); max-width: 40em; }

/* Final call */
.final { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 24px; padding: clamp(80px, 11vw, 150px) var(--g) 0; overflow: clip; }
.final-copy { padding-bottom: clamp(64px, 9vw, 120px); position: relative; z-index: 2; }
.final h2 { font-size: clamp(3.2rem, 7.4vw, 7rem); margin: 0 0 22px; }
.final h2 span, .final h2 em { display: block; }
.final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 64px; min-width: 210px; padding: 8px 20px; background: #fff; color: var(--ink); text-decoration: none; font: 800 1.55rem/1 Barlow, sans-serif; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 5px 6px 0 var(--ink); transition: transform .12s var(--out), box-shadow .12s var(--out); }
.store svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.store small { display: block; font: 600 .74rem/1.3 Inter, sans-serif; }
.store[hidden] { display: none; }
.store[aria-disabled="true"] { opacity: .5; cursor: default; }
@media (hover: hover) { .store:not([aria-disabled="true"]):hover { transform: translate(-1px, -2px); box-shadow: 7px 8px 0 var(--ink); } }
.qr { width: 112px; height: 112px; padding: 6px; background: #fff; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 5px 6px 0 var(--ink); }
.final .dash { position: relative; z-index: 1; justify-self: center; width: clamp(260px, 30vw, 460px); margin-bottom: -2px; }

/* Footer */
.foot { display: grid; gap: 16px; padding: 36px var(--g) calc(36px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--mute); font-size: .9rem; }
.foot .brand { justify-self: start; font-size: 1.4rem; }
.foot .brand img { width: 32px; height: 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-underline-offset: 3px; }

/* Phone dock: one way to the stores once the hero has gone */
.dock { position: fixed; z-index: 9; inset: auto 0 0; display: none; align-items: center; gap: 18px; padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom)); background: var(--night); border-top: 3px solid var(--rim); transition: transform .3s var(--out); }
.dock p { display: grid; line-height: 1; }
.dock b { font: 800 1.6rem/1 Barlow, sans-serif; font-variant-numeric: tabular-nums; color: var(--lime); transform-origin: left; }
.dock p + p b { color: #fff; }
.dock small { font-size: .7rem; color: var(--mute); font-weight: 600; }
.dock .btn { margin-left: auto; }
.dock.away, .dock.off-game, .dock.off-get-app, .dock.off-try-play { transform: translateY(110%); }

/* Store chooser */
.store-open { overflow: hidden; }
.store-dialog { width: min(440px, calc(100vw - 32px)); padding: 30px; background: var(--panel); color: var(--text); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 10px 12px 0 var(--ink); }
.store-dialog::backdrop { background: #05061Acc; }
.store-dialog h2 { font-size: 2.8rem; margin-bottom: 10px; padding-right: 30px; }
.store-dialog p { color: var(--mute); }
.store-options { display: grid; gap: 12px; margin-top: 20px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; }
.dialog-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; }

/* ---- Tablet and phone ---- */
@media (max-width: 980px) {
  .bar nav { display: none; }
  .bar .btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 92px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(3.4rem, 14.5vw, 7rem); margin: 16px 0 20px; }
  .hero-stage { min-height: clamp(400px, 68vw, 620px); margin-top: 20px; }
  .hero-stage .phone { width: clamp(180px, 40vw, 300px); left: 6%; bottom: -60px; }
  .hero-stage .dash { width: clamp(260px, 58vw, 480px); right: -8%; }
  .try, .feature, .journey, .privacy-top, .faq, .final { grid-template-columns: 1fr; }
  .try, .feature, .journey, .more, .privacy { padding-block: 64px; }
  .feature-art { margin-top: 12px; }
  .friends .dash.side { right: 0; width: clamp(150px, 34vw, 230px); }
  .game, .journey-note { grid-column: auto; grid-row: auto; }
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80vw, 340px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); margin-inline: calc(var(--g) * -1); padding: 4px var(--g) 22px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .swipe { display: block; }
  .facts-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .facts-list div { padding: 14px; }
  .final { padding-top: 72px; }
  .final-copy { padding-bottom: 8px; }
  .final .dash { width: min(78vw, 380px); }
  .dock { display: flex; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-actions .btn:first-child { flex-basis: 100%; }
  .try-play { padding: 14px; }
  .try-actions .btn { font-size: 1.15rem; padding: 0 10px; }
  .final-actions .store { flex: 1 1 100%; }
  .final-actions .qr { display: none; }
  #badge-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
