/* ==========================================================
   Soccer Hub — landing page
   Matches the mobile app's dark theme:
   navy background, purple primary, pink accent, teal highlight
   ========================================================== */

:root {
  --bg:            #17171f;
  --bg-soft:       #1d1d28;
  --panel:         #232231;
  --panel-raised:  #2a293b;
  --line:          #34334a;
  --text:          #f4f4f9;
  --text-dim:      #a5a3ba;
  --purple:        #8b5cf6;
  --purple-soft:   #a78bfa;
  --pink:          #f43f7e;
  --teal:          #22c3d6;
  --green:         #34d399;
  --gold:          #fbbf24;
  --radius:        16px;
  --shadow:        0 18px 44px rgba(0, 0, 0, .45);
  --container:     1120px;
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- skip link (WCAG 2.4.1) ---------- */

.skip-link {
  position: absolute;
  left: 24px;
  top: -52px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- consistent keyboard focus ---------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--purple-soft);
  outline-offset: 3px;
}

/* ---------- type ---------- */

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }

.section-eyebrow {
  color: var(--purple-soft);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 12px;
}

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

.section-sub {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 0 40px;
  font-size: 1.05rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 0;                       /* buttons: kill the UA border; .btn-outline sets its own below */
  border-radius: 999px;
  appearance: none;                /* buttons: no UA styling */
  -webkit-appearance: none;
  font-family: inherit;            /* buttons: don't fall back to the UA button font */
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: #7c4df0; color: #fff; box-shadow: 0 10px 26px rgba(124, 77, 240, .35); }
.btn-primary:hover { background: #6b3ae0; }

.btn-outline { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: var(--purple-soft); }

.btn-icon { width: 20px; height: 20px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 23, 31, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(52, 51, 74, .5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-ball { width: 34px; height: 34px; }

.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-name span { color: var(--purple-soft); }

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

.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
}

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

.site-nav .nav-cta {
  color: #fff;
  background: #7c4df0;
  padding: 9px 18px;
  border-radius: 999px;
}
.site-nav .nav-cta:hover { background: #6b3ae0; color: #fff; }

/* ---------- legal submenu ---------- */

.nav-sub { position: relative; display: flex; align-items: center; }

.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-dim);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  cursor: pointer;
}

.nav-sub-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(1px) rotate(45deg);
  transition: transform .2s ease;
}

.nav-sub.is-open .nav-sub-toggle::after { transform: translateY(4px) rotate(225deg); }

.nav-sub-toggle:hover, .nav-sub-current .nav-sub-toggle { color: var(--text); }

.nav-sub-toggle:focus-visible { outline: 2px solid var(--purple-soft); outline-offset: 4px; border-radius: 4px; }

.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  display: none;
  flex-direction: column;
  padding: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 60;
}

.nav-sub.is-open .nav-submenu { display: flex; }

.nav-submenu a { padding: 10px 12px; border-radius: 8px; }

.nav-submenu a:hover { background: var(--panel); color: var(--text); }

/* ---------- language picker ---------- */

.lang-picker { position: relative; display: flex; align-items: center; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
  color: var(--text);
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}

.lang-toggle:hover { border-color: var(--purple-soft); }

.lang-toggle:focus-visible { outline: 2px solid var(--purple-soft); outline-offset: 3px; }

.lang-flag { width: 16px; height: 16px; border-radius: 50%; display: block; }

.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 200px;
  display: none;
  flex-direction: column;
  padding: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 60;
}

.lang-picker.is-open .lang-menu { display: flex; }

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: .9rem;
}

.lang-menu a:hover { background: var(--panel); color: var(--text); }

.lang-menu a[aria-current="true"] { color: var(--text); }

.lang-menu a img { width: 16px; height: 16px; border-radius: 50%; }

.lang-menu a span { flex: 1; }

.lang-check { width: 16px; height: 16px; flex: none; color: var(--purple-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 92, 246, .16), transparent 60%),
    radial-gradient(700px 450px at -10% 110%, rgba(244, 63, 126, .10), transparent 60%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 88px;
}

/* Grid items must be allowed to shrink below their min-content width,
   otherwise nowrap mock UI forces horizontal overflow on small screens. */
.hero-inner > *, .split > * { min-width: 0; }

.hero-eyebrow {
  color: var(--teal);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin: 0 0 18px;
}

.hero-title {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  min-height: 2.5em;
  margin-bottom: 4px;
}

/* ---------- tagline pause control (WCAG 2.2.2) ---------- */

.tagline-toggle {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  flex: none;
}

.tagline-toggle[hidden] { display: none; }

.tagline-toggle:hover { color: var(--text); border-color: var(--purple-soft); }

.tagline-toggle:focus-visible { outline: 2px solid var(--purple-soft); outline-offset: 3px; }

.tagline-toggle svg { width: 14px; height: 14px; }

.tagline-toggle .icon-play { display: none; }

.tagline-toggle[data-paused="true"] .icon-pause { display: none; }

.tagline-toggle[data-paused="true"] .icon-play { display: block; }

.tagline-toggle--labeled {
  display: inline-flex;
  width: auto;
  height: 30px;
  padding: 0 12px;
  gap: 7px;
  border-radius: 999px;
}

.tagline-toggle--labeled svg { width: 11px; height: 11px; }

.tagline-toggle-label { font-size: .78rem; font-weight: 700; }

.hero-note-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
}

.hero-note-row .hero-note { margin: 0; }

.tagline {
  display: inline-block;
  /* Fallback colour in case background-clip:text is unsupported (see @supports). */
  color: var(--purple-soft);
  transition: opacity .35s ease, transform .35s ease;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .tagline {
    background: linear-gradient(92deg, #fff 10%, var(--purple-soft) 55%, var(--pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.tagline.is-swapping { opacity: 0; transform: translateY(8px); }

.hero-sub {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 540px;
  margin: 0 0 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-note {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: .86rem;
}

/* ---------- launch countdown ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kickoff {
  position: relative;
  max-width: 560px;
  margin-top: 26px;
  padding: 17px 20px 19px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(150% 170% at 100% 0%, rgba(139, 92, 246, .16), transparent 46%),
    radial-gradient(130% 150% at 0% 100%, rgba(244, 63, 126, .07), transparent 52%),
    linear-gradient(180deg, #252435 0%, #1e1d2a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 16px 40px rgba(0, 0, 0, .32);
}

/* Faint scoreboard pinstripes. Main row and track are positioned so they paint above it. */
.kickoff::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 22px);
  pointer-events: none;
}

.kickoff-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.kickoff-head { min-width: 0; }

.kickoff-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 3px;
  color: var(--purple-soft);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.kickoff-pulse {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(244, 63, 126, .5);
  animation: kickoff-pulse 2.2s ease-out infinite;
}

@keyframes kickoff-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(244, 63, 126, .45); }
  70%  { box-shadow: 0 0 0 7px rgba(244, 63, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 126, 0); }
}

.kickoff-date {
  margin: 0;
  color: var(--text-dim);
  font-size: .77rem;
  white-space: nowrap;
}

.kickoff-clock {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
}

.kickoff-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}

.kickoff-num {
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.kickoff-unit[data-unit="seconds"] .kickoff-num { color: var(--pink); }

.kickoff-label {
  margin-top: 5px;
  color: var(--text-dim);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.kickoff-colon {
  color: rgba(165, 163, 186, .42);
  font-size: 1.25rem;
  font-weight: 700;
  transform: translateY(-7px);
}

.kickoff-num.is-tick { animation: kickoff-tick .42s cubic-bezier(.2, .8, .2, 1); }

@keyframes kickoff-tick {
  0%   { transform: translateY(0); opacity: 1; }
  34%  { transform: translateY(-5px); opacity: .25; }
  35%  { transform: translateY(5px); opacity: .25; }
  100% { transform: translateY(0); opacity: 1; }
}

.kickoff-track {
  position: relative;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.kickoff-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  transition: width .8s linear;
}

.kickoff-ball {
  position: absolute;
  top: 50%;
  left: 0;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 6px rgba(244, 63, 126, .55));
  transition: left .8s linear;
}

/* The shared ball asset, kept small enough to sit on the 3px track. */
.kickoff-ball img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Before launch vs. after: the text pairs swap, the clock disappears. */
.kickoff-only-live { display: none; }
.kickoff.is-live .kickoff-only-pre { display: none; }
.kickoff.is-live .kickoff-only-live { display: inline; }

.kickoff-a11y-live { display: none; }
.kickoff.is-live .kickoff-a11y-pre { display: none; }
.kickoff.is-live .kickoff-a11y-live { display: block; }

.kickoff.is-live .kickoff-kicker { color: var(--green); }
.kickoff.is-live .kickoff-pulse {
  background: var(--green);
  animation: none;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .16);
}
.kickoff.is-live .kickoff-clock,
.kickoff.is-live .kickoff-track { display: none; }

.kickoff-cta { display: none; }
.kickoff.is-live .kickoff-cta { display: inline-flex; }

/* No JS: show the date, not empty boxes. JS sets .is-ready once values are in. */
html:not(.js-enabled) .kickoff-clock,
html:not(.js-enabled) .kickoff-track { display: none; }
html.js-enabled .kickoff:not(.is-ready) .kickoff-clock,
html.js-enabled .kickoff:not(.is-ready) .kickoff-track { visibility: hidden; }

/* Compact copy inside the store modal. */
.kickoff--compact {
  max-width: none;
  margin: 22px 0 26px;
  padding: 15px 16px 16px;
}

.kickoff--compact .kickoff-main {
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
}

.kickoff--compact .kickoff-head { text-align: center; }
.kickoff--compact .kickoff-kicker { justify-content: center; }
.kickoff--compact .kickoff-date { white-space: normal; }
.kickoff--compact .kickoff-clock { justify-content: space-between; }
.kickoff--compact .kickoff-unit { flex: 1; min-width: 0; }
.kickoff--compact .kickoff-num { font-size: 1.75rem; }
.kickoff--compact .kickoff-track { margin-top: 13px; }

@media (max-width: 680px) {
  .kickoff { padding: 16px; }
  .kickoff-main { flex-direction: column; align-items: stretch; gap: 14px; }
  .kickoff-clock { justify-content: space-between; }
  .kickoff-unit { flex: 1; min-width: 0; }
  .kickoff-num { font-size: 1.85rem; }
  .kickoff-date { white-space: normal; }
}

/* ---------- iPhone case for app screenshots ---------- */

.hero-visual { display: flex; justify-content: center; }

.phone {
  position: relative;
  width: 300px;
  border: 6px solid #0a0a10;
  border-radius: 44px;
  background: #0a0a10;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  overflow: hidden;
}

/* The iOS screenshots carry the status bar but never the cutout, so draw the
   iPhone 17 Dynamic Island over the empty centre of the status bar. */
.phone::before {
  content: "";
  position: absolute;
  top: 1.2%;
  left: 50%;
  width: 32%;
  aspect-ratio: 126 / 37;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050507;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
  z-index: 2;
  pointer-events: none;
}

.phone::after {
  content: "";
  position: absolute;
  top: 3.4%;
  left: 59%;
  width: 4.2%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #26303f 0%, #0b0f16 55%, #05070b 100%);
  z-index: 3;
  pointer-events: none;
}

/* The screen sits inside the bezel: slightly smaller radius = real device corners */
.phone img { display: block; width: 100%; border-radius: 37px; }

.hero-phone { transform: rotate(-1.5deg); transition: transform .3s ease; }
.hero-visual:hover .hero-phone { transform: rotate(0) scale(1.015); }

.split-shots { gap: 20px; align-items: flex-start; }
.split-shots .phone { width: 250px; }
.split-shots .phone:nth-child(1) { transform: rotate(-2deg); margin-top: 28px; }
.split-shots .phone:nth-child(2) { transform: rotate(2deg); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  justify-items: center;
  gap: 36px 26px;
  padding: 12px 24px 16px;
  margin: 8px 0 0;
}

.gallery::-webkit-scrollbar { height: 10px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.gallery::-webkit-scrollbar-track { background: transparent; }

.gallery-item {
  flex: none;
  width: 244px;
  scroll-snap-align: center;
  margin: 0;
}

.gallery-item .phone { width: 100%; }
/* keep the case compact inside cards */
.gallery-item .phone { border-radius: 36px; border-width: 5px; }
.gallery-item .phone img { border-radius: 30px; }

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery-trigger:focus-visible { outline: 2px solid var(--purple-soft); outline-offset: -4px; }

.gallery-trigger img { display: block; width: 100%; }

.gallery-item figcaption {
  text-align: center;
  color: var(--text-dim);
  font-size: .84rem;
  font-weight: 700;
  margin-top: 12px;
}

/* Persistent hint that the gallery screens open full size. */
.gallery-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: -moz-fit-content;
  width: fit-content;
  margin: 6px auto 0;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text-dim);
  font-size: .82rem;
  font-weight: 700;
}

.gallery-hint svg { width: 15px; height: 15px; flex: none; color: var(--purple-soft); }

/* ---------- sections ---------- */

.section { padding: 96px 0; }

.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid-4, .grid-3 {
  display: grid;
  gap: 20px;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .18s ease, border-color .18s ease;
  position: relative;
}

.card:hover { transform: translateY(-4px); border-color: var(--purple); }

.card h3 { font-size: 1.08rem; margin-bottom: 8px; }

.card p {
  color: var(--text-dim);
  font-size: .93rem;
  margin: 0;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139, 92, 246, .14);
  color: var(--purple-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card-icon svg { width: 22px; height: 22px; }

.card-icon.icon-pink { background: rgba(244, 63, 126, .13); color: var(--pink); }

.card-tight { padding: 24px; }

.card-soon { opacity: .92; }

.tag-soon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  background: rgba(34, 195, 214, .12);
  padding: 4px 10px;
  border-radius: 999px;
}

.fields .tag-soon {
  position: static;
  display: inline-block;
  margin-left: 6px;
}

/* ---------- split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-copy .section-sub { margin-bottom: 24px; }

.split-visual { display: flex; justify-content: center; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.checklist li {
  position: relative;
  padding: 10px 0 10px 38px;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(52, 51, 74, .4);
  font-size: .96rem;
}

.checklist li:last-child { border-bottom: 0; }

.checklist strong { color: var(--text); }

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--purple);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") center / 70% no-repeat, linear-gradient(#000 0 0);
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") center / 70% no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}

.split-note {
  color: var(--text-dim);
  font-size: .86rem;
  margin: 0;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.32) saturate(.75);
}

.cta-inner { position: relative; z-index: 1; }

.cta-sub {
  color: #d8d7e4;
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 1.05rem;
}

.cta-actions { justify-content: center; }

/* No button glow over the bright stadium photo — flat pills only here. */
.cta-actions .btn-primary { box-shadow: none; }

.cta-note {
  margin-top: 26px;
  color: #b7b5c9;
  font-size: .84rem;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 56px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-content: center;
}

.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: .9rem;
}

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

.footer-meta p {
  color: var(--text-dim);
  font-size: .84rem;
  margin: 0 0 10px;
}

.footer-meta a { color: var(--purple-soft); text-decoration: underline; text-underline-offset: 2px; }
.footer-meta a:hover { text-decoration-thickness: 2px; }

.footer-langs a { color: var(--text-dim); }
.footer-langs a:hover { color: var(--text); text-decoration-thickness: 2px; }
.footer-langs a.is-current { color: var(--text); font-weight: 700; }

/* ---------- error pages ---------- */

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 88px;
}

.error-page .brand { margin-bottom: 40px; }

.error-code {
  font-size: clamp(4.5rem, 16vw, 8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 0 0 10px;
  /* Fallback colour in case background-clip:text is unsupported (see @supports). */
  color: var(--purple-soft);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .error-code {
    background: linear-gradient(92deg, #fff 10%, var(--purple-soft) 55%, var(--pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.error-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin: 0 0 14px;
}

.error-text {
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 0 30px;
}

.error-text a { color: var(--purple-soft); text-decoration: underline; text-underline-offset: 2px; }
.error-text a:hover { text-decoration-thickness: 2px; }

/* ---------- back to top ---------- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: #7c4df0;
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, visibility .25s;
}

.back-to-top svg { width: 20px; height: 20px; }

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.back-to-top:hover { background: #6b3ae0; }

.back-to-top:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- screenshot lightbox ---------- */

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 12, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility 0s linear .2s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .2s ease, visibility 0s;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.lightbox .lightbox-phone {
  width: min(92vw, calc((80vh - 12px) / 2.164 + 12px));
  transform: translateY(8px) scale(.98);
  transition: transform .2s ease;
}

.lightbox.is-open .lightbox-phone { transform: none; }

.lightbox-figure figcaption {
  color: var(--text);
  font-weight: 700;
  font-size: .95rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(23, 23, 31, .85);
  color: var(--text);
  cursor: pointer;
}

.lightbox-close:hover { background: var(--panel); }
.lightbox-close:focus-visible { outline: 2px solid var(--purple-soft); outline-offset: 3px; }
.lightbox-close svg { width: 20px; height: 20px; }

/* ---------- store launch modal ---------- */

body.store-open { overflow: hidden; }

.store-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 12, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility 0s linear .2s;
}

.store-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .2s ease, visibility 0s;
}

.store-modal-card {
  position: relative;
  max-width: 440px;
  padding: 40px 32px 32px;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  /* .lightbox-close is absolutely positioned relative to this card. */
}

.store-modal .lightbox-close { top: 14px; right: 14px; }

.store-modal-title {
  font-size: 1.35rem;
  margin: 0 0 12px;
}

.store-modal-text {
  color: var(--text-dim);
  margin: 0 0 26px;
}

@media (max-width: 680px) {
  .store-modal { padding: 16px; }
  .store-modal-card { padding: 34px 24px 26px; }
  .store-modal .lightbox-close { top: 10px; right: 10px; }
}

@media (max-width: 680px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ---------- reveal on scroll ----------
   Progressive enhancement: content is only hidden when JS is actually running
   (html.js-enabled is set by main.js). No-JS visitors see everything. */

html.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

html.js-enabled .reveal[data-reveal="left"] { transform: translateX(-28px); }
html.js-enabled .reveal[data-reveal="right"] { transform: translateX(28px); }
html.js-enabled .reveal[data-reveal="zoom"] { transform: scale(.95); }
html.js-enabled .reveal[data-reveal="fade"] { transform: none; }

html.js-enabled .reveal[data-reveal-delay="1"] { transition-delay: .08s; }
html.js-enabled .reveal[data-reveal-delay="2"] { transition-delay: .16s; }
html.js-enabled .reveal[data-reveal-delay="3"] { transition-delay: .24s; }
html.js-enabled .reveal[data-reveal-delay="4"] { transition-delay: .32s; }
html.js-enabled .reveal[data-reveal-delay="5"] { transition-delay: .4s; }
html.js-enabled .reveal[data-reveal-delay="6"] { transition-delay: .48s; }

html.js-enabled .reveal.is-visible { opacity: 1; transform: none; }

/* Cards and gallery items cascade in after their container appears. */
html.js-enabled .reveal > .card,
html.js-enabled .reveal > .gallery-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}

html.js-enabled .reveal.is-visible > .card,
html.js-enabled .reveal.is-visible > .gallery-item {
  opacity: 1;
  transform: none;
}

html.js-enabled .reveal > .card:nth-child(1),
html.js-enabled .reveal > .gallery-item:nth-child(1) { transition-delay: .05s; }

html.js-enabled .reveal > .card:nth-child(2),
html.js-enabled .reveal > .gallery-item:nth-child(2) { transition-delay: .12s; }

html.js-enabled .reveal > .card:nth-child(3),
html.js-enabled .reveal > .gallery-item:nth-child(3) { transition-delay: .19s; }

html.js-enabled .reveal > .card:nth-child(4),
html.js-enabled .reveal > .gallery-item:nth-child(4) { transition-delay: .26s; }

html.js-enabled .reveal > .card:nth-child(5),
html.js-enabled .reveal > .gallery-item:nth-child(5) { transition-delay: .33s; }

html.js-enabled .reveal > .card:nth-child(6),
html.js-enabled .reveal > .gallery-item:nth-child(6) { transition-delay: .4s; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 300px)); }
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; text-align: center; }
  .hero-visual { margin-top: 44px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-title { min-height: 0; }
  .hero-note-row { justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-rev .split-visual { order: 2; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 1024px) {
  /* The full nav does not fit mid-viewports: collapse to the burger panel. */
  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    /* visibility (not just transform) keeps the closed panel out of the
       tab order; the delayed visibility transition preserves the slide. */
    visibility: hidden;
    transform: translateY(-130%);
    transition: transform .25s ease, visibility 0s linear .25s;
    z-index: 40;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .25s ease;
  }

  .site-nav a { padding: 12px 4px; font-size: .94rem; border-bottom: 1px solid rgba(52,51,74,.4); }
  .site-nav .nav-cta { border-bottom: 0; margin-top: 12px; text-align: center; }

  .site-nav .nav-sub { display: block; }

  .site-nav .nav-sub-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 4px;
    font-size: .94rem;
    border-bottom: 1px solid rgba(52,51,74,.4);
  }

  .site-nav .nav-submenu {
    position: static;
    transform: none;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav .nav-submenu a { padding: 11px 4px 11px 16px; font-size: .9rem; }

  .site-nav .lang-picker { display: block; margin-top: 12px; }

  .site-nav .lang-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 4px;
    border: 0;
    border-top: 1px solid rgba(52,51,74,.4);
    border-radius: 0;
    font-size: .94rem;
  }

  .site-nav .lang-menu {
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav .lang-menu a { padding: 10px 4px 10px 16px; font-size: .9rem; }

  .nav-toggle { display: flex; }
}

@media (max-width: 680px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }

  /* screenshots: a 2x3 grid instead of a horizontal strip */
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    padding-bottom: 8px;
  }

  .gallery-item { width: 100%; }

  .section { padding: 72px 0; }

  .phone { width: 252px; }
  .split-shots .phone { width: 236px; }

  .cta { padding: 84px 0; }

  .back-to-top { right: 16px; bottom: 16px; }
}

/* ---------- legal pages (terms / policy) ---------- */

.legal { padding: 72px 0 96px; }

.legal-inner {
  max-width: 760px;
  padding-left: 0;
  padding-right: 0;
}

.legal-meta {
  color: var(--text-dim);
  font-size: .88rem;
  margin: -6px 0 48px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 44px 0 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(52, 51, 74, .5);
}

.legal p,
.legal li {
  color: #c9c8d8;
  font-size: .97rem;
  line-height: 1.75;
  margin: 0 0 14px;
}

.legal strong { color: var(--text); }

.legal ul {
  padding-left: 22px;
  margin: 0 0 20px;
}

.legal li { padding-left: 4px; margin-bottom: 8px; }

.legal a { color: var(--purple-soft); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { text-decoration-thickness: 2px; }

/* header/legal-nav current page marker */
.site-nav a[aria-current="page"] { color: var(--text); }

@media (max-width: 680px) {
  .legal { padding: 48px 0 64px; }
  .legal h2 { margin-top: 32px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-enabled .reveal { opacity: 1; transform: none; transition: none; }
  html.js-enabled .reveal > .card,
  html.js-enabled .reveal > .gallery-item { opacity: 1; transform: none; transition: none; }
  .tagline { transition: none; }
  .site-nav { transition: none; }
  .btn, .card, .phone { transition: none; }
  .back-to-top { transition: none; }
  .lightbox, .lightbox-phone { transition: none; }
  .store-modal { transition: none; }
  .kickoff-pulse, .kickoff-num.is-tick { animation: none; }
  .kickoff-fill, .kickoff-ball { transition: none; }
}

@media print {
  html.js-enabled .reveal,
  html.js-enabled .reveal > .card,
  html.js-enabled .reveal > .gallery-item { opacity: 1; transform: none; }
}
