/* Buskr — site layer. Loaded after home.css (which still carries the street band, the app tour and the replica).
   Follows .claude/skills/landing-page-design: named text styles on a fixed scale, a fixed spacing scale, Tailwind
   radii, flat backgrounds (the only gradient is on the hero heading text), one weighted motion curve.
   Headings stay in Fredoka to match the wordmark (the founder's call); body text is Manrope. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f6f3ec; --ink: #161a24; --muted: #5a6376; --muted-2: #8a93a5; --line: rgba(22,26,36,0.10); --line-2: rgba(22,26,36,0.18);
  --brand: #2e9bf0; --brand-deep: #1668d8; --gold: #b45309; --live: #15803d; --surface: #ffffff;
  --sans: "Manrope", "Avenir Next", system-ui, sans-serif;
  --display: "Fredoka", "Avenir Next Rounded", "Nunito", sans-serif;
  /* spacing scale (B2) */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px; --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;
  /* radii (B3) */
  --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px;
  /* motion (B7) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1); --dur: 500ms; --dur-fast: 300ms;
  --maxw: 1160px;
}

html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); letter-spacing: 0; overflow-x: clip; }   /* clip, not hidden: hidden makes body a scroll container and kills position: sticky */
body.menu-open { overflow: hidden; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-300); }
[id] { scroll-margin-top: var(--s-900); }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- text styles (B1): one class per style, sizes on the scale ---------- */
.heading-1 { font: 600 60px/1 var(--display); letter-spacing: -0.03em; }
.heading-2 { font: 600 48px/1 var(--display); letter-spacing: -0.025em; }
.heading-3 { font: 600 36px/40px var(--display); letter-spacing: -0.02em; }
.heading-4 { font: 600 30px/36px var(--display); letter-spacing: -0.015em; }
.heading-5 { font: 600 24px/32px var(--display); letter-spacing: -0.01em; }
.heading-6 { font: 600 20px/28px var(--display); }
.title-1 { font: 500 20px/28px var(--sans); }
.title-2 { font: 500 18px/28px var(--sans); }
.title-3 { font: 500 16px/24px var(--sans); }
.title-4 { font: 500 14px/20px var(--sans); }
.body-1 { font: 600 16px/24px var(--sans); }
.body-2 { font: 500 16px/24px var(--sans); }
.body-3 { font: 400 16px/24px var(--sans); }
.body-5 { font: 500 14px/20px var(--sans); }
.body-6 { font: 400 14px/20px var(--sans); }
.lead { font: 500 20px/28px var(--sans); }                 /* Title 1 weight on the xl step, for intro paragraphs */
.caption-1 { font: 500 14px/20px var(--sans); }
.caption-2 { font: 400 14px/20px var(--sans); }
.caption-3 { font: 600 12px/16px var(--sans); }
.caption-5 { font: 400 12px/16px var(--sans); }
@media (max-width: 700px) {
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .heading-3 { font-size: 24px; line-height: 32px; }
  .lead { font-size: 18px; line-height: 28px; }
}
.eyebrow { font: 600 12px/16px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 var(--s-200); }
.muted { color: var(--muted); }

/* ---------- buttons (B2 padding, B7 curve, B9 states) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75); padding: var(--s-75) var(--s-100); min-height: 44px; border-radius: var(--r-xl); border: 1px solid transparent; text-decoration: none; cursor: pointer;
  font: 600 16px/24px var(--sans); transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.btn.lg { padding: var(--s-100) var(--s-300); font-size: 18px; line-height: 28px; min-height: 52px; }
.btn.sm { font-size: 14px; line-height: 20px; min-height: 36px; }
.btn-brand { background: var(--brand-deep); color: #fff; }
.btn-brand:hover { background: #1256b8; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; }
.textlink { color: var(--brand-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease); }
.textlink:hover { color: var(--ink); }
.skip { position: absolute; left: var(--s-200); top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); transition: top var(--dur-fast) var(--ease); }
.skip:focus { top: var(--s-200); }

/* ---------- navigation (B7): a floating pill, blurred, sized to its content ---------- */
header.site { position: fixed; top: var(--s-200); left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; padding: 0 var(--s-200); }
.nav { pointer-events: auto; display: flex; align-items: center; gap: var(--s-300); padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200); border-radius: 9999px; background: rgba(255,255,255,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(22,26,36,0.08); box-shadow: 0 10px 30px -18px rgba(22,26,36,0.35); transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease); }
header.site.scrolled .nav { background: rgba(255,255,255,0.86); box-shadow: 0 14px 34px -16px rgba(22,26,36,0.4); }
.nav .brand img { display: block; height: 26px; width: auto; }
.nav .links { display: flex; gap: var(--s-200); }
.nav .links a { font: 500 14px/20px var(--sans); color: var(--muted); text-decoration: none; padding: var(--s-50) var(--s-75); border-radius: 9999px; transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.nav .links a:hover { color: var(--ink); background: rgba(22,26,36,0.05); }
.nav .links a.current { color: var(--ink); background: rgba(22,26,36,0.07); }
.nav .menu { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 9999px; position: relative; cursor: pointer; }
.nav .menu svg { position: absolute; inset: 8px; width: 24px; height: 24px; transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease); }
.nav .menu .i-x { opacity: 0; transform: rotate(-90deg) scale(.6); }
body.menu-open .nav .menu .i-list { opacity: 0; transform: rotate(90deg) scale(.6); }
body.menu-open .nav .menu .i-x { opacity: 1; transform: none; }
.menu-panel { position: fixed; inset: 0; z-index: 40; background: rgba(246,243,236,0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; padding: var(--s-900) var(--s-300); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur); }
body.menu-open .menu-panel { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease); }
.menu-panel a { display: block; font: 600 30px/36px var(--display); color: var(--ink); text-decoration: none; padding: var(--s-100) 0; opacity: 0; transform: translateY(var(--s-300)); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
body.menu-open .menu-panel a { opacity: 1; transform: none; }
.menu-panel a:nth-child(2) { transition-delay: 60ms; } .menu-panel a:nth-child(3) { transition-delay: 120ms; } .menu-panel a:nth-child(4) { transition-delay: 180ms; } .menu-panel a:nth-child(5) { transition-delay: 240ms; }
@media (max-width: 760px) { .nav .links, .nav .cta-link { display: none; } .nav .menu { display: block; } .nav { gap: var(--s-100); padding-right: var(--s-50); } }

/* ---------- reveals (B7): rise 32px, fade, once ---------- */
.rv { opacity: 0; transform: translateY(var(--s-400)); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 80ms; } .rv.d2 { transition-delay: 160ms; } .rv.d3 { transition-delay: 240ms; }

/* ---------- hero (B5) ---------- */
.hero { padding: calc(var(--s-900) + var(--s-500)) 0 var(--s-700); background: var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-300); align-items: center; }
.hero h1 { margin: 0 0 var(--s-300); max-width: 680px; background: linear-gradient(90deg, var(--ink) 0%, #666666 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .accent { background: linear-gradient(90deg, var(--brand) 0%, var(--brand-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin: 0 0 var(--s-400); max-width: 680px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: var(--s-200); flex-wrap: wrap; }
.hero .proof { margin: var(--s-300) 0 0; color: var(--muted); display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-200); }
.hero .proof span { display: inline-flex; align-items: center; gap: var(--s-50); }
.hero .proof svg { width: 16px; height: 16px; color: var(--live); }
.hero .alt { margin: var(--s-200) 0 0; color: var(--muted); }
.hero-art { position: relative; min-width: 0; }
.hero-art > img, .hero-art > svg { display: block; width: 100%; height: auto; }
/* the render sits still (no float) and runs a little past its column so it reads large */
.hero-art > img { width: 124%; max-width: none; margin: -4% -12% -6% -12%; animation: none; filter: none; }
@keyframes artFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-art .pin-pulse { position: absolute; left: var(--pin-x, 46.5%); top: var(--pin-y, 26%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none; }
.hero-art .pin-pulse::before, .hero-art .pin-pulse::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2.5px solid var(--brand); opacity: 0; animation: pinRing 2.6s var(--ease) infinite; }
.hero-art .pin-pulse::after { animation-delay: 1.3s; }
@keyframes pinRing { 0% { transform: scale(.3); opacity: .85; } 100% { transform: scale(2.4); opacity: 0; } }
@media (max-width: 960px) { .hero { padding-top: var(--s-900); } .hero-grid { grid-template-columns: 1fr; gap: var(--s-300); } .hero-art { margin: 0 calc(-1 * var(--s-200)); } .hero-art > img { width: 100%; margin: 0; } }

/* ---------- sections ---------- */
section.sec { padding: var(--s-900) 0; }
section.sec.tight { padding: var(--s-700) 0; }
.sec-head { max-width: 680px; margin-bottom: var(--s-600); }
.sec-head h2 { margin: 0 0 var(--s-200); }
.sec-head p { margin: 0; color: var(--muted); }
.two { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s-700); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: var(--s-400); } }

/* tagline reveal (B11) */
.tagline { padding: var(--s-900) 0; }
.tagline p { margin: 0 auto; max-width: 680px; text-align: center; }
.tagline .w { display: inline-block; color: rgba(22,26,36,0.28); transition: color 600ms var(--ease); }
.tagline .w.on { color: var(--ink); }
.tagline .w.g.on { color: var(--gold); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-300); }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3xl); padding: var(--s-400); display: flex; flex-direction: column; gap: var(--s-100); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.benefit:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -30px rgba(22,26,36,0.35); }
.benefit .ic { width: 44px; height: 44px; border-radius: var(--r-xl); background: rgba(46,155,240,0.12); color: var(--brand-deep); display: grid; place-items: center; margin-bottom: var(--s-50); }
.benefit .ic svg { width: 24px; height: 24px; }
.benefit h3 { margin: 0; }
.benefit p { margin: 0; color: var(--muted); }

/* money table */
.money { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3xl); padding: var(--s-400); }
.money table { width: 100%; border-collapse: collapse; margin-top: var(--s-200); }
.money caption { text-align: left; margin-bottom: var(--s-100); }
.money th, .money td { padding: var(--s-100) 0; border-bottom: 1px solid var(--line); text-align: right; }
.money th[scope="row"] { text-align: left; color: var(--muted); font-weight: 500; }
.money th[scope="row"] span { display: block; color: var(--muted-2); font-weight: 400; }
.money thead th { color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }
.money tr.you th, .money tr.you td { border-bottom: 0; color: var(--ink); }
.money tr.you td { color: var(--live); font-weight: 600; }
.money .foot { margin: var(--s-200) 0 0; color: var(--muted); }

/* how it works */
.hsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-300); counter-reset: step; }
@media (max-width: 760px) { .hsteps { grid-template-columns: 1fr; } }
.hstep { position: relative; padding: var(--s-400); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3xl); }
.hstep .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9999px; background: var(--ink); color: #fff; font: 600 14px/20px var(--sans); margin-bottom: var(--s-200); }
.hstep h3 { margin: 0 0 var(--s-75); }
.hstep p { margin: 0; color: var(--muted); }

/* facts strip (proof that is true today) */
.facts-strip { display: flex; flex-wrap: wrap; gap: var(--s-200) var(--s-500); justify-content: center; padding: var(--s-400) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-strip span { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--muted); }
.facts-strip svg { width: 18px; height: 18px; color: var(--brand-deep); }

/* the tour: the old layout, with the skill's spacing */
#tour .tour-grid { margin-top: 0; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-200); padding: var(--s-300) 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--brand-deep); transition: transform var(--dur) var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0 0 var(--s-300); color: var(--muted); max-width: 640px; }

/* final CTA + risk reversal */
.final { background: var(--ink); color: #fff; border-radius: var(--r-3xl); padding: var(--s-800) var(--s-400); text-align: center; }
.final h2 { margin: 0 auto var(--s-200); max-width: 680px; color: #fff; }
.final p { margin: 0 auto var(--s-400); max-width: 560px; color: rgba(255,255,255,0.78); }
.final .risk { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-100) var(--s-300); margin: var(--s-400) auto 0; color: rgba(255,255,255,0.72); }
.final .risk span { display: inline-flex; align-items: center; gap: var(--s-50); }
.final .risk svg { width: 16px; height: 16px; color: #7fd49a; }
.final .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.final .btn-ghost:hover { border-color: #fff; }

/* the street, as the floor under the final card */
.stage { position: relative; overflow: hidden; background: var(--paper); --band: clamp(150px, 22vw, 320px); padding-top: var(--s-700); }
.stage .street { margin-top: 0; }
@media (max-width: 640px){ .stage { --band: clamp(150px, 46vw, 240px); } }

/* footer */
footer.site2 { background: var(--ink); color: rgba(255,255,255,0.7); padding: var(--s-700) 0 var(--s-500); }
footer.site2 .foot { display: flex; flex-direction: column; gap: var(--s-300); }
footer.site2 .wordmark { height: 26px; width: auto; }
footer.site2 nav { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); }
footer.site2 nav a { color: rgba(255,255,255,0.78); text-decoration: none; font: 500 14px/20px var(--sans); transition: color var(--dur-fast) var(--ease); }
footer.site2 nav a:hover { color: #fff; }
footer.site2 .fine { font: 400 12px/16px var(--sans); color: rgba(255,255,255,0.5); }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: var(--s-900) var(--s-300); }
.lost h1 { margin: 0 0 var(--s-200); }
.lost p { color: var(--muted); margin: 0 0 var(--s-400); }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: opacity 300ms var(--ease); }
  .tagline .w { transition: none; color: var(--ink); }
  .hero-art img, .hero-art .pin-pulse::before, .hero-art .pin-pulse::after { animation: none; }
  .menu-panel a { transform: none; transition: opacity var(--dur-fast) var(--ease); }
}

/* ---------- hero visual: the product itself (B5: product screenshot, not a drawing) ----------
   The performer's side of the app in a phone, their printed tip sign beside it, and a tip arriving.
   Sized with container units so the whole composition scales from 358px to 560px. Only transform
   and opacity move; the cards enter once when the hero reveals. */
.hv { position: relative; width: min(100%, 560px); margin: 0 auto; aspect-ratio: 5 / 6; container-type: inline-size; }
.hv-phone { position: absolute; left: 50%; top: 2%; width: 54%; max-width: 300px; aspect-ratio: 300 / 620; transform: translateX(-50%); border-radius: 15cqw; padding: 1.4cqw; background: linear-gradient(165deg, #2a3142, #11151f); border: 1px solid rgba(22,26,36,0.35); box-shadow: 0 30px 60px rgba(22,26,36,0.22), inset 0 1px 0 rgba(255,255,255,0.12); }
.hv-screen { position: relative; height: 100%; border-radius: 13cqw; overflow: hidden; background: #e8ebe6; isolation: isolate; }
.hv-tiles { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.hv-island { position: absolute; left: 50%; top: 2.2cqw; width: 20cqw; height: 6cqw; border-radius: 4cqw; background: #000; transform: translateX(-50%); z-index: 4; }
.hv-status { position: absolute; left: 50%; top: 11cqw; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 1.2cqw; padding: 1.4cqw 2.4cqw; border-radius: 9999px; background: rgba(255,255,255,0.96); box-shadow: 0 2px 8px rgba(0,0,0,0.18); font: 600 clamp(9px, 2.4cqw, 13px)/1.2 var(--sans); color: #111; white-space: nowrap; }
.hv-status i { width: 1.6cqw; height: 1.6cqw; min-width: 6px; min-height: 6px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 3px rgba(52,199,89,0.3); }
.hv-pin { position: absolute; width: 8cqw; height: 8cqw; transform: translate(-50%, -50%); z-index: 2; }
.hv-pin .ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(0,122,255,0.18); }
.hv-pin.live .ring { box-shadow: 0 0 0 0.6cqw #34C759, 0 0 0 1.4cqw rgba(52,199,89,0.35); animation: hvBreathe 0.91s ease-in-out infinite alternate; }
.hv-pin .disc { position: absolute; inset: 0.4cqw; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.hv-pin .disc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-pin .lbl { position: absolute; top: 9cqw; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,0.95); border-radius: 1.4cqw; box-shadow: 0 2px 4px rgba(0,0,0,0.2); padding: 0.8cqw 1.6cqw; white-space: nowrap; text-align: center; font: 600 clamp(8px, 2.1cqw, 12px)/1.25 var(--sans); color: #111; }
.hv-pin .lbl i { display: block; font-style: normal; font-weight: 500; font-size: 0.86em; color: #007AFF; }
.hv-pin.you { width: 11cqw; height: 11cqw; z-index: 3; }
.hv-pin.you .lbl { top: 12cqw; }
.hv-pin.small { width: 6.4cqw; height: 6.4cqw; }
.hv-pin.small .lbl { top: 7.4cqw; }
@keyframes hvBreathe { from { box-shadow: 0 0 0 0.6cqw #34C759, 0 0 0 1.4cqw rgba(52,199,89,0.25); } to { box-shadow: 0 0 0 0.6cqw #34C759, 0 0 0 1.4cqw rgba(52,199,89,0.75); } }
.hv-toast { position: absolute; left: 2.4cqw; right: 2.4cqw; top: 18.5cqw; z-index: 5; display: flex; align-items: center; gap: 2cqw; padding: 2cqw 2.4cqw; border-radius: 3.6cqw; background: rgba(255,255,255,0.97); box-shadow: 0 6px 20px rgba(0,0,0,0.2); font: 500 clamp(8px, 2.2cqw, 12px)/1.3 var(--sans); color: #111; }
.hv-toast img { width: 7cqw; height: 7cqw; border-radius: 50%; object-fit: cover; flex: none; }
.hv-toast b { display: block; font-weight: 700; }
.hv-toast span { color: #6b7280; }
.hv-card { position: absolute; z-index: 6; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); box-shadow: 0 18px 40px rgba(22,26,36,0.14); }
.hv-qr { left: 0; bottom: 4%; width: 42%; max-width: 230px; padding: 3cqw; transform: rotate(-3deg); }
.hv-qr svg { display: block; width: 100%; height: auto; border-radius: var(--r-md); background: #fff; }
.hv-qr .t { margin: 2.4cqw 0 0; font: 700 clamp(12px, 3.6cqw, 20px)/1.15 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.hv-qr .s { margin: 0.8cqw 0 0; font: 500 clamp(9px, 2.3cqw, 13px)/1.3 var(--sans); color: var(--muted); }
.hv-tip { right: 0; top: 60%; width: 44%; max-width: 250px; padding: 3cqw; display: grid; grid-template-columns: auto 1fr; gap: 2.4cqw; align-items: center; }
.hv-tip .ic { width: 8cqw; height: 8cqw; max-width: 44px; max-height: 44px; border-radius: 50%; background: rgba(52,199,89,0.14); color: #1f9d49; display: grid; place-items: center; }
.hv-tip .ic svg { width: 60%; height: 60%; }
.hv-tip b { display: block; font: 700 clamp(13px, 4cqw, 22px)/1.1 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.hv-tip span { display: block; margin-top: 0.6cqw; font: 500 clamp(9px, 2.3cqw, 13px)/1.3 var(--sans); color: var(--muted); }
/* entrance: once, when the hero reveals (.rv.in on the art), staggered */
.hv-card, .hv-toast { opacity: 0; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.hv-card { transform: translateY(24px); }
.hv-qr { transform: translateY(24px) rotate(-3deg); }
.hv-toast { transform: translateY(-16px); }
.hero-art.in .hv-tip { opacity: 1; transform: translateY(0); transition-delay: 350ms; }
.hero-art.in .hv-qr { opacity: 1; transform: translateY(0) rotate(-3deg); transition-delay: 550ms; }
.hero-art.in .hv-toast { opacity: 1; transform: translateY(0); transition-delay: 1200ms; }
.hv-phone { animation: hvFloat 7s var(--ease) infinite; }
@keyframes hvFloat { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .hv-phone, .hv-pin.live .ring { animation: none; }
  .hv-card, .hv-toast { transform: none; transition: opacity var(--dur) var(--ease); }
  .hv-qr { transform: rotate(-3deg); }
}

/* ---------- hero scene: the city rising out of the phone (tools/site/build_hero.py) ----------
   Three SVG layers at different depths inside one perspective box; the pointer (or the scroll on
   touch screens) tilts the box a few degrees so the city parts from the phone. Transform only. */
.h3 { position: relative; width: min(100%, 620px); margin: 0 auto; aspect-ratio: 900 / 780; perspective: 1400px; transform-style: preserve-3d; --rx: 0deg; --ry: 0deg; }
.h3l { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--z, 0)); transition: transform 500ms var(--ease); will-change: transform; }
.h3 .pin, .h3 .pulse, .h3 .coin, .h3 .busker { transform-box: fill-box; transform-origin: center; }
.h3 .pin { animation: h3Bob 3.2s var(--ease) infinite; }
@keyframes h3Bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.h3 .pulse { animation: h3Pulse 2.6s var(--ease) infinite; }
@keyframes h3Pulse { 0% { transform: scale(0.35); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.h3 .coin { opacity: 0; animation: h3Coin 4.2s var(--ease) infinite; }
.h3 .coin.c2 { animation-delay: 2.1s; }
@keyframes h3Coin { 0% { transform: translateY(6px); opacity: 0; } 18% { opacity: 1; } 72% { opacity: 1; } 100% { transform: translateY(-38px); opacity: 0; } }
.h3 .busker { transform-origin: 50% 100%; animation: h3Sway 1.15s var(--ease) infinite alternate; }
@keyframes h3Sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.h3 .route { animation: h3March 1.4s var(--ease) infinite; }
@keyframes h3March { from { stroke-dashoffset: 7.6; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .h3 .pin, .h3 .pulse, .h3 .coin, .h3 .busker, .h3 .route { animation: none; }
  .h3 .coin { opacity: 1; } .h3 .pulse { opacity: 0.5; transform: scale(1); }
  .h3l { transform: none; transition: none; }
}

/* ---------- the app tour ----------
   Desktop: the phone is pinned beside the four steps (home.css + the block below).
   Phone screens: a phone inside a phone can only be small, so instead of scrolling text under a
   pinned replica, the tour becomes one block: the replica at a size that stays readable, the
   four tabs, and the active step's caption right under them (tour.js moves it there). Nothing to
   scroll back to. */
.step .num { font: 600 12px/16px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-100); }
.step .try { font: 500 14px/20px var(--sans); letter-spacing: 0; text-transform: none; color: var(--brand-deep); margin-top: var(--s-150); }
.tour-cap { display: none; }
@media (max-width: 920px) {
  .tour-grid { display: block; }
  .tour-steps { display: none; }
  .phone-rail { display: block; }
  .phone-sticky { position: relative; top: auto; display: block; margin: 0; padding: 0; background: none; box-shadow: none; }
  .phone-sticky > div { display: flex; flex-direction: column; align-items: center; }
  .phone-sticky .phone { width: min(340px, 88vw, 32vh); }
  .phone-sticky .phone-tabs { margin-top: var(--s-200); }
  .tour-cap { display: block; width: 100%; max-width: 480px; margin: var(--s-300) auto 0; padding: var(--s-300); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); text-align: left; }
  .tour-cap .num { margin-bottom: var(--s-75); }
  .tour-cap h3 { font: 600 20px/28px var(--display); margin: 0 0 var(--s-100); }
  .tour-cap p { margin: 0; color: var(--muted); font: 400 16px/24px var(--sans); }
  .tour-cap .try { display: block; }
}

/* Desktop tour: room under the last step so the phone stays pinned while it is read, and a
   phone that fits shorter laptop screens */
@media (min-width: 921px) {
  .tour-steps { padding-bottom: 42vh; }
  .phone-sticky { top: 84px; }
  .phone-sticky .phone { width: min(340px, calc((100vh - 190px) * 0.486)); }
}
