/* PadelMe website (padelmekrd.com), 2026-10-17. The app's colours (src/theme.ts): near-black, lime, one quiet grey.
   Unbounded for the big headlines (wide, like the logo's name), Inter for everything else (as in the app). */

/* The fonts (SIL Open Font License, from Google Fonts) are kept on the website itself: nothing loads from Google. */

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/site/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/site/fonts/unbounded-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
  --bg: #050607;
  --surface: #0c1013;
  --card: #12171a;
  --raised: #1a2024;
  --line: #1c2226;
  --line-2: #262e33;
  --text: #edeff1;
  --text-2: #c7cdd2;
  --muted: #8c949b;
  --dim: #6a737a;
  --lime: #cdf755;
  --lime-2: #e2fc78;
  --lime-3: #b4ea3c;
  --lime-soft: rgba(205, 247, 85, 0.12);
  --on-lime: #0c1013;
  --red: #ff5a5f;

  --display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --arabic: system-ui, -apple-system, 'Segoe UI', 'Noto Sans Arabic', Tahoma, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 28px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */

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

html {
  overflow-x: hidden;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* A faint film grain over everything, like a floodlit night. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

b {
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: var(--lime);
  color: var(--on-lime);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip:focus {
  transform: none;
}

[dir='rtl'],
[lang='ar'],
[lang='ku-Arab'] {
  font-family: var(--arabic);
}

/* ---------- Type ---------- */

.h1 {
  margin: 0;
  font: 700 clamp(40px, 5.3vw, 70px) / 1.04 var(--display);
  letter-spacing: -0.03em;
}

.h1 > span {
  display: block;
}

.lime-text {
  background: linear-gradient(100deg, var(--lime-2) 0%, var(--lime) 45%, var(--lime-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(205, 247, 85, 0.28));
}

.h2 {
  margin: 0;
  font: 700 clamp(32px, 4.4vw, 56px) / 1.08 var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h3 {
  margin: 0;
  font: 700 20px/1.3 var(--sans);
  letter-spacing: -0.015em;
}

.lead {
  margin-top: 26px;
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.kicker::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.kicker.dark {
  color: var(--on-lime);
}

.sub {
  margin-top: 20px;
  max-width: 38em;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-sm {
  height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.btn-lime {
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 26px -10px rgba(205, 247, 85, 0.7);
}

.btn-lime:hover {
  background: var(--lime-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 34px -10px rgba(205, 247, 85, 0.85);
}

.btn-dark {
  background: var(--on-lime);
  color: var(--lime);
  box-shadow: 0 10px 26px -12px rgba(12, 16, 19, 0.8);
}

.btn-dark:hover {
  background: #171d21;
}

.btn-dark-ghost {
  background: rgba(12, 16, 19, 0.06);
  color: var(--on-lime);
  box-shadow: inset 0 0 0 1.5px rgba(12, 16, 19, 0.28);
}

.btn-dark-ghost:hover {
  background: rgba(12, 16, 19, 0.12);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}

.text-link .ic {
  width: 18px;
  height: 18px;
  color: var(--lime);
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--text);
}

.text-link:hover .ic {
  transform: translateX(4px);
}

/* The store buttons, until the app is in the stores. */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.stores.center {
  justify-content: center;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 22px 0 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: var(--text);
  user-select: none;
}

.store .ic {
  width: 26px;
  height: 26px;
  color: var(--lime);
}

.store span {
  display: flex;
  flex-direction: column;
  font: 700 17px/1.15 var(--sans);
  letter-spacing: -0.01em;
}

.store small {
  font: 500 11.5px/1.3 var(--sans);
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ---------- Header ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled,
.nav.open {
  background: rgba(5, 6, 7, 0.74);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 14px var(--gutter);
}

.brand img {
  width: auto;
  height: 34px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, background-color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-btn {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.menu {
  position: absolute;
  top: 100%;
  left: 12px;
  right: 12px;
  display: grid;
  gap: 2px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 100vmax rgba(5, 6, 7, 0.55);
}

.menu[hidden] {
  display: none;
}

.menu a {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* A note after an email link (an account confirmed, a link that ran out). */
.notice {
  position: fixed;
  top: 84px;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 10px 12px 16px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(205, 247, 85, 0.35);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.9);
  transform: translateX(-50%);
  animation: drop 0.5s var(--ease) both;
}

.notice[hidden] {
  display: none;
}

.notice > .ic {
  color: var(--lime);
}

.notice p {
  font-size: 15px;
  line-height: 1.45;
}

.notice-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 104px 0 32px;
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 52% at 72% 42%, rgba(205, 247, 85, 0.17), transparent 70%),
    radial-gradient(30% 34% at 12% 4%, rgba(205, 247, 85, 0.07), transparent 70%),
    conic-gradient(from 150deg at 100% 0%, transparent 0deg, rgba(205, 247, 85, 0.05) 14deg, transparent 32deg);
}

/* A court's grid of lines, fading out from the middle. */
.hero-sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 55% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 55% at 60% 40%, #000 20%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  min-height: min(760px, calc(100svh - 104px));
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 8px 15px 8px 11px;
  border-radius: 999px;
  background: rgba(205, 247, 85, 0.08);
  box-shadow: inset 0 0 0 1px rgba(205, 247, 85, 0.22);
  font: 600 14px/1 var(--sans);
  color: var(--lime-2);
}

.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: ping 2.4s ease-out infinite;
}

.rise {
  animation: rise 0.9s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}

/* The phones, standing on a floodlit court. */
.stage {
  --px: 0;
  --py: 0;
  position: relative;
  height: 640px;
}

.floor {
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: 165%;
  aspect-ratio: 2 / 1;
  pointer-events: none;
  transform: translateX(-50%) perspective(900px) rotateX(63deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 92%), linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to top, #000 30%, transparent 92%), linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-composite: intersect;
}

.floor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(205, 247, 85, 0.3), rgba(205, 247, 85, 0.06) 60%, transparent);
}

.floor svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.3;
  filter: drop-shadow(0 0 4px rgba(205, 247, 85, 0.9));
}

.floor .net {
  stroke: var(--text);
  stroke-width: 2;
  opacity: 0.8;
}

.floor .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.8s var(--ease) 0.5s forwards;
}

.phones {
  position: absolute;
  inset: 0;
}

.phone-slot {
  position: absolute;
  left: 50%;
  top: 16px;
  margin: 0;
  transform: translateX(-50%) translate(calc(var(--px) * -10px), calc(var(--py) * -6px));
  transition: transform 0.6s var(--ease);
}

.slot-center {
  z-index: 3;
}

.slot-center .phone {
  --w: 272px;
  animation: phone-in 1.1s var(--ease) 0.25s both;
}

.slot-left,
.slot-right {
  z-index: 2;
  top: 64px;
}

.slot-left {
  transform: translateX(calc(-50% - 158px)) translate(calc(var(--px) * -4px), calc(var(--py) * -3px)) rotate(-7deg);
}

.slot-right {
  transform: translateX(calc(-50% + 158px)) translate(calc(var(--px) * -4px), calc(var(--py) * -3px)) rotate(7deg);
}

.slot-left .phone,
.slot-right .phone {
  --w: 222px;
  animation: phone-in 1.1s var(--ease) 0.45s both;
}

.slot-left .screen,
.slot-right .screen {
  filter: brightness(0.62) saturate(0.9);
}

/* A phone: a thin metal edge, a black bezel, the screen. --w is its width. */
.phone {
  --w: 272px;
  --sw: calc(var(--w) * 0.932);
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.168);
  background: linear-gradient(145deg, #4a5257 0%, #1a1e21 18%, #0b0d0f 48%, #1c2125 80%, #444c51 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 calc(var(--w) * 0.012) #050607,
    0 50px 80px -34px rgba(0, 0, 0, 0.95),
    0 34px 70px -40px rgba(205, 247, 85, 0.4);
}

.screen {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.136);
  background: var(--bg);
}

.screen img {
  width: 100%;
  height: auto;
}

.status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--sw) * 0.1205);
  padding: 0 calc(var(--sw) * 0.085) 0 calc(var(--sw) * 0.1);
  font: 600 calc(var(--sw) * 0.04) / 1 var(--sans);
  letter-spacing: 0.01em;
  color: var(--text);
}

.island {
  position: absolute;
  top: calc(var(--sw) * 0.03);
  left: 50%;
  width: calc(var(--sw) * 0.3);
  height: calc(var(--sw) * 0.085);
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.status-icons {
  display: flex;
  align-items: flex-end;
  gap: calc(var(--sw) * 0.006);
}

.status-icons b {
  width: calc(var(--sw) * 0.009);
  border-radius: 1px;
  background: var(--text);
}

.status-icons b:nth-child(1) {
  height: calc(var(--sw) * 0.014);
}

.status-icons b:nth-child(2) {
  height: calc(var(--sw) * 0.021);
}

.status-icons b:nth-child(3) {
  height: calc(var(--sw) * 0.028);
}

.status-icons em {
  width: calc(var(--sw) * 0.06);
  height: calc(var(--sw) * 0.028);
  margin-inline-start: calc(var(--sw) * 0.016);
  border-radius: calc(var(--sw) * 0.008);
  background: linear-gradient(90deg, var(--text) 72%, transparent 72%);
  box-shadow: 0 0 0 1px rgba(237, 239, 241, 0.45);
}

/* Glass cards floating around the phones. */
.float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: rgba(18, 23, 26, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  animation: float-in 0.9s var(--ease) both, bob 7s ease-in-out infinite;
}

.float-1 {
  top: 31%;
  left: -7%;
  animation-delay: 1s, 1.9s;
}

.float-2 {
  top: 7%;
  right: -8%;
  animation-delay: 1.15s, 0.4s;
}

.float-3 {
  bottom: 12%;
  left: -4%;
  animation-delay: 1.3s, 1.2s;
}

.float-4 {
  bottom: 24%;
  right: -12%;
  animation-delay: 1.45s, 2.6s;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--lime);
}

.float-icon.lime {
  background: var(--lime);
  color: var(--on-lime);
}

.float-text b {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.float-text small {
  display: block;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
}

.lv {
  padding: 8px 11px;
  border-radius: 12px;
  background: var(--lime-soft);
  box-shadow: inset 0 0 0 1.5px rgba(205, 247, 85, 0.55);
  font: 700 15px/1 var(--display);
  letter-spacing: -0.02em;
  color: var(--lime);
}

/* Players' first letters, as the app draws them without a photo. */
.faces {
  display: flex;
  padding-inline-start: 8px;
}

.faces i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-inline-start: -8px;
  border-radius: 50%;
  border: 2px solid var(--card);
  font: 700 9.5px/1 var(--sans);
  font-style: normal;
  color: var(--text);
  background: #2f2140;
}

.faces i:nth-child(2) {
  background: #1d2b37;
}

.faces i:nth-child(3) {
  background: #3a2a1d;
}

.faces i.me {
  background: #3d1e23;
  box-shadow: 0 0 0 1.5px var(--lime);
}

.faces i.empty {
  background: transparent;
  border: 1.5px dashed rgba(237, 239, 241, 0.35);
}

.faces.sm i {
  width: 26px;
  height: 26px;
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.ticker-track > * {
  margin-inline-end: 36px;
}

.ticker span {
  font: 700 clamp(28px, 4vw, 50px) / 1 var(--display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ticker .outline {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(237, 239, 241, 0.5);
}

.ticker i {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--lime-2), var(--lime) 55%, var(--lime-3));
  box-shadow: 0 0 18px rgba(205, 247, 85, 0.75);
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(64px, 7.5vw, 100px) 0;
  overflow-x: clip;
}

.head {
  max-width: 780px;
  margin: 0 auto clamp(44px, 6vw, 64px);
  text-align: center;
}

.head .sub {
  margin-inline: auto;
}

.js [data-reveal] {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}

.js [data-reveal]:not(.in) {
  opacity: 0;
  transform: translateY(32px);
}

/* A card: a hair of light on top, and a lime glow that follows the pointer. */
.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)), var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, -30%), rgba(205, 247, 85, 0.1), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::before {
  opacity: 1;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 14px 14px 30px;
}

.step > :not(.step-art) {
  margin-inline: 14px;
}

.step p {
  margin-top: 10px;
  color: var(--text-2);
}

.step p b {
  color: var(--text);
}

.step-n {
  display: inline-block;
  margin-bottom: 10px;
  font: 700 14px/1 var(--display);
  letter-spacing: 0.04em;
  color: var(--lime);
}

.step-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 236px;
  margin-bottom: 26px;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(70% 80% at 50% 110%, rgba(205, 247, 85, 0.12), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}

.step-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
}

/* 1 — the club's games, as the app's boxes */
.slots {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 86px);
  gap: 8px;
}

.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 62px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line-2);
  font: 700 13px/1.25 var(--sans);
}

.slot small {
  font-size: 11.5px;
  font-weight: 500;
  color: inherit;
  opacity: 0.62;
}

.slot em {
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  color: var(--lime);
}

.slot.gone {
  opacity: 0.35;
}

.slot .tap {
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 2px solid var(--lime);
  opacity: 0;
}

.step.in .slot.pick {
  animation: pick 5s var(--ease) 0.6s infinite;
}

.step.in .slot .tap {
  animation: tap-ring 5s ease-out 0.6s infinite;
}

/* 2 — four seats on a court, filling up */
.court-mini {
  position: relative;
  width: 260px;
  height: 150px;
  border-radius: 10px;
  border: 1.5px solid rgba(205, 247, 85, 0.55);
  background: linear-gradient(180deg, rgba(205, 247, 85, 0.07), rgba(205, 247, 85, 0.02));
  box-shadow: 0 0 40px -10px rgba(205, 247, 85, 0.35);
}

.court-mini::before {
  content: '';
  position: absolute;
  inset: 0 15%;
  border-inline: 1.5px solid rgba(205, 247, 85, 0.35);
  background: linear-gradient(rgba(205, 247, 85, 0.35), rgba(205, 247, 85, 0.35)) center / 100% 1.5px no-repeat;
}

.court-mini .net {
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 50%;
  width: 3px;
  border-radius: 2px;
  background: rgba(237, 239, 241, 0.7);
  transform: translateX(-50%);
}

.seat {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px dashed rgba(205, 247, 85, 0.5);
  background: rgba(5, 6, 7, 0.6);
}

.s1 {
  left: 9%;
  top: 14%;
}

.s2 {
  left: 9%;
  bottom: 14%;
}

.s3 {
  right: 9%;
  top: 14%;
}

.s4 {
  right: 9%;
  bottom: 14%;
}

.seat i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font: 700 13px/1 var(--sans);
  font-style: normal;
  background: #2f2140;
  transform: scale(0);
}

.s2 i {
  background: #1d2b37;
}

.s3 i {
  background: #3a2a1d;
}

.seat i.you {
  background: var(--lime);
  color: var(--on-lime);
  font-size: 12px;
}

.step.in .seat i {
  animation: pop 0.55s var(--ease) both;
}

.step.in .s1 i {
  animation-delay: 0.3s;
}

.step.in .s2 i {
  animation-delay: 0.8s;
}

.step.in .s3 i {
  animation-delay: 1.3s;
}

.step.in .s4 i {
  animation-delay: 2.1s;
}

.court-count {
  position: absolute;
  left: 50%;
  bottom: -42px;
  display: grid;
  transform: translateX(-50%);
  white-space: nowrap;
}

.court-count b {
  grid-area: 1 / 1;
  justify-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
}

.court-count .n4 {
  background: var(--lime);
  color: var(--on-lime);
  opacity: 0;
}

.step.in .court-count .n3 {
  animation: fade-out 0.3s ease 2.3s both;
}

.step.in .court-count .n4 {
  animation: fade-in 0.4s var(--ease) 2.35s both;
}

.step:has(.court-mini) .step-art {
  padding-bottom: 34px;
}

/* 3 — paying a seat */
.pay {
  position: relative;
  display: grid;
  gap: 14px;
  width: 260px;
  padding: 18px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.9);
}

.pay-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-2);
}

.pay-row b {
  color: var(--text);
}

.pay-btn {
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
  font: 700 15px/1 var(--sans);
}

.pay-btn > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pay-done {
  opacity: 0;
  color: var(--lime);
}

.pay-done .ic {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.pay-seats {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.pay-seats i {
  width: 22px;
  height: 6px;
  border-radius: 6px;
  background: var(--lime);
}

.pay-seats i.last {
  background: rgba(255, 255, 255, 0.12);
}

.pay-seats span {
  margin-inline-start: 6px;
}

.pay-booked {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--lime);
  opacity: 0;
}

.pay-booked .ic {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.step.in .pay-btn {
  animation: paid-btn 0.5s ease 1.2s both;
}

.step.in .pay-label {
  animation: fade-out 0.25s ease 1.2s both;
}

.step.in .pay-done {
  animation: fade-in 0.35s var(--ease) 1.3s both;
}

.step.in .pay-seats i.last {
  animation: seat-paid 0.4s ease 1.6s both;
}

.step.in .pay-booked {
  animation: fade-in 0.5s var(--ease) 2.1s both;
}

/* ---------- Features ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    'm m l'
    't c l'
    'g g n';
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 30px;
}

.tile .h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tile .h3 .ic {
  width: 22px;
  height: 22px;
  color: var(--lime);
}

.tile-copy p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--text-2);
}

.t-matches {
  grid-area: m;
  flex-direction: row;
  align-items: center;
}

.t-matches .tile-copy {
  flex: 1 1 40%;
}

.t-level {
  grid-area: l;
}

.t-train {
  grid-area: t;
}

.t-chat {
  grid-area: c;
}

.t-lang {
  grid-area: g;
  flex-direction: row;
  align-items: center;
}

.t-lang .tile-copy {
  flex: 1 1 40%;
}

.t-notify {
  grid-area: n;
}

/* Matches: two of the app's match cards */
.mcards {
  position: relative;
  flex: 1 1 60%;
  height: 272px;
}

.mcard {
  position: absolute;
  display: grid;
  gap: 9px;
  width: 280px;
  padding: 17px 18px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.95);
  transition: transform 0.5s var(--ease);
}

.mcard.hot {
  z-index: 2;
  top: 82px;
  left: 0;
  border-color: rgba(205, 247, 85, 0.45);
  background: linear-gradient(180deg, rgba(205, 247, 85, 0.07), rgba(205, 247, 85, 0.015)), var(--card);
  transform: rotate(-2.5deg);
}

.mcard:not(.hot) {
  top: 0;
  right: 0;
  transform: rotate(3.5deg);
}

.t-matches:hover .mcard.hot {
  transform: rotate(-4deg) translate(-8px, -4px);
}

.t-matches:hover .mcard:not(.hot) {
  transform: rotate(4.5deg) translate(8px, 4px);
}

.mc-club {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mc-time {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
}

.mc-time .ic {
  width: 16px;
  height: 16px;
  color: var(--lime);
}

.mc-time small {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}

.mc-chip {
  justify-self: start;
  padding: 6px 11px;
  border-radius: 999px;
  font: 600 12.5px/1 var(--sans);
  background: var(--lime-soft);
  color: var(--lime);
}

.mc-chip.red {
  background: rgba(255, 90, 95, 0.14);
  color: var(--red);
}

.mc-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.mc-foot > b {
  font-size: 15px;
}

.mc-price {
  margin-inline-start: auto;
  font: 700 18px/1 var(--sans);
  color: var(--lime);
}

.mc-price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* Levels */
.level {
  display: grid;
  gap: 8px;
}

.level-k {
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.level-n {
  font: 800 clamp(104px, 10vw, 148px) / 0.9 var(--display);
  letter-spacing: -0.06em;
  color: var(--lime);
  text-shadow: 0 0 46px rgba(205, 247, 85, 0.35);
  font-variant-numeric: tabular-nums;
}

.level-bar {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.level-bar i {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime-3), var(--lime-2));
  box-shadow: 0 0 14px rgba(205, 247, 85, 0.6);
  transition: width 1.6s var(--ease) 0.5s;
}

.js .t-level:not(.in) .level-bar i {
  width: 0;
}

.level-next {
  font-size: 14px;
  color: var(--muted);
}

.ladder {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.ladder li {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
  color: var(--text-2);
}

.ladder b {
  color: var(--text);
}

.ladder .more b {
  color: var(--lime);
}

/* Training */
.session {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line-2);
}

.session-k {
  font: 600 11.5px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.session > b {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.session-when {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text-2);
}

.session-when .ic {
  width: 16px;
  height: 16px;
  color: var(--lime);
}

.session-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.coach {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
}

.coach i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #183a2c;
  font: 700 10.5px/1 var(--sans);
  font-style: normal;
}

/* Chat */
.chat {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.msg i {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2f2140;
  font: 700 9.5px/1 var(--sans);
  font-style: normal;
}

.msg:nth-child(3) i {
  background: #1d2b37;
}

.msg span {
  padding: 10px 14px;
  border-radius: 18px 18px 18px 6px;
  background: var(--raised);
  font-size: 14.5px;
  line-height: 1.4;
}

.msg.mine {
  justify-content: flex-end;
}

.msg.mine span {
  border-radius: 18px 18px 6px 18px;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 600;
}

.js .t-chat .msg {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.t-chat.in .msg {
  opacity: 1;
  transform: none;
}

.t-chat.in .msg:nth-child(2) {
  transition-delay: 0.7s;
}

.t-chat.in .msg:nth-child(3) {
  transition-delay: 1.4s;
}

/* Languages */
.langs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex: 1 1 55%;
}

.lang {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  transition: border-color 0.4s, background-color 0.4s;
}

.lang small {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.lang span {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.lang.rtl span {
  font-weight: 600;
}

.t-lang.in .lang {
  animation: lang-on 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}

/* Notifications */
.notes {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.note {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 18px;
  background: rgba(26, 32, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.note img {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.note b {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.js .t-notify .note {
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.t-notify.in .note {
  opacity: 1;
  transform: none;
}

.t-notify.in .note:nth-child(2) {
  transition-delay: 0.35s;
}

.t-notify.in .note:nth-child(3) {
  transition-delay: 0.7s;
}

/* ---------- Tournaments ---------- */

.tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.tour-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 30px 0;
}

.tour-glow {
  position: absolute;
  width: min(560px, 120%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(205, 247, 85, 0.22), rgba(205, 247, 85, 0.05) 60%, transparent);
}

.tour-glow::before,
.tour-glow::after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(205, 247, 85, 0.12);
}

.tour-glow::after {
  inset: 26%;
  border-style: dashed;
  animation: spin 60s linear infinite;
}

.phone-lg {
  --w: 300px;
  transform: rotate(-3deg);
}

.float-t1 {
  top: 3%;
  right: -2%;
  animation: bob 7s ease-in-out 0.5s infinite;
}

.float-t2 {
  bottom: 16%;
  left: 0;
  padding: 12px 16px;
  animation: bob 7s ease-in-out 2s infinite;
}

.score {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 15px/1 var(--sans);
}

.score b {
  color: var(--lime);
  letter-spacing: 0.04em;
}

.score b.dim {
  color: var(--dim);
}

.score em {
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-style: normal;
  color: var(--text);
}

.ticks {
  display: grid;
  gap: 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--text-2);
}

.ticks b {
  display: block;
  margin-bottom: 2px;
  font-size: 17px;
  color: var(--text);
}

.tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(205, 247, 85, 0.09);
  border: 1px solid rgba(205, 247, 85, 0.2);
  color: var(--lime);
}

/* ---------- Clubs ---------- */

.clubs {
  --pad: clamp(28px, 5vw, 64px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  overflow: hidden;
  padding: var(--pad);
  border-radius: 40px;
  background: radial-gradient(130% 140% at 0% 0%, #ecfd9c 0%, #d8fa66 32%, #c6f24a 64%, #ade336 100%);
  color: var(--on-lime);
  box-shadow: 0 50px 120px -50px rgba(205, 247, 85, 0.55);
}

/* A court's lines, drawn large and dark across the card. */
.clubs::before {
  content: '';
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(12, 16, 19, 0.07) calc(50% - 1px), rgba(12, 16, 19, 0.07) calc(50% + 1px), transparent calc(50% + 1px));
  -webkit-mask-image: radial-gradient(80% 90% at 30% 40%, #000, transparent);
  mask-image: radial-gradient(80% 90% at 30% 40%, #000, transparent);
}

.clubs-copy {
  position: relative;
}

.clubs .h2 {
  color: var(--on-lime);
}

.clubs .sub {
  color: rgba(12, 16, 19, 0.76);
}

.club-list {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.club-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(12, 16, 19, 0.72);
  font-size: 16px;
  line-height: 1.5;
}

.club-list .ic {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  stroke-width: 2;
  color: var(--on-lime);
}

.club-list b {
  display: block;
  color: var(--on-lime);
  font-weight: 700;
}

.clubs-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.clubs-art {
  position: relative;
  margin-inline-end: calc(var(--pad) * -1 - 120px);
}

.browser {
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(12, 16, 19, 0.35), 0 50px 90px -40px rgba(12, 16, 19, 0.85), 0 20px 40px -24px rgba(12, 16, 19, 0.6);
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transform-origin: 0 50%;
  transition: transform 0.8s var(--ease);
}

.clubs:hover .browser {
  transform: perspective(1600px) rotateY(-5deg) rotateX(2deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: #161b1f;
  border-bottom: 1px solid #232a2f;
}

.browser-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2c3338;
}

.browser-bar span {
  flex: 0 1 300px;
  margin-inline-start: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface);
  font: 500 12px/1 var(--sans);
  color: var(--muted);
}

.browser img {
  width: 100%;
  height: auto;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.faq-side {
  position: sticky;
  top: 112px;
}

.contact {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  padding: 24px;
}

.contact p {
  color: var(--text-2);
}

.contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  transition: color 0.2s;
}

.contact a .ic {
  color: var(--lime);
}

.contact a:hover {
  color: var(--lime);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font: 600 18px/1.4 var(--sans);
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--lime);
}

.faq summary::after {
  content: '';
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cdf755' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.3s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--lime-soft);
}

.faq details p {
  max-width: 62ch;
  padding-bottom: 24px;
  color: var(--text-2);
}

.faq details[open] p {
  animation: rise 0.45s var(--ease) both;
}

.faq a {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-color: rgba(205, 247, 85, 0.4);
  text-underline-offset: 3px;
}

/* ---------- Download ---------- */

.final {
  overflow: hidden;
  text-align: center;
}

.final::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: min(1100px, 140%);
  aspect-ratio: 2 / 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(205, 247, 85, 0.2), rgba(205, 247, 85, 0.05) 55%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.final-in {
  position: relative;
}

.app-icon {
  width: 112px;
  margin: 0 auto 34px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -20px rgba(0, 0, 0, 0.95), 0 0 90px rgba(205, 247, 85, 0.35);
  animation: bob 6s ease-in-out infinite;
}

.h2.big {
  font-size: clamp(40px, 7vw, 92px);
  letter-spacing: -0.045em;
}

.final .sub {
  margin-inline: auto;
}

/* ---------- Footer ---------- */

.footer {
  padding: 72px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.foot-brand img {
  width: auto;
  height: 32px;
}

.foot-brand p {
  margin-top: 16px;
  font-size: 15px;
}

.foot-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
}

.foot-col h4 {
  margin: 0 0 4px;
  font: 600 12.5px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}

.foot-col a {
  transition: color 0.2s;
}

.foot-col a:hover {
  color: var(--lime);
}

.foot-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 26px;
  font-size: 14px;
}

.foot-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.to-top .ic {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
}

.to-top:hover {
  color: var(--lime);
}

/* ---------- Legal pages ---------- */

/* /legal/privacy, /legal/terms and /legal/delete-account (scripts/build-site.mjs makes them from src/lib/legal.ts):
   the text in a column made for reading, what is on the page down the side. */
.legal {
  position: relative;
  padding: clamp(116px, 13vw, 152px) 0 clamp(72px, 9vw, 120px);
}

/* The floodlight and the court's lines of the home page's hero, fading out below the title. */
.legal::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 640px;
  pointer-events: none;
  background-image:
    radial-gradient(46% 60% at 60% 0%, rgba(205, 247, 85, 0.13), transparent 72%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  -webkit-mask-image: radial-gradient(70% 100% at 60% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(70% 100% at 60% 0%, #000 25%, transparent 78%);
}

.legal-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 760px);
  justify-content: center;
  gap: clamp(48px, 7vw, 104px);
}

.toc {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 2px;
  margin-top: 4px;
  padding-inline-start: 18px;
  border-inline-start: 1px solid var(--line-2);
}

.toc p {
  margin-bottom: 12px;
  font: 600 12.5px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}

.toc a {
  position: relative;
  padding: 7px 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted);
  transition: color 0.2s;
}

.toc a:hover {
  color: var(--text);
}

.toc a[aria-current='true'] {
  color: var(--lime);
}

/* The section you are reading: a lime mark on the line. */
.toc a[aria-current='true']::before {
  content: '';
  position: absolute;
  inset-block: 7px;
  inset-inline-start: -19px;
  width: 2px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(205, 247, 85, 0.6);
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.legal-tabs a {
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.legal-tabs a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.legal-tabs a[aria-current='page'] {
  color: var(--lime);
  background: var(--lime-soft);
  border-color: rgba(205, 247, 85, 0.35);
}

.legal-doc {
  counter-reset: section;
}

.legal-doc h1 {
  font-size: clamp(32px, 4.2vw, 52px);
}

.legal-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.legal-date .ic {
  width: 16px;
  height: 16px;
  color: var(--lime);
}

.legal-doc .lead {
  max-width: none;
}

.legal-doc .lead a,
.legal-sec a {
  color: var(--lime);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(205, 247, 85, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.legal-doc .lead a:hover,
.legal-sec a:hover {
  text-decoration-color: currentColor;
}

.legal-sec {
  counter-increment: section;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}

.legal-sec h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 18px;
  font: 600 clamp(19px, 2vw, 23px) / 1.3 var(--display);
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

/* 01, 02… */
.legal-sec h2::before {
  content: counter(section, decimal-leading-zero);
  flex: none;
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--lime);
}

.legal-sec > * + * {
  margin-top: 16px;
}

.legal-sec ul,
.legal-sec ol {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.legal-sec li {
  position: relative;
  padding-inline-start: 26px;
}

/* The app's lime dots… */
.legal-sec ul li::before {
  content: '';
  position: absolute;
  top: calc(0.8em - 3px);
  inset-inline-start: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(205, 247, 85, 0.45);
}

/* …and its numbered steps. */
.legal-sec ol {
  counter-reset: step;
  gap: 14px;
}

.legal-sec ol li {
  counter-increment: step;
  min-height: 30px;
  padding-top: 2px;
  padding-inline-start: 46px;
}

.legal-sec ol li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(205, 247, 85, 0.3);
  border-radius: 50%;
  background: var(--lime-soft);
  font: 700 14px/1 var(--sans);
  color: var(--lime);
}

/* ---------- Motion ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translate(-50%, -14px);
  }
}

@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.96);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(205, 247, 85, 0.6);
  }
  70%,
  100% {
    box-shadow: 0 0 0 10px rgba(205, 247, 85, 0);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pick {
  0%,
  14% {
    background: var(--card);
    border-color: var(--line-2);
    color: var(--text);
    transform: none;
  }
  18% {
    transform: scale(0.93);
  }
  24%,
  86% {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--on-lime);
    transform: none;
    box-shadow: 0 10px 30px -8px rgba(205, 247, 85, 0.65);
  }
  94%,
  100% {
    background: var(--card);
    border-color: var(--line-2);
    color: var(--text);
  }
}

@keyframes tap-ring {
  0%,
  16% {
    opacity: 0;
    transform: scale(0.9);
  }
  19% {
    opacity: 1;
  }
  34%,
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes pop {
  from {
    transform: scale(0);
  }
  65% {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

@keyframes paid-btn {
  to {
    background: var(--lime-soft);
    box-shadow: inset 0 0 0 1.5px rgba(205, 247, 85, 0.55);
  }
}

@keyframes seat-paid {
  to {
    background: var(--lime);
  }
}

@keyframes lang-on {
  0%,
  20% {
    background: var(--lime-soft);
    border-color: rgba(205, 247, 85, 0.6);
  }
  25%,
  100% {
    background: var(--surface);
    border-color: var(--line-2);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .ticker-track {
    animation: none;
  }
}

/* ---------- Smaller screens ---------- */

/* A small laptop: the hero's cards stay inside the window. */
@media (max-width: 1280px) and (min-width: 1081px) {
  .float-2 {
    right: -1%;
  }

  .float-4 {
    right: -3%;
  }
}

@media (max-width: 1080px) {
  .tour-art {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lead {
    margin-inline: auto;
  }

  .stores {
    justify-content: center;
  }

  .stage {
    width: 100%;
    max-width: 640px;
    margin: 12px auto 0;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      'm m'
      'l t'
      'l c'
      'g g'
      'n n';
  }

  .tour-grid,
  .clubs {
    grid-template-columns: minmax(0, 1fr);
  }

  .tour-copy {
    order: -1;
  }

  .clubs::before {
    display: none;
  }

  .clubs-art {
    margin-inline-end: calc(var(--pad) * -1 - 80px);
  }

  .foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  /* The legal pages: one column, without the contents on the side. */
  .legal-grid {
    grid-template-columns: minmax(0, 760px);
  }

  .legal-side {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .nav-end {
    margin-inline-start: auto;
    gap: 10px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-side {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav-in {
    padding-block: 12px;
  }

  .brand img {
    height: 30px;
  }

  .hero {
    padding-top: 100px;
  }

  .pill {
    margin-bottom: 22px;
  }

  .stores {
    margin-top: 28px;
  }

  .store {
    height: 56px;
    padding: 0 16px 0 12px;
  }

  .stage {
    height: 540px;
  }

  .slot-center .phone {
    --w: 236px;
  }

  .slot-left,
  .slot-right {
    top: 52px;
  }

  .slot-left .phone,
  .slot-right .phone {
    --w: 192px;
  }

  .slot-left {
    transform: translateX(calc(-50% - 132px)) rotate(-7deg);
  }

  .slot-right {
    transform: translateX(calc(-50% + 132px)) rotate(7deg);
  }

  .float {
    padding: 8px 12px 8px 8px;
    border-radius: 15px;
  }

  .float-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .float-text b {
    font-size: 12.5px;
  }

  .float-text small {
    font-size: 11px;
  }

  .float .faces,
  .float-3,
  .float-4 {
    display: none;
  }

  .float-1 {
    top: auto;
    bottom: 9%;
    left: -1%;
  }

  .float-2 {
    top: 3%;
    right: -1%;
  }

  .lv {
    font-size: 13px;
  }

  .tile {
    padding: 24px;
  }

  .bento {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'm' 'l' 't' 'c' 'g' 'n';
  }

  .t-matches,
  .t-lang {
    flex-direction: column;
    align-items: stretch;
  }

  .t-matches .tile-copy,
  .t-lang .tile-copy,
  .mcards,
  .langs {
    flex: none;
  }

  .mcards {
    height: 262px;
    margin-inline: -6px;
  }

  .mcard {
    width: min(270px, 84%);
  }

  .phone-lg {
    --w: 260px;
  }

  .float-t1 {
    top: auto;
    bottom: 7%;
    right: -1%;
  }

  .float-t2 {
    display: none;
  }

  .clubs {
    border-radius: 30px;
  }

  .clubs-art {
    margin-inline-end: -110px;
  }

  .clubs-cta .btn {
    flex: 1 1 100%;
  }

  .faq summary {
    font-size: 17px;
    padding: 20px 0;
  }

  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* The email address is one long word: give it the whole width. */
  .foot-col:last-child {
    grid-column: 1 / -1;
  }

  .foot-bottom {
    flex-direction: column;
  }

  .legal-tabs {
    margin-bottom: 32px;
  }

  .legal-tabs a {
    padding: 8px 14px;
    font-size: 13.5px;
  }

  .legal-sec {
    margin-top: 36px;
    padding-top: 32px;
  }
}

@media (max-width: 380px) {
  .langs {
    grid-template-columns: minmax(0, 1fr);
  }

  .slots {
    grid-template-columns: repeat(3, 78px);
  }
}

/* ---------- Print ---------- */

/* A legal page on paper: black on white, without the header, the tabs and the glow. */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  body::after,
  .skip,
  .nav,
  .footer,
  .legal::before,
  .legal-side,
  .legal-tabs {
    display: none;
  }

  .legal {
    padding: 0;
  }

  .legal-grid {
    display: block;
  }

  .legal-date,
  .legal-date .ic,
  .legal-doc .lead,
  .legal-doc .lead a,
  .legal-sec,
  .legal-sec h2,
  .legal-sec h2::before,
  .legal-sec a,
  .legal-sec ol li::before {
    color: #000;
  }

  .legal-sec {
    border-top-color: #ccc;
  }

  .legal-sec ul li::before {
    background: #000;
    box-shadow: none;
  }

  .legal-sec ol li::before {
    background: none;
    border-color: #000;
  }
}
