/* ==========================================================================
   Concorde Sport — website styles
   Plain CSS, no build step. Mobile-first.
   ========================================================================== */

:root {
  /* Brand */
  --ink: #0F1B33;
  --ink-2: #16264A;
  --court: #1565FF;
  --court-deep: #0B3FA8;
  --court-soft: #E7F0FF;
  --ball: #D4F21C;
  --ball-soft: #F4FBD0;
  --surface: #F3F6FC;
  --white: #FFFFFF;
  --muted: #5B6785;
  --line: #E3E9F5;
  --success: #12B76A;
  --success-ink: #067647;

  /* Sports */
  --padel: #17191D;
  --padel-2: #2A2E35;
  --basket: #F26B1D;
  --football: #1F8A3B;

  /* Type */
  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(21, 101, 255, .06), 0 2px 8px rgba(21, 101, 255, .06);
  --shadow-md: 0 4px 12px rgba(21, 101, 255, .08), 0 16px 40px rgba(15, 27, 51, .08);
  --shadow-lg: 0 20px 60px rgba(11, 63, 168, .25);

  --container: 1160px;
  --gutter: 16px;
  --header-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--court); text-underline-offset: 3px; }
a:hover { color: var(--court-deep); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--court); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--ball); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ball); color: var(--ink); font-weight: 700;
  padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; position: relative; }
.section--white { background: var(--white); }
.section--tight { padding: 48px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--court); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.on-dark .eyebrow { color: var(--ball); }

.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -.01em;
}
.h2 { font-size: clamp(1.85rem, 1.2rem + 3vw, 3rem); }
.h3 { font-size: 1.2rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 40em; }
.on-dark .lead { color: #C3CDE4; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ball { background: var(--ball); color: var(--ink); box-shadow: 0 8px 24px rgba(212, 242, 28, .25); }
.btn--ball:hover { background: #E1FA45; color: var(--ink); }
.btn--primary { background: var(--court); color: var(--white); box-shadow: 0 8px 24px rgba(21, 101, 255, .25); }
.btn--primary:hover { background: var(--court-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--court); color: var(--court); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18);
  color: #DCE3F2; font-size: .88rem; font-weight: 600; line-height: 1.2; cursor: default;
}
.store-btn svg { width: 22px; height: 22px; opacity: .9; }
.store-btn small { display: block; font-size: .72rem; font-weight: 500; color: #9FAED0; }
.store-btn--light { background: var(--white); border-color: var(--line); color: var(--ink); }
.store-btn--light small { color: var(--muted); }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge--live { background: var(--success); color: var(--ink); }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--soon { background: rgba(15, 27, 51, .78); color: var(--white); }
.badge--ball { background: var(--ball); color: var(--ink); }
.badge--blue { background: var(--court-soft); color: var(--court-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 27, 51, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(15, 27, 51, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; padding: 6px 0; }
.brand img { height: 30px; width: auto; }

/* Burger: two lines (the short one in ball green) that turn into an X */
.nav-toggle {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); transition: background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .14); }
.nav-toggle:focus-visible { outline: 3px solid var(--ball); outline-offset: 2px; }
.burger { position: relative; width: 24px; height: 14px; }
.burger span {
  position: absolute; right: 0; height: 2.5px; border-radius: 3px; background: var(--white);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), top .35s cubic-bezier(.2, .8, .2, 1), width .35s ease, background .35s ease;
}
.burger span:first-child { top: 0; width: 24px; }
.burger span:last-child { top: 11.5px; width: 15px; background: var(--ball); }
.nav-toggle[aria-expanded="true"] .burger span:first-child { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:last-child { top: 6px; width: 24px; transform: rotate(-45deg); background: var(--white); }

/* Mobile menu: full screen under the header, big links that slide in one after another */
.site-nav {
  /* absolute, not fixed: the header's blur makes it the containing block */
  position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  display: flex; flex-direction: column; padding: 18px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: radial-gradient(600px 400px at 100% 0%, rgba(21, 101, 255, .28), transparent 70%), var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  overflow-y: auto;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s; }
.site-nav ul { list-style: none; display: flex; flex-direction: column; margin: 0; padding: 0; }
.site-nav li { opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.site-nav.is-open li { opacity: 1; transform: none; }
.site-nav.is-open li:nth-child(1) { transition-delay: .05s; }
.site-nav.is-open li:nth-child(2) { transition-delay: .09s; }
.site-nav.is-open li:nth-child(3) { transition-delay: .13s; }
.site-nav.is-open li:nth-child(4) { transition-delay: .17s; }
.site-nav.is-open li:nth-child(5) { transition-delay: .21s; }
.site-nav.is-open li:nth-child(6) { transition-delay: .25s; }
.site-nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 2px;
  color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.7rem; letter-spacing: -.01em;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-nav ul a::after { content: "→"; font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; color: var(--ball); opacity: .8; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ball); }
.site-nav .nav-cta { margin-top: auto; padding-top: 28px; opacity: 0; transition: opacity .35s ease .28s; }
.site-nav.is-open .nav-cta { opacity: 1; }
.site-nav .nav-cta a.btn {
  display: flex; justify-content: center; width: 100%; padding: 18px 22px; border: 0; border-radius: var(--r-pill);
  color: var(--ink); font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; letter-spacing: 0;
}
.site-nav .nav-cta a.btn:hover { background: #E1FA45; color: var(--ink); }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .site-nav, .site-nav li, .site-nav .nav-cta, .burger span { transition: none; }
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; height: auto; display: flex; flex-direction: row; align-items: center; gap: 28px;
    background: none; border: 0; padding: 0; box-shadow: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .site-nav ul { flex-direction: row; gap: 4px; }
  .site-nav li { opacity: 1; transform: none; }
  .site-nav a {
    padding: 8px 14px; border: 0; border-radius: var(--r-pill);
    font-family: var(--font-body); font-stretch: normal; font-weight: 600; font-size: .95rem; color: #DCE3F2;
  }
  .site-nav ul a::after { content: none; }
  .site-nav a:hover { background: rgba(255, 255, 255, .07); color: var(--white); }
  .site-nav .nav-cta { margin: 0; padding: 0; opacity: 1; }
  .site-nav .nav-cta a.btn { width: auto; padding: 10px 20px; font-size: .95rem; }
  body.menu-open { overflow: auto; }
}
/* ---------- Logo: "C." mark + wordmark ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.brand, .brand:hover, .footer-brand a { text-decoration: none; }
.brand .logo img, .footer-brand .logo img { height: 34px; width: auto; margin: 0; }
.brand .logo img { height: 40px; }
@media (min-width: 960px) { .brand .logo img { height: 44px; } }
.logo-word {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 900; font-size: 1.32rem;
  letter-spacing: -.01em; line-height: 1; display: inline-flex; align-items: baseline; gap: 6px;
}
.logo-word small { font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .02em; color: var(--ball); }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo img { height: 40px; }
.footer-brand .logo-word { font-size: 1.5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(21, 101, 255, .45), transparent 60%), var(--ink);
  color: var(--white);
  padding: 56px 0 40px;
}
.hero-court {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .5;
}
.hero-inner { position: relative; display: grid; gap: 56px; align-items: center; }
.hero h1, .hero .hero-h1 {
  font-size: clamp(2.15rem, 1.1rem + 5.4vw, 4.9rem);
  line-height: 1.02; margin-bottom: 22px;
}
.hero h1 .accent, .hero .hero-h1 .accent { color: var(--ball); display: block; }
.hero .lead { margin-bottom: 30px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: #9FAED0; }
@media (min-width: 960px) {
  .hero { padding: 96px 0 112px; }
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; }
}

/* ---------- Phone mockup ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.phone-wrap::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 242, 28, .22), rgba(21, 101, 255, 0) 65%);
}
.phone {
  position: relative; width: min(280px, 82vw); aspect-ratio: 9 / 18.5;
  background: #0A1226; border-radius: 44px; padding: 10px;
  box-shadow: 0 0 0 2px #2A3656, var(--shadow-lg), 0 40px 80px rgba(0, 0, 0, .35);
}
.phone::after { /* side button */
  content: ""; position: absolute; right: -4px; top: 120px; width: 4px; height: 56px;
  background: #2A3656; border-radius: 0 3px 3px 0;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 35px; overflow: hidden;
  background: var(--surface); color: var(--ink);
  display: flex; flex-direction: column; font-size: 12px; line-height: 1.35;
}
.phone-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; background: #0A1226; border-radius: 14px; z-index: 2;
}
.app-top { background: var(--court); color: var(--white); padding: 44px 16px 16px; }
.app-top-row { display: flex; align-items: center; justify-content: space-between; }
.app-hello { font-size: 11px; opacity: .85; margin: 0; }
.app-title { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 17px; margin: 2px 0 0; }
.app-ball { width: 28px; height: 28px; }
.app-chips { display: flex; gap: 6px; margin-top: 12px; }
.app-chip {
  padding: 5px 10px; border-radius: var(--r-pill); font-weight: 700; font-size: 10.5px;
  background: rgba(255, 255, 255, .16); color: var(--white);
}
.app-chip.is-active { background: var(--ball); color: var(--ink); }
.app-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.app-card { background: var(--white); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-sm); }
.app-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.app-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.app-spot { font-size: 10px; font-weight: 700; color: #B54708; background: #FEF0E6; padding: 3px 8px; border-radius: var(--r-pill); }
.app-game { font-weight: 800; font-size: 14px; margin: 0 0 2px; }
.app-meta { color: var(--muted); font-size: 11px; margin: 0 0 10px; }
.app-btn {
  display: block; text-align: center; background: var(--ball); color: var(--ink);
  font-weight: 800; border-radius: var(--r-pill); padding: 8px; font-size: 12px;
}
.app-players { display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 11px; color: var(--white); flex: none;
}
.avatar + .avatar { margin-left: -14px; box-shadow: 0 0 0 2px var(--white); }
.app-level { margin-left: auto; font-weight: 800; font-size: 11px; background: var(--ball); color: var(--ink); padding: 3px 8px; border-radius: var(--r-pill); }
.app-tabbar {
  display: flex; justify-content: space-around; padding: 10px 8px 16px; background: var(--white);
  border-top: 1px solid var(--line);
}
.app-tabbar span { width: 22px; height: 4px; border-radius: 4px; background: var(--line); }
.app-tabbar span.is-active { background: var(--court); }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink); border-radius: 16px; padding: 10px 14px;
  box-shadow: var(--shadow-md); font-size: .82rem; font-weight: 700; line-height: 1.2;
  max-width: 200px;
}
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.float-chip .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.float-chip .dot svg { width: 16px; height: 16px; }
.float-chip--a { left: 0; bottom: 6%; }
.float-chip--b { right: 0; top: 14%; }
@media (max-width: 420px) {
  .float-chip { font-size: .74rem; padding: 8px 10px; max-width: 160px; }
  .float-chip--b { display: none; }
}
@media (min-width: 960px) {
  .float-chip--a { left: -8%; }
  .float-chip--b { right: -6%; }
}

/* ---------- Hero rotator: only the text and the phone screen change ---------- */
.rot { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
@media (max-width: 959px) { .hero-inner { grid-template-columns: minmax(0, 1fr); } }
.hero-copy, .rot-item { min-width: 0; }
.rot-item {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.rot-item.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .42s ease .22s, transform .42s cubic-bezier(.2, .8, .2, 1) .22s, visibility 0s linear .22s;
}
.shot-screen { background: #0A1226; }
.shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; opacity: 0; transition: opacity .55s ease;
}
.shot.is-active { opacity: 1; }
.hero-dots { display: flex; gap: 8px; margin-top: 26px; }
/* Fixed brand line above the changing text */
.hero-brand {
  margin: 0 0 14px; font-family: var(--font-display); font-stretch: 112%; font-weight: 900;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); letter-spacing: -.01em; color: var(--white);
}
.hero-brand span { color: var(--ball); }
/* Bubbles change with the slide */
.phone-wrap .float-chip { opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.phone-wrap .float-chip.is-active { opacity: 1; transform: none; transition: opacity .45s ease .3s, transform .45s cubic-bezier(.2, .8, .2, 1) .3s; }
html:not(.js) .phone-wrap .float-chip:not([data-slide="0"]) { display: none; }
/* Each slide's bubble sits next to the part of the screen it explains */
.chip-pos-0 { right: 0; top: 18%; }      /* the match ring */
.chip-pos-1 { left: 0; top: 34%; }       /* the "Let's play" stamp */
.chip-pos-2 { right: 0; bottom: 16%; }   /* the latest result */
@media (min-width: 960px) {
  .chip-pos-0 { right: -10%; }
  .chip-pos-1 { left: -14%; }
  .chip-pos-2 { right: -12%; }
}
.hero-dot {
  width: 26px; height: 6px; padding: 0; border: 0; border-radius: 6px; cursor: pointer;
  background: rgba(255, 255, 255, .25); transition: width .3s ease, background .3s ease;
}
.hero-dot.is-active { width: 44px; background: var(--ball); }
.hero-dot:focus-visible { outline: 3px solid var(--ball); outline-offset: 3px; }
html:not(.js) .rot-item:not(:first-child), html:not(.js) .shot:not(:first-child), html:not(.js) .hero-dots { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rot-item, .rot-item.is-active, .shot { transition: none; transform: none; }
}
/* ---------- Sports strip ---------- */
.sports { padding: 28px 0 0; margin-top: -1px; background: var(--ink); }
.sports-panel {
  background: var(--white); border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 28px 20px 8px; margin: 0 auto;
}
.sports-title { font-size: .85rem; font-weight: 700; color: var(--muted); text-align: center; margin-bottom: 18px; }
.sports-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sport {
  position: relative; border-radius: var(--r-md); padding: 16px; min-height: 128px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  color: var(--white);
}
.sport .badge { align-self: flex-start; }
.sport h3 { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(.95rem, .8rem + .8vw, 1.2rem); margin: 0; overflow-wrap: anywhere; }
.sport p { margin: 2px 0 0; font-size: .82rem; opacity: .9; }
.sport-ball { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; }
.sport--tennis { background: var(--court); }
.sport--padel { background: linear-gradient(160deg, var(--padel-2), var(--padel)); }
.sport--basket { background: var(--basket); color: var(--ink); }
.sport--basket .badge--soon { background: var(--ink); }
.sport--football { background: var(--football); }
@media (min-width: 760px) {
  .sports-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .sports-panel { padding: 32px 32px 8px; }
  .sport { min-height: 150px; padding: 20px; }
}

:root { --women: #E0457B; --women-soft: #FDECF3; --women-line: #F8C9DA; }
/* ---------- Everything. One app.: a member ID card that changes with the role ---------- */
.everything { background: var(--white); padding: 64px 0 56px; overflow: hidden; }
.everything .h2 .accent { color: var(--court); }
.everything + .section--white { padding-top: 0; }
.everything + .section--white > .container { border-top: 1px solid var(--line); padding-top: 64px; }
.everything-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.everything-inner > * { min-width: 0; }

/* Role pills: quiet outline, the chosen one in navy. */
.id-tabs { display: none; gap: 10px; margin-top: 8px; }
.js .id-tabs { display: flex; flex-wrap: wrap; }
.id-tab {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--line);
  border-radius: var(--r-pill); padding: 10px 16px; font-weight: 800; font-size: .95rem;
  transition: background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent; /* no grey/blue box on tap: we show our own press */
  -webkit-user-select: none; user-select: none; outline: none;
}
.id-tab:active { transform: scale(.95); }
.id-tab:focus-visible { outline: 2px solid var(--court); outline-offset: 3px; }
.id-tab svg { width: 18px; height: 18px; color: var(--court); transition: color .25s ease; }
@media (hover: hover) { .id-tab:hover { border-color: var(--court); } }
.id-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: var(--shadow-md); }
.id-tab[aria-selected="true"] svg { color: var(--white); }
@media (max-width: 759px) {
  /* one swipeable row of pills on phones */
  .js .id-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 8px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .js .id-tabs::-webkit-scrollbar { display: none; }
  .id-tab { flex: 0 0 auto; }
}

/* The card: portrait badge on phones, landscape card from tablets up. It never moves; only its content changes. */
.id-stage { display: flex; flex-direction: column; align-items: center; padding: 8px 0 24px; }
.id-card {
  position: relative; width: min(340px, 100%); border-radius: 28px; padding: 26px 22px 18px;
  /* One colour per role (set by data-role); the light and the depth are layered on top, so the colour change cross-fades. */
  --card: var(--court); --glow: rgba(21, 101, 255, .30);
  background-color: var(--card);
  background-image:
    radial-gradient(420px 240px at 100% 0%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, .04) 0%, rgba(4, 10, 30, .28) 60%, rgba(4, 10, 30, .5) 100%);
  box-shadow: 0 28px 60px var(--glow), 0 6px 16px rgba(15, 27, 51, .10), inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: var(--white); display: grid; gap: 16px;
  transition: background-color .7s ease, box-shadow .7s ease;
}
.id-card[data-role="parents"] { --card: #0E9F6E; --glow: rgba(14, 159, 110, .28); }
.id-card[data-role="coaches"] { --card: #6D4AE8; --glow: rgba(109, 74, 232, .30); }
.id-card[data-role="clubs"]   { --card: #1F3A6E; --glow: rgba(15, 27, 51, .32); }
.id-card[data-role="women"]   { --card: #E0457B; --glow: rgba(224, 69, 123, .30); }
/* the lanyard slot of a badge */
.id-card::before {
  content: ""; position: absolute; top: 12px; left: 50%; width: 56px; height: 7px; margin-left: -28px;
  border-radius: 8px; background: rgba(255, 255, 255, .28);
}
.id-top { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.id-logo { width: 46px; height: auto; }
.id-kind { margin-left: auto; font-size: .68rem; font-weight: 800; letter-spacing: .16em; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .55); border-radius: var(--r-pill); padding: 4px 10px; }
.id-chip {
  width: 50px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .18));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); position: relative; overflow: hidden;
}
.id-chip::before, .id-chip::after { content: ""; position: absolute; background: rgba(15, 27, 51, .18); }
.id-chip::before { left: 33%; right: 33%; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.4); border-right: 1px solid rgba(255,255,255,.4); background: transparent; }
.id-chip::after { left: 0; right: 0; top: 50%; height: 1px; }
.id-chip svg { display: none; }

/* All roles sit in the same place: the card keeps its size, the content cross-fades. */
.id-faces { display: grid; }
.js .id-face { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s; }
.js .id-face.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .08s, transform .55s cubic-bezier(.2, .8, .2, 1) .08s, visibility 0s; }
.id-face + .id-face { margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .3); }
.js .id-face + .id-face { margin-top: 0; padding-top: 0; border-top: 0; }
.id-label { margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.id-role {
  margin: 2px 0 8px; font-family: var(--font-display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3rem); line-height: 1; letter-spacing: -.01em; color: var(--white);
  text-transform: uppercase;
}
.id-line { margin: 0 0 14px; font-weight: 600; font-size: 1rem; line-height: 1.4; color: rgba(255, 255, 255, .88); }
.id-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.id-perks li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; }
.id-perks svg { flex: 0 0 22px; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.id-code { margin: 16px 0 0; font-size: .74rem; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.id-code b { color: var(--white); font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; }
.id-bottom { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 14px; }
.id-brand { font-family: var(--font-display); font-stretch: 112%; font-weight: 900; letter-spacing: .04em; font-size: 1rem; white-space: nowrap; }
.id-brand span { color: var(--ball); }
.id-sports { margin-left: auto; white-space: nowrap; font-size: .64rem; font-weight: 800; letter-spacing: .14em; color: rgba(255, 255, 255, .7); text-align: right; }
/* Dots under the card: where you are, and a hint that the card swipes. */
.id-card { -webkit-tap-highlight-color: transparent; touch-action: pan-y; }
.id-nav { display: none; }
.js .id-nav { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 14px; }
.id-dots { display: flex; gap: 8px; }
.id-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer;
  transition: width .35s cubic-bezier(.2, .8, .2, 1), background .35s ease; -webkit-tap-highlight-color: transparent;
}
.id-dot[aria-current="true"] { width: 26px; background: var(--ink); }
.id-hint { display: none; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); transition: opacity .4s ease; }
.id-hint svg { width: 16px; height: 16px; }
.id-hint .hint-hand { display: inline-block; animation: id-swipe 1.8s ease-in-out infinite; }
@keyframes id-swipe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-10px); } }
@media (hover: none) { .id-hint { display: inline-flex; } }
.id-hint.is-done { opacity: 0; }
/* The card follows your finger a little while you swipe. */
.id-card { will-change: transform; }
.id-card.is-snapping { transition: background-color .7s ease, box-shadow .7s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) { .js .id-face, .js .id-face.is-active, .id-card { transition: none; transform: none; } .id-hint .hint-hand { animation: none; } }
/* Phones: smaller pills, a compact card, no chip. */
@media (max-width: 599px) {
  .id-tab { padding: 7px 12px; font-size: .84rem; gap: 6px; border-width: 1.5px; }
  .id-tab svg { width: 15px; height: 15px; }
  .id-stage { padding: 0 0 12px; }
  .id-card { padding: 22px 18px 14px; gap: 12px; border-radius: 24px; }
  .id-card::before { top: 10px; width: 48px; height: 6px; margin-left: -24px; }
  .id-chip { display: none; }
  .id-logo { width: 38px; }
  .id-role { font-size: 1.85rem; margin-bottom: 6px; }
  .id-line { font-size: .93rem; margin-bottom: 10px; }
  .id-perks { gap: 7px; }
  .id-perks li { font-size: .88rem; gap: 8px; }
  .id-perks svg { flex-basis: 20px; width: 20px; height: 20px; padding: 4px; }
  .id-code { margin-top: 10px; font-size: .68rem; }
  .id-bottom { padding-top: 10px; }
  .id-brand { font-size: .86rem; }
  .id-sports { font-size: .5rem; letter-spacing: .08em; }
  .everything-inner { gap: 20px; }
}

.all-line {
  margin: 36px auto 0; width: fit-content; max-width: 100%; text-align: center;
  background: var(--ink); color: var(--white); border-radius: var(--r-md); padding: 14px 22px;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(1rem, .9rem + .7vw, 1.35rem); line-height: 1.3;
}
.all-line span { color: var(--ball); margin: 0 .2em; }
@media (min-width: 600px) {
  .all-line { border-radius: var(--r-pill); padding: 14px 28px; }
}
@media (min-width: 760px) {
  .id-card { width: min(560px, 100%); grid-template-columns: 1fr auto; padding: 28px 32px 20px; gap: 18px 24px; }
  .id-card::before { display: none; }
  .id-top { grid-column: 1 / -1; margin-top: 0; }
  .id-chip { grid-column: 2; grid-row: 2; align-self: start; }
  .id-faces { grid-column: 1; grid-row: 2; }
  .id-bottom { grid-column: 1 / -1; }
  .id-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
}
@media (min-width: 960px) {
  .everything { padding: 88px 0 72px; }
  .everything-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
}
/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step {
  background: var(--white); border-radius: var(--r-md); padding: 26px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative;
}
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--ball); font-family: var(--font-display); font-stretch: 125%;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.feature-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.feature-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 14px; font-weight: 600; font-size: .92rem;
}
.feature-chips svg { width: 18px; height: 18px; color: var(--court); }

/* ---------- Split sections ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--flip .split-visual { order: -1; }
}
.check-list { list-style: none; display: grid; gap: 14px; margin: 24px 0 28px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.check-list .tick {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--court-soft); color: var(--court);
}
.check-list .tick svg { width: 16px; height: 16px; }
.check-list strong { display: block; }
.check-list span.txt { color: var(--muted); }
.on-dark .check-list .tick { background: rgba(212, 242, 28, .14); color: var(--ball); }
.on-dark .check-list span.txt { color: #C3CDE4; }

.note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--ball-soft); border: 1px solid #E4F3A0; color: var(--ink);
  border-radius: var(--r-sm); padding: 12px 14px; font-size: .92rem;
}
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #5C6B00; }

/* Mock panels (Academy / Coaches) */
.mock {
  background: var(--white); border-radius: var(--r-lg); padding: 20px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); max-width: 460px; margin: 0 auto; width: 100%;
}
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mock-title { font-weight: 800; font-size: 1.05rem; margin: 0; }
.mock-sub { color: var(--muted); font-size: .85rem; margin: 0; }
.mock-row {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border-radius: 14px; background: var(--surface); margin-bottom: 10px;
}
.mock-row:last-child { margin-bottom: 0; }
.mock-row .grow { flex: 1; min-width: 0; }
.mock-row strong { display: block; font-size: .95rem; }
.mock-row small { color: var(--muted); font-size: .82rem; }
.mock-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.mock-icon svg { width: 20px; height: 20px; }
.mock-quote {
  background: var(--court-soft); border-radius: 14px; padding: 12px 14px; margin: 0 0 10px;
  font-size: .9rem; color: var(--ink);
}
.mock-quote b { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--court-deep); margin-bottom: 4px; }
.mock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.mock-actions span {
  text-align: center; padding: 10px; border-radius: var(--r-pill); font-weight: 700; font-size: .85rem;
}
.mock-actions .a1 { background: var(--ink); color: var(--white); }
.mock-actions .a2 { background: var(--white); border: 1px solid var(--line); }
.att-toggle {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 2px solid var(--line); color: transparent; background: var(--white);
}
.att-toggle.is-on { background: var(--success); border-color: var(--success); color: var(--white); }
.att-toggle svg { width: 16px; height: 16px; }
.paid { font-size: .78rem; font-weight: 700; color: var(--success-ink); background: #E3F8EE; padding: 3px 8px; border-radius: var(--r-pill); white-space: nowrap; }

/* ---------- Clubs ---------- */
.clubs { background: var(--ink); color: var(--white); overflow: hidden; }
.clubs .h2 { color: var(--white); }
.free-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ball); color: var(--ink); font-weight: 800; border-radius: var(--r-pill);
  padding: 8px 16px; font-size: .95rem; margin-bottom: 20px;
}
.club-grid { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 36px; }
.club-card {
  background: #18253F; border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md); padding: 20px; position: relative;
}
.club-card .ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(21, 101, 255, .25); color: #9EC1FF; margin-bottom: 14px;
}
.club-card .ic svg { width: 22px; height: 22px; }
.club-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.club-card p { color: #C3CDE4; margin: 0; font-size: .95rem; }
@media (min-width: 600px) { .club-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .clubs-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .club-grid { margin-top: 0; }
}
.clubs-court { position: absolute; right: -120px; bottom: -80px; width: 520px; opacity: .08; pointer-events: none; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 18px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; } }
.plan {
  background: var(--white); border-radius: var(--r-lg); padding: 28px 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.plan h3 { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.4rem; margin-bottom: 4px; }
.plan .price { font-weight: 800; font-size: 1.05rem; margin: 6px 0 18px; }
.plan .price span { color: var(--muted); font-weight: 500; font-size: .9rem; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; }
.plan li svg { width: 20px; height: 20px; color: var(--success); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan--pro { background: var(--court); color: var(--white); border-color: var(--court); box-shadow: var(--shadow-lg); }
.plan--pro .price span { color: #D6E4FF; }
.plan--pro li svg { color: var(--ball); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

#pricing .h2 .accent { color: var(--court); }
/* Pricing: three plans, the club plan in the middle stands out, then one comparison table. */
@media (min-width: 900px) { .plans--3 { grid-template-columns: 1fr 1.08fr 1fr; align-items: center; } }
.plan-price { display: flex; flex-direction: column; margin: 10px 0 20px; }
.plan-price b { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 2.8rem; line-height: 1; letter-spacing: -.02em; }
.plan-price span { color: var(--muted); font-size: .9rem; font-weight: 600; margin-top: 6px; }
.plan--pro .plan-price span { color: #D6E4FF; }
.plan-note { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.plan-note--light { border-top-color: rgba(255, 255, 255, .2); color: #D6E4FF; text-align: center; }
.plan--hero { position: relative; padding-top: 40px; background: linear-gradient(160deg, var(--court) 0%, var(--court-deep) 100%); }
@media (min-width: 900px) { .plan--hero { padding-top: 48px; padding-bottom: 32px; } }
.plan--hero .btn { margin-top: 0; justify-content: center; }
.plan--hero .ic-badge--light { background: rgba(255, 255, 255, .16); color: var(--white); }
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--ball); color: var(--ink); font-weight: 800; font-size: .78rem; letter-spacing: .02em;
  padding: 6px 14px; border-radius: var(--r-pill); box-shadow: 0 8px 20px rgba(15, 27, 51, .18);
}

.compare { max-width: 860px; margin: 56px auto 0; }
.compare-title { text-align: center; font-family: var(--font-display); font-stretch: 112%; font-weight: 900; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); margin-bottom: 18px; }
.compare-scroll { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.compare table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.compare thead th.us { color: var(--court); }
.compare tbody th { font-weight: 700; color: var(--ink); }
.compare td { color: var(--muted); }
.compare td.us { color: var(--ink); font-weight: 700; background: var(--court-soft); }
.compare td.us b { color: var(--court); }
.compare td.no { color: #98A2B3; }
.compare-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 599px) {
  .compare th, .compare td { padding: 12px 12px; font-size: .86rem; }
  .compare table { min-width: 0; }
}
/* Four plans: players, Run (featured), Connect, coaches. */
.plans--4 { display: grid; gap: 18px; }
@media (min-width: 700px) { .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1120px) { .plans--4 { grid-template-columns: 1fr 1.08fr 1fr 1fr; align-items: center; gap: 16px; } .plans--4 .plan { padding: 26px 20px; } .plans--4 .plan h3 { font-size: 1.2rem; } .plans--4 .plan-price b { font-size: 2.4rem; } }
.plan--connect { position: relative; border: 1.5px solid var(--court); padding-top: 40px; }
.plan--connect .btn { justify-content: center; }
.plan-flag--soft { background: var(--court-soft); color: var(--court); box-shadow: none; border: 1px solid var(--court); }
.btn--outline { background: var(--white); color: var(--court); border: 2px solid var(--court); }
.btn--outline:hover { background: var(--court-soft); color: var(--court); }
@media (max-width: 699px) { .plan--connect, .plan--hero { margin-top: 10px; } }
/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--court); border-bottom: 2.5px solid var(--court);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--court); color: var(--white); border-radius: var(--r-lg);
  padding: 44px 24px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.8rem); }
.cta-band p { color: #E1EBFF; max-width: 34em; margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .ball-deco { position: absolute; width: 140px; right: -36px; top: -36px; opacity: .95; }
.cta-band .ball-deco--2 { width: 90px; left: -30px; right: auto; top: auto; bottom: -30px; opacity: .5; }
.cta-band > *:not(.ball-deco) { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C3CDE4; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 26em; margin: 0; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #C3CDE4; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; color: var(--white) !important; font-weight: 700; }
.footer-wa svg { width: 18px; height: 18px; color: var(--ball); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #9FAED0;
}
.cedar { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--ink); color: var(--white); padding: 56px 0 64px; position: relative; overflow: hidden; }
.legal-hero h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.2rem); margin-bottom: 12px; }
.legal-hero p { color: #C3CDE4; margin: 0; }
.legal-wrap { padding: 0 0 72px; }
.legal {
  background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); padding: 28px 20px; max-width: 860px; margin: -32px auto 0; position: relative;
}
.legal h2 { font-size: 1.3rem; margin: 2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h2:first-of-type { margin-top: 1em; }
.legal h3 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.legal p, .legal li { color: #333E5A; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .93rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--surface); font-weight: 700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.toc { background: var(--surface); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 8px; }
.toc h2 { margin: 0 0 10px !important; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.toc a { font-weight: 600; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.callout {
  background: var(--court-soft); border-left: 4px solid var(--court); border-radius: 12px;
  padding: 14px 16px; margin: 0 0 1.2em;
}
.callout p { margin: 0; color: var(--ink); }
@media (min-width: 760px) { .legal { padding: 48px 56px; } }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 64px 0; background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.notfound .big { font-size: clamp(4.5rem, 3rem + 10vw, 9rem); line-height: 1; margin: 0 0 12px; color: var(--ball); }
.notfound p { color: #C3CDE4; max-width: 30em; margin: 0 auto 28px; }
.notfound .btn-row { justify-content: center; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-d1 { transition-delay: .08s; }
  .js .reveal-d2 { transition-delay: .16s; }
  .js .reveal-d3 { transition-delay: .24s; }

  .float-chip { animation: floaty 6s ease-in-out infinite; }
  .float-chip--b { animation-delay: -3s; }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}

/* ---------- Pricing: four audiences, one "free until launch" message ---------- */
@media (min-width: 640px) { .plans--4 { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .plans--4 { grid-template-columns: repeat(4, 1fr); } }
.plans--4 .plan { display: flex; flex-direction: column; }
.plans--4 .plan ul { flex: 1; }
.plan-ball { width: 30px; height: 30px; }
.ic-badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--court-soft); color: var(--court); }
.ic-badge svg { width: 18px; height: 18px; }
.footer-bottom a { color: var(--ball); font-weight: 700; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
/* ---------- Transparent header over the hero, more room for the logo ---------- */
:root { --header-h: 84px; }
@media (min-width: 960px) { :root { --header-h: 100px; } }
.site-header {
  /* no border: it would leave a 1px strip of the page background above the first section */
  background: transparent; border-bottom: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(15, 27, 51, .82); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06), 0 8px 28px rgba(15, 27, 51, .3);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
body.menu-open .site-header { background: var(--ink); }
.brand .logo img { height: 44px; }
@media (min-width: 960px) { .brand .logo img { height: 66px; } }
/* the first section slides up under the header */
main { margin-top: calc(-1 * var(--header-h)); }
.hero { padding-top: calc(var(--header-h) + 36px); }
@media (min-width: 960px) { .hero { padding-top: calc(var(--header-h) + 64px); } }
.legal-hero { padding-top: calc(var(--header-h) + 48px); }
.notfound { min-height: 100vh; padding-top: calc(var(--header-h) + 40px); }

/* ---------- Store buttons (will link to the App Store and Google Play) ---------- */
.store-row { gap: 12px; margin-top: 30px; }
.store-btn {
  gap: 12px; padding: 11px 22px 11px 16px; border-radius: 16px; min-width: 186px;
  background: #000; border: 1px solid rgba(255, 255, 255, .28); color: var(--white); text-decoration: none;
  line-height: 1.1; font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em;
  transition: transform .2s ease, border-color .2s ease;
}
.store-btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .55); }
.store-btn svg { width: 28px; height: 28px; opacity: 1; flex: none; }
.store-btn small { display: block; font-size: .68rem; font-weight: 500; color: #C9D3EA; letter-spacing: .02em; margin-bottom: 2px; }
.store-btn[aria-disabled="true"] { cursor: default; }@media (max-width: 480px) {
  .store-row { flex-wrap: nowrap; gap: 10px; }
  .store-btn { flex: 1 1 0; min-width: 0; padding: 10px 12px; gap: 9px; font-size: 1.02rem; }
  .store-btn svg { width: 24px; height: 24px; }
  .store-btn small { font-size: .6rem; }
}
/* ---------- Mobile first section: one tidy column, no empty gaps ---------- */
@media (max-width: 959px) {
  .hero { padding-bottom: 28px; }
  .hero-inner { gap: 26px; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-brand { margin-bottom: 10px; }
  .hero .lead { margin-bottom: 0; }
  /* dots right under the text they control, then the store buttons */
  .hero-dots { order: 2; margin-top: 18px; }
  .store-row { order: 3; margin-top: 22px; }
  .phone { width: min(250px, 68vw); }
  .phone-wrap { padding: 0; }
}
html { background: var(--ink); }
body { background: var(--surface); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--ball); color: var(--ink);
  box-shadow: 0 8px 24px rgba(15, 27, 51, .25);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #E1FA45; }
.to-top svg { width: 22px; height: 22px; }
body.menu-open .to-top { display: none; }
@media (min-width: 960px) { .to-top { right: 28px; bottom: 28px; width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
