/* app.stuntbuddy.co: the app's look -- black, gold, Barlow -- for the home
   page (an advert for the gauge and the app), shared rides and profiles.
   Rides and profiles are laid out like the share pages people know. */
:root {
  --bg: #000;
  --surface: #111214;
  --surface-alt: #1b1d21;
  --border: #25282d;
  --gold: #ffb020;
  --on-gold: #17130a;
  --text: #f2f3f5;
  --soft: #c3c8cf;
  --muted: #8e949c;
  --grey-stripe: #8e949c;
  --red-stripe: #ff3b30;
  /* The app's trick colours (lib/models/ride_log.dart). */
  --wheelie: #ffb020;
  --stoppie: #3dd6c0;
  --circles: #9b8cff;
  --draggie: #ff6b6b;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
html { scroll-behavior: smooth; }
body {
  font-family: Barlow, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; }
.muted { color: var(--muted); }

/* ------------------------------------------------------------ top bar -- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-in {
  max-width: 560px; margin: 0 auto;
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.home .topbar-in, .home .foot-in { max-width: 1120px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand span { font-weight: 800; font-size: 13px; letter-spacing: 2.5px; }
.pill {
  background: #2A2D33; color: #F2F3F5;
  font-weight: 800; font-size: 14px;
  padding: 8px 16px; border-radius: 999px;
  transition: transform .15s ease;
}
.pill:hover { transform: translateY(-1px); }

/* Home only: What it tracks / Gauge / FAQ between the brand and the pill
   (the owner, 25 Nov 2026). On a phone they take a row of their own. */
.topnav { display: flex; align-items: center; gap: 2px; margin-left: auto; margin-right: 14px; }
.topnav a {
  color: var(--soft); font-weight: 700; font-size: 14px;
  padding: 8px 12px; border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.topnav a:hover { color: var(--text); background: var(--surface-alt); }
/* One row on a phone (the owner, 25 Nov 2026: buttons never stack): the
   logo mark without the wordmark, the three links, and a short pill. */
.pill-short { display: none; }
@media (max-width: 639px) {
  .topbar-in { padding: 8px 12px; gap: 4px; }
  .brand span { display: none; }
  .topnav { margin: 0 4px 0 auto; gap: 0; }
  .topnav a { font-size: 13px; padding: 8px 7px; }
  .pill { padding: 8px 13px; font-size: 13px; white-space: nowrap; }
  .pill-long { display: none; }
  .pill-short { display: inline; }
}

/* The waitlist, until the app is out: email box over the button. */
.waitlist {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; margin: 8px auto 0; align-items: center;
}
.waitlist label { color: var(--muted); font-size: 16px; }
/* Box over button, the same size (the owner, 17 Nov 2026). */
.waitlist-row { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 300px; }
.waitlist-row .btn { width: 100%; min-height: 52px; }
.waitlist input[type=email] {
  flex: 1; min-width: 0;
  min-height: 52px; padding: 0 20px;
  border: 1px solid #3a3e45; border-radius: 999px;
  background: #0b0c0e; color: var(--text);
  font: inherit; font-size: 16px;
}
.waitlist input[type=email]::placeholder { color: var(--muted); }
.waitlist input[type=email]:focus { outline: none; border-color: var(--gold); }
.waitlist .btn { border: 0; cursor: pointer; font-family: inherit; }
.waitlist .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------------- common -- */
.btn {
  min-height: 52px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; text-align: center;
  padding: 0 26px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 30px rgba(255, 176, 32, .22); }
.btn.ghost { border: 1px solid #3a3e45; color: var(--text); }
.btn.ghost:hover { border-color: var(--muted); }
a:focus-visible {
  outline: 3px solid #fff; outline-offset: 2px; border-radius: 8px;
}
.display {
  font-family: var(--cond);
  font-weight: 700; font-size: 34px; line-height: 1.02;
  letter-spacing: -.2px;
}
.caption {
  font-size: 12px; font-weight: 700; color: var(--muted);
  letter-spacing: .6px; text-transform: uppercase;
}
.figure {
  font-family: var(--cond);
  font-weight: 700; font-size: 30px; line-height: 1.1;
}
.eyebrow {
  color: var(--gold);
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 2.4px; text-transform: uppercase;
}
.slogan {
  font-family: var(--cond);
  font-weight: 700; font-size: 13px; letter-spacing: 3px; color: var(--gold);
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .4px;
}
.chip.wheelie { color: var(--wheelie); background: rgba(255, 176, 32, .15); }
.chip.stoppie { color: var(--stoppie); background: rgba(61, 214, 192, .15); }

/* Store badges */
.stores { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.store {
  display: flex; align-items: center; gap: 9px;
  min-width: 156px; padding: 9px 16px;
  border: 1px solid #3a3e45; border-radius: 14px;
  background: #0b0c0e;
  text-align: left; font-weight: 700; font-size: 16px; line-height: 1.1;
  transition: border-color .15s ease, transform .15s ease;
}
.store:hover { border-color: var(--muted); transform: translateY(-1px); }
.store small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); }

/* The logo's three stripes, big, behind something. */
.stripes-bg {
  position: absolute; left: 50%; top: 50%;
  width: 62%; height: 118%;
  transform: translate(-50%, -50%) skewX(-24deg);
  display: flex; gap: 6%; justify-content: center;
  pointer-events: none;
}
.stripes-bg i { display: block; flex: 1; border-radius: 6px; }
.stripes-bg i:nth-child(1) { background: var(--grey-stripe); }
.stripes-bg i:nth-child(2) { background: var(--gold); }
.stripes-bg i:nth-child(3) { background: var(--red-stripe); }

/* ------------------------------------------------------ rides, profiles -- */
.shared { max-width: 640px; margin: 0 auto; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: #2A2D33; color: #F2F3F5;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-weight: 700; font-size: 20px;
  flex: none; position: relative;
}
.display.xl {
  font-size: clamp(40px, 8.4vw, 54px); line-height: .96;
  letter-spacing: -.4px;
}

/* Ride: the map is the picture, the title across its lower edge */
.rmap {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3.3;
  background: #1b2027;
}
.rmap svg, .rmap img { display: block; width: 100%; height: 100%; }
.rmap img { object-fit: cover; }
.rmap::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 52%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .8) 50%, #000 92%);
  pointer-events: none;
}
.rhead { position: relative; z-index: 1; margin-top: -118px; padding: 0 16px; }
.rhead .display { margin: 8px 0 16px; text-shadow: 0 2px 24px rgba(0, 0, 0, .7); }
.who { display: flex; align-items: center; gap: 12px; }
.who strong { font-size: 15px; }
.who .muted { font-size: 13px; }

.rfacts {
  margin: 22px 16px 0;
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 24px; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: 24px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 176, 32, .09), transparent 55%),
    var(--surface);
}
.big .caption { display: block; }
.big strong {
  font-family: var(--cond); font-weight: 700;
  font-size: 68px; line-height: .92; letter-spacing: -.5px;
}
.big small { font-size: 30px; color: var(--soft); margin-left: 3px; }
.tricks { display: flex; flex-direction: column; gap: 10px; }
.trick { display: flex; align-items: center; gap: 12px; color: var(--soft); font-weight: 600; font-size: 15px; }
.trick strong { font-family: var(--cond); font-size: 26px; color: var(--text); margin-right: 6px; }

.ractions { margin: 14px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.btn.big { min-height: 58px; font-size: 17px; gap: 10px; }
.alts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  border: 1px solid var(--border); border-radius: 18px;
  background: var(--surface);
  transition: border-color .15s ease, transform .15s ease;
}
.alt:hover { border-color: #3a3e45; transform: translateY(-1px); }
.alt svg { color: var(--gold); flex: none; }
.alt strong { display: block; font-size: 15px; }
.alt small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.25; }

@media (min-width: 640px) {
  .rmap { margin-top: 20px; border-radius: 28px 28px 0 0; }
  .rhead { padding: 0 28px; }
}

/* Profile: who they are, level, followers, Follow. Nothing about riding
   (decided 30 Sept). The card wears the "Ride more." card's background:
   the gold glow and the logo's stripes, big and faint. */
.pcard {
  position: relative; overflow: hidden;
  margin: 20px 16px 0;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: radial-gradient(70% 90% at 50% 0%, rgba(255, 176, 32, .18), transparent 70%), #08090b;
}
.pcard .stripes-bg { width: 56%; height: 150%; opacity: .14; }
.cover { height: 104px; }
.pbody {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 0 20px 24px;
}
.face { position: relative; margin-top: -74px; margin-bottom: 22px; }
.avatar.big {
  width: 112px; height: 112px; font-size: 52px;
  position: relative;
  border: 5px solid #08090b;
  box-sizing: content-box;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
}
.handle { color: var(--muted); font-size: 16px; margin-top: 6px; }
.pstats {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr;
  width: 100%;
  margin: 22px 0;
  border: 1px solid var(--border); border-radius: 20px;
  background: #0c0d0f;
}
.pstats > div {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 8px; gap: 1px;
}
.pstats > div + div { border-left: 1px solid var(--border); }
.pstats strong { font-family: var(--cond); font-size: 26px; line-height: 1.05; }
.pstats small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pstats .lvl-cell { flex-direction: row; gap: 10px; text-align: left; }
.lvl-cell span:last-child { display: flex; flex-direction: column; }
.lvl-cell strong { font-size: 21px; }
.private {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 18px 0 22px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface-alt); border: 1px solid var(--border);
  font-size: 14px; color: var(--soft);
}
.pbody .btn { align-self: stretch; }

/* Not found, and the old static pages */
.wrap {
  max-width: 560px; margin: 0 auto;
  padding: 22px 16px 8px;
  display: flex; flex-direction: column; gap: 18px;
}
.cta { display: flex; flex-direction: column; }
.empty {
  min-height: 40vh; padding: 0 16px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 10px; text-align: center;
}
.empty p { font-size: 15px; }

/* Under a ride or a profile: the ticker, then the home page's "Ride more."
   card, sized to these narrower pages. Its main rules are with the home
   page's (.closer). */
.shared + .marquee { margin-top: 48px; }
.closer h2 { font-family: var(--cond); font-weight: 700; }
.closer.small { max-width: 640px; margin: 32px 16px 0; border-radius: 32px; }
.closer.small .closer-in { padding: 72px 20px 56px; }
.closer.small h2 { font-size: clamp(72px, 19vw, 132px); }
.closer.small .lede { font-size: 17px; }
.closer.small .store { min-width: 160px; padding: 11px 18px; font-size: 17px; }
.closer-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  color: var(--gold); font-weight: 700; font-size: 14px;
}
@media (min-width: 672px) { .closer.small { margin: 32px auto 0; } }

/* Last line */
.foot { border-top: 1px solid var(--border); margin-top: 34px; }
.foot-in {
  max-width: 560px; margin: 0 auto;
  padding: 22px 16px calc(24px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.foot .brand img { height: 24px; }
.foot .brand span { font-size: 11px; }
.foot nav {
  display: flex; gap: 6px 18px; flex-wrap: wrap; justify-content: center;
  font-size: 14px; color: var(--muted);
}
.foot nav a:hover { color: var(--text); }
/* On a phone the three parts stack, so they all centre (the owner,
   27 Nov 2026 -- logo and RIDE MORE sat left under centred links). */
@media (max-width: 639px) {
  .foot-in { flex-direction: column; justify-content: center; gap: 16px; }
}

/* --------------------------------------------------------------- home -- */
.land { overflow: hidden; }
.land h2 {
  font-family: var(--cond); font-weight: 700;
  font-size: clamp(36px, 5.4vw, 56px); line-height: 1;
  letter-spacing: -.3px;
  margin-top: 10px;
}
.lede { font-size: 18px; color: var(--soft); max-width: 34em; }

.hero {
  max-width: 1120px; margin: 0 auto;
  padding: 44px 16px 56px;
  display: grid; gap: 44px; align-items: center;
}
.hero h1 {
  font-family: var(--cond); font-weight: 700;
  font-size: clamp(54px, 10vw, 96px); line-height: .93;
  letter-spacing: -.5px;
  margin: 14px 0 18px;
}
.hero h1 span { color: var(--gold); }
.hero-cta { margin-top: 28px; }
.hero-cta .stores { justify-content: flex-start; }

.hero-art {
  position: relative;
  width: 100%; max-width: 500px; margin: 0 auto;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-art .stripes-bg { width: 66%; height: 108%; }
.hero-art .rig { width: 44%; }

/* The phone with the real app on it (lib/phone.js, 17 Nov 2026), sized by
   its own width. The top strip is the status bar, left empty but for the
   island (the owner's call); the screenshots start below it, cropped to
   match, and take turns the way Go's card swipes. */
.rig {
  position: relative; z-index: 1;
  aspect-ratio: 9 / 18.6;
  container-type: inline-size;
}
.phone {
  position: absolute; inset: 0; z-index: 1;
  padding: 3cqw; border-radius: 15cqw;
  background: #0d0e10;
  box-shadow: 0 0 0 1.2cqw #2a2c31, 0 40px 80px rgba(0, 0, 0, .75);
}
.ps {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 12cqw;
  background: #0b0c0e;
}
.ps-island {
  position: absolute; z-index: 3; top: 3.5cqw; left: 50%;
  width: 30cqw; height: 8.5cqw; border-radius: 99px;
  transform: translateX(-50%); background: #000;
}
.ps-shots { position: absolute; left: 0; right: 0; bottom: 0; top: 6.1%; }
/* The turns themselves are written by lib/phone.js (they depend on how
   many screens there are). The first shows before anything moves. */
.ps-shots img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0;
}
.ps-shots img:first-child { opacity: 1; }
.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px;
  background: rgba(17, 18, 20, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid #2c3036; border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
  animation: bob 6s ease-in-out infinite;
}
.float small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.float strong { font-family: var(--cond); font-size: 26px; line-height: 1; }
.f1 { left: 0; top: 40%; }
.f2 { right: 0; top: 12%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
/* On a phone (the owner, 25 Nov 2026): a taller stage with a bigger phone
   in it, and smaller floating cards that sit beside the screen instead of
   covering it. */
@media (max-width: 639px) {
  .hero-art { aspect-ratio: 4 / 5; max-width: 420px; }
  .hero-art .stripes-bg { width: 80%; height: 104%; }
  .hero-art .rig { width: 56%; }
  .float { gap: 10px; padding: 9px 12px 9px 9px; border-radius: 14px; }
  .float small { font-size: 11px; }
  .float strong { font-size: 22px; }
  .float .ticon { width: 30px; height: 30px; border-radius: 9px; }
  .float .ring { width: 34px; height: 34px; border-width: 3px; font-size: 16px; }
  .f1 { top: 56%; }
  .f2 { top: 7%; }
}

/* Trick icon, in the trick's colour */
.ticon {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.ticon.wheelie { color: var(--wheelie); background: rgba(255, 176, 32, .15); }
.ticon.stoppie { color: var(--stoppie); background: rgba(61, 214, 192, .15); }
.ticon.circles { color: var(--circles); background: rgba(155, 140, 255, .16); }
.ticon.draggie { color: var(--draggie); background: rgba(255, 107, 107, .15); }
.ring {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 4px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-weight: 700; font-size: 19px;
}
.ring.big { width: 74px; height: 74px; border-width: 6px; font-size: 32px; }

/* Ticker */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: #07080a;
  overflow: hidden; padding: 14px 0;
}
.marquee-in {
  display: flex; align-items: center; width: max-content;
  animation: slide 32s linear infinite;
}
.marquee span {
  font-family: var(--cond); font-weight: 700;
  font-size: 28px; letter-spacing: 1px; white-space: nowrap;
}
.marquee em { font-style: normal; }
.marquee b { color: #34383f; font-size: 12px; margin: 0 24px; }
.marquee .w, .marquee .g { color: var(--wheelie); }
.marquee .s { color: var(--stoppie); }
.marquee .c { color: var(--circles); }
.marquee .d { color: var(--draggie); }
@keyframes slide { to { transform: translateX(-50%); } }

/* How it works */
.steps, .features { max-width: 1120px; margin: 0 auto; padding: 76px 16px 0; }
.steps ol { display: grid; gap: 14px; margin-top: 30px; counter-reset: none; }
.steps li {
  padding: 26px 24px 28px;
  border: 1px solid var(--border); border-radius: 24px;
  background: linear-gradient(180deg, #121316, #0b0c0e);
}
.num {
  font-family: var(--cond); font-weight: 700; font-size: 44px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
}
.steps h3 { font-size: 21px; font-weight: 800; margin: 16px 0 6px; }
.steps p { color: var(--muted); font-size: 15.5px; }
/* Stacked under 700px: the number beside the words rather than above
   them, so three cards fit a phone screen (the owner, 25 Nov 2026). */
@media (max-width: 699px) {
  .steps li {
    display: grid; grid-template-columns: 50px 1fr; column-gap: 14px;
    align-items: start; padding: 20px 20px 22px;
  }
  .steps .num { grid-row: 1 / span 2; font-size: 38px; padding-top: 1px; }
  .steps h3 { margin: 0 0 4px; font-size: 20px; }
}

/* The app, tile by tile */
.bento { display: grid; gap: 14px; margin-top: 30px; }
.tile-f {
  display: flex; flex-direction: column;
  padding: 24px 22px 22px;
  border: 1px solid var(--border); border-radius: 26px;
  background: var(--surface);

  overflow: hidden;
}
.tile-f h3 { font-size: 21px; font-weight: 800; }
.tile-f > p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.tile-f > :last-child { margin-top: auto; padding-top: 22px; }
/* The picture tiles (Share it, Ride it again, the wheelie angle) all alike
   (the owner, 17 Nov 2026): the picture starts right under the words and
   fills the rest of the tile. */
/* The top row the same way (17 Nov 2026): what it shows sits in a panel
   right under the words and fills the rest, so no tile has a gap. */
.tile-f > .mini-list, .tile-f > .mini-level, .tile-f > .mini-board {
  flex: 1; margin-top: 22px; padding: 10px 16px;
  border-radius: 20px; border: 1px solid var(--border); background: #0d0e12;
  display: flex; flex-direction: column; justify-content: center;
}
.tile-f > .mini-level { flex-direction: row; align-items: center; padding: 18px; }
.tile-f > .mini-sticker, .tile-f > .mini-map, .tile-f > .mini-tilt {
  flex: 1; min-height: 250px; margin-top: 22px; padding-top: 0;
  border-radius: 20px; overflow: hidden;
}

.mini-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 15px;
}
.mini-list li:last-child { border-bottom: 0; }
.mini-list strong { margin-left: auto; font-family: var(--cond); font-size: 24px; }

.mini-level { display: flex; align-items: center; gap: 18px; }
.mini-level > div { flex: 1; min-width: 0; }
.mini-level strong { font-family: var(--cond); font-size: 28px; display: block; line-height: 1.1; }
.mini-level small { color: var(--muted); font-size: 13px; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-alt); margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 80%; border-radius: 99px; background: var(--gold); }

.mini-board li {
  display: grid; grid-template-columns: 18px 32px 1fr auto;
  align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 14px;
  font-weight: 700; font-size: 15px;
}
.mini-board li.me { background: rgba(255, 176, 32, .12); }
.mini-board .pos { color: var(--muted); font-size: 13px; }
.mini-board li:first-child .pos { color: var(--gold); }
.mini-board .av {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 176, 32, .16); color: var(--gold);
  font-family: var(--cond); font-size: 16px;
}
.mini-board li.me .av { background: var(--gold); color: var(--on-gold); }
.mini-board strong { font-family: var(--cond); font-size: 24px; }

.mini-sticker {
  display: flex; flex-direction: column;
  border-radius: 20px; padding: 14px 16px 16px;
  background:
    radial-gradient(80% 70% at 80% 10%, rgba(255, 150, 60, .45), transparent 60%),
    radial-gradient(90% 80% at 10% 100%, rgba(40, 90, 150, .55), transparent 60%),
    linear-gradient(160deg, #2a2f38, #101318);
}
.sticker-route { display: block; width: 100%; flex: 1; min-height: 118px; }
.sticker-route path:first-child { stroke: rgba(255, 255, 255, .18); }
.sticker-route path:nth-child(2) { stroke: #fff; }
.sticker-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.sticker-figs small { display: block; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.sticker-figs strong { font-family: var(--cond); font-size: 22px; color: #fff; }

.mini-map {
  position: relative; min-height: 190px; border-radius: 20px; overflow: hidden;
  background:
    repeating-linear-gradient(32deg, transparent 0 38px, #272e37 38px 42px),
    repeating-linear-gradient(-58deg, transparent 0 54px, #232a32 54px 57px),
    #1b2027;
}
.map-route { position: absolute; inset: 6px 10px 50px; width: calc(100% - 20px); height: calc(100% - 56px); }
.mini-btn {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  height: 40px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: #2A2D33; color: #F2F3F5;
  font-weight: 800; font-size: 14px;
}

/* The live tilt dial, as the app draws it: up is a wheelie, down a stoppie.
   Live only -- the peak is never shown (decided). */
.mini-tilt { position: relative; background: #1a1b1e; }
.mini-tilt img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* Questions (17 Nov 2026): the doubts that stop a download, answered. */
.faq { max-width: 1120px; margin: 0 auto; padding: 76px 16px 0; }
.faq-list { margin-top: 26px; display: grid; gap: 10px; max-width: 760px; }
.faq details {
  border: 1px solid var(--border); border-radius: 18px;
  background: var(--surface); padding: 0 20px;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 800; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; color: var(--gold);
  font-size: 24px; font-weight: 600; line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); font-size: 15.5px; padding-bottom: 18px; }
.faq details a { color: var(--gold); }

/* The last word, big */
.closer {
  position: relative; overflow: hidden;
  max-width: 1088px; margin: 84px 16px 0;
  border: 1px solid var(--border); border-radius: 36px;
  background: radial-gradient(70% 90% at 50% 0%, rgba(255, 176, 32, .18), transparent 70%), #08090b;
  text-align: center;
}
.closer .stripes-bg { width: 50%; height: 160%; opacity: .14; }
.closer-in {
  position: relative;
  padding: 96px 20px 88px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.closer h2 {
  font-size: clamp(84px, 15vw, 180px); line-height: .86;
  color: var(--gold); text-transform: uppercase; margin: 0;
}
.closer .lede { font-size: 19px; max-width: 28em; }
.closer .stores { margin-top: 8px; }
.closer .store { min-width: 180px; padding: 12px 20px; font-size: 18px; }

/* The gauge: one card, after the app has had its say */
.gauge-card {
  max-width: 1088px; margin: 76px 16px 0;
  display: grid; overflow: hidden;
  border: 1px solid var(--border); border-radius: 30px;
  background: var(--surface);
}
.gauge-photo img { display: block; width: 100%; height: 260px; object-fit: cover; }
.gauge-copy { padding: 26px 24px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.gauge-copy h2 { margin: 0; font-size: clamp(34px, 4.6vw, 48px); }
.gauge-copy > p:not(.eyebrow) { color: var(--soft); font-size: 16.5px; max-width: 30em; }
.gauge-copy .btn { margin-top: 8px; gap: 8px; }
@media (min-width: 760px) {
  .gauge-card { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .gauge-photo img { height: 100%; min-height: 340px; }
  .gauge-copy { padding: 40px 44px; }
}

@media (min-width: 700px) {
  .steps ol { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-f { min-height: 330px; }
}
@media (min-width: 940px) {
  .hero { grid-template-columns: 1.05fr .95fr; padding: 72px 16px 84px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .closer { margin: 100px auto 0; }
}
@media (min-width: 1120px) {
  .closer, .gauge-card { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .marquee-in { animation: none; }
  .btn, .pill, .store { transition: none; }
}
.features, .closer { scroll-margin-top: 72px; }
.faq { scroll-margin-top: 72px; }

#download { scroll-margin-top: 90px; }

/* Under a profile: just the line and the stores */
.dl {
  max-width: 640px; margin: 32px 16px 0;
  padding: 26px 20px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  border: 1px solid var(--border); border-radius: 26px;
  background: var(--surface);
}
.dl .lede { font-size: 17px; max-width: 26em; }
.dl .store { min-width: 160px; }
@media (min-width: 672px) { .dl { margin: 32px auto 0; } }

/* Moment (16 Nov 2026): a shared achievement. The card the app drew and
   sent as the link's preview, who unlocked it, Open in Stunt Buddy. Wears
   the profile card's background. */
.mcard {
  position: relative; overflow: hidden;
  margin: 20px 16px 0;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: radial-gradient(70% 90% at 50% 0%, rgba(255, 176, 32, .18), transparent 70%), #08090b;
}
.mcard .stripes-bg { width: 56%; height: 150%; opacity: .14; }
.mbody {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 20px 20px 24px; gap: 12px;
}
.mimg {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
}
.trophy {
  width: 96px; height: 96px; border-radius: 50%;
  margin-top: 8px;
  display: grid; place-items: center;
  background: #2A2D33; color: #F2F3F5;
  box-shadow: 0 0 40px rgba(255, 176, 32, .4);
}
.mbody .display { margin: 0; }
.mline { margin: 0; color: var(--soft); }
.chip.gold { color: var(--gold); background: rgba(255, 176, 32, .15); }
.mbody .who { align-self: flex-start; text-align: left; margin-top: 6px; }
.mbody .btn { align-self: stretch; margin-top: 4px; }
