/* The landing page. Colours are the station console's own (water.css), so the page flows into it. */
:root, [data-appearance=light] {
  --bg: #edf5fa; --surface: #fbfdfe; --raised: #e0edf5; --line: #d3e3ee;
  --text: #0f2a3b; --muted: #4a6477; --faint: #9fb6c6;
  --water: #2b87c2; --water-strong: #1b6a9e; --water-soft: #d5ebf8; --sky: #62bdea;
  --copper: #d98a3d; --ink-btn: #0f2a3b; --ink-btn-fg: #fff;
  --f-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --f-display: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-appearance=light]) {
    --bg: #0a1822; --surface: #10222f; --raised: #153044; --line: #1e3647;
    --text: #e4f1f8; --muted: #9ab6c8; --faint: #3b5567;
    --water: #62b9ea; --water-strong: #8ccdf2; --water-soft: #143449; --sky: #1d5f8a;
    --ink-btn: #e4f1f8; --ink-btn-fg: #0a1822;
    color-scheme: dark;
  }
}
[data-appearance=dark] {
  --bg: #0a1822; --surface: #10222f; --raised: #153044; --line: #1e3647;
  --text: #e4f1f8; --muted: #9ab6c8; --faint: #3b5567;
  --water: #62b9ea; --water-strong: #8ccdf2; --water-soft: #143449; --sky: #1d5f8a;
  --ink-btn: #e4f1f8; --ink-btn-fg: #0a1822;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2 { font-family: var(--f-display); font-weight: 700; line-height: 1.3; margin: 0; text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 19px; max-width: 46ch; margin: 14px 0 0; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 6px; }

/* buttons: water rises inside on hover */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 14px; font: 600 16px var(--f-body); text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease), color 300ms, border-color 300ms; }
.btn:active { transform: scale(.97); }
.btn span, .btn svg { position: relative; z-index: 1; }
.btn.fill { background: var(--ink-btn); color: var(--ink-btn-fg); }
.btn.fill::before { content: ""; position: absolute; z-index: 0; left: -50%; top: 200%; width: 200%; aspect-ratio: 1; border-radius: 42%; background: var(--water); transition: top 700ms var(--ease); animation: spin 6s linear infinite; }
.btn.fill:hover { color: #fff; }
.btn.fill:hover::before { top: -40%; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.line { border: 1.5px solid color-mix(in srgb, var(--text) 30%, transparent); color: var(--text); background: color-mix(in srgb, var(--surface) 55%, transparent); backdrop-filter: blur(6px); }
.btn.line:hover { border-color: var(--water); color: var(--water-strong); }
.btn.small { height: 40px; padding: 0 18px; border-radius: 11px; font-size: 14.5px; }
.btn.big { height: 64px; padding: 0 34px; font-size: 19px; border-radius: 18px; }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease); }
.btn.big:hover svg { transform: translateX(-6px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* the bar, with a line of water that fills as you read down */
.bar { position: fixed; z-index: 20; inset: 0 0 auto; height: 64px; display: flex; align-items: center; gap: 28px; padding-inline: max(20px, 4vw); background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(12px) saturate(1.4); }
.mark { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.mark b { font: 700 24px var(--f-display); }
.bar nav { display: flex; gap: 26px; font-size: 15px; }
.bar nav a { position: relative; text-decoration: none; color: var(--muted); transition: color 200ms; }
.bar nav a::after { content: ""; position: absolute; inset: auto 0 -4px; height: 2px; background: var(--water); transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease); }
.bar nav a:hover { color: var(--text); }
.bar nav a:hover::after { transform: scaleX(1); }
.bar .btn { margin-inline-start: auto; }
.bar-water { position: absolute; inset: auto 0 0; height: 3px; background: var(--water); transform-origin: right; transform: scaleX(var(--p, 0)); }

/* ---------- the story: a pinned street that the scroll plays forwards and backwards ---------- */
.story { height: 680svh; position: relative; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; --story: 0; }
.scene, .scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-copy { position: absolute; z-index: 3; top: 100px; inset-inline-end: max(20px, 5vw); width: min(600px, 44vw); opacity: calc(1 - var(--h, 0)); transform: translateY(calc(var(--h, 0) * -90px)) scale(calc(1 - var(--h, 0) * .06)); transform-origin: top left; }
.hero-copy h1 { font-size: clamp(42px, 4.6vw, 76px); letter-spacing: -.01em; }
.hero-copy h1 span { display: block; }
.hero-copy h1 span:last-child { color: var(--water-strong); }
.hero-copy > p { font-size: 19px; margin: 18px 0 26px; max-width: 40ch; }
.hint { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin-top: 30px; }
.hint i { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: hint 1.6s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

.step-copy { position: absolute; z-index: 3; top: 112px; inset-inline-start: max(20px, 5vw); width: min(440px, 36vw); height: 240px; }
.step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(40px); transition: opacity 500ms var(--ease), transform 700ms var(--ease); pointer-events: none; }
.step.past { transform: translateY(-40px); }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--water); color: #fff; font: 700 20px var(--f-display); margin-bottom: 14px; }
.step h2 { font-size: clamp(30px, 3vw, 48px); }
.step p { margin: 12px 0 0; font-size: 18px; max-width: 34ch; }

/* The box only places the cards; until a card is on, taps reach the hero's store badges beneath it. */
.device { position: absolute; z-index: 3; top: 112px; inset-inline-end: max(20px, 5vw); width: 310px; height: 300px; perspective: 900px; pointer-events: none; }
.card { position: absolute; inset: 0 0 auto; background: var(--surface); color: var(--text); border-radius: 22px; padding: 18px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(15, 42, 59, .35); opacity: 0; transform: translateY(50px) rotateX(-12deg) scale(.96); transform-origin: 50% 0; transition: opacity 450ms var(--ease), transform 700ms var(--ease); pointer-events: none; }
.card.past { transform: translateY(-40px) scale(.94); }
.card.on { opacity: 1; transform: none; pointer-events: auto; }
.card header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.card header small { color: var(--muted); font-size: 13px; }
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size { border: 1.5px solid var(--line); background: var(--bg); border-radius: 14px; padding: 12px; font: inherit; color: inherit; display: grid; text-align: start; cursor: pointer; transition: border-color 200ms, background 200ms, transform 160ms var(--ease); }
.size:hover { border-color: var(--water); }
.size:active { transform: scale(.97); }
.size.on { border-color: var(--water); background: var(--water-soft); }
.size b { font-size: 17px; } .size span { color: var(--muted); font-size: 13px; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 12px; color: var(--muted); font-size: 14px; }
.total b { color: var(--text); font-size: 20px; font-variant-numeric: tabular-nums; }
.card-cta { display: grid; place-items: center; height: 46px; border-radius: 12px; background: var(--ink-btn); color: var(--ink-btn-fg); font-weight: 600; }
.q-row { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--bg); }
.q-row span { color: var(--muted); font-size: 14px; }
.assign { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.pick { flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 14px; }
.assign-btn { padding: 9px 16px; border-radius: 10px; background: var(--ink-btn); color: var(--ink-btn-fg); font-weight: 600; font-size: 14px; transition: background 300ms, transform 300ms var(--ease); }
.assign-btn.done { background: #2e9b62; color: #fff; transform: scale(.94); }
.assigned { margin: 12px 0 0; color: #2e9b62; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity 300ms, transform 400ms var(--ease); }
.assigned.on { opacity: 1; transform: none; }
.route { width: 100%; height: auto; color: var(--faint); }
.route .home { fill: var(--copper); }
.route .car { fill: var(--water); stroke: var(--surface); stroke-width: 3; }
.big { margin: 4px 0 12px; font: 400 15px var(--f-body); color: var(--muted); }
.big b { font: 700 46px/1 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.meter { position: relative; height: 12px; border-radius: 6px; background: var(--raised); overflow: hidden; }
.meter i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--water), var(--sky)); transform-origin: right; transform: scaleX(var(--p, 0)); }
.note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.note b { color: var(--text); }
.card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 14px; }
.card dt { color: var(--muted); } .card dd { margin: 0; }

.rail { position: absolute; z-index: 3; inset: auto 0 22px; display: flex; justify-content: center; gap: 6px; padding-inline: 16px; }
.rail button { display: flex; align-items: center; gap: 8px; border: 0; background: color-mix(in srgb, #0f2a3b 55%, transparent); color: #dfeaf1; font: 500 14px var(--f-body); padding: 8px 14px; border-radius: 99px; cursor: pointer; backdrop-filter: blur(6px); transition: background 300ms, color 300ms, transform 160ms var(--ease); }
.rail button:hover { background: color-mix(in srgb, #0f2a3b 80%, transparent); }
.rail button:active { transform: scale(.95); }
.rail i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; transition: background 300ms, transform 300ms var(--ease); }
.rail .done i { background: currentColor; }
.rail .on { background: var(--water); color: #fff; }
.rail .on i { background: #fff; border-color: #fff; transform: scale(1.2); }

/* ---------- the idea, lit word by word as you read ---------- */
.idea { height: 230svh; }
.idea-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; padding-inline: max(20px, 8vw); }
.words { margin: 0 auto; max-width: 24ch; font: 700 clamp(30px, 4.2vw, 64px)/1.5 var(--f-display); text-wrap: balance; }
.words span { color: var(--faint); transition: color 500ms var(--ease); }
.words span.lit { color: var(--text); }

/* parts that come in with the scroll and go back out with it */
.reveal { opacity: var(--r, 1); transform: translateY(calc((1 - var(--r, 1)) * 56px)); }

/* ---------- who it helps: tabs ---------- */
.benefits { padding: 8vh max(20px, 6vw) 14vh; }
.benefits h2, .stations h2, .city h2 { font-size: clamp(36px, 4.4vw, 68px); }
.tabs { position: relative; display: inline-flex; gap: 4px; margin: 40px 0 34px; padding: 5px; border-radius: 16px; background: var(--raised); }
.tabs button { position: relative; z-index: 1; border: 0; background: none; font: 600 17px var(--f-body); color: var(--muted); padding: 11px 26px; border-radius: 12px; cursor: pointer; transition: color 300ms; }
.tabs button[aria-selected=true] { color: #fff; }
.tab-ink { position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); background: var(--water); border-radius: 12px; transition: transform 500ms var(--ease), width 500ms var(--ease); }
.panel[hidden] { display: none; }
.panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 6vw; align-items: center; }
.gains { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gains li { display: grid; gap: 2px; padding: 20px 0; border-top: 1px solid var(--line); }
.gains b { font: 700 24px var(--f-display); }
.gains span { color: var(--muted); }
.panel.on .gains li { animation: rise 700ms var(--ease) both; }
.panel.on .gains li:nth-child(2) { animation-delay: 70ms; } .panel.on .gains li:nth-child(3) { animation-delay: 140ms; } .panel.on .gains li:nth-child(4) { animation-delay: 210ms; }
.panel-art > * { will-change: transform, translate; backface-visibility: hidden; }
.panel.on .panel-art > * { animation: rise 800ms 120ms var(--ease) both, bob 6s 900ms ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.panel-art { display: grid; place-items: center; }
.mini-phone { position: relative; width: 280px; border-radius: 38px; padding: 46px 18px 22px; background: var(--surface); border: 8px solid var(--text); box-shadow: 0 24px 40px -30px rgba(15, 42, 59, .22); display: grid; gap: 10px; }
.mini-phone .notch { position: absolute; top: 10px; left: 50%; width: 80px; height: 20px; margin-left: -40px; border-radius: 12px; background: var(--text); }
.mp-title { margin: 0; font: 700 20px var(--f-display); }
.mp-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg); font-size: 14px; }
.mp-row.soft { background: var(--water-soft); }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 99px; }
.tag.go { background: var(--water); color: #fff; }
.mp-map { border-radius: 14px; background: var(--raised); color: var(--faint); padding: 8px; }
.mp-map svg { display: block; width: 100%; } .mp-map circle { fill: var(--water); } .mp-map .home { fill: var(--copper); }
.mp-stop { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg); font-size: 14px; }
.mp-stop em { font-style: normal; font-size: 12px; color: var(--muted); }
.mp-stop.s0 em { color: #2e9b62; } .mp-stop.s1 { background: var(--water-soft); } .mp-stop.s1 em { color: var(--water-strong); font-weight: 600; }
.mini-console { width: min(440px, 100%); border-radius: 20px; background: var(--surface); padding: 20px; box-shadow: 0 1px 0 var(--line), 0 24px 40px -30px rgba(15, 42, 59, .22); display: grid; gap: 8px; }
.mc-title { margin: 0 0 6px; font: 700 20px var(--f-display); display: flex; justify-content: space-between; align-items: baseline; }
.mc-title small { font: 400 13px var(--f-body); color: var(--muted); }
.mc-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg); font-size: 14px; }
.mc-row span { color: var(--muted); }
.mc-row em { font-style: normal; font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 9px; background: var(--ink-btn); color: var(--ink-btn-fg); }
.mc-cash { display: flex; justify-content: space-between; padding: 14px 12px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.mc-cash span { color: var(--muted); } .mc-cash b { font-variant-numeric: tabular-nums; }

/* ---------- stations and the finder ---------- */
.stations { padding: 8vh max(20px, 6vw) 6vh; display: grid; gap: 22px; }
.find input { width: 100%; border: 0; border-bottom: 2px solid var(--line); background: none; color: var(--text); font: 700 clamp(40px, 6vw, 96px)/1.3 var(--f-display); padding: 0 0 6px; outline: none; transition: border-color 300ms; }
.find input:focus { border-color: var(--water); }
.find-examples { display: flex; flex-wrap: wrap; gap: 10px; }
.find-examples button { border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); font: 500 15px var(--f-body); padding: 8px 16px; border-radius: 99px; cursor: pointer; transition: border-color 200ms, color 200ms, transform 160ms var(--ease); }
.find-examples button:hover { border-color: var(--water); color: var(--water-strong); }
.find-examples button:active { transform: scale(.95); }
.find-answer { display: grid; gap: 6px; max-width: 640px; min-height: 120px; align-content: start; }
.find-place { margin: 0; color: var(--muted); font-size: 14px; }
.find-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--surface); text-decoration: none; transition: transform 300ms var(--ease), background 200ms; animation: rise 500ms var(--ease) both; }
.find-row:hover { transform: translateX(-6px); background: var(--water-soft); }
.find-row span { color: var(--muted); font-variant-numeric: tabular-nums; }
.find-row em { font-style: normal; font-size: 13px; color: #2e9b62; } .find-row em.no { color: #c4242a; }
.station-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 12px; }
.station { display: grid; gap: 18px; align-content: start; padding: 24px; border-radius: 22px; background: var(--surface); border: 1.5px solid var(--line); transition: border-color 300ms, transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.station:hover { border-color: var(--water); transform: translateY(-4px); box-shadow: 0 18px 34px -26px rgba(15, 42, 59, .35); }
.station header { display: flex; align-items: center; gap: 14px; }
.station h3 { margin: 0; font: 700 24px/1.3 var(--f-display); }
.station header p { margin: 0; color: var(--muted); font-size: 15px; }
.station .drop { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--water); box-shadow: 0 0 0 6px var(--water-soft); }
.station ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.station li { padding: 6px 14px; border-radius: 99px; background: var(--raised); font-size: 14.5px; }

/* ---------- the city: a strip of pictures that slides with the scroll ---------- */
.city { padding: 8vh 0 8vh; overflow: hidden; }
.city-head { padding-inline: max(20px, 6vw); margin-bottom: 40px; }
.strip { display: flex; gap: 18px; width: max-content; transform: translateX(calc((var(--x, .5) - .5) * 60vw)); will-change: transform; padding-inline: 6vw; }
.strip figure { margin: 0; flex: none; }
.strip img { display: block; height: min(52svh, 520px); width: auto; aspect-ratio: auto; border-radius: 6px; object-fit: cover; }
.strip figure:nth-child(even) { margin-top: 8svh; }
.strip figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------- the way in ---------- */
.final { position: relative; background: var(--sky); color: #0f2a3b; padding: 14vh max(20px, 6vw) 20vh; overflow: hidden; }
.final-in { max-width: 900px; }
.final h2 { font-size: clamp(48px, 7.5vw, 120px); line-height: 1.2; }
.final p { font-size: 20px; max-width: 44ch; margin: 22px 0 34px; }
.final .btn.fill { background: #0f2a3b; color: #fff; }
.final .btn.line { color: #0f2a3b; border-color: rgba(15, 42, 59, .35); background: rgba(255, 255, 255, .35); }
.final-wave { position: absolute; inset: auto 0 -1px; width: 100%; height: 90px; fill: var(--bg); animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(-40px) scaleY(1.2); } }

.foot { display: grid; grid-template-columns: 1fr auto; gap: 24px 6vw; align-items: center; padding: 44px max(20px, 6vw) 36px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot nav a { text-decoration: none; color: var(--muted); transition: color 200ms; } .foot nav a:hover { color: var(--water-strong); }
.copy { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13.5px; }

/* store badges and social icons (site.mjs) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 20px; border: 0; border-radius: 14px; background: #0b0f12; color: #fff; text-decoration: none; font: inherit; cursor: pointer; transition: transform 200ms var(--ease), box-shadow 300ms; }
.store:hover { transform: translateY(-3px); box-shadow: 0 10px 22px -12px rgba(11, 15, 18, .6); }
.store:active { transform: scale(.97); }
.store svg { width: 26px; height: 26px; }
.store span { display: grid; line-height: 1.15; text-align: start; }
.store small { font-size: 11px; opacity: .8; } .store b { font: 600 18px/1.1 -apple-system, 'Segoe UI', Roboto, sans-serif; }
[data-appearance=dark] .store { background: #fff; color: #0b0f12; }
@media (prefers-color-scheme: dark) { :root:not([data-appearance=light]) .store { background: #fff; color: #0b0f12; } }
.socials { display: flex; gap: 10px; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: color 200ms, border-color 200ms, transform 200ms var(--ease); }
.social:hover { color: var(--water-strong); border-color: var(--water); transform: translateY(-3px); }
.social svg { width: 21px; height: 21px; }
.final-app { margin: 46px 0 14px !important; font-size: 16px !important; font-weight: 600; }
.card-cta { width: 100%; border: 0; font: inherit; cursor: pointer; transition: background 300ms, transform 160ms var(--ease); }
.card-cta:hover { background: var(--water); color: #fff; }
.card-cta:active { transform: scale(.97); }
dialog.pick { border: 0; border-radius: 22px; padding: 26px; background: var(--surface); color: var(--text); max-width: min(420px, calc(100% - 32px)); display: grid; gap: 14px; }
dialog.pick:not([open]) { display: none; }
dialog.pick::backdrop { background: rgba(10, 24, 34, .5); backdrop-filter: blur(4px); }
.pick-title { margin: 0; font: 700 24px var(--f-display); } .pick-note { margin: 0; color: var(--muted); }
dialog.pick .btn { justify-self: start; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; margin: 0; padding: 12px 20px; border-radius: 14px; background: var(--ink-btn); color: var(--ink-btn-fg); font-size: 15px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 300ms, transform 400ms var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* contact and terms pages */
.page { max-width: 980px; margin: 0 auto; padding: 130px max(20px, 6vw) 90px; }
.page h1 { font-size: clamp(42px, 6vw, 84px); }
.page .lead { font-size: 20px; }
.contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 44px; }
.contact { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 22px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--line); text-decoration: none; color: inherit; font: inherit; text-align: start; cursor: pointer; transition: border-color 200ms, transform 300ms var(--ease); }
.contact:hover { border-color: var(--water); transform: translateY(-4px); }
.contact .ic { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--water-soft); color: var(--water-strong); }
.contact .ic svg { width: 26px; height: 26px; }
.contact b { font: 700 20px var(--f-display); } .contact span:last-child { color: var(--muted); font-size: 14px; }
.owners { margin-top: 56px; padding: 34px; border-radius: 24px; background: var(--sky); color: #0f2a3b; }
.owners h2 { font-size: clamp(30px, 3.4vw, 46px); } .owners p { margin: 10px 0 0; max-width: 56ch; font-size: 18px; }
.prose { margin-top: 36px; display: grid; gap: 8px; max-width: 70ch; }
.prose h2 { font-size: 26px; margin-top: 26px; } .prose p, .prose li { color: var(--text); } .prose ul { margin: 0; padding-inline-start: 22px; }
.prose .draft { padding: 12px 16px; border-radius: 12px; background: var(--water-soft); color: var(--water-strong); font-size: 14px; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .bar { gap: 12px; height: 58px; } .bar nav { display: none; }
  .hero-copy { top: 74px; inset-inline: 16px; width: auto; }
  .hero-copy h1 { font-size: clamp(36px, 10vw, 52px); }
  .hero-copy > p { font-size: 16px; margin: 12px 0 18px; }
  .hint { display: none; }
  .actions .btn { height: 46px; padding: 0 18px; font-size: 15px; }
  .step-copy { top: 72px; inset-inline: 16px; width: auto; height: 150px; }
  .step-n { width: 34px; height: 34px; font-size: 16px; margin-bottom: 8px; }
  .step h2 { font-size: 26px; } .step p { font-size: 15px; margin-top: 6px; }
  .device { top: 228px; inset-inline-end: 16px; width: min(270px, calc(100% - 32px)); height: 230px; }
  .card { padding: 14px; border-radius: 18px; }
  .big b { font-size: 36px; }
  .rail { bottom: 16px; gap: 4px; } .rail span { display: none; } .rail button { padding: 10px; }
  .panel { grid-template-columns: 1fr; gap: 40px; }
  .tabs { display: flex; } .tabs button { flex: 1; padding: 10px 8px; font-size: 15px; }
  .foot { grid-template-columns: 1fr; }
  .store { height: 50px; padding: 0 14px; } .store b { font-size: 16px; }
  .page { padding-top: 100px; }
  .strip img { height: 38svh; }
}

@media (prefers-reduced-motion: reduce) {
  .s-cloud, .s-wave, .s-stream, .s-flow, .btn.fill::before, .final-wave, .panel.on .panel-art > *, .hint i::after { animation: none !important; }
  .reveal { transform: none; }
  .step, .card { transition-duration: 1ms; }
}
