/* PlayScore landing page.
 *
 * The palette, radii and type are lifted from the Flutter app's dark theme
 * (play_score/lib/theme/app_theme.dart) so the page and the app read as one
 * product: near-black surfaces, gold primary, cards at #1F242B, Poppins.
 */

:root {
  /* Surfaces — app: surfaceDark #111318, cardDark #1F242B */
  --bg: #0b0d11;
  --bg-2: #111318;
  --card: #171b22;
  --card-2: #1f242b;
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.14);

  /* Brand — app: accentYellow #FFC043, accentOrange #FF8C00, ctaOrange #D96E00 */
  --gold: #ffc043;
  --gold-soft: #ffcb7a;
  --gold-2: #ffaa33;
  --orange: #ff8c00;
  --orange-deep: #d96e00;
  --on-gold: #1a0a00;

  /* Text — muted tones lifted for AA contrast on the dark ground */
  --ink: #ffffff;
  --text: #e7eaee;
  --muted: #a8b0bc;
  --dim: #8b94a2;

  /* Status — app: success/error/info + venueBlue */
  --green: #22c55e;
  --red: #ef4444;
  --blue: #42a5f5;
  --blue-deep: #1565c0;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --wrap: 1120px;
  --pad: 22px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }
ul, ol { margin: 0; padding: 0; list-style: none; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 90;
  padding: 10px 16px; border-radius: 10px;
  background: var(--gold); color: var(--on-gold); font-weight: 600;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

/* ── Ambient background ──────────────────────────────────────────────── */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg__gold {
  position: absolute; top: -24vh; left: 50%; width: min(130vw, 1200px); height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 150, 40, 0.28), rgba(255, 110, 20, 0.07) 55%, transparent 75%);
  filter: blur(24px);
  animation: glowA 14s ease-in-out infinite;
}
.bg__blue {
  position: absolute; right: -22vw; bottom: -25vh; width: 860px; height: 860px;
  background: radial-gradient(closest-side, rgba(66, 165, 245, 0.16), transparent 70%);
  filter: blur(28px);
  animation: glowB 17s ease-in-out infinite;
}
.bg__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 190, 110, 0.13) 1px, transparent 1.4px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 8%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 55% at 50% 8%, #000, transparent 78%);
}

@keyframes glowA { 0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); } 50% { opacity: 0.9; transform: translateX(-48%) scale(1.12); } }
@keyframes glowB { 0%, 100% { opacity: 0.35; transform: scale(1.06); } 50% { opacity: 0.6; transform: scale(0.92); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 192, 67, 0.5); } 70% { box-shadow: 0 0 0 14px rgba(255, 192, 67, 0); } }
@keyframes sweep { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(340%) skewX(-18deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(100deg, var(--gold), var(--orange)); color: var(--on-gold); box-shadow: 0 16px 34px -16px rgba(245, 129, 31, 0.8); }
.btn--gold:hover { color: var(--on-gold); box-shadow: 0 22px 44px -16px rgba(245, 129, 31, 0.9); }
.btn--blue { background: rgba(66, 165, 245, 0.14); border-color: rgba(66, 165, 245, 0.42); color: #cbe9f6; }
.btn--blue:hover { background: rgba(66, 165, 245, 0.22); color: #eaf6fd; }
.btn--ghost { background: rgba(255, 255, 255, 0.045); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 192, 67, 0.09); border-color: rgba(255, 192, 67, 0.45); color: var(--ink); }
.btn--lg { min-height: 60px; padding: 0 28px; font-size: 17px; border-radius: var(--r-md); }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn--wide { width: 100%; justify-content: space-between; }
.btn__arrow { font-size: 1.15em; transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--sweep::after {
  content: ""; position: absolute; inset-block: 0; left: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: sweep 4s ease-in-out 1.4s infinite;
}

/* ── In-app browser banner ───────────────────────────────────────────── */
.inapp { position: relative; z-index: 6; background: linear-gradient(100deg, var(--gold), var(--orange-deep)); color: #21140a; }
.inapp[hidden] { display: none; }
.inapp__row { display: flex; align-items: center; gap: 12px; max-width: var(--wrap); margin: 0 auto; padding: 12px var(--pad); }
.inapp__ico { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 10px; background: rgba(33, 20, 10, 0.16); }
.inapp__txt { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.4; }
.inapp__btn { flex: none; border: 0; border-radius: 999px; padding: 9px 15px; background: #1b1105; color: #ffd79b; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

/* ── Top bar — mirrors the app's app-bar ─────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 13, 17, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.topbar.is-stuck { background: rgba(11, 13, 17, 0.92); border-bottom-color: rgba(255, 192, 67, 0.22); }
.topbar__in { display: flex; align-items: center; gap: 18px; max-width: var(--wrap); margin: 0 auto; padding: 12px var(--pad); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.brand__mark { width: 40px; height: auto; filter: drop-shadow(0 6px 16px rgba(255, 150, 40, 0.35)); }
.brand__word { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.brand__word span { color: var(--gold); }

.topnav { display: none; gap: 22px; margin-inline: auto; }
.topnav a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.topnav a:hover { color: var(--ink); }

.topbar__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.langsw { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.langsw button {
  border: 0; border-radius: 999px; padding: 6px 13px;
  background: transparent; color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.langsw button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.topbar__guide, .topbar__cta { display: none; }

/* ── Hero ────────────────────────────────────────────────────────────── */
/* `section.wrap` further down sets a 68px top margin for the rhythm between
   sections; the hero sits directly under the bar and must not inherit it. */
.hero.wrap { margin-top: 0; }
.hero { display: grid; gap: 44px; padding-top: 26px; animation: rise 0.7s ease both; }
/* No `align-items: flex-start` here: in a column flex container that sizes every
   child to max-content, which lets the headline push past a narrow viewport. */
.hero__copy { display: flex; flex-direction: column; min-width: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border: 1px solid rgba(255, 192, 67, 0.3); border-radius: 999px;
  background: rgba(255, 192, 67, 0.08); color: var(--gold-soft);
  font-size: 13px; font-weight: 500;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2.4s ease-out infinite; }

.hero__h1 { margin-top: 20px; font-size: clamp(37px, 4.9vw, 58px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.grad { background: linear-gradient(100deg, #ffc65c, #f5811f 55%, #e0521c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 18px; max-width: 46ch; font-size: clamp(16px, 2.1vw, 18.5px); color: var(--muted); }

.hero__cta { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 460px; margin-top: 30px; }
.hero__stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  flex: 1 1 180px;
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 58px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045); color: var(--text);
  font: inherit; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.store:hover { background: rgba(255, 192, 67, 0.09); border-color: rgba(255, 192, 67, 0.45); color: var(--ink); transform: translateY(-2px); }
.store svg { flex: none; }
.store__t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.store__t small { font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--dim); }
.store__t b { font-size: 15.5px; font-weight: 600; }
.hero__note { margin-top: 16px; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }

/* Phone mock + the two floating app cards */
.hero__art { position: relative; display: flex; justify-content: center; padding-block: 10px 30px; }
.phone-wrap { position: relative; animation: float 7s ease-in-out infinite; }

/* A plain dark bezel, not a gradient one: a gradient border lights one corner
   and hides the opposite, which reads as an uneven radius. The inner radius is
   the outer minus the padding, so the two curves stay concentric. */
.phone {
  width: min(300px, 74vw); padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 30px;
  background: #14171d;
  box-shadow: 0 0 0 1px rgba(255, 192, 67, 0.14), 0 46px 86px -34px rgba(0, 0, 0, 0.95);
}
.phone img { display: block; width: 100%; border-radius: 30px; background: var(--bg-2); }

/* Even gold halo behind the device, replacing the light the gradient used to
   throw on one corner only. */
.phone-wrap::before {
  content: ""; position: absolute; inset: 6% -12%;
  background: radial-gradient(closest-side, rgba(255, 150, 40, 0.22), transparent 72%);
  filter: blur(26px); z-index: -1;
}

.float {
  position: absolute; display: flex; align-items: center; gap: 11px;
  padding: 11px 15px; border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: rgba(23, 27, 34, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.float__t { display: flex; flex-direction: column; line-height: 1.25; }
.float__t b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.float__t small { font-size: 11.5px; color: var(--muted); }
.float__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16); }
/* Each card hangs off its own side of the device rather than sitting on top of
   the screen — the chart and the nav bar underneath stay readable. On a phone
   there is no room to hang anything, so only the booking card stays, over the
   app bar; the win-rate one would bury the chart it is meant to point at. */
.float--book { top: 6%; right: -14px; animation: float 7s ease-in-out 0.6s infinite; }
.float--rate { display: none; bottom: 7%; left: -20px; animation: float 7s ease-in-out 1.2s infinite; }

/* The app's win-rate donut, rebuilt in CSS */
.donut {
  position: relative;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: conic-gradient(var(--green) 0 57%, var(--red) 57% 96%, #94a3b8 96% 100%);
}
.donut::before { content: ""; position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--card); }
.donut b { position: relative; font-size: 11px; font-weight: 700; color: var(--ink); }

/* ── Sport chips ─────────────────────────────────────────────────────── */
.chips { margin-top: 34px; }
.chips__h { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.chips__rail {
  display: flex; gap: 9px; margin-top: 12px; padding-bottom: 6px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.chips__rail::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 255, 255, 0.035); font-size: 14px; font-weight: 500; color: var(--text);
}
.chip--on { background: linear-gradient(100deg, var(--gold), var(--gold-2)); border-color: transparent; color: var(--on-gold); font-weight: 600; }

/* ── Stats band ──────────────────────────────────────────────────────── */
.statband {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 0;
  margin-top: 26px; padding: 22px 18px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.statband > div { text-align: center; padding-inline: 10px; }
.statband > div + div { border-left: 1px solid var(--line); }
.statband > div:nth-child(3) { border-left: 0; }
.statband dt { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; color: var(--gold); }
.statband dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* ── Generic sections ────────────────────────────────────────────────── */
section.wrap { margin-top: 68px; }
.h2 { font-size: clamp(24px, 4vw, 33px); font-weight: 700; }
.lede { margin-top: 10px; font-size: 15.5px; color: var(--muted); }

.card {
  padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.card--gold { border-color: rgba(255, 192, 67, 0.22); background: linear-gradient(150deg, rgba(255, 192, 67, 0.12), rgba(255, 255, 255, 0.02) 60%); }
.card--blue { border-color: rgba(66, 165, 245, 0.22); background: linear-gradient(150deg, rgba(66, 165, 245, 0.1), rgba(255, 255, 255, 0.02) 60%); }
.split { display: grid; gap: 26px; align-items: center; }
.split > * { min-width: 0; }
.split h2 { margin-top: 12px; font-size: clamp(23px, 3.6vw, 32px); font-weight: 800; }
.stack { display: flex; flex-direction: column; gap: 11px; }

.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); color: var(--muted);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.tag--gold { padding-left: 6px; background: rgba(255, 192, 67, 0.16); color: var(--gold-soft); }
.tag--gold b { padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--on-gold); }
.tag--blue { background: rgba(66, 165, 245, 0.16); color: #9ed2f7; }

.note { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.5; }
.note--blue { border: 1px solid rgba(66, 165, 245, 0.2); background: rgba(66, 165, 245, 0.08); color: #a5d3e8; }
.micro { font-size: 13px; color: var(--dim); }
.micro--row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.ig { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.04); color: var(--text); font-size: 14px; font-weight: 600; }
.ig svg { color: var(--gold); }
.ig:hover { border-color: rgba(255, 192, 67, 0.45); background: rgba(255, 192, 67, 0.09); color: var(--ink); }

.numlist { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.numlist li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.numlist__n {
  flex: none; display: grid; place-items: center; width: 23px; height: 23px; margin-top: 1px;
  border-radius: 7px; background: rgba(255, 192, 67, 0.16); color: var(--gold);
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.ticks { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 18px; height: 18px; margin-top: 3px;
  border-radius: 6px; background: rgba(66, 165, 245, 0.16); color: var(--blue); font-size: 11px; font-weight: 700;
}

/* ── Booking grid mock ───────────────────────────────────────────────── */
.grid { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); box-shadow: var(--shadow); }
.grid__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.grid__head b { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--gold); }
.grid__head small { font-size: 12px; color: var(--dim); }
.grid__rows { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.slot { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 10px; }
.slot__t { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.slot__t--on { color: var(--gold); }
.slot__b { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; font-size: 12.5px; }
.slot__b--free { border: 1px dashed rgba(255, 192, 67, 0.35); background: rgba(255, 192, 67, 0.05); color: #d0954c; }
.slot__b--pick { justify-content: space-between; background: linear-gradient(100deg, var(--gold), var(--orange)); color: var(--on-gold); font-weight: 700; }
.slot__b--pick em { font-style: normal; font-size: 11px; font-weight: 600; opacity: 0.75; }
.slot__b--taken { background: rgba(255, 255, 255, 0.07); color: var(--dim); }
.slot__b--hold { border: 1px solid rgba(66, 165, 245, 0.28); background: rgba(66, 165, 245, 0.14); color: #9ed2f7; }
.slot__b--off { background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 8px, rgba(255, 255, 255, 0.02) 8px 16px); color: var(--dim); }
.grid__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.grid__price { display: flex; flex-direction: column; line-height: 1.2; }
.grid__price small { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); }
.grid__price b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }

/* ── How it works ────────────────────────────────────────────────────── */
.steps { display: grid; gap: 14px; margin-top: 22px; }
.steps li { position: relative; padding: 24px 20px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.steps__n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(100deg, var(--gold), var(--orange)); color: var(--on-gold);
  font-size: 15px; font-weight: 800;
}
.steps h3 { margin-top: 14px; font-size: 17.5px; font-weight: 650; }
.steps p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* ── Screenshot rail ─────────────────────────────────────────────────── */
.shots__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.shots__nav { display: flex; gap: 8px; }
.shots__nav button {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04); color: var(--text); font: inherit; font-size: 17px; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.shots__nav button:hover { border-color: rgba(255, 192, 67, 0.5); background: rgba(255, 192, 67, 0.1); }
.shots__mask {
  margin-top: 20px; border-radius: var(--r-xl);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.shots__track {
  display: flex; gap: 20px; padding: 10px 4px 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.shots__track::-webkit-scrollbar { display: none; }
.shots__track > li { flex: 0 0 auto; width: clamp(180px, 25vw, 232px); scroll-snap-align: center; }
.shots__track figure { margin: 0; }
.shot {
  padding: 7px; border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 192, 67, 0.35), rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.02));
  box-shadow: 0 40px 70px -28px rgba(0, 0, 0, 0.95);
}
.shot img { display: block; width: 100%; border-radius: 24px; background: var(--bg-2); }
.shots__track figcaption { margin-top: 12px; text-align: center; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.shots__dots { display: flex; justify-content: center; gap: 7px; margin-top: 4px; }
.shots__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.2); cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.shots__dots button[aria-current="true"] { width: 20px; border-radius: 4px; background: var(--gold); }

/* ── Features ────────────────────────────────────────────────────────── */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 14px; margin-top: 22px; }
.feat {
  padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feat:hover { transform: translateY(-4px); border-color: rgba(255, 192, 67, 0.4); }
.feat__i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 192, 67, 0.14); color: var(--gold); }
.feat h3 { margin-top: 14px; font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.feat p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* ── Org Portal gallery ──────────────────────────────────────────────── */
.portal { display: grid; gap: 20px; margin-top: 28px; }
.portal figure { margin: 0; min-width: 0; }
.portal figcaption { margin-top: 11px; font-size: 13.5px; color: var(--muted); }

/* A browser chrome, so a desktop screenshot reads as a desktop app next to
   all the phone frames above it. */
.win {
  overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--bg-2); box-shadow: var(--shadow);
}
.win__bar {
  display: flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
}
.win__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.win__bar i:first-child { background: rgba(239, 68, 68, 0.55); }
.win__bar i:nth-child(2) { background: rgba(255, 192, 67, 0.55); }
.win__bar i:nth-child(3) { background: rgba(34, 197, 94, 0.5); }
.win__bar b { margin-left: 10px; font-size: 11px; font-weight: 500; color: var(--dim); }
.win img { display: block; width: 100%; }

/* ── Marquee ─────────────────────────────────────────────────────────── */
.marquee {
  margin-top: 50px; padding: 16px 0; overflow: hidden;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 42s linear infinite; }
.marquee__track span { font-size: 15px; font-weight: 500; color: var(--dim); white-space: nowrap; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; margin-top: 22px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); overflow: hidden; }
.faq details[open] { border-color: rgba(255, 192, 67, 0.3); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; font-size: 15.5px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 21px; font-weight: 400; color: var(--gold); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; font-size: 14.5px; color: var(--muted); }

/* ── Closing CTA ─────────────────────────────────────────────────────── */
.cta { margin-top: 56px; padding: 40px 26px; text-align: center; }
.cta h2 { font-size: clamp(24px, 4.4vw, 35px); font-weight: 800; }
.cta .lede { margin: 10px auto 22px; max-width: 44ch; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { margin-top: 70px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(17, 19, 24, 0.6); }
.footer__in { display: grid; gap: 28px; padding-top: 38px; }
.footer__blurb { margin-top: 12px; max-width: 34ch; font-size: 14px; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h3 { font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--dim); }
.footer__col a { font-size: 14.5px; color: var(--text); }
.footer__col a:hover { color: var(--gold); }
.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line);
}
.maker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; margin-left: -12px; border-radius: var(--r-sm); color: var(--text); transition: background 0.2s ease; }
.maker:hover { background: rgba(255, 255, 255, 0.05); color: var(--ink); }
.maker img { width: 30px; height: 30px; border-radius: 8px; }
.maker__n { font-size: 13.5px; font-weight: 600; }
.maker__ne { font-size: 11px; color: var(--dim); }
.copy { font-size: 13px; color: var(--dim); }

/* ── Sticky mobile dock ──────────────────────────────────────────────── */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 25;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(11, 13, 17, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(130%); transition: transform 0.3s ease;
}
.dock.is-on { transform: none; }

/* ── iOS install sheet ───────────────────────────────────────────────── */
.sheet {
  width: 100%; max-width: 520px; max-height: 90dvh; margin: auto auto 0;
  padding: 0; border: 1px solid var(--line-2); border-bottom: 0;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--bg-2); color: var(--text); overflow: auto;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.8);
}
.sheet::backdrop { background: rgba(5, 6, 9, 0.76); backdrop-filter: blur(6px); }
.sheet[open] { animation: rise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }
.sheet__in { padding: 22px 22px calc(24px + env(safe-area-inset-bottom)); }
.sheet__grip { display: block; width: 40px; height: 4px; margin: 0 auto 18px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.sheet__h { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; }
.sheet__sub { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.sheet__act { display: flex; gap: 10px; margin-top: 18px; }
.sheet__act .btn { flex: 1; min-height: 50px; }
.sheet__close { width: 100%; min-height: 44px; margin-top: 8px; border: 0; background: none; color: var(--dim); font: inherit; font-size: 14px; cursor: pointer; }
.sheet__close:hover { color: var(--ink); }

/* ── Breakpoints ─────────────────────────────────────────────────────── */
@media (min-width: 620px) {
  .float--rate { display: flex; }
  .statband { grid-template-columns: repeat(4, 1fr); }
  .statband > div:nth-child(3) { border-left: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 32px 30px; }
  .footer__in { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* Tablet: the hero is still one column, so the device is centred with room to
   spare on both sides — the cards can hang almost clear of the screen. */
@media (min-width: 620px) and (max-width: 899px) {
  .float--book { right: -64px; }
  .float--rate { left: -100px; }
}

@media (min-width: 900px) {
  /* The copy column is the wider one so "Play. Keep the score." stays on a
     single line at the largest headline size. */
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding-top: 40px; gap: 30px; }
  .hero__copy { padding-right: 10px; }
  .topnav { display: flex; }
  .topbar__guide, .topbar__cta { display: inline-flex; }
  .split { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 46px 30px; }
  .dock { display: none; }
  .footer { padding-bottom: 34px; }
  .phone { width: min(320px, 40vw); }
  /* The wider the window, the further the cards hang past the device instead of
     lying across the screen. The offsets stay inside the slack in the hero's
     right-hand column, so they never reach the headline. */
  .float--book { right: -30px; }
  .float--rate { left: -56px; }
}

@media (min-width: 1220px) {
  .float--book { right: -44px; }
  .float--rate { left: -104px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .btn:hover, .feat:hover, .store:hover { transform: none; }
}
