/* city/ - friendly mobile-first landing. Tokens first; every colour comes from here. */
:root {
  --sky-1: #0174e6; --sky-2: #0e99fa; --sky-3: #66c5fc;
  --navy: #0b2563; --ink: #13213f; --ink-2: #4a5878; --ink-3: #5c6984;
  --blue: #1463e6; --blue-press: #0f50bd; --blue-soft: #e8f0ff;
  --green: #0f8a4a; --green-soft: #e3f7ec;
  --amber: #f5a524; --red: #e5484d;
  --bg: #ffffff; --bg-soft: #f3f7fd; --line: #e2e8f3; --card: #ffffff;
  --radius: 22px; --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(16, 42, 99, .10), 0 2px 6px rgba(16, 42, 99, .06);
  --shadow-lg: 0 24px 60px rgba(16, 42, 99, .18);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .12s ease, background .2s ease, box-shadow .2s ease, opacity .2s; min-height: 48px; padding: 0 22px; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(20, 99, 230, .35); }
.btn-primary:hover { background: var(--blue-press); }
.btn-primary[disabled], .btn-primary[aria-disabled="true"] { background: #b9c8e6; box-shadow: none; cursor: not-allowed; }
.btn-xl { width: 100%; max-width: 380px; min-height: 60px; font-size: 21px; }
.btn-lg { width: 100%; max-width: 420px; min-height: 56px; font-size: 19px; }
.btn-ghost-light { background: rgba(4, 20, 56, .45); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 17px; }
.btn-ghost { background: transparent; color: var(--blue); font-size: 17px; }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-danger-soft { background: #fdecec; color: #b42328; }
.muted-light { opacity: .8; font-weight: 600; }
.icon-btn { width: 48px; height: 48px; border: 0; background: transparent; border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink); }
.icon-btn:hover { background: rgba(0, 0, 0, .05); }

/* ---------- header ---------- */
.top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 900; font-size: 19px; letter-spacing: -.2px; text-shadow: 0 1px 8px rgba(0, 0, 0, .15); }
.brand img { border-radius: 50%; background: #fff; }
.top-account { border: 0; background: rgba(255, 255, 255, .2); color: #fff; font-weight: 800; font-size: 16px; padding: 0 16px; min-height: 40px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 8px; }
.top-account .av { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px; background: #fff; color: var(--blue); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; background: #0174e6; padding: 68px 20px calc(24px + var(--safe-b)); text-align: center; }
/* The picture sits on the bottom edge at full width; the sky colour above it continues the picture's own sky,
   so the headline always lands on plain blue, never on the skyline. */
/* .hero-bg is only a wrapper on phones (display: contents): the picture is the absolute layer, the badge a flex item. */
.hero-bg { display: contents; }
.hero-bg > picture { position: absolute; left: 0; right: 0; bottom: -9%; z-index: 0; }
.hero-bg > picture img { width: 100%; height: auto; }
/* The badge coin over the picture: spins in on load (several turns, slowing down); after that hello.js lets the visitor
   drag / flick / tap it. Same badge on both faces. On phones it fills the free gap between the headline and the buttons,
   sized by that gap (cqh). touch-action: pan-y keeps vertical scrolling working over it. */
.hero-badge { order: 1; flex: 1 1 0; min-height: 110px; margin: 10px 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; position: relative; z-index: 2; container-type: size; display: grid; place-items: center; filter: drop-shadow(0 14px 22px rgba(0, 30, 90, .4)); }
.hero-badge:active { cursor: grabbing; }
.hero-badge:focus-visible { outline: none; }
.hero-badge:focus-visible .spin { outline: 3px solid #fff; outline-offset: 4px; border-radius: 50%; }
.hero-actions { order: 2; }
.hero-badge .spin { display: block; width: min(64vw, 260px, 100cqh); aspect-ratio: 1; perspective: 900px; animation: fade .5s .3s ease both; }
.hero-badge .coin { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: coin-in 2.4s cubic-bezier(.15, .7, .25, 1) .3s both; }
.hero-badge .coin-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none; }
.hero-badge .coin-back { transform: rotateY(180deg); }
.hero-badge img { display: block; width: 100%; height: 100%; -webkit-user-drag: none; }
@keyframes coin-in { from { transform: scale(.2) rotateY(-1440deg); } to { transform: scale(1) rotateY(0deg); } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, rgba(6, 22, 60, 0), rgba(6, 22, 60, .55)); z-index: 1; pointer-events: none; }
.hero-copy { display: contents; }
.hero-text, .hero-actions { position: relative; z-index: 2; }
.hero-text { animation: rise .7s ease both; }
/* a soft blue glow behind the words keeps them readable over the painted clouds */
.hero-text::before { content: ""; position: absolute; inset: -10px -20px; background: radial-gradient(closest-side, rgba(1, 98, 214, .55), rgba(1, 98, 214, 0)); z-index: -1; }
.hero h1 { font-size: clamp(34px, 9.4vw, 54px); line-height: 1.05; margin: 14px auto 10px; font-weight: 900; letter-spacing: -1px; max-width: 12ch; text-shadow: 0 2px 18px rgba(0, 40, 120, .25); }
/* a tight dark-blue halo so the white words stay readable where they cross the painted white clouds */
.lead { font-size: 18px; margin: 0 auto; max-width: 20em; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 45, 140, .95), 0 0 4px rgba(0, 55, 160, .9), 0 0 10px rgba(0, 65, 180, .8), 0 0 22px rgba(0, 75, 200, .6); }
.pulse { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-weight: 700; font-size: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #3ee08a; position: relative; flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ee08a; animation: ping 2s ease-out infinite; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: rise .7s .15s ease both; }
.hero-actions .btn-primary { box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.greeting { margin: 0; font-weight: 800; font-size: 18px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.live-banner { width: 100%; max-width: 380px; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; align-items: center; gap: 12px; text-align: left; box-shadow: var(--shadow); }
.live-banner b { display: block; }
.live-banner small { color: var(--ink-2); font-size: 14px; }
.live-banner .btn { min-height: 40px; padding: 0 14px; font-size: 15px; margin-left: auto; }

/* the site's cookie banner (cookie-consent.js) - styles.css isn't loaded here */
#cookie-consent-banner { position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); z-index: 45; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; line-height: 1.35; max-width: 560px; margin: 0 auto; }
.cookie-consent-text { margin: 0; flex: 1 1 240px; }
.cookie-consent-actions { display: flex; gap: 8px; margin-left: auto; }
.cookie-consent-btn { border: 0; border-radius: 999px; min-height: 40px; padding: 0 16px; font-weight: 800; font-size: 14px; }
.cookie-consent-reject { background: var(--bg-soft); color: var(--ink); }
.cookie-consent-accept { background: var(--blue); color: #fff; }

/* ---------- sections ---------- */
.section { padding: 48px 20px; max-width: 980px; margin: 0 auto; }
.section-soft { background: var(--bg-soft); max-width: none; }
.section-soft > * { max-width: 940px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: 30px; line-height: 1.15; margin: 0 0 22px; font-weight: 900; letter-spacing: -.5px; text-align: center; }
.ways { display: grid; gap: 14px; }
.way { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .2s; }
.way:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.way:active { transform: scale(.98); }
.way-emoji { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; background: var(--blue-soft); }
.way-events .way-emoji { background: #fff2dc; }
.way-text strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 800; }
.way-text small { display: block; font-size: 16px; color: var(--ink-2); margin-top: 4px; line-height: 1.35; }
.way-arrow { margin-left: auto; font-size: 34px; color: var(--ink-3); line-height: 1; }

/* ---------- the selector: first screen on plain city/ (under the cookie banner, so the bottom padding keeps the last row reachable).
   For company professionals: deliberately plain and serious, unlike the friendly landing behind it. Keep the rest of the page out of this. ---------- */
.picker { position: fixed; inset: 0; z-index: 40; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fff; color: var(--ink); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.picker-inner { max-width: 560px; min-height: 100%; margin: 0 auto; padding: 16px 16px calc(150px + var(--safe-b)); }
.picker-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: 16px; font-weight: 600; color: var(--navy); }
.picker-brand img { width: 28px; height: 28px; }
.picker h2 { margin: 0 0 16px; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--navy); }
.picker h2:focus { outline: none; }
.picker .ways { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.picker .way { gap: 14px; padding: 14px; color: var(--ink); text-decoration: none; background: none; border: 0; border-radius: 0; box-shadow: none; transition: background-color .15s; }
.picker .way + .way { border-top: 1px solid var(--line); }
.picker .way:hover { transform: none; box-shadow: none; background: var(--bg-soft); }
.picker .way:active { transform: none; }
.picker .way:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.way-icon { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.picker .way-text strong { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.picker .way-text small { font-size: 14px; margin-top: 2px; line-height: 1.4; }
.picker .way-arrow { font-size: 22px; }
.picker-open { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(4, 20, 56, .6); color: #fff; font-size: 16px; font-weight: 700; }

.steps { list-style: none; padding: 0; margin: 0 auto 26px; display: grid; gap: 18px; max-width: 560px; position: relative; }
.steps li { display: flex; gap: 16px; align-items: flex-start; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: -14px; width: 2px; background: repeating-linear-gradient(var(--blue) 0 6px, transparent 6px 12px); opacity: .35; }
.step-n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 20px; background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(20, 99, 230, .3); }
.steps strong { font-size: 20px; }
.steps p, .safe p { margin: 2px 0 0; color: var(--ink-2); font-size: 17px; }
.street img { border-radius: var(--radius); width: 100%; max-width: 560px; margin: 0 auto; box-shadow: var(--shadow); }

.safe { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 14px; max-width: 760px; }
.safe li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.safe li > span { font-size: 28px; line-height: 1.1; }
.safe strong { font-size: 18px; }

.faq { max-width: 680px; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.faq summary { list-style: none; padding: 16px 48px 16px 18px; font-weight: 800; font-size: 18px; position: relative; cursor: pointer; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--blue); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); font-size: 17px; }

.final { text-align: center; padding-bottom: 32px; }
.final .final-logo { margin: 0 auto 10px; width: 96px; height: 96px; border-radius: 50%; }
.final p { color: var(--ink-2); margin: -12px 0 18px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 8px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #0d1424; color: #fff; text-decoration: none; padding: 8px 16px; border-radius: 12px; min-height: 52px; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 800; font-size: 17px; text-align: left; }
.store small { font-size: 10px; font-weight: 700; letter-spacing: .4px; opacity: .85; }
.rate { margin: 30px auto 0; padding: 16px; border-radius: var(--radius-sm); background: var(--bg-soft); max-width: 380px; }
.rate p { margin: 0 0 8px !important; font-weight: 700; color: var(--ink) !important; font-size: 16px; }
.rate-btns { display: flex; justify-content: center; gap: 14px; }
.rate-btns button { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-size: 28px; transition: transform .15s; }
.rate-btns button:hover { transform: scale(1.1); }
.rate-btns button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }

.foot { text-align: center; padding: 18px 16px calc(96px + var(--safe-b)); color: var(--ink-3); font-size: 14px; border-top: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.foot a { color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.foot p { margin: 10px 0 0; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + var(--safe-b)); background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 35%); display: flex; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(24px); transition: transform .3s ease, opacity .3s ease, visibility .3s; }
.sticky-cta.on { transform: none; opacity: 1; visibility: visible; }
/* while the cookie banner is up, keep the main buttons above it */
body:has(#cookie-consent-banner) .hero { padding-bottom: calc(150px + var(--safe-b)); }
body:has(#cookie-consent-banner) .sticky-cta { bottom: 120px; }

/* ---------- the guided flow ---------- */
.flow { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: flex; flex-direction: column; animation: sheet .32s cubic-bezier(.2, .8, .2, 1) both; }
.flow[hidden] { display: none; }
.flow-head { display: flex; align-items: center; gap: 6px; padding: 8px 8px 0; }
.progress { flex: 1; display: flex; gap: 6px; align-items: center; }
.progress .seg { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; position: relative; }
.progress .seg::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.progress .seg.done::after, .progress .seg.now::after { transform: scaleX(1); }
.progress .seg.now::after { background: linear-gradient(90deg, var(--blue), #6aa5ff); }
.flow-goal { padding: 10px 16px 10px; margin: 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 22px; }
.flow-goal b { color: var(--ink); }
.flow-goal .step-of { margin-left: auto; font-weight: 800; color: var(--blue); }
.flow-body { flex: 1; overflow-y: auto; padding: 8px 20px 24px; -webkit-overflow-scrolling: touch; }
.flow-inner { max-width: 520px; margin: 0 auto; }
.flow-inner.anim-fwd { animation: slideIn .35s ease both; }
.flow-inner.anim-back { animation: slideBack .35s ease both; }
.flow h2 { font-size: 30px; line-height: 1.12; margin: 18px 0 8px; font-weight: 900; letter-spacing: -.5px; }
.flow .sub { color: var(--ink-2); margin: 0 0 22px; font-size: 18px; }
.flow-foot { padding: 12px 20px calc(14px + var(--safe-b)); display: flex; flex-direction: column; align-items: center; gap: 6px; border-top: 1px solid var(--line); background: #fff; }
.flow-foot:empty { display: none; }
.flow-foot .hint { font-size: 14px; color: var(--ink-3); margin: 0; text-align: center; }

.choices { display: grid; gap: 12px; }
.choice { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 16px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; transition: border-color .15s, background .15s, transform .12s; min-height: 64px; position: relative; }
.choice:active { transform: scale(.98); }
.choice[aria-pressed="true"], .choice[aria-checked="true"] { border-color: var(--blue); background: var(--blue-soft); }
.choice .c-emoji { font-size: 28px; width: 44px; text-align: center; flex: none; }
.choice strong { display: block; font-size: 19px; line-height: 1.25; }
.choice small { display: block; color: var(--ink-2); font-size: 15px; }
.choice .c-tag { margin-left: auto; font-size: 13px; font-weight: 800; color: #0b6e3a; background: var(--green-soft); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.choice .c-count { margin-left: auto; font-weight: 800; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.choice.big { padding: 20px 16px; }
.choice.big .c-emoji { font-size: 34px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--blue-soft); border-radius: 16px; }
.choice.big[aria-pressed="true"] .c-emoji { background: #fff; }
.choice .tick { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.choice[aria-checked="true"] .tick, .choice[aria-pressed="true"] .tick { background: var(--blue); border-color: var(--blue); }
.choice[aria-checked="true"] .tick::after, .choice[aria-pressed="true"] .tick::after { content: ""; width: 10px; height: 6px; border: 3px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }

.label { font-weight: 800; font-size: 18px; margin: 26px 0 10px; }
.label small { display: block; font-weight: 600; color: var(--ink-3); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 0 16px; min-height: 44px; font-weight: 700; font-size: 16px; transition: all .15s; }
.chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }

.field { display: block; margin: 0 0 16px; }
.field span { display: block; font-weight: 800; margin-bottom: 6px; font-size: 17px; }
.input { width: 100%; font: inherit; font-size: 20px; padding: 14px 16px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; color: var(--ink); min-height: 56px; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 99, 230, .15); }
textarea.input { min-height: 90px; resize: vertical; font-size: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 16px; cursor: pointer; }
.check input { width: 26px; height: 26px; margin: 0; flex: none; accent-color: var(--blue); }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); background: var(--bg-soft); border-radius: var(--radius-sm); padding: 12px 14px; margin: 16px 0 0; }
.note b { color: var(--ink); }
.err { color: #b42328; font-weight: 700; font-size: 16px; margin: 10px 0 0; }
.linkish { background: none; border: 0; color: var(--blue); font-weight: 800; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }

.locate { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); border: 0; background: linear-gradient(135deg, #1463e6, #3b8cff); color: #fff; text-align: left; box-shadow: 0 10px 26px rgba(20, 99, 230, .3); }
.locate .c-emoji { font-size: 30px; }
.locate strong { display: block; font-size: 20px; }
.locate small { opacity: .9; font-size: 15px; }
.or { text-align: center; color: var(--ink-3); font-weight: 700; margin: 18px 0 12px; font-size: 15px; }
.place-list { display: grid; gap: 10px; margin-top: 10px; }
.place-list .choice { min-height: 58px; padding: 12px 14px; }
.place-list .c-emoji { font-size: 22px; width: 32px; }
.skeleton { height: 58px; border-radius: var(--radius-sm); background: linear-gradient(90deg, #eef2f8 25%, #f7f9fc 50%, #eef2f8 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

/* the card other people will see */
.me-card { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); padding: 18px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.me-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, #14a85c, #1463e6); }
.me-row { display: flex; gap: 14px; align-items: center; }
.avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 22px; flex: none; position: relative; }
.avatar.ring::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid #3ee08a; animation: ping 2.2s ease-out infinite; }
.me-name { font-size: 21px; font-weight: 900; line-height: 1.15; }
.me-meta { color: var(--ink-2); font-size: 15px; }
.me-intro { margin: 14px 0 0; font-size: 18px; font-weight: 600; }
.me-nodate { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #a3361b; background: #fff1ec; border-radius: 10px; padding: 6px 10px; display: inline-block; }
.hint { font-size: 14px; color: var(--ink-3); }
.me-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.me-topics span { background: var(--bg-soft); border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.me-hi { margin-top: 14px; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; opacity: .85; }
.see-as { text-align: center; color: var(--ink-3); font-size: 14px; font-weight: 700; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .6px; }

/* live */
.live-hero { text-align: center; padding-top: 10px; }
.live-hero .big-emoji { font-size: 64px; line-height: 1; animation: pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.radar { position: relative; width: 96px; height: 96px; margin: 4px auto 0; display: grid; place-items: center; }
.radar::before, .radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(20, 168, 92, .45); animation: radar 2.6s ease-out infinite; }
.radar::after { animation-delay: 1.3s; }
.radar .avatar { width: 68px; height: 68px; font-size: 24px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
/* "See who's coming": the hour grid and the big count */
.hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hour { display: grid; place-items: center; gap: 2px; min-height: 76px; padding: 10px 6px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; transition: border-color .15s, background .15s, transform .12s; }
.hour:active { transform: scale(.97); }
.hour strong { font-size: 21px; font-weight: 900; line-height: 1.1; }
.hour small { color: var(--ink-2); font-size: 14px; }
.hour:first-child { border-color: var(--green); background: var(--green-soft); }
.hour[aria-checked="true"] { border-color: var(--blue); background: var(--blue-soft); }
/* "Going as:" over "Robin (👋 Social)" - a button (back to the persona choice) above Count me in */
.going-as { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 0 8px; }
.going-as-label { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.going-as-who { font-size: 17px; color: var(--ink); background: none; border: 0; padding: 2px 8px; border-radius: 10px; }
.going-as-who { text-decoration: underline dotted var(--ink-3); text-underline-offset: 4px; }
button.going-as-who:hover { background: var(--bg-soft); }
.going-as .p-type { background: none; padding: 0; font-size: 15px; }
.p-type, .me-type { display: inline-block; font-size: 13px; font-weight: 800; color: var(--ink-2); background: var(--bg-soft); border-radius: 999px; padding: 1px 9px; }
.me-type { margin: 3px 0 2px; }
.plus-one { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); font-size: 18px; }
.plus-one .plus { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 900; color: var(--blue); background: var(--blue-soft); }
.chip[role="radio"][aria-checked="true"] { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-press); }
.count-hero { text-align: center; padding-top: 6px; }
.count-n { display: block; font-size: 84px; font-weight: 900; line-height: 1; color: var(--blue); margin-bottom: 6px; animation: pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.timeline { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 0; }
.timeline li { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.timeline .t-dot { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 15px; font-weight: 900; background: var(--line); color: var(--ink-2); }
.timeline .done .t-dot { background: var(--green); color: #fff; }
.timeline .wait .t-dot { background: #fff4dc; color: #a26a00; animation: breathe 2s ease-in-out infinite; }
.timeline strong { display: block; font-size: 18px; }
.timeline small { color: var(--ink-2); font-size: 15px; }
.notify-btn { margin-top: 10px; min-height: 46px; font-size: 16px; }
.notify-hint { display: block; margin-top: 6px; font-size: 14px !important; }
.notify-on, .notify-off { margin: 8px 0 0; font-size: 15px; font-weight: 700; padding: 8px 12px; border-radius: 12px; }
.notify-on { background: var(--green-soft); color: #0b6e3a; }
.notify-off { background: var(--bg-soft); color: var(--ink-2); font-weight: 600; }
.people { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.person { flex: none; width: 128px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 10px; text-align: center; background: #fff; }
.person .avatar { margin: 0 auto 8px; }
.person b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person small { color: var(--ink-2); font-size: 13px; display: block; }
.person .btn { min-height: 36px; padding: 0 14px; font-size: 14px; margin-top: 8px; }
.foot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 480px; }
.foot-pair .btn { min-height: 54px; font-size: 17px; padding: 0 12px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

/* events */
.ev-list { display: grid; gap: 14px; }
.ev { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s; }
.ev:active { transform: scale(.98); }
.ev-img { height: 130px; background-size: cover; background-position: center; display: grid; place-items: center; font-size: 48px; position: relative; }
.ev-when { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .95); border-radius: 12px; padding: 4px 10px; font-weight: 800; font-size: 14px; color: var(--ink); }
.ev-price { position: absolute; right: 12px; top: 12px; background: var(--green); color: #fff; border-radius: 12px; padding: 4px 10px; font-weight: 800; font-size: 14px; }
.ev-body { padding: 14px 16px 16px; }
.ev-body strong { font-size: 20px; line-height: 1.2; display: block; }
.ev-body small { color: var(--ink-2); font-size: 15px; display: block; margin-top: 4px; }
.ev-go { margin-top: 10px; font-weight: 800; color: var(--blue); }
.empty { text-align: center; padding: 18px 8px; }
.empty .big-emoji { font-size: 56px; }
.empty h3 { margin: 8px 0 6px; font-size: 22px; }
.empty p { color: var(--ink-2); margin: 0 0 16px; }

/* ---------- story ---------- */
.story { position: fixed; inset: 0; z-index: 60; background: #061637; color: #fff; display: flex; flex-direction: column; animation: fade .25s ease both; }
.story[hidden] { display: none; }
.story-bars { display: flex; gap: 4px; padding: 12px 12px 0; position: relative; z-index: 3; }
.story-bars span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.story-bars i { display: block; height: 100%; width: 0; background: #fff; }
.story-bars .done i { width: 100%; }
.story-bars .now i { animation: fill var(--dur, 6s) linear forwards; }
.story.paused .story-bars .now i { animation-play-state: paused; }
.story-close { position: absolute; top: 20px; right: 8px; z-index: 4; color: #fff; }
.story-slides { flex: 1; position: relative; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 24px calc(40px + var(--safe-b)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide-art { flex: 1; display: grid; place-items: center; padding: 60px 0 20px; }
.slide-art img { border-radius: 26px; max-height: 46vh; width: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.slide h3 { font-size: 30px; line-height: 1.15; margin: 0 0 10px; font-weight: 900; max-width: 15em; }
.slide p { font-size: 19px; margin: 0; opacity: .9; max-width: 22em; }
.slide .btn { margin-top: 22px; position: relative; z-index: 5; }
.story-nav { position: absolute; top: 60px; bottom: 140px; width: 35%; background: transparent; border: 0; z-index: 2; }
.story-prev { left: 0; } .story-next { right: 0; width: 65%; }
.phone { width: 270px; border-radius: 34px; background: #fff; color: var(--ink); padding: 16px 14px 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); text-align: left; }
.phone .p-bar { width: 70px; height: 6px; border-radius: 6px; background: #e3e8f2; margin: 0 auto 14px; }
.phone .me-card { padding: 12px; box-shadow: none; }
.phone .avatar { width: 42px; height: 42px; font-size: 16px; }
.phone .me-name { font-size: 16px; }
.phone .me-meta { font-size: 12px; }
.phone .me-hi { min-height: 34px; font-size: 14px; margin-top: 10px; }
.bubble { margin-top: 12px; background: var(--green-soft); border-radius: 16px 16px 16px 4px; padding: 10px 12px; font-size: 14px; font-weight: 700; animation: pop .5s .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.slide.on .anim-a { animation: rise .6s .2s ease both; }
.slide.on .anim-b { animation: rise .6s .9s ease both; }

/* ---------- toast + confetti ---------- */
.toast { position: fixed; left: 16px; right: 16px; margin: 0 auto; width: fit-content; bottom: calc(24px + var(--safe-b)); text-align: center; z-index: 80; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); animation: rise .3s ease both; }
.toast[hidden] { display: none; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes slideBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes radar { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes drift { from { translate: 0 0; } to { translate: 160vw 0; } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes breathe { 50% { transform: scale(1.08); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes fill { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- bigger screens: the same column, framed ---------- */
@media (min-width: 700px) {
  .ways { grid-template-columns: 1fr 1fr; }
  .safe { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero { flex-direction: row; align-items: center; justify-content: center; gap: 64px; text-align: left; padding: 90px 48px 60px; min-height: 92vh; }
  .hero::after { display: none; }
  .hero-bg > picture { position: static; }
  .hero-badge { position: absolute; left: 0; right: 0; top: 7%; height: 250px; margin: 0; }
  .hero-bg { display: block; position: relative; order: 2; width: 380px; height: 640px; flex: none; border-radius: 40px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 30, 90, .35); border: 8px solid rgba(255, 255, 255, .9); }
  .hero-copy { display: flex; flex-direction: column; gap: 36px; order: 1; max-width: 520px; position: relative; z-index: 2; }
  .hero h1, .lead { margin-left: 0; }
  .hero-actions { align-items: flex-start; }
  .flow { inset: 4vh auto 4vh 50%; width: 560px; transform: translateX(-50%); border-radius: 28px; box-shadow: var(--shadow-lg); animation: none; }
  .flow-backdrop { position: fixed; inset: 0; background: rgba(6, 22, 55, .45); z-index: 49; }
  .flow-foot { border-radius: 0 0 28px 28px; }
  .story-slides, .story-bars { width: 440px; margin: 0 auto; }
}
.empty.compact { margin: 0 0 18px; padding: 18px 14px; border-radius: var(--radius); background: var(--bg-soft); }
.empty.compact h3 { margin-top: 0; }
/* "Who can see you": Public / Others / Private on one line, then the selected one's card */
.seg-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.seg-btns button { min-height: 46px; border: 0; border-radius: 999px; background: none; font-weight: 800; font-size: 16px; color: var(--ink-2); transition: background .15s, color .15s; }
.seg-btns button[aria-checked="true"] { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(20, 99, 230, .3); }
.seen-note { text-align: center; color: var(--ink-2); font-size: 16px; margin: 14px 0 18px; min-height: 2.6em; }
.note .linkish { padding: 0 2px; }

/* "Going as" persona picker: a bottom sheet over the flow (centred card on wide screens) */
.pp-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.pp-backdrop { position: absolute; inset: 0; background: rgba(10, 25, 60, .45); animation: fade .2s ease both; }
.pp { position: relative; width: 100%; max-width: 520px; max-height: 80vh; overflow-y: auto; background: #fff; border-radius: var(--radius) var(--radius) 0 0; padding: 20px 20px calc(16px + var(--safe-b)); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 12px; animation: sheet .28s cubic-bezier(.2, .8, .2, 1) both; }
.pp h3 { margin: 0; font-size: 22px; outline: none; }
.pp .choice { min-height: 0; padding: 10px 14px; }
.pp .choice .avatar { width: 42px; height: 42px; font-size: 16px; }
.pp .skeleton { height: 62px; }
.pp-more { text-align: center; margin: 0; }
.pp .btn { width: 100%; }
@media (min-width: 900px) { .pp-wrap { align-items: center; } .pp { border-radius: var(--radius); } }
/* count screen, just asking: the "I’m going" option */
.count-join { margin: 18px 0 6px; }
/* "What others see", Public: a globe after the persona type */
.me-public { font-size: 18px; vertical-align: middle; margin-left: 4px; }
/* "Pick location" with a place picked: only that place + "or search for a place"; tapping it shows everything again */
.places-picked #where-prime, .places-picked .place-list .choice[aria-checked="false"], .places-picked .place-list .hint { display: none; }
/* "Search for a place" on "Pick location": secondary, so Continue stays the one main button */
.locate.locate-soft { background: #fff; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.locate.locate-soft small { color: var(--ink-2); }
/* "Pick location": Recent and Near me on one line */
.where-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.where-tab { min-height: 56px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; font-weight: 800; font-size: 17px; color: var(--ink); }
.where-tab span { font-size: 20px; margin-right: 2px; }
.where-tab[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(20, 99, 230, .28); }
/* Recent rows: the place + a pin */
.place-row { display: flex; align-items: center; gap: 8px; }
.place-row .choice { flex: 1; min-width: 0; }
.pin-btn { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-size: 20px; filter: grayscale(1); opacity: .55; }
.pin-btn[aria-pressed="true"] { filter: none; opacity: 1; border-color: var(--amber); background: #fff7e6; }
/* the Recent / Near me buttons always stay; only the other places hide */
.places-picked .place-row:has(.choice[aria-checked="false"]) { display: none; }
