@font-face { font-family: Hanken; src: url(/fonts/hanken.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0d0e10; --s1: #191b1e; --s2: #22252a; --s3: #30353b; --ink: #f1f3f2; --dim: #9aa1a7; --lime: #c8f250; --on: #12150a;
  --rgb: 200 242 80;
  --gut: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.23, 1, .32, 1);       /* strong ease-out: moves at once, settles gently */
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 clamp(16px, 1.05vw + 12px, 19px)/1.55 Hanken, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* The app's own dot grid, continued across the page. */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 50% 50%, #1d2024 1px, transparent 1.4px) 0 0 / 26px 26px; }
.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; text-decoration-color: var(--s3); }
a:hover { text-decoration-color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--lime); color: var(--on); }
code, .get span, .stat, .log h3 span { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-weight: 620; letter-spacing: -.028em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.6vw, 5rem); letter-spacing: -.036em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.12; }
p { text-wrap: pretty; }
section { padding: 0 var(--gut); }
.fine { color: var(--dim); font-size: .84em; max-width: 62ch; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 30; background: var(--lime); color: var(--on); padding: 12px 18px; border-radius: 12px; }
.skip:focus { top: 16px; }

/* Glass, only where the page really does pass behind it. */
.glass { background: linear-gradient(180deg, rgb(46 50 56 / .62), rgb(24 26 29 / .58)); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .11), inset 0 0 0 1px rgb(255 255 255 / .05), 0 18px 50px rgb(0 0 0 / .4); border-radius: 999px; }
.nav { position: fixed; z-index: 20; top: max(14px, env(safe-area-inset-top)); left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 2px; padding: 6px; font-size: 15.5px; font-weight: 520; white-space: nowrap; }
.nav a { text-decoration: none; padding: 9px 15px; border-radius: 999px; color: #d4d8da; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgb(255 255 255 / .07); }
.nav .brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 640; padding-left: 12px; }
.brand svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 2.6; }
.brand circle { fill: var(--lime); stroke: none; }
.nav .hub { display: inline-flex; align-items: center; gap: 8px; }
.stars-n { font-size: .84em; font-variant-numeric: tabular-nums; color: var(--lime); }
.stars-n::before { content: "★ "; }
.total { color: var(--ink); font-variant-numeric: tabular-nums; }
.nav .go { background: var(--ink); color: var(--bg); font-weight: 600; }
.nav .go:hover { background: var(--lime); color: var(--on); }

.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 24px; border-radius: 18px; background: var(--s2); font-weight: 600; text-decoration: none; transition: transform .35s var(--ease); }
@media (hover: hover) { .btn:hover { background: var(--s3); transition: background .2s, transform .35s var(--ease); } }
.btn:active { transform: scale(.965); transition-duration: .06s; }
.btn.main { background: var(--lime); color: var(--on); }
.btn.main:hover { background: #d8fa6e; }
.btn span { font-weight: 500; opacity: .66; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: clamp(112px, 15vh, 150px); overflow-x: clip; }
h1 { font-size: clamp(3rem, 7.7vw, 10rem); letter-spacing: -.05em; line-height: .96; white-space: nowrap; }
.ln { display: inline-block; overflow: clip; padding: 0 .04em .17em 0; margin: 0 0 -.17em; }
.ln i { display: inline-block; font-style: normal; animation: rise 1.05s .05s var(--ease) both; }
.ln + .ln i { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(112%) rotate(3deg); } }
.row { display: flex; align-items: center; justify-content: space-between; gap: 24px 56px; margin-top: 30px; animation: settle .9s .42s var(--ease) both; }
@keyframes settle { from { opacity: 0; transform: translateY(22px); } }
.lead { max-width: 45ch; color: #c3c9cc; font-size: 1.08em; }
.acts { display: flex; flex: none; flex-wrap: wrap; gap: 10px; }
.stage { position: relative; container-type: inline-size; width: min(1240px, 86vw); aspect-ratio: 1.6; margin: clamp(36px, 6vh, 64px) auto 0; touch-action: pan-y; animation: arrive 1.3s .3s var(--ease) both; }
@keyframes arrive { from { opacity: 0; translate: 0 90px; } }
.laptop { position: absolute; left: 3.4cqw; top: 0; width: 83cqw; }
.lid { background: var(--s3); border-radius: 2.6cqw 2.6cqw 1cqw 1cqw; padding: 1.5cqw; box-shadow: 0 5cqw 11cqw rgb(0 0 0 / .5); }
.lcd { position: relative; aspect-ratio: 1.6; border-radius: 1.4cqw; overflow: hidden; background: #0b1020; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.clock { position: absolute; right: 3%; top: 4.5%; font-size: 2.7cqw; font-weight: 560; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: #fff; opacity: .86; }
.cursor { position: absolute; left: 0; top: 0; width: 2.7cqw; will-change: transform; filter: drop-shadow(0 .4cqw .7cqw rgb(0 0 0 / .45)); }
.cursor path { fill: #fff; stroke: #0d0e10; stroke-width: 1.6; stroke-linejoin: round; }
.deckbase { height: 2.6cqw; margin: 0 -3.4cqw; background: linear-gradient(180deg, #3b4148, #23272b); border-radius: .6cqw .6cqw 2.4cqw 2.4cqw; }
.deckbase::before { content: ""; display: block; width: 13cqw; height: .9cqw; margin: 0 auto; background: #1b1e21; border-radius: 0 0 1cqw 1cqw; }
.phone { position: relative; background: #07080a; border-radius: 13% / 6.4%; padding: 2.1%; box-shadow: 0 0 0 1.5px #3a4047, 0 34px 90px rgb(0 0 0 / .62); }
.phone img { display: block; width: 100%; height: auto; border-radius: 11% / 5.4%; }
.hero-phone { position: absolute; right: 2cqw; bottom: 0; width: 24.5cqw; touch-action: none; cursor: none; user-select: none; -webkit-user-select: none; }
.touch { position: absolute; left: 4.6%; right: 4.6%; top: 8.8%; bottom: 13%; border-radius: 8% / 4.6%; overflow: hidden; }
.finger { position: absolute; left: 0; top: 0; width: 8cqw; height: 8cqw; margin: -4cqw; border-radius: 50%; background: radial-gradient(circle, rgb(200 242 80 / .95) 0 17%, rgb(200 242 80 / .3) 18% 60%, transparent 62%); will-change: transform; transition: opacity .3s; }
.finger.tap { animation: tap .34s var(--ease); }
@keyframes tap { 40% { scale: .62; } }
.hint { position: absolute; left: 50%; bottom: 27%; translate: -50% 0; white-space: nowrap; font-size: max(11px, 1.5cqw); font-weight: 560; color: #cfd5d8; pointer-events: none; transition: opacity .5s; }
.used .hint { opacity: 0; }

/* ---------------------------------------------------------------- the page's own pointer */
.own, .own * { cursor: none !important; }
.ptr, .aura { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .25s; will-change: transform; }
.own .ptr, .own .aura { opacity: 1; }
.own.away .ptr, .own.away .aura { opacity: 0; }
.ptr { width: 21px; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .5)); transition: opacity .15s; }
.ptr path { fill: #fff; stroke: #0d0e10; stroke-width: 1.7; stroke-linejoin: round; }
.aura { z-index: 59; background: rgb(var(--rgb) / .13); box-shadow: inset 0 0 0 1.5px rgb(var(--rgb) / .3); transition: opacity .25s, background .3s, box-shadow .3s; }
.aura.hug { background: rgb(var(--rgb) / .04); box-shadow: inset 0 0 0 2px rgb(var(--rgb) / .9); }
.flash { position: fixed; inset: 0; z-index: 50; background: #fff; pointer-events: none; animation: flash .5s ease-out forwards; }
@keyframes flash { from { opacity: .85; } to { opacity: 0; } }
.toast { position: fixed; z-index: 55; left: 50%; bottom: 96px; padding: 12px 20px; border-radius: 16px; background: var(--ink); color: var(--bg); font-weight: 560; translate: -50% 0; animation: toast 2.2s var(--ease) both; pointer-events: none; }
@keyframes toast { 0% { opacity: 0; transform: translateY(24px); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------------------------------------------------------------- connections */
.word { position: absolute; inset: 0; display: grid; place-items: center; overflow: clip; z-index: -1; pointer-events: none; }
.word span { grid-area: 1 / 1; font-size: min(21vw, 46vh); font-weight: 700; letter-spacing: -.06em; line-height: 1; color: #15171a; opacity: var(--o, .004); will-change: transform, opacity; transform: translateX(calc(var(--x, 0vw) - 8vw)) translateY(-4%); white-space: nowrap; }
.connect { height: 420vh; padding: 0; }
.pin { position: sticky; top: 0; height: 100svh; padding: 110px var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.wire { width: 100%; flex: 1; min-height: 160px; }
.modes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 3vw, 48px); }
.modes li { opacity: .5; transition: opacity .5s; cursor: pointer; }
.modes li.on { opacity: 1; }
.modes h3::before { content: ""; display: block; height: 3px; border-radius: 3px; margin-bottom: 18px; background: linear-gradient(90deg, var(--lime) var(--p, 0%), var(--s3) var(--p, 0%)); }
.modes p { margin-top: 10px; max-width: 32ch; color: #c3c9cc; }

/* ---------------------------------------------------------------- features */
.does { padding-top: 20vh; }
.track { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 110px); }
.holder { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; perspective: 1500px; }
.show { width: min(330px, 37svh, 100%); aspect-ratio: 540 / 1110; transition: transform 1s var(--ease); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotateZ(var(--rz, 0deg)) scale(var(--k, 1)); }
.show img { position: absolute; left: 2.1%; top: 1.05%; width: 95.8%; height: 97.9%; object-fit: cover; opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .45s, transform .7s var(--ease); }
.show img.on { opacity: 1; transform: none; }
.show img.wide { width: 205.4%; height: auto; aspect-ratio: 1110 / 526; left: 50%; top: 50%; translate: -50% -50%; rotate: 90deg; border-radius: 5.4% / 11%; }
.dots { position: absolute; inset: 9% 5% 18%; opacity: 0; transition: opacity .4s; pointer-events: none; }
.dots i { position: absolute; width: 15%; aspect-ratio: 1; border-radius: 50%; left: 42%; top: 45%; background: radial-gradient(circle, var(--lime) 0 24%, rgb(200 242 80 / .26) 25% 68%, transparent 70%); opacity: 0; }
.dots.on { opacity: 1; }
.dots.on i:nth-child(1) { animation: f1 7s infinite var(--ease); }
.dots.on i:nth-child(2) { animation: f2 7s infinite var(--ease); }
.dots.on i:nth-child(3) { animation: f3 7s infinite var(--ease); }
@keyframes f1 { 0%, 3% { opacity: 0; translate: -150% 120%; } 6% { opacity: 1; translate: -150% 120%; } 24% { opacity: 1; translate: 150% -140%; } 27%, 31% { opacity: 0; translate: -70% 140%; } 34% { opacity: 1; translate: -70% 140%; } 50% { opacity: 1; translate: -70% -150%; } 53%, 60% { opacity: 0; translate: 0 0; } 63% { opacity: 1; translate: -14% 12%; } 80% { opacity: 1; translate: -150% 130%; } 84%, 100% { opacity: 0; translate: -150% 130%; } }
@keyframes f2 { 0%, 31% { opacity: 0; translate: 70% 140%; } 34% { opacity: 1; translate: 70% 140%; } 50% { opacity: 1; translate: 70% -150%; } 53%, 60% { opacity: 0; translate: 0 0; } 63% { opacity: 1; translate: 14% -12%; } 80% { opacity: 1; translate: 150% -130%; } 84%, 100% { opacity: 0; translate: 150% -130%; } }
@keyframes f3 { to { opacity: 0; } }
/* Little scenes beside the phone, each only while its step is showing. */
.fx { position: absolute; opacity: 0; transition: opacity .4s; pointer-events: none; }
.fx.on { opacity: 1; }
.caps { left: -3%; bottom: 25%; display: flex; gap: 9px; }
.caps b { padding: 15px 19px; border-radius: 14px; font-weight: 620; font-size: 17px; background: linear-gradient(#343a41, #24282d); box-shadow: 0 6px 0 #14171a, 0 16px 34px rgb(0 0 0 / .5); }
.caps.on b { animation: press 2.6s infinite var(--ease); }
.caps.on b:nth-child(2) { animation-delay: .13s; } .caps.on b:nth-child(3) { animation-delay: .26s; }
@keyframes press { 0%, 12%, 100% { transform: none; background: linear-gradient(#343a41, #24282d); color: var(--ink); } 20%, 46% { transform: translateY(6px); box-shadow: 0 0 0 #14171a, 0 6px 14px rgb(0 0 0 / .5); background: var(--lime); color: var(--on); } 56% { transform: none; } }
.pics i { position: absolute; width: 132px; aspect-ratio: 1.45; border-radius: 16px; box-shadow: 0 22px 50px rgb(0 0 0 / .6); background: radial-gradient(circle at 66% 44%, #ffe1b0 0 11%, transparent 11.6%), linear-gradient(#2b3a5c, #f0a36b 72%, #1b2433 72.4%); }
.pics { right: 21%; top: 34%; }
.pics i + i { background: radial-gradient(circle at 64% 40%, #f6f3dc 0 11%, transparent 11.6%), linear-gradient(#3f7c8c, #cfe5d2 70%, #1f4a43 70.4%); }
.pics.on i { animation: out 4.4s infinite var(--ease); }
.pics.on i + i { animation-delay: 1.1s; }
@keyframes out { 0% { opacity: 0; transform: translate(-190px, 10px) scale(.4); } 22%, 72% { opacity: 1; transform: translate(0, -46px) rotate(-5deg); } 100% { opacity: 0; transform: translate(70px, -110px) rotate(3deg) scale(.92); } }
.pics.on i + i { animation-name: out2; }
@keyframes out2 { 0% { opacity: 0; transform: translate(-190px, 40px) scale(.4); } 22%, 72% { opacity: 1; transform: translate(16px, 70px) rotate(4deg); } 100% { opacity: 0; transform: translate(86px, 10px) rotate(-2deg) scale(.92); } }
.send { right: 2%; bottom: 27%; width: 238px; padding: 18px 20px; border-radius: 20px; background: #2a2e33; box-shadow: 0 24px 60px rgb(0 0 0 / .6); font-size: 15px; font-weight: 560; }
.send u { display: block; height: 5px; margin-top: 13px; border-radius: 5px; background: #454b52; overflow: hidden; }
.send u i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; }
.send.on u i { animation: fill 3.4s infinite cubic-bezier(.4, 0, .2, 1); }
@keyframes fill { from { transform: scaleX(0); } 78%, 100% { transform: scaleX(1); } }
.steps article { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 18px; max-width: 31em; opacity: .3; transition: opacity .5s; }
.steps article.on { opacity: 1; }
.steps h3 { font-size: clamp(1.9rem, 3.5vw, 3.3rem); letter-spacing: -.034em; line-height: 1.03; }
.steps p { color: #c3c9cc; font-size: 1.06em; }

/* ---------------------------------------------------------------- live deck */
.live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 110px); align-items: center; padding-top: 14vh; padding-bottom: 8vh; }
.typed { min-height: 3.1em; display: flex; align-items: flex-end; }
.typed.go span::after { content: ""; display: inline-block; width: .06em; height: .86em; margin-left: .06em; vertical-align: -.08em; background: var(--lime); animation: blink .9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tell p { margin-top: 24px; max-width: 38ch; color: #c3c9cc; }
.deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; perspective: 900px; }
.deck button { font: inherit; font-weight: 580; color: var(--ink); border: 0; cursor: pointer; aspect-ratio: 1.06; border-radius: 26px; padding: clamp(14px, 1.7vw, 24px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; background: color-mix(in srgb, var(--t) 15%, #0f1113); transition: transform .5s var(--ease), background .3s; }
@media (hover: hover) { .deck button:hover { background: color-mix(in srgb, var(--t) 24%, #0f1113); } }
.deck button:active { transform: scale(.93) translateZ(-30px); transition-duration: .06s; background: color-mix(in srgb, var(--t) 44%, #0f1113); }
.deck svg { width: clamp(26px, 2.4vw, 36px); fill: none; stroke: var(--t); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- setup */
.setup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 110px); align-items: center; padding-top: 16vh; padding-bottom: 16vh; }
.qr { width: min(440px, 100%); aspect-ratio: 1; justify-self: center; }
.setup ol { list-style: none; counter-reset: n; padding: 0; margin-top: 34px; }
.setup li { counter-increment: n; position: relative; padding: 20px 0 20px 2.4em; border-top: 1px solid var(--s2); color: #c3c9cc; }
.setup li::before { content: counter(n); position: absolute; left: 0; color: var(--lime); font-weight: 620; font-variant-numeric: tabular-nums; }
.setup li b { display: block; color: var(--ink); font-weight: 620; }

/* ---------------------------------------------------------------- security */
.safe { padding-top: 10vh; padding-bottom: 14vh; }
.safe h2 { max-width: 15em; }
.safe dl { margin: 56px 0 72px; }
.safe dl div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 6px 40px; padding: 24px 0; border-top: 1px solid var(--s2); }
.safe dt { font-weight: 620; font-size: 1.2em; letter-spacing: -.02em; line-height: 1.25; }
.safe dd { margin: 0; color: #c3c9cc; max-width: 58ch; }
.safe ul { margin-top: 22px; padding: 0; list-style: none; columns: 2; column-gap: 60px; color: #c3c9cc; }
.safe li { break-inside: avoid; padding: 0 0 16px 22px; position: relative; }
.safe li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--dim); }

/* ---------------------------------------------------------------- download */
.get { padding-top: 8vh; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 44px 0 22px; }
.pair article { background: var(--s1); border-radius: 32px; padding: clamp(24px, 3.4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pair h3 { font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.04em; }
.pair p { color: #c3c9cc; }
.pair .btn { margin-top: 8px; min-height: 62px; font-size: 1.06em; }
.pair article:not(.mine) .btn.main { background: var(--s3); color: var(--ink); }
.pair article:not(.mine) .btn.main:hover { background: #3d434a; }
.pair:not(.known) article .btn.main { background: var(--lime); color: var(--on); }
details { width: 100%; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; font-weight: 540; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 11px; height: 11px; margin-top: .42em; border: solid var(--dim); border-width: 0 2px 2px 0; rotate: 45deg; transition: rotate .3s var(--ease); }
details[open] summary::after { rotate: 225deg; }
details p { padding: 0 0 14px; color: #c3c9cc; max-width: 62ch; }
.sum { font: inherit; font-size: .82em; color: var(--dim); background: none; border: 0; padding: 12px 0; margin-top: auto; cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 10px; text-align: left; }
.sum code { font-family: ui-monospace, Consolas, monospace; }
.sum em { font-style: normal; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--s3); }

.log { margin-top: 18px; border-top: 1px solid var(--s2); }
.log summary { padding: 20px 0; font-size: 1.1em; }
.log > ul, .log li ul { list-style: none; padding: 0; }
.log h3 { font-size: 1.15em; letter-spacing: -.02em; margin: 10px 0 6px; }
.log h3 span { color: var(--dim); font-weight: 420; margin-left: 8px; }
.log li li { color: #c3c9cc; padding: 2px 0 2px 18px; position: relative; max-width: 70ch; }
.log li li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 2px; background: var(--dim); }
.faq { padding-top: 14vh; padding-bottom: 14vh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 0 40px; }
.faq h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); grid-row: 1 / span 9; }
.faq details { border-top: 1px solid var(--s2); grid-column: 2; }
.faq summary { padding: 20px 0; font-size: 1.1em; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 34px var(--gut) 110px; color: var(--dim); font-size: .88em; }
footer a { margin-right: 22px; }
footer .made { width: 100%; color: var(--ink); font-size: 1.25em; font-weight: 560; letter-spacing: -.01em; margin-top: -8px; }
footer .made::before { content: ""; display: inline-block; vertical-align: .12em; margin-right: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px rgb(var(--rgb) / .7); }
footer .made a { margin: 0; text-decoration-color: var(--lime); }
footer .mark { width: 100%; font-size: 25.5vw; font-weight: 680; letter-spacing: -.065em; line-height: .8; margin: 0 0 calc(30px + 3.6vw) -.05em; color: #17191c; user-select: none; }
.nav .opt.on { color: var(--ink); background: rgb(255 255 255 / .09); }

.bar { position: fixed; z-index: 15; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 20px; font-size: 15px; font-weight: 560; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .3s, visibility .3s; }
.bar.up { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.bar span { margin-right: 12px; color: #d4d8da; }
.bar a { padding: 11px 18px; border-radius: 999px; text-decoration: none; background: rgb(255 255 255 / .09); transition: background .2s; }
.bar a:hover, .bar a.mine { background: var(--lime); color: var(--on); }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 860px) {
  .nav .opt { display: none; }
  .hero { padding-top: 112px; }
  h1 { white-space: normal; font-size: clamp(3.1rem, 14.6vw, 6rem); }
  .row { display: block; margin-top: 22px; }
  .acts { margin-top: 26px; }
  .lead { max-width: 40ch; }
  .acts .btn { flex: 1 1 0; justify-content: center; padding: 0 12px; white-space: nowrap; font-size: 16px; }
  .stage { width: 100%; margin-top: 38px; aspect-ratio: .735; }
  .laptop { width: 93cqw; left: 3.5cqw; top: 0; }
  .hero-phone { width: 43cqw; right: 4cqw; }
  /* The space beside the phone carries the instruction. */
  .hint { left: auto; right: 108%; bottom: 34%; translate: none; white-space: normal; width: 34cqw; text-align: right; font-size: 17px; line-height: 1.35; text-wrap: balance; }
  .clock { font-size: 4.4cqw; }
  .cursor { width: 4.6cqw; }
  .finger { width: 12cqw; height: 12cqw; margin: -6cqw; }
  .word span { font-size: 42vw; transform: translateX(var(--x, 0)) translateY(-18%); }
  .fx { display: none; }
  .live { grid-template-columns: 1fr; padding-top: 8vh; }
  .typed { min-height: 3.2em; }
  .deck { gap: 9px; }
  .deck button { border-radius: 20px; font-size: 15px; }
  .connect { height: 380vh; }
  .modes { grid-template-columns: 1fr; gap: 0; position: relative; min-height: 172px; }
  .modes li { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .5s var(--ease); }
  .modes li.on { opacity: 1; transform: none; }
  .track { grid-template-columns: 1fr; gap: 0; margin-top: 4vh; }
  .holder { height: 56svh; top: 66px; z-index: 1; }
  .show { width: min(48vw, 25svh); }
  .steps { margin-top: -20svh; }
  .steps article { min-height: 92svh; justify-content: flex-end; padding-bottom: max(6svh, 108px); gap: 12px; opacity: 0; }
  .steps h3 { font-size: 1.85rem; }
  .setup { grid-template-columns: 1fr; padding-top: 10vh; }
  .qr { width: min(300px, 78vw); }
  .safe dl div { grid-template-columns: 1fr; }
  .safe ul { columns: 1; }
  .pair { grid-template-columns: 1fr; }
  .pair article.mine { order: -1; }
  .faq { grid-template-columns: 1fr; }
  .faq details { grid-column: 1; }
  .faq h2 { grid-row: auto; margin-bottom: 20px; }
}
@media (max-width: 400px) { .nav a { padding: 9px 12px; } .bar span { display: none; } .bar { padding-left: 6px; } }
@media (hover: none) { .hero-phone { cursor: auto; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .connect { height: auto; }
  .pin { position: static; height: auto; padding-bottom: 80px; }
  .modes { position: static; display: grid; min-height: 0; gap: 26px; }
  .modes li { position: static; opacity: 1 !important; transform: none; }
}
@media not all and (scripting: enabled) {
  .connect { height: auto; } .pin { position: static; height: auto; } .wire, .field, .qr { display: none; }
  .modes, .modes li { position: static; opacity: 1; transform: none; } .steps article { opacity: 1; min-height: 0; padding: 28px 0; } .steps { margin-top: 0; }
}
