/* NayaSports marketing site. Values mirror apps/venue_app/lib/design_system/tokens (dark theme). */

@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/SpaceGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/SpaceGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #080a0c;
  --card: #111418;
  --surface: #181d22;
  --surface-high: #20262c;
  --text: #f4f6f7;
  --text-soft: #acb3b9;
  --text-secondary: #7e858d;
  --text-tertiary: #8a9199;
  --hint: #555c64;
  --border: #232931;
  --border-strong: #333b45;
  --lime: #c7ef1d;
  --lime-ink: #0a0d08;
  --lime-bg: rgba(199, 239, 29, 0.12);
  --success: #5dd98b;
  --amber: #f5c542;
  --error: #ff6b6b;
  --info: #60a5fa;
  --qr-panel: #f7f8fa;

  --s-cricket: #fbbf24; --s-futsal: #60a5fa; --s-football: #4ade80; --s-basketball: #fb923c;
  --s-badminton: #a78bfa; --s-tennis: #facc15; --s-padel: #38bdf8; --s-volleyball: #f472b6;
  --s-hockey: #e879f9; --s-swimming: #22d3ee; --s-tabletennis: #f472b6; --s-baseball: #f87171;

  --pay-jazzcash: #fb7185; --pay-easypaisa: #4ade80; --pay-card: #60a5fa; --pay-bank: #6366f1; --pay-cash: #9ca3af;

  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 24px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --release: cubic-bezier(0.34, 1.3, 0.64, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--lime-ink); }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); margin-top: 20px; max-width: 620px; }
.center .lede { margin-left: auto; margin-right: auto; }
.lime { color: var(--lime); }
.num { font-family: var(--display); font-feature-settings: "tnum"; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--bg); border-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; height: 48px; }
.brand img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: 10px 14px; border-radius: 10px; color: var(--text-soft); font-weight: 600; font-size: 15px; transition: color .15s, background-color .15s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .2s var(--spring), background-color .15s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .15s, transform .25s var(--spring), visibility 0s .25s;
  }
  .nav-links a:not(.btn) { padding: 14px 12px; font-size: 17px; }
  .nav-links .btn { margin-top: 8px; }
  .nav-open .nav { background: var(--bg); border-color: var(--border); }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; transition: opacity .15s, transform .3s var(--spring); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .07s ease-out, background-color .15s, border-color .15s;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
}
.btn:hover { background: var(--surface-high); }
.btn:active { transform: scale(.97); }
.btn-hero { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-hero:hover { background: #d4f54a; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--spring); }
.btn:hover svg.arrow { transform: translateX(3px); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--border-strong);
  transition: transform .07s ease-out, border-color .15s, background-color .15s;
}
.store:hover { border-color: var(--text-secondary); background: var(--surface); }
.store:active { transform: scale(.97); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 600; color: var(--text-tertiary); line-height: 1.2; letter-spacing: .02em; }
.store strong { display: block; font-family: var(--display); font-size: 17px; line-height: 1.2; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + clamp(40px, 8vw, 96px)) 0 clamp(64px, 8vw, 120px); display: flex; align-items: center; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); line-height: .94; letter-spacing: -0.045em; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero .lede { margin-top: 28px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-tertiary); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); position: relative; flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--success); animation: ping 2s var(--spring) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

.floodlight { position: absolute; pointer-events: none; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(199, 239, 29, 0.10), transparent 70%),
    radial-gradient(50% 40% at 10% 100%, rgba(96, 165, 250, 0.06), transparent 70%);
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-photo { --hero-img: url(/images/hero-pitch.jpg); --hero-pos: 62% 40%; overflow: hidden; }
@media (max-width: 760px) { .hero-photo { --hero-img: url(/images/hero-pitch-sm.jpg); } }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) var(--hero-pos) / cover; animation: drift 30s ease-in-out infinite alternate; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 22%, rgba(8, 10, 12, .82) 50%, rgba(8, 10, 12, .45) 100%), linear-gradient(0deg, var(--bg), transparent 35%); }
.hero-photo.paused::before { animation-play-state: paused; }
@keyframes drift { to { transform: scale(1.08) translateX(-1.5%); } }

/* word-by-word rise */
[data-split] .w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--spring); transition-delay: calc(var(--i) * 70ms); }
[data-split].in .w > span { transform: none; }

/* ---------- Phone mock ---------- */
.phone-stage { position: relative; display: grid; place-items: center; perspective: 1400px; }
.phone {
  --pw: 300px;
  position: relative; width: var(--pw); aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #2a3038, #13171c 40%, #1d2228);
  box-shadow: 0 0 0 1px #3a424c inset, 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.6);
  transform-style: preserve-3d;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 5; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: var(--bg); font-size: 11px; line-height: 1.35; }
.statusbar { position: absolute; top: 0; left: 0; right: 0; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 6px 24px 0 28px; font: 700 12px var(--display); z-index: 4; }
.statusbar .icons { display: flex; gap: 5px; align-items: center; }
.statusbar .icons i { display: block; width: 15px; height: 9px; border-radius: 2px; border: 1.5px solid var(--text); }
.statusbar .icons b { display: block; width: 14px; height: 9px; background: linear-gradient(90deg, var(--text) 25%, transparent 25% 37%, var(--text) 37% 62%, transparent 62% 75%, var(--text) 75%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }

.scr { position: absolute; inset: 0; padding: 50px 14px 14px; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateX(24px) scale(.98); transition: opacity .35s ease, transform .5s var(--spring); pointer-events: none; }
.scr.is-active { opacity: 1; transform: none; transition-delay: .12s; }
.scr.is-leaving { opacity: 0; transform: translateX(-24px) scale(.98); transition-duration: .18s, .4s; }

.m-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-hello small { display: block; color: var(--text-tertiary); font-weight: 600; font-size: 10px; }
.m-hello strong { font: 700 17px var(--display); letter-spacing: -0.02em; }
.m-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #3b4652, #20262c); border: 1px solid var(--border-strong); display: grid; place-items: center; font: 700 11px var(--display); }
.m-search { height: 38px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--text-secondary); font-weight: 600; }
.m-search svg { width: 14px; height: 14px; }
.m-chips { display: flex; gap: 6px; overflow: hidden; }
.m-chip { flex: none; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 10.5px; color: var(--text-soft); }
.m-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--text-secondary)); }
.m-chip.sel { background: var(--surface-high); border-color: var(--surface-high); color: var(--text); }
.m-label { font: 700 13px var(--display); letter-spacing: -0.01em; margin-top: 2px; }
.m-venue { border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--border); flex: none; }
.m-venue .ph { position: relative; height: 112px; background: #1b2128 center/cover; }
.m-venue .tag { position: absolute; left: 8px; top: 8px; background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: 9.5px; padding: 3px 8px; border-radius: 999px; }
.m-venue .meta { padding: 9px 11px 10px; }
.m-venue .meta strong { display: block; font: 700 12.5px var(--display); }
.m-venue .meta span { color: var(--text-tertiary); font-weight: 600; font-size: 10px; }
.m-venue .meta .price { font: 700 12px var(--display); color: var(--text); }
.m-nav { margin-top: auto; height: 50px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); display: flex; justify-content: space-around; align-items: center; flex: none; }
.m-nav i { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--text-secondary); }
.m-nav i.on { border-color: var(--lime); background: var(--lime-bg); }

.m-back { display: flex; align-items: center; gap: 8px; }
.m-back b { width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); display: grid; place-items: center; }
.m-back b svg { width: 12px; height: 12px; }
.m-back div strong { display: block; font: 700 14px var(--display); }
.m-back div span { color: var(--text-tertiary); font-size: 10px; font-weight: 600; }
.m-dates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.m-date { border-radius: 12px; border: 1px solid var(--border); padding: 7px 0; text-align: center; color: var(--text-secondary); font-weight: 700; font-size: 9px; }
.m-date b { display: block; font: 700 15px var(--display); color: var(--text); }
.m-date.sel { background: var(--surface-high); border-color: var(--text-soft); }
.m-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-slot { height: 40px; border-radius: 12px; border: 1px solid var(--border-strong); display: grid; place-items: center; font: 700 11.5px var(--display); position: relative; transition: background-color .15s, border-color .15s, color .15s, transform .07s; }
.m-slot.taken { color: var(--hint); border-color: var(--border); text-decoration: line-through; }
.is-active .m-slot.pick { animation: pick 4.8s infinite; }
@keyframes pick {
  0%, 30% { background: transparent; border-color: var(--border-strong); color: var(--text); transform: none; }
  33% { transform: scale(.94); }
  36%, 100% { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); transform: none; }
}
.m-tap { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(244,246,247,.35); border: 2px solid rgba(244,246,247,.8); opacity: 0; pointer-events: none; }
.is-active .m-tap { animation: tap 4.8s infinite; }
@keyframes tap { 0%, 18% { opacity: 0; transform: translate(30px, 40px) scale(1); } 26% { opacity: 1; transform: translate(0, 0) scale(1); } 33% { transform: scale(.7); opacity: 1; } 42% { opacity: 0; transform: scale(1.4); } 100% { opacity: 0; } }
.m-cta { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.m-cta .p small { display: block; color: var(--text-tertiary); font-size: 9.5px; font-weight: 700; }
.m-cta .p strong { font: 700 15px var(--display); }
.m-cta .go { flex: 1; height: 40px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); font: 800 11.5px var(--body); display: grid; place-items: center; }
.m-court { display: flex; gap: 6px; }

.m-done { align-items: center; text-align: center; padding-top: 64px; }
.m-check { width: 64px; height: 64px; border-radius: 50%; background: rgba(93, 217, 139, .14); display: grid; place-items: center; transform: scale(.4); opacity: 0; }
.m-check svg { width: 30px; height: 30px; stroke: var(--success); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.is-active .m-check { animation: pop .6s var(--release) .1s forwards; }
.is-active .m-check svg { animation: draw .5s var(--spring) .45s forwards; }
@keyframes pop { to { transform: none; opacity: 1; } }
.m-done h4 { font-size: 22px; margin-top: 10px; }
.m-done p { color: var(--text-soft); font-weight: 600; font-size: 11px; }
.m-qr { margin-top: 10px; width: 156px; padding: 12px; border-radius: 16px; background: var(--qr-panel); opacity: 0; transform: translateY(14px); }
.is-active .m-qr { animation: rise .6s var(--spring) .55s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.m-qr svg { width: 100%; height: auto; }
.m-pin { margin-top: 10px; display: flex; gap: 5px; }
.m-pin b { width: 28px; height: 34px; border-radius: 9px; background: var(--card); border: 1px solid var(--border-strong); display: grid; place-items: center; font: 700 16px var(--display); }
.m-pin-l { color: var(--text-tertiary); font-size: 10px; font-weight: 700; margin-top: 10px; }

.floaty {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-strong);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); font-size: 13px; font-weight: 700; white-space: nowrap;
  animation: bob 6s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.floaty .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-ic, var(--surface-high)); flex: none; }
.floaty .ic svg { width: 18px; height: 18px; }
.floaty small { display: block; font-size: 11px; color: var(--text-tertiary); font-weight: 600; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floaty.f1 { top: -1%; left: -16%; }
.floaty.f2 { top: 46%; right: -10%; --d: -2s; }
.floaty.f3 { bottom: 9%; left: -2%; --d: -4s; }
.floaty.f-notify { top: -11%; right: -2%; }
.hero .phone-stage .reveal-pop { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .8s ease, transform 1.1s var(--spring); }
.hero .phone-stage.in .reveal-pop { opacity: 1; transform: none; }
.hero .phone-stage.in .floaty.reveal-pop { transition-delay: calc(.5s + var(--n, 0) * .15s); }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.6rem, 11.5vw, 5.6rem); }
  .hero-copy { text-align: left; }
  .phone-stage { margin-top: 16px; }
  .floaty.f1 { left: 0; } .floaty.f2 { right: 0; } .floaty.f3 { left: 4%; }
  .phone-stage:has(.f-notify) { margin-top: 56px; }
  .floaty.f-notify { top: -40px; right: 8px; }
}
@media (max-width: 420px) {
  .hero h1 .line { white-space: normal; }
  .phone { --pw: 268px; }
  .floaty { font-size: 12px; padding: 8px 12px 8px 8px; }
  .floaty .ic { width: 28px; height: 28px; }
  .floaty.f1 { left: -2px; top: 8%; } .floaty.f2 { right: -2px; } .floaty.f3 { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { --g: clamp(20px, 3vw, 40px); border-block: 1px solid var(--border); padding: clamp(20px, 3vw, 36px) 0; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: band 64s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes band { to { transform: translateX(-50%); } }
.marquee .word { margin-right: var(--g); font: 700 clamp(44px, 7.5vw, 104px)/1.05 var(--display); letter-spacing: -0.045em; white-space: nowrap; transition: color .15s, -webkit-text-stroke-color .15s; }
.marquee .word.o { color: transparent; -webkit-text-stroke: 1.5px var(--text-secondary); }
.marquee .word.o:hover { color: var(--text); -webkit-text-stroke-color: var(--text); }
.marquee .sep { margin-right: var(--g); width: clamp(28px, 3.4vw, 46px); height: auto; flex: none; fill: var(--border-strong); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.stat { padding: clamp(24px, 3vw, 40px); border-inline-start: 1px solid var(--border); }
.stat:first-child { border-inline-start: 0; }
.stat .num { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.stat p { margin-top: 10px; color: var(--text-soft); font-weight: 600; font-size: 15px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-inline-start: 0; }
  .stat + .stat { border-top: 1px solid var(--border); }
}

/* ---------- Reveal system ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform 1s var(--spring); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: scale(.94) translateY(20px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
.no-js [data-reveal] { opacity: 1; transform: none; }
/* Hero copy rises on transform only, so it paints (and counts for LCP) at once instead of waiting for JS. */
.hero [data-reveal] { opacity: 1; transform: none; animation: hero-rise .9s var(--spring) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes hero-rise { from { transform: translateY(24px); } }

/* ---------- Steps (sticky story) ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.steps-list { display: grid; gap: 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .4; transition: opacity .4s ease; }
.step.on { opacity: 1; }
.step .n { font: 700 15px var(--display); color: var(--text-tertiary); display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.step .n::after { content: ""; height: 1px; width: 64px; background: var(--border-strong); }
.step.on .n { color: var(--lime); }
.step h3 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.step p { margin-top: 18px; color: var(--text-soft); font-size: 18px; max-width: 460px; }
.step ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.step li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--text-soft); }
.step li svg { width: 18px; height: 18px; stroke: var(--text); flex: none; }
.steps-phone { position: sticky; top: calc(50vh - 300px); height: 600px; display: grid; place-items: center; align-self: start; }
.steps-phone .phone { --pw: 290px; }
.steps.rev .steps-phone { order: -1; }
.step-shot { display: none; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps-phone { display: none; }
  .step-shot { display: block; --pw: 252px; margin: 28px 0 8px; }
  .step { min-height: 0; opacity: 1; padding: 28px 0; border-top: 1px solid var(--border); }
  .step .n { color: var(--lime); }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; grid-column: span 2; min-height: 340px; border-radius: var(--radius-lg); background: var(--card);
  border: 1px solid var(--border); padding: 28px; display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .2s, transform .5s var(--spring);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.tile:hover { border-color: var(--border-strong); }
.tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; } .tile.w6 { grid-column: span 6; min-height: 0; }
.tile h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; }
.tile p { margin-top: 10px; color: var(--text-soft); font-size: 15.5px; max-width: 420px; }
.tile .art { margin-top: auto; padding-top: 28px; position: relative; }
.tile.sm { min-height: 0; }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-high); display: grid; place-items: center; margin-bottom: 28px; }
.tile .ico svg { width: 24px; height: 24px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .tile, .tile.w3, .tile.w4 { grid-column: span 3; } .tile.w6 { grid-column: span 6; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: auto; min-height: 0; } }

.paused * { animation-play-state: paused !important; }
.motion-off *, .motion-off *::before, .motion-off *::after { animation-play-state: paused !important; }
.motion-toggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong);
  font-weight: 700; font-size: 13px; color: var(--text-soft); box-shadow: 0 12px 30px -10px rgba(0,0,0,.7);
  transition: color .15s, border-color .15s, transform .07s ease-out;
}
.motion-toggle:hover { color: var(--text); border-color: var(--text-secondary); }
.motion-toggle:active { transform: scale(.96); }
.motion-toggle svg { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 600px) { .motion-toggle { width: 44px; padding: 0; justify-content: center; } .motion-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* map art */
.map { position: relative; height: 260px; border-radius: 18px; background: #0c0f12; border: 1px solid var(--border); overflow: hidden; }
.map svg.roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.map svg.roads path { stroke: #1c2228; stroke-width: 10; fill: none; stroke-linecap: round; }
.map svg.roads path.minor { stroke: #151a1f; stroke-width: 5; }
.map .ring { position: absolute; left: 50%; top: 55%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; border: 1.5px dashed var(--border-strong); animation: spin 40s linear infinite; }
.map .me { position: absolute; left: 50%; top: 55%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--info); box-shadow: 0 0 0 4px rgba(96,165,250,.25); }
.map .me::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--info); animation: ping 2.4s var(--spring) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -100%) scale(0); transform-origin: 50% 100%; display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--surface-high); border: 1px solid var(--border-strong); font: 700 12px var(--display); white-space: nowrap; transition: transform .6s var(--release); transition-delay: calc(.3s + var(--i) * .15s); }
.pin i { width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--c) 18%, transparent); display: grid; place-items: center; }
.pin i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pin.hot { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.pin.hot i { background: rgba(10,13,8,.15); } .pin.hot i::after { background: var(--lime-ink); }
.in .pin { transform: translate(-50%, -100%) scale(1); }

/* live slots art */
.live-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.live-slots span { height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); display: grid; place-items: center; font: 700 13px var(--display); transition: all .3s ease; }
.live-slots span.gone { color: var(--hint); border-color: var(--border); background: var(--bg); text-decoration: line-through; }
.live-slots span.flash { animation: flash .9s ease; }
@keyframes flash { 0% { background: rgba(255,107,107,.25); border-color: var(--error); } 100% { } }
.live-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-soft); margin-bottom: 14px; }

/* QR art */
.qr-art { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.qr-box { position: relative; width: 150px; flex: none; padding: 12px; border-radius: 18px; background: var(--qr-panel); overflow: hidden; }
.qr-box::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; top: 10%; background: var(--success); box-shadow: 0 0 16px 2px rgba(93,217,139,.7); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 88%; } }
.qr-or { display: grid; gap: 10px; }
.qr-or small { color: var(--text-tertiary); font-weight: 700; font-size: 12px; }
.qr-or .pill { justify-self: start; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-high); color: var(--text-soft); }
.pill.ok { background: rgba(93,217,139,.14); color: var(--success); }
.pill.warn { background: rgba(245,197,66,.14); color: var(--amber); }

/* typing */
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--surface-high); width: max-content; opacity: 0; transition: opacity .3s 2s; }
.in .typing { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-secondary); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* stories art */
.stories { display: flex; gap: 14px; }
.story { text-align: center; font-size: 12px; font-weight: 700; color: var(--text-soft); }
.story .ring { position: relative; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--lime) var(--p, 0%), var(--border-strong) 0); margin-bottom: 8px; transition: --p 1s; }
.story .ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--card); }
.story.seen .ring { background: var(--border-strong); }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.in .story .ring { animation: fill 1.4s var(--spring) forwards; animation-delay: calc(var(--i) * .2s); }
.in .story.seen .ring { animation: none; }
@keyframes fill { to { --p: 100%; } }

/* credit art */
.credit { border-radius: 18px; padding: 20px; background: var(--surface); border: 1px solid var(--border); }
.credit small { color: var(--text-tertiary); font-weight: 700; font-size: 12px; }
.credit .num { display: block; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin-top: 4px; }
.credit .rows { margin-top: 14px; display: grid; gap: 8px; font-size: 13px; font-weight: 600; }
.credit .rows div { display: flex; justify-content: space-between; color: var(--text-soft); }
.credit .rows b { font-family: var(--display); color: var(--success); }

/* payments art */
.pays { display: flex; flex-wrap: wrap; gap: 10px; }
.pay { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 15px; transform: translateY(20px); opacity: 0; transition: transform .6s var(--release), opacity .4s; transition-delay: calc(var(--i) * 90ms); }
.pay i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); font: 700 13px var(--display); font-style: normal; }
.in .pay { transform: none; opacity: 1; }

/* ---------- Owner teaser / split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split > .tile { grid-column: auto; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }
.owner-card { border-radius: 32px; border: 1px solid var(--border); background: var(--card); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.owner-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(199,239,29,.08), transparent 70%); pointer-events: none; }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--text-soft); font-size: 16.5px; }
.checks li svg { width: 22px; height: 22px; flex: none; margin-top: 1px; stroke: var(--lime); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Today board (owner) */
.board { border-radius: 24px; background: var(--bg); border: 1px solid var(--border-strong); padding: 18px; display: grid; gap: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.board-head { display: flex; justify-content: space-between; align-items: center; }
.board-head strong { font: 700 20px var(--display); letter-spacing: -0.02em; }
.board-head small { display: block; color: var(--text-tertiary); font-weight: 700; font-size: 12px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { border-radius: 16px; background: var(--card); border: 1px solid var(--border); padding: 14px; }
.kpi small { color: var(--text-tertiary); font-weight: 700; font-size: 12px; }
.kpi .num { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin-top: 2px; }
.bk { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.bk time { font: 700 15px var(--display); line-height: 1.1; }
.bk time small { display: block; color: var(--text-tertiary); font: 700 11px var(--body); }
.bk strong { display: block; font-size: 14px; font-weight: 700; }
.bk span.sub { color: var(--text-tertiary); font-size: 12px; font-weight: 600; }
.bk.req { border-color: rgba(245,197,66,.35); }
.bk .acts { display: flex; gap: 6px; }
.bk .acts b { height: 32px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--surface-high); }
.bk .acts b.yes { background: var(--text); color: var(--bg); }
.board .incoming { animation: incoming 7s var(--spring) infinite; transform-origin: top; }
@keyframes incoming {
  0%, 6% { opacity: 0; transform: translateY(-10px) scale(.97); }
  14%, 100% { opacity: 1; transform: none; }
}
.board .incoming .acts b.yes { animation: yes 7s infinite; }
@keyframes yes { 0%, 44% { transform: none; } 47% { transform: scale(.92); } 50%, 100% { transform: none; } }
.stateset { display: grid; justify-items: end; align-items: center; }
.stateset > * { grid-area: 1 / 1; }
.board .incoming .state { animation: swap 7s infinite; }
.board .incoming .state-ok { animation: swapIn 7s infinite; }
@keyframes swap { 0%, 49% { opacity: 1; visibility: visible; } 50%, 100% { opacity: 0; visibility: hidden; } }
@keyframes swapIn { 0%, 49% { opacity: 0; transform: scale(.8); } 52%, 100% { opacity: 1; transform: none; } }

@media (max-width: 520px) {
  .owner-card { padding: 28px 16px 16px; border-radius: 24px; }
  .board { padding: 12px; border-radius: 20px; }
  .bk { grid-template-columns: 48px minmax(0, 1fr); row-gap: 8px; padding: 12px; }
  .bk > :last-child { grid-column: 2; justify-self: start; }
  .stateset { justify-items: start; }
  .kpi .num { font-size: 22px; white-space: nowrap; }
}

/* heatmap */
.heat { display: grid; grid-template-columns: 34px repeat(7, 1fr); gap: 5px; font-size: 11px; font-weight: 700; color: var(--text-tertiary); }
.heat span { aspect-ratio: 1.4; border-radius: 6px; background: var(--surface-high); position: relative; overflow: hidden; }
.heat span::after { content: ""; position: absolute; inset: 0; background: var(--text-soft); opacity: 0; transition: opacity .8s ease; transition-delay: calc(var(--d) * 1ms); }
.in .heat span::after { opacity: calc(var(--v) * .6); }
.heat span.peak::after { background: var(--lime); }
.in .heat span.peak::after { opacity: 1; }
.heat em { font-style: normal; display: grid; place-items: center; }

/* modes */
.modes { display: grid; gap: 10px; }
.mode { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; }
.mode .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; flex: none; transition: border-color .15s; }
.mode .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); transform: scale(0); transition: transform .15s var(--release); }
.mode.on { border-color: var(--text-soft); }
.mode.on .radio { border-color: var(--lime); }
.mode.on .radio::after { transform: none; }
.mode small { display: block; font-weight: 600; color: var(--text-tertiary); font-size: 13px; }

/* staff */
.staff { display: grid; gap: 10px; }
.person { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.person .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--display); background: var(--bg-a); flex: none; }
.person strong { display: block; font-size: 15px; }
.person span.sub { color: var(--text-tertiary); font-size: 12.5px; font-weight: 600; }
.person .amt { margin-left: auto; font: 700 16px var(--display); }

/* go-live steps */
.golive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: g; position: relative; }
.golive::before { content: ""; position: absolute; left: 28px; width: calc(75% + 12px); top: 27px; height: 2px; background: var(--border); }
.golive::after { content: ""; position: absolute; left: 28px; top: 27px; height: 2px; width: 0; background: var(--lime); transition: width 2s var(--spring) .3s; }
.golive.in::after { width: calc(75% + 12px); }
.gl { position: relative; }
.gl b { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--border-strong); font: 700 20px var(--display); position: relative; z-index: 1; transition: border-color .3s, background-color .3s, color .3s; transition-delay: calc(.4s + var(--i) * .45s); }
.golive.in .gl b { border-color: var(--lime); }
.golive.in .gl:last-child b { background: var(--lime); color: var(--lime-ink); }
.gl h3 { font-size: 22px; margin-top: 20px; }
.gl p { color: var(--text-soft); margin-top: 8px; font-size: 15px; }
@media (max-width: 860px) {
  .golive { grid-template-columns: 1fr; gap: 28px; }
  .golive::before, .golive::after { display: none; }
  .gl:not(:last-child)::before, .gl:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: -28px; width: 2px; background: var(--border); }
  .gl:not(:last-child)::after { background: var(--lime); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--spring); transition-delay: calc(.4s + var(--i) * .45s); }
  .golive.in .gl::after { transform: none; }
  .gl { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .gl h3 { margin-top: 12px; }
  .gl p { grid-column: 2; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: border-color .15s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font: 700 clamp(17px, 2vw, 20px) var(--display); letter-spacing: -0.015em; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); flex: none; position: relative; transition: transform .15s var(--spring), background-color .15s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--text); border-radius: 2px; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .15s var(--spring); }
.faq details[open] .pm { background: var(--surface-high); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .a { padding: 0 24px 24px; color: var(--text-soft); font-size: 16px; max-width: 700px; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .15s ease, content-visibility .15s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- CTA + footer ---------- */
.final { text-align: center; padding: clamp(100px, 14vw, 200px) 0; position: relative; overflow: clip; }
.final h2 { font-size: clamp(3rem, 10vw, 8.4rem); letter-spacing: -0.05em; line-height: .9; }
.final .stores { justify-content: center; margin-top: 44px; }
.final .lede { margin: 24px auto 0; }
.final .floodlight { background: radial-gradient(50% 60% at 50% 100%, rgba(199,239,29,.10), transparent 70%); }

.footer { border-top: 1px solid var(--border); padding: 64px 0 40px; color: var(--text-secondary); font-size: 14.5px; font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer h3 { font: 700 14px var(--body); letter-spacing: 0; color: var(--text); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer ul a { display: inline-block; padding: 6px 0; transition: color .15s; }
.footer ul a:hover { color: var(--text); }
.footer .about p { max-width: 320px; margin-top: 16px; }
.footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-tertiary); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer .about { grid-column: 1 / -1; } }

/* ---------- Lead forms ---------- */
.lead-form { text-align: start; }
.lead-inline { max-width: 560px; margin: 36px auto 0; }
.lead-row { display: flex; gap: 10px; }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"] {
  width: 100%; min-height: 56px; padding: 0 18px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--border-strong); color: var(--text); font: 600 16px var(--body); transition: border-color .15s;
}
.lead-form input::placeholder { color: var(--text-tertiary); }
.lead-form input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.lead-form input[aria-invalid="true"] { border-color: var(--error); }
.lead-row .btn { flex: none; }
.form-msg { min-height: 1.5em; margin-top: 10px; color: var(--error); font-weight: 600; font-size: 14px; }
.form-msg:empty { min-height: 0; margin: 0; }
.lead-card { max-width: 720px; margin: 40px auto 0; padding: clamp(20px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border); display: grid; gap: 20px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: 14px; color: var(--text-soft); padding: 0; }
.field em { font-style: normal; color: var(--text-tertiary); font-weight: 600; }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip-toggle { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border-strong); font-weight: 700; font-size: 14px; color: var(--text-soft); transition: background-color .15s, color .15s, border-color .15s, transform .07s ease-out; }
.chip-toggle:hover { border-color: var(--text-secondary); color: var(--text); }
.chip-toggle:active { transform: scale(.96); }
.chip-toggle[aria-pressed="true"] { background: var(--surface-high); border-color: var(--text-soft); color: var(--text); }
.lead-card .btn-hero { justify-self: start; }
.btn .spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn[aria-busy="true"] .spin { display: inline-block; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-done { max-width: 560px; margin: 36px auto 0; padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border); display: grid; justify-items: center; gap: 8px; animation: rise .5s var(--spring) both; }
.lead-done h3 { font-size: 26px; outline: none; }
.lead-done p { color: var(--text-soft); }
.lead-check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(93, 217, 139, .14); margin-bottom: 6px; }
.lead-check svg { width: 26px; height: 26px; fill: none; stroke: var(--success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--spring) .2s forwards; }
.lead-fallback { margin-top: 16px; font-size: 14px; color: var(--text-tertiary); font-weight: 600; }
.lead-fallback a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
html:not(.no-js) .lead-fallback { display: none; }
.no-js .lead-form { display: none; }
.final .stores { margin-top: 28px; }
@media (max-width: 600px) {
  .lead-row { flex-direction: column; }
  .lead-row .btn { width: 100%; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-card .btn-hero { justify-self: stretch; }
}

/* ---------- Legal pages ---------- */
.doc { padding: calc(var(--nav-h) + 64px) 0 96px; }
.doc .wrap { max-width: calc(780px + var(--gutter) * 2); }
.doc h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.doc .updated { color: var(--text-tertiary); margin-top: 14px; font-weight: 600; }
.doc h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 48px 0 14px; letter-spacing: -0.02em; line-height: 1.2; }
.doc h3 { font-size: 1.15rem; margin: 28px 0 10px; letter-spacing: -0.01em; line-height: 1.3; }
.doc p, .doc li { color: var(--text-soft); font-size: 16.5px; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.doc a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--text); }
.doc strong { color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-soft); vertical-align: top; }
.doc th { color: var(--text); font-weight: 700; }

/* ---------- Games mocks ---------- */
.m-title { font: 700 20px var(--display); letter-spacing: -0.02em; }
.m-host { height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surface-high); display: inline-flex; align-items: center; font-weight: 800; font-size: 10.5px; }
.m-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.m-seg span { height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 10.5px; color: var(--text-tertiary); }
.m-seg span.on { background: var(--surface-high); color: var(--text); }
.m-game { border-radius: 14px; background: var(--card); border: 1px solid var(--border); padding: 10px 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: none; }
.m-game strong { display: block; font: 700 12.5px var(--display); }
.m-game .sub { color: var(--text-tertiary); font-weight: 600; font-size: 10px; }
.m-game .sub b { color: var(--text); font-family: var(--display); }
.m-game.big { display: grid; gap: 6px; padding: 12px; border-color: var(--border-strong); }
.m-game.big strong { font-size: 16px; letter-spacing: -0.02em; }
.m-tag { height: 20px; padding: 0 8px; border-radius: 999px; background: var(--lime-bg); color: var(--lime); font-weight: 800; font-size: 9.5px; display: inline-flex; align-items: center; }
.m-skill { color: var(--text-soft); font-weight: 700; font-size: 9.5px; }
.m-avs { display: flex; }
.m-avs i { width: 22px; height: 22px; border-radius: 50%; margin-left: -6px; border: 2px solid var(--card); display: grid; place-items: center; font: 700 8px var(--display); font-style: normal; background: var(--bg-a, #3b4652); }
.m-avs i:first-child { margin-left: 0; }
.m-join { height: 34px; border-radius: 11px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-weight: 800; font-size: 11.5px; margin-top: 2px; }
.is-active .m-join { animation: yes 4.8s infinite; }
.m-btn { flex: none; height: 26px; padding: 0 10px; border-radius: 9px; background: var(--surface-high); display: inline-flex; align-items: center; font-weight: 800; font-size: 9.5px; }
.m-btn.yes { background: var(--text); color: var(--bg); }
.m-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.m-steps i { height: 4px; border-radius: 4px; background: var(--surface-high); }
.m-steps i.on { background: var(--text); }
.m-field { border-radius: 12px; background: var(--card); border: 1px solid var(--border); padding: 8px 11px; display: grid; gap: 1px; }
.m-field small { color: var(--text-tertiary); font-weight: 700; font-size: 9.5px; }
.m-field strong { font: 700 15px var(--display); }
.m-field span { color: var(--text-soft); font-weight: 600; font-size: 9.5px; }
.m-sw { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 10.5px; padding: 2px 0; }
.m-sw i { flex: none; width: 32px; height: 19px; border-radius: 999px; background: var(--border-strong); position: relative; transition: background-color .15s; }
.m-sw i::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 14px; height: 14px; border-radius: 50%; background: var(--text-secondary); transition: transform .15s var(--spring), background-color .15s; }
.m-sw.on i { background: var(--lime); }
.m-sw.on i::after { transform: translateX(13px); background: var(--lime-ink); }
.is-active .m-sw.flip i { animation: sw-track 4.8s infinite; }
.is-active .m-sw.flip i::after { animation: sw-thumb 4.8s infinite; }
@keyframes sw-track { 0%, 35% { background: var(--border-strong); } 40%, 100% { background: var(--lime); } }
@keyframes sw-thumb { 0%, 35% { transform: none; background: var(--text-secondary); } 40%, 100% { transform: translateX(13px); background: var(--lime-ink); } }
.m-ok { border-radius: 11px; padding: 8px 10px; background: rgba(93,217,139,.12); color: var(--success); font-weight: 700; font-size: 10.5px; }
.m-req { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 14px; background: var(--card); border: 1px solid rgba(245,197,66,.35); }
.m-req > i { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 9.5px var(--display); font-style: normal; background: var(--bg-a); }
.m-req div { flex: 1; min-width: 0; }
.m-req strong { display: block; font-size: 11.5px; }
.m-req strong, .m-req span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-req span { color: var(--text-tertiary); font-weight: 600; font-size: 9.5px; }
.is-active .m-req { animation: rise .6s var(--spring) .3s both; }
.m-squad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.m-squad i { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font: 700 10px var(--display); font-style: normal; background: var(--bg-a, #3b4652); }
.m-squad i.open { background: transparent; border: 1.5px dashed var(--border-strong); color: var(--text-tertiary); }
.m-share { border-radius: 14px 14px 14px 4px; background: var(--surface-high); padding: 9px 11px; font-weight: 600; font-size: 10.5px; color: var(--text-soft); }
.m-share small { display: block; font-weight: 800; font-size: 9px; color: var(--text-tertiary); margin-bottom: 2px; }
.m-cta .go.ghost { background: var(--surface-high); color: var(--text); }
.m-lock { background: linear-gradient(rgba(8,10,12,.45), rgba(8,10,12,.9)), url(/images/indoor-court.jpg) center / cover; padding-top: 64px; gap: 8px; }
.m-clock { text-align: center; margin-bottom: 18px; }
.m-clock small { display: block; font-weight: 700; font-size: 11px; color: var(--text-soft); }
.m-clock strong { font: 700 58px/1 var(--display); letter-spacing: -0.04em; }
.m-notif { border-radius: 18px; background: var(--surface-high); border: 1px solid var(--border-strong); padding: 10px 12px; display: grid; gap: 2px; }
.m-notif .m-row { justify-content: flex-start; gap: 6px; }
.m-notif .m-row small { color: var(--text-tertiary); font-weight: 700; font-size: 9.5px; }
.m-notif .m-row small:last-child { margin-left: auto; }
.m-notif .app { width: 18px; height: 18px; border-radius: 5px; background: var(--bg); display: grid; place-items: center; }
.m-notif .app img { width: 12px; height: auto; }
.m-notif strong { font-size: 12px; }
.m-notif span { color: var(--text-soft); font-weight: 600; font-size: 10.5px; }
.is-active .m-notif.n1 { animation: drop .7s var(--release) .4s both; }
@keyframes drop { from { opacity: 0; transform: translateY(-20px) scale(.96); } }

/* ---------- Crew chat ---------- */
.crew { position: relative; display: grid; gap: 16px; }
.chatcard, .pcard { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--spring); }
.chatcard { border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.chat-head .gav { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--s-cricket) 16%, transparent); flex: none; }
.chat-head .gav svg { width: 22px; height: 22px; stroke: var(--s-cricket); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.chat-head strong { display: block; font-size: 15px; }
.chat-head span { color: var(--text-tertiary); font-size: 12.5px; font-weight: 600; }
.chat-head .online { color: var(--success); }
.chat-body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 86%; opacity: 0; transform: translateY(12px) scale(.97); transform-origin: left bottom; transition: opacity .35s, transform .6s var(--release); transition-delay: calc(.2s + var(--i) * .55s); }
.in .msg { opacity: 1; transform: none; }
.msg > i { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 10px var(--display); font-style: normal; background: var(--bg-a); }
.msg .b { padding: 9px 13px; border-radius: 16px 16px 16px 6px; background: var(--surface-high); font-size: 14px; font-weight: 600; }
.msg .b small { display: block; font-size: 11px; font-weight: 700; color: var(--c, var(--text-tertiary)); margin-bottom: 1px; }
.msg.me { justify-self: end; transform-origin: right bottom; }
.msg.me .b { background: var(--text); color: var(--bg); border-radius: 16px 16px 6px 16px; }
.msg .tick { display: block; text-align: right; font-size: 10.5px; font-weight: 700; color: var(--hint); margin-top: 2px; }
.msg.me .tick { color: #5b626b; }
.chatcard .typing { margin-top: 2px; transition-delay: 2.2s; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 18px; }
.quick span { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--text-soft); }
@media (min-width: 1000px) {
  .crew .chatcard:first-child .chat-body { padding-bottom: 56px; }
  .crew .chatcard.venue { width: 82%; margin: -40px 0 0 auto; box-shadow: 0 -20px 40px -10px rgba(0,0,0,.6); }
}

/* ---------- Story viewer ---------- */
.story-stage { display: grid; place-items: center; }
.sv { position: absolute; inset: 0; }
.sv-slide { position: absolute; inset: 0; background: center / cover; animation: sv0 15s infinite; }
.sv-slide:nth-child(2) { animation-name: sv1; } .sv-slide:nth-child(3) { animation-name: sv2; }
.sv-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), transparent 25%, transparent 65%, rgba(0,0,0,.6)); }
@keyframes sv0 { 0%, 31% { opacity: 1; } 33.3%, 98% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sv1 { 0%, 31% { opacity: 0; } 33.3%, 64% { opacity: 1; } 66.6%, 100% { opacity: 0; } }
@keyframes sv2 { 0%, 64% { opacity: 0; } 66.6%, 98% { opacity: 1; } 100% { opacity: 0; } }
.sv-bars { position: absolute; top: 48px; left: 12px; right: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; z-index: 2; }
.sv-bars i { height: 3px; border-radius: 3px; background: rgba(244,246,247,.35); overflow: hidden; }
.sv-bars i::after { content: ""; display: block; height: 100%; background: #f4f6f7; transform-origin: left; animation: bar0 15s linear infinite; }
.sv-bars i:nth-child(2)::after { animation-name: bar1; } .sv-bars i:nth-child(3)::after { animation-name: bar2; }
@keyframes bar0 { 0% { transform: scaleX(0); } 33.3%, 100% { transform: scaleX(1); } }
@keyframes bar1 { 0%, 33.3% { transform: scaleX(0); } 66.6%, 100% { transform: scaleX(1); } }
@keyframes bar2 { 0%, 66.6% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.sv-head { position: absolute; top: 60px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; z-index: 2; color: #f4f6f7; }
.sv-head img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1.5px solid #f4f6f7; }
.sv-head strong { font-size: 12px; }
.sv-head span { font-size: 11px; font-weight: 600; opacity: .8; }
.sv-text { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-2deg); padding: 8px 14px; border-radius: 10px; font: 700 20px var(--display); letter-spacing: -0.02em; white-space: nowrap; background: var(--tb); color: var(--tc); }
.sv-btn { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); height: 36px; padding: 0 18px; border-radius: 999px; background: #f4f6f7; color: #0a0d11; font-weight: 800; font-size: 11.5px; display: inline-flex; align-items: center; z-index: 2; white-space: nowrap; }
.story-row { margin-top: 32px; }
@media (max-width: 380px) { .story-row { gap: 10px; } .story-row .ring { width: 64px; height: 64px; } }

/* ---------- Player card ---------- */
.pcard { border-radius: 28px; background: var(--card); border: 1px solid var(--border-strong); padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); max-width: 480px; justify-self: center; width: 100%; }
.pc-head { display: flex; align-items: center; gap: 14px; }
.pc-head .av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 700 19px var(--display); background: linear-gradient(135deg, #3b4652, #20262c); border: 1px solid var(--border-strong); }
.pc-head strong { display: block; font: 700 22px var(--display); letter-spacing: -0.02em; }
.pc-head span { color: var(--text-tertiary); font-weight: 600; font-size: 14px; }
.pc-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.pc-stats div { padding: 14px 0; text-align: center; border-left: 1px solid var(--border); }
.pc-stats div:first-child { border-left: 0; }
.pc-stats .num { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.pc-stats small { color: var(--text-tertiary); font-weight: 800; font-size: 11px; letter-spacing: .06em; }
.pc-rel { display: flex; align-items: center; gap: 16px; }
.rel-ring { --p: 0%; width: 76px; height: 76px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--lime) var(--p), var(--surface-high) 0); position: relative; }
.rel-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--card); }
.rel-ring .num { position: relative; font-size: 18px; font-weight: 700; }
.in .rel-ring { animation: ring 1.6s var(--spring) .2s forwards; }
@keyframes ring { to { --p: 96%; } }
.pc-rel strong { display: block; font-size: 17px; }
.pc-rel span { color: var(--text-tertiary); font-weight: 600; font-size: 14px; }
.pc-sports { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-sports span { height: 34px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; }
.pc-sports i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.pc-sports b { font-family: var(--display); color: var(--text-tertiary); font-size: 12px; }

/* ---------- Mascot ---------- */
.mascot svg { display: block; width: 100%; height: auto; overflow: visible; }
.mascot-hero { position: absolute; right: -15%; bottom: -3%; width: clamp(110px, 13vw, 170px); z-index: 2; pointer-events: none; }
.mascot-final { width: clamp(120px, 14vw, 160px); margin: 0 auto 4px; }
.nf-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 32px; }
.nf-mascot { width: 100%; max-width: 380px; justify-self: center; }
@media (max-width: 760px) {
  .mascot-hero { right: -4%; bottom: -6%; }
  .nf-grid { grid-template-columns: minmax(0, 1fr); }
  .nf-mascot { max-width: 260px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 80ms !important; transition-delay: 0ms !important; }
  [data-reveal], [data-split] .w > span, .hero .phone-stage .reveal-pop { opacity: 1 !important; transform: none !important; }
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none !important; }
  .marquee .dup { display: none; }
  .board .incoming { animation: none !important; opacity: 1; transform: none; }
  .tile, .chatcard, .pcard { transform: none !important; }
  .sv-slide:not(:first-child) { display: none; }
  .sv-bars i:first-child::after { transform: none; }
  .sv-slide:first-child { opacity: 1; }
  .in .rel-ring { --p: 96%; }
}
.doc .contact-box { margin-top: 16px; padding: 20px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.doc .contact-box p + p { margin-top: 6px; }
