/* ==========================================================================
   Playka marketing site
   Tokens first, then base, layout, components, pages, language tweaks.
   ========================================================================== */

:root {
  /* Brand: deep navy + volt lime.
     Volt lime is for shapes, buttons and text on navy only. Never use it as text on a
     light background (it fails contrast); use --volt-ink there instead. */
  --navy: #0f1a2b;
  --navy-2: #182538;
  --navy-3: #2a3a55;
  --volt: #c8f23a;
  --volt-hi: #d9ff66;
  --volt-deep: #a6d11f;
  --volt-ink: #3b5700;     /* dark lime for text and lines on light backgrounds (AA contrast) */

  /* Neutrals: cool, so the lime carries all the energy */
  --paper: #eef0f3;
  --white: #ffffff;
  --ink: #141f31;
  --muted: #4f596d;
  --line: #d6dbe3;
  --on-navy: #e9ecf2;
  --on-navy-muted: #aab3c5;

  /* Status */
  --ok: #1d7f4a;
  --info: #9a6a12;
  --no: #a93d3d;

  /* Type (heading font preset: html.font-chakra | font-barlow | font-oswald, set in site.json) */
  --font-brand: "Chakra Petch", "Barlow", system-ui, sans-serif;
  --font-display: "Chakra Petch", "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-style: italic;

  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-lead: 1.1875rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem);

  /* Layout */
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
  --header-h: 4.5rem;
  --slant: -12deg;          /* the logo's bolt angle, used for every slanted shape */
  --radius: 14px;
  /* Motion: strong curves (built-in CSS easings are too weak) and short UI durations.
     Hover effects only apply to devices with a real mouse; see "@media (hover: hover)". */
  --ease-out: cubic-bezier(.23, 1, .32, 1);        /* entering, leaving, responding */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);    /* moving across the screen */
  --dur-press: 160ms;                              /* pressed-state feedback */
  --dur-ui: 200ms;                                 /* hovers, small state changes */

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent; /* no grey flash on tap; controls have their own :active state */
}
a, button, summary, label, [role="button"] { touch-action: manipulation; } /* taps fire straight away */
button, .btn { -webkit-user-select: none; user-select: none; }              /* long-press doesn't select labels */

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }

/* Focus: dark ring on light backgrounds, lime ring on navy ones */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
:is(.site-header, .hero, .pagehero, .story, .finale, .band--navy, .site-footer, .sports__tile--live) :focus-visible { outline-color: var(--volt); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--volt); color: var(--navy); padding: .6rem 1rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Placeholder for open business decisions (turn off in site.json) */
.tbd {
  background: #ffe7a3; color: #3d2c05; padding: 0 .25em; border-radius: 3px;
  outline: 1px dashed #b07a1c; outline-offset: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  font-style: normal;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 50rem; }

.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section--after-live { padding-top: clamp(3rem, 6vw, 5rem); }
.section__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .5rem 2rem; margin-bottom: 2.5rem;
}
.section__head .h2 { margin-bottom: 0; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display); font-style: var(--display-style); font-weight: 700;
  font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 1.25rem; max-width: 22ch; text-wrap: balance;
}
.h3 {
  font-family: var(--font-display); font-style: var(--display-style); font-weight: 600;
  font-size: var(--fs-h3); line-height: 1.25; margin-bottom: .5rem;
}
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 58ch; }
.note { font-size: var(--fs-small); color: var(--muted); max-width: 60ch; }

.link {
  color: var(--volt-ink); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--volt-deep);
}
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--ink); } }
.link-light {
  color: var(--white); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--volt);
}
@media (hover: hover) and (pointer: fine) { .link-light:hover { color: var(--volt-hi); } }

/* ---------- Buttons: slanted like the logo's bolt ---------- */
.btn {
  --btn-bg: var(--volt); --btn-fg: var(--navy);
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.6rem;
  color: var(--btn-fg); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 0; background: none; cursor: pointer; text-align: center;
  transition: transform var(--dur-press) var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg); border-radius: 4px; transform: skewX(var(--slant));
  transition: background-color .15s ease;
}
@media (hover: hover) and (pointer: fine) { .btn:hover::before { background: var(--btn-hover, var(--volt-hi)); } }
.btn:active { transform: scale(.97); } /* the whole button, label included, presses in */
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px var(--volt); } /* navy ring shows on light, lime on dark */
.btn--volt { --btn-bg: var(--volt); --btn-fg: var(--navy); --btn-hover: var(--volt-hi); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: var(--white); --btn-hover: var(--navy-3); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--white); --btn-hover: rgba(255,255,255,.08); }
.btn--outline::before { box-shadow: inset 0 0 0 2px var(--volt); }
.btn--lg { min-height: 3.5rem; padding: .9rem 2rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn:not(.btn--block) { margin-inline: .375rem; } /* keeps the slanted corners inside the text column */

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { flex: none; display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--white); }
.brand__mark { width: 2.2rem; height: auto; overflow: visible; }
.brand__p { fill: currentColor; }
.brand__play { fill: var(--volt); transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .brand:hover .brand__play { transform: translateX(2px) scale(1.12); } }
.brand__word {
  font-family: var(--font-brand); font-style: italic; font-weight: 700;
  font-size: 1.6rem; letter-spacing: -.01em; line-height: 1;
}

.site-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.site-nav__list { display: flex; gap: 1.05rem; list-style: none; }
.site-nav__list a {
  white-space: nowrap; color: var(--on-navy); text-decoration: none; font-weight: 500; font-size: .98rem; padding-block: .4rem;
  border-bottom: 2px solid transparent;
}
.site-nav__list a[aria-current="page"] { color: var(--white); border-bottom-color: var(--volt); }
@media (hover: hover) and (pointer: fine) { .site-nav__list a:hover { color: var(--white); border-bottom-color: var(--volt); } }
.site-nav__partner {
  white-space: nowrap; color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: .4rem .8rem; border: 1.5px solid var(--navy-3); border-radius: 6px;
}
@media (hover: hover) and (pointer: fine) { .site-nav__partner:hover { color: var(--white); border-color: var(--volt); } }

.site-nav__lang, .site-footer__lang { display: flex; gap: .15rem; }
.site-nav__lang a, .site-footer__lang a {
  color: var(--on-navy-muted); text-decoration: none; font-size: .9rem; font-weight: 600;
  padding: .3rem .5rem; border-radius: 4px;
}
@media (hover: hover) and (pointer: fine) { .site-nav__lang a:hover, .site-footer__lang a:hover { color: var(--white); } }
.site-nav__lang a[aria-current="true"], .site-footer__lang a[aria-current="true"] { color: var(--navy); background: var(--volt); }

.menu-toggle {
  display: none; margin-left: auto; width: 2.75rem; height: 2.75rem;
  background: none; border: 0; cursor: pointer; position: relative;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  position: absolute; left: 50%; width: 1.4rem; height: 2px; background: var(--white);
  transform: translateX(-50%); transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}
.menu-toggle__bars { top: 50%; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; left: 0; transform: none; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 88rem) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
    background: var(--navy); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    display: block; padding: 1rem 0; font-size: 1.25rem; border-bottom: 1px solid var(--navy-3);
    font-family: var(--font-display); font-style: var(--display-style); font-weight: 600;
  }
  .site-nav__lang { order: 2; }
  body.menu-open { overflow: hidden; }
}
/* Sinhala and Tamil menu labels are too long for a one-line header at any width
   (the header is capped by .wrap), so those pages always use the menu button. */
:is(.lang-si, .lang-ta) .menu-toggle { display: block; }
:is(.lang-si, .lang-ta) .site-nav {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
  flex-direction: column; align-items: stretch; gap: 1.5rem;
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  background: var(--navy); overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
:is(.lang-si, .lang-ta) .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
:is(.lang-si, .lang-ta) .site-nav__list { flex-direction: column; gap: 0; }
:is(.lang-si, .lang-ta) .site-nav__list a {
  display: block; padding: 1rem 0; font-size: 1.25rem; border-bottom: 1px solid var(--navy-3);
  font-family: var(--font-display); font-style: var(--display-style); font-weight: 600;
}
:is(.lang-si, .lang-ta) .site-nav__lang { order: 2; }
:is(.lang-si, .lang-ta) body.menu-open { overflow: hidden; }
@media (min-width: 88.01rem) {
  /* desktop menu panel: keep it a readable column instead of full-width rows */
  :is(.lang-si, .lang-ta) .site-nav { padding-inline: max(var(--gutter), calc((100vw - 40rem) / 2)); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; overflow: clip;
  background: var(--navy); color: var(--white);
  padding-top: clamp(3rem, 7vw, 5.5rem);
  /* bottom edge cut at the bolt angle */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
  padding-bottom: calc(5.5rem + 3.5vw);
}
.hero::before { /* the big lime slash behind the demo */
  content: ""; position: absolute; z-index: 0;
  top: -10%; bottom: -10%; right: 1%; width: clamp(6rem, 12vw, 10rem);
  background: linear-gradient(180deg, var(--volt) 0%, var(--volt-deep) 100%);
  transform: skewX(var(--slant)); opacity: .95;
  animation: slash-in 1s var(--ease-out) both;
}
.hero::after { /* a thinner echo slash */
  content: ""; position: absolute; z-index: 0;
  top: -10%; bottom: -10%; right: calc(1% + clamp(7.5rem, 15vw, 12.5rem)); width: clamp(1rem, 2vw, 1.5rem);
  background: var(--volt); opacity: .25; transform: skewX(var(--slant));
  animation: slash-in 1s .15s var(--ease-out) both;
}
@keyframes slash-in { from { transform: skewX(var(--slant)) translateY(-12%); opacity: 0; } }
.hero__copy > * { animation: rise .7s var(--ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.slotboard { animation: rise-card .9s .2s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-card { from { opacity: 0; transform: translateY(28px) rotate(1.5deg); } }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__title {
  font-family: var(--font-display); font-style: var(--display-style); font-weight: 700;
  font-size: var(--fs-h1); line-height: 1.0; letter-spacing: -.02em;
  margin-bottom: 1.5rem; max-width: 14ch; text-wrap: balance;
}
.hero__sub { font-size: var(--fs-lead); color: var(--on-navy); max-width: 44ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero__note { margin: 1.75rem 0 0; color: var(--on-navy-muted); font-size: var(--fs-small); }

/* Live slot picker demo */
.slotboard { margin: 0; justify-self: end; width: 100%; max-width: 24rem; }
.slotboard__card {
  background: var(--white); color: var(--ink); border-radius: 18px; padding: 1.25rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(20,31,49,.06);
}
.slotboard__head { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.slotboard__avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 10px; background: var(--navy); color: var(--volt);
  display: grid; place-items: center; font-family: var(--font-brand); font-style: italic; font-weight: 700;
}
.slotboard__name { margin: 0; font-weight: 700; line-height: 1.2; }
.slotboard__meta { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.3; }
.slotboard__price { margin: 0; font-weight: 700; text-align: right; line-height: 1.1; white-space: nowrap; }
.slotboard__price small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }

.slotboard__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; background: var(--paper); padding: .3rem; border-radius: 10px; margin-bottom: .9rem; }
.slotboard__days button {
  border: 0; background: none; padding: .5rem .25rem; border-radius: 7px; cursor: pointer;
  font-weight: 600; font-size: .9rem; color: var(--muted);
}
.slotboard__days button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(20,31,49,.12); }

.slotboard__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.slot {
  min-height: 2.75rem; border: 1.5px solid var(--line); background: var(--white); border-radius: 9px;
  font-weight: 600; font-size: .92rem; cursor: pointer; font-variant-numeric: tabular-nums;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
@media (hover: hover) and (pointer: fine) { .slot:hover:not(:disabled) { border-color: var(--navy); } }
.slot:active:not(:disabled) { transform: scale(.97); }
.slot:disabled { cursor: not-allowed; color: #a0a8b8; background: var(--paper); border-color: transparent; text-decoration: line-through; }
.slot[aria-pressed="true"] { background: var(--volt); border-color: var(--volt); color: var(--navy); transform: translateY(-1px); }
.slot.is-landing { animation: slot-land .5s cubic-bezier(.2,.9,.3,1.4); }
@keyframes slot-land { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: translateY(-1px); } }

.slotboard__hold { margin-top: 1rem; }
.slotboard__holdrow { display: flex; justify-content: space-between; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.slotboard__timer { font-variant-numeric: tabular-nums; color: var(--volt-ink); }
.slotboard__bar { height: 5px; border-radius: 3px; background: var(--paper); overflow: hidden; margin-bottom: 1rem; }
.slotboard__bar span { display: block; height: 100%; width: 100%; background: var(--volt); transform-origin: left; transition: transform 1s linear; }
.slotboard__empty { margin: 1rem 0 0; color: var(--muted); font-size: .92rem; text-align: center; }
.slotboard__caption { margin-top: 1rem; color: var(--on-navy); font-size: var(--fs-small); max-width: 30ch; }

/* Early-access card (hero, before launch: site.json prelaunch) */
.early { justify-self: end; width: 100%; max-width: 26rem; scroll-margin-top: calc(var(--header-h) + 1rem); animation: rise-card .9s .2s var(--ease-out) both; }
.early__card {
  background: var(--white); color: var(--ink); border-radius: 18px; padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(20,31,49,.06);
}
.early__tag {
  display: inline-block; margin: 0 0 .75rem; padding: .2rem .7rem; border-radius: 999px;
  background: var(--navy); color: var(--volt); font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.early__title {
  font-family: var(--font-display); font-style: var(--display-style); font-weight: var(--display-weight, 800);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); line-height: 1.1; margin: 0 0 .5rem;
}
.early__body { margin: 0 0 1.25rem; color: var(--muted); font-size: .95rem; }
.early__form { gap: .85rem; }
.early__sports { gap: .4rem; }
.early__sports span { padding: .4rem .85rem; font-size: .9rem; }
.early .field > span { font-size: .9rem; }
.early .field input { min-height: 2.75rem; padding-block: .55rem; }
.early .btn--block { min-height: 3rem; margin-top: .25rem; }
.early .form__consent { font-size: .82rem; }

/* Header button (before launch): "Get early access" */
.site-header__cta { flex: none; min-height: 2.6rem; padding: .5rem 1.2rem; font-size: .95rem; white-space: nowrap; }
.site-header__cta .cta-short { display: none; }
@media (max-width: 88rem) {
  .site-header__cta { margin-left: auto; }
  .site-header__cta + .menu-toggle { margin-left: .25rem; }
}
:is(.lang-si, .lang-ta) .site-header__cta { margin-left: auto; }
:is(.lang-si, .lang-ta) .site-header__cta + .menu-toggle { margin-left: .25rem; }
@media (max-width: 30rem) {
  .site-header__cta { min-height: 2.4rem; padding: .4rem .9rem; font-size: .88rem; }
  .site-header__cta .cta-long { display: none; }
  .site-header__cta .cta-short { display: inline; }
}

/* Sport switcher inside the demo */
.slotboard__sports { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.slotboard__sports button {
  border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; cursor: pointer;
  padding: .35rem .85rem; font-size: .85rem; font-weight: 600; color: var(--muted);
  transition: transform var(--dur-press) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .slotboard__sports button:hover { border-color: var(--navy); color: var(--ink); } }
.slotboard__sports button:active { transform: scale(.97); }
.slotboard__sports button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Trust strip */
.trust-strip {
  position: relative; z-index: 1; list-style: none;
  display: flex; flex-wrap: wrap; gap: .75rem 2.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--navy-3);
  color: var(--on-navy); font-weight: 500; font-size: var(--fs-small);
}
.trust-strip li { display: flex; align-items: center; gap: .6rem; }
.trust-strip li::before { content: ""; width: .5rem; height: 1rem; background: var(--volt); transform: skewX(var(--slant)); flex: none; }

/* ---------- Live scoreboard ---------- */
.live { position: relative; z-index: 2; margin-top: calc(-3.5vw - 3rem); padding-bottom: 1rem; }
.live[hidden] { display: none; }
.live__board {
  background: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 50px -24px rgba(20,31,49,.45), 0 0 0 1px rgba(20,31,49,.06);
}
.live__head {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--line);
}
.live__title {
  display: flex; align-items: center; gap: .6rem; margin: 0;
  font-family: var(--font-display); font-style: var(--display-style); font-weight: 700; font-size: 1.15rem;
}
.live__dot { width: .7rem; height: .7rem; border-radius: 50%; background: #9aa3b3; flex: none; }
.live--on .live__dot { background: #22a55b; box-shadow: 0 0 0 0 rgba(34,165,91,.55); animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 .6rem rgba(34,165,91,0); } 100% { box-shadow: 0 0 0 0 rgba(34,165,91,0); } }
.live__tag {
  margin: 0; font-size: .8rem; font-weight: 700; color: #1d7f4a; background: rgba(34,165,91,.1);
  padding: .15rem .6rem; border-radius: 999px;
}
.live__sample { margin: 0 0 0 auto; font-size: .85rem; }
.live__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); margin: 0; }
.live__stat { padding: 1.25rem 1.5rem 1.4rem; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .15rem; }
.live__stat:first-child { border-left: 0; }
.live__stat[hidden] { display: none; }
.live__stat dt { color: var(--muted); font-weight: 600; font-size: var(--fs-small); line-height: 1.3; }
.live__stat dd {
  margin: 0; font-family: var(--font-brand); font-style: italic; font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink);
}
.live__stat--lead { background: var(--navy); border-left: 0; }
.live__stat--lead dt { color: var(--on-navy); }
.live__stat--lead dd { color: var(--volt); }
.live--sample .live__stat dd { opacity: .55; }
@media (max-width: 44rem) {
  .live { margin-top: -2.5rem; }
  .live__stats { grid-template-columns: 1fr 1fr; }
  .live__stat { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 1.1rem; }
  .live__stat:nth-child(even) { border-left: 1px solid var(--line); }
  .live__stat--lead { border-top: 0; }
  .live__sample { margin-left: 0; flex-basis: 100%; }
}

/* ---------- Old way vs Playka ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 2.5rem; }
.versus__side { padding: clamp(1.5rem, 3vw, 2.5rem); }
.versus__side--old { background: var(--white); border-radius: var(--radius) 0 0 var(--radius); }
.versus__side--new { background: var(--navy); color: var(--white); border-radius: 0 var(--radius) var(--radius) 0; position: relative; }
.versus__side--new::before { /* slanted seam between the two halves */
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.25rem; width: 2.5rem;
  background: var(--navy); transform: skewX(var(--slant));
}
.versus__h { font-family: var(--font-display); font-style: var(--display-style); font-weight: 600; font-size: 1.15rem; margin-bottom: 1.25rem; position: relative; }
.versus__side--old .versus__h { color: var(--muted); }
.versus__side--new .versus__h { color: var(--volt); }
.versus__list { list-style: none; display: grid; gap: 1rem; position: relative; }
.versus__list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; align-items: start; }
.versus__list li::before { content: ""; width: 1.25rem; height: 1.25rem; margin-top: .2rem; background-repeat: no-repeat; background-size: contain; }
.versus__side--old li { color: var(--muted); }
.versus__side--old li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a93d3d' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 5l10 10M15 5 5 15'/%3E%3C/svg%3E"); }
.versus__side--new li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23c8f23a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 10.5 4 4 8-9'/%3E%3C/svg%3E"); }

/* ---------- Steps (real sequence, so numbered) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.steps__item { border-top: 3px solid var(--navy); padding-top: 1.25rem; }
.steps__n { /* lime number on a navy slanted chip: lime never sits on white as text */
  position: relative; isolation: isolate; display: inline-grid; place-items: center;
  width: 4rem; height: 4rem; margin: 0 0 1rem .4rem;
  font-family: var(--font-brand); font-style: italic; font-weight: 700;
  font-size: 2.2rem; line-height: 1; color: var(--volt);
}
.steps__n::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); border-radius: 8px; transform: skewX(var(--slant)); }
.steps__item p { color: var(--muted); margin: 0; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.audience__col { display: flex; flex-direction: column; align-items: flex-start; padding-left: 1.5rem; border-left: 3px solid var(--volt); }
.audience__who { color: var(--volt-ink); font-weight: 700; margin-bottom: .35rem; }
.audience__col .h3 { font-size: 1.45rem; margin-bottom: 1rem; }
.audience__col .ticks { margin-bottom: 1.75rem; flex: 1; }

.ticks { list-style: none; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.75rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 1.1rem; height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d7f4a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 10.5 4 4 8-9'/%3E%3C/svg%3E") no-repeat center / contain;
}
.ticks--lg { font-size: var(--fs-lead); gap: .9rem; margin-bottom: 1.75rem; }

/* ---------- Trust ---------- */
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem clamp(2rem, 5vw, 4rem); margin: 2.5rem 0 0; }
.trust__grid--3 { grid-template-columns: repeat(3, 1fr); }
.trust__item { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-content: start; }
.trust__item .icon { grid-row: span 2; }
.trust__item dt { font-weight: 700; font-size: 1.1rem; }
.trust__item dd { margin: 0; color: var(--muted); }
.icon { width: 2.5rem; height: 2.5rem; padding: .5rem; border-radius: 10px; background: var(--navy); fill: none; stroke: var(--volt); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Founding partners ---------- */
.founding { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* ---------- Sports ---------- */
.sports { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 2rem; }
.sports__tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  min-height: 8rem; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
}
.sports__name { overflow-wrap: anywhere; font-family: var(--font-display); font-style: var(--display-style); font-weight: 700; font-size: 1.35rem; color: var(--muted); }
.sports__vote { font-weight: 600; font-size: var(--fs-small); color: var(--volt-ink); text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.sports__tile--live { background: var(--navy); border-color: var(--navy); position: relative; overflow: hidden; }
.sports__tile--live::after {
  content: ""; position: absolute; right: -1rem; top: -20%; bottom: -20%; width: 3rem;
  background: var(--volt); transform: skewX(var(--slant));
}
.sports__tile--live .sports__name { color: var(--white); font-size: 1.6rem; }
.sports__state { color: var(--volt); font-weight: 700; font-size: var(--fs-small); }

/* ---------- Bands ---------- */
.band { padding-block: clamp(3rem, 6vw, 4.5rem); }
.band--volt { background: var(--volt); color: var(--navy); }
.band--navy { background: var(--navy); color: var(--white); }
.band--navy p { color: var(--on-navy); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.band__inner > div { max-width: 44rem; }
.band .h2 { max-width: 26ch; margin-bottom: .75rem; }
.band p { margin: 0; font-size: var(--fs-lead); }
.band--volt .btn--navy:focus-visible::before { box-shadow: 0 0 0 3px var(--volt), 0 0 0 6px var(--navy); }

/* ---------- App band ---------- */
.appband { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem 4rem; align-items: center; }
.appband__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.5rem; }
.appband__stores { list-style: none; display: grid; gap: .75rem; }
.appband__stores li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
}
.appband__stores span { font-weight: 700; }
.appband__stores small { color: var(--muted); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 4rem; align-items: start; }
.faq__list { display: grid; }
.faq__list .link { margin-top: 1.5rem; justify-self: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem;
  background:
    linear-gradient(var(--volt-ink), var(--volt-ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--volt-ink), var(--volt-ink)) center / 2px 100% no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 2.5rem; margin-bottom: 1.25rem; }
/* Answers slide open instead of appearing at once (browsers that can animate to height: auto) */
@supports (interpolate-size: allow-keywords) and selector(::details-content) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content {
    height: 0; opacity: 0; overflow: clip;
    transition: height var(--dur-ui) var(--ease-out), opacity var(--dur-ui) var(--ease-out), content-visibility var(--dur-ui) allow-discrete;
  }
  .faq details[open]::details-content { height: auto; opacity: 1; }
}

/* ---------- Finale ---------- */
.finale {
  position: relative; overflow: hidden; overflow: clip; background: var(--navy); color: var(--white);
  padding-block: clamp(4.5rem, 9vw, 7rem); text-align: center;
}
.finale::before, .finale::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; width: 5rem; background: var(--volt); transform: skewX(var(--slant));
}
.finale::before { left: -2rem; }
.finale::after { right: -2rem; opacity: .35; }
.finale__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.finale__title {
  font-family: var(--font-display); font-style: var(--display-style); font-weight: 700;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.75rem); line-height: 1.05; max-width: 18ch; text-wrap: balance;
}
.finale__or { margin: 0; color: var(--on-navy-muted); }
.finale__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0e1624; color: var(--on-navy-muted); padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); }
.site-footer__top { display: grid; grid-template-columns: 1fr 2.2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--navy-2); }
.site-footer__tagline { margin-top: 1rem; max-width: 28ch; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.site-footer__h { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--white); } }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal:empty { display: none; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem .7rem .8rem;
  background: #1f8f4e; color: var(--white); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transition: background-color .15s ease, transform var(--dur-press) var(--ease-out);
}
.wa-float svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background: #197a42; } }
.wa-float:active { transform: scale(.95); }
@media (max-width: 40rem) { .wa-float span { display: none; } .wa-float { padding: .8rem; } }

/* ---------- Guest peek countdown (1-hour guest password; main.js → initPeek) ---------- */
.peek {
  position: fixed; z-index: 45;
  left: calc(1rem + env(safe-area-inset-left, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  max-width: calc(100% - 6rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .75rem; padding: .6rem 1rem;
  background: var(--navy); color: var(--white); border: 2px solid var(--volt); border-radius: 14px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); font-size: .9rem;
}
.peek[hidden] { display: none; }
.peek__title { color: var(--volt); }
.peek__left { color: var(--on-navy); }
.peek__time { color: var(--white); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.peek.is-ending { border-color: #ff8a8a; }
.peek.is-ending .peek__time { color: #ffb4b4; }

/* ---------- The Playka promise ---------- */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem clamp(1.5rem, 4vw, 3rem); margin: 2.5rem 0 0; }
.promise__item { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; align-content: start; }
.promise__item .icon { grid-row: span 2; }
.promise__item dt { font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.promise__item dd { margin: 0; color: var(--muted); }

/* ---------- Our story ---------- */
.story { padding-block: var(--section); background: var(--navy); color: var(--white); position: relative; overflow: hidden; overflow: clip; }
.story::before { /* a thin gold slash, echoing the logo */
  content: ""; position: absolute; right: 4%; top: -10%; bottom: -10%; width: clamp(3rem, 7vw, 6rem); background: var(--volt); opacity: .12; transform: skewX(var(--slant));
}
.story .wrap { position: relative; }
.story .btn:focus-visible::before { box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px var(--volt); }
.story__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
.story__title {
  font-family: var(--font-display); font-style: var(--display-style); font-weight: 700;
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem); line-height: 1.02; letter-spacing: -.015em;
  max-width: 13ch; margin-bottom: 1.75rem; text-wrap: balance;
}
.story__copy p { font-size: var(--fs-lead); max-width: 56ch; }
.story__copy p { color: var(--on-navy); }
.story__copy p:last-of-type { color: var(--volt-hi); font-weight: 600; margin-bottom: 1.75rem; }
.story__label { font-size: 1rem; font-weight: 700; color: var(--volt); margin-bottom: 1rem; }
.founders { list-style: none; display: grid; gap: .75rem; }
.founders li { display: flex; align-items: center; gap: 1rem; background: var(--navy-2); border: 1px solid var(--navy-3); padding: .9rem 1.1rem; border-radius: var(--radius); }
.founders__avatar {
  width: 3.25rem; height: 3.25rem; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--volt); color: var(--navy); font-family: var(--font-brand); font-style: italic; font-weight: 700; font-size: 1.3rem;
}
.founders strong { display: block; line-height: 1.3; }

/* ---------- Forms ---------- */
.formcard { background: var(--white); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 18px 40px -26px rgba(20,31,49,.4); }
.formcard--flat { background: none; padding: 0; box-shadow: none; }
.formcard--slim { margin-top: 1.5rem; padding: 1.25rem; max-width: 34rem; }
.form { display: grid; gap: 1rem; }
.form[hidden] { display: none; }
.form .h3 { margin-bottom: .25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field > span { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #c3cad6; border-radius: 10px; transition: border-color .15s ease;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(200,242,58,.45); }
.field [aria-invalid="true"] { border-color: var(--no); }
.field__error { color: var(--no); font-size: .88rem; font-weight: 600; }
.form__choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.form__choice legend { font-weight: 600; font-size: .95rem; margin-bottom: .4rem; width: 100%; }
.form__choice label { position: relative; cursor: pointer; }
.form__choice input { position: absolute; opacity: 0; }
.form__choice span { display: inline-block; padding: .55rem 1.1rem; border: 1.5px solid #c3cad6; border-radius: 999px; font-weight: 600; }
.form__choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.form__choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.form__inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; }
.form__inline .field { flex: 1 1 16rem; }
.form__inline .btn { min-height: 3rem; }
.form__consent { margin: 0; font-size: .88rem; color: var(--muted); }
.form__consent .link { font-weight: 600; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form .btn--lg { justify-self: start; }
.form__status { margin: 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--no); }
.form__done {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--radius);
  background: rgba(29,127,74,.08); color: #145c35; font-weight: 600; font-size: 1.05rem;
  animation: done-in .3s var(--ease-out) both; /* plays when the form swaps for this message */
}
@keyframes done-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.form__done::before {
  content: ""; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 10.5 3.2 3.2L15 6.8'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.form__done[hidden] { display: none; }
.form__done:focus { outline: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }

/* Tick-to-vote sport tiles */
.sports__tile--pick { padding: 0; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.sports__tile--pick label { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; height: 100%; padding: 1.1rem 1.25rem; cursor: pointer; position: relative; }
.sports__tile--pick input { position: absolute; top: 1rem; right: 1rem; width: 1.25rem; height: 1.25rem; accent-color: var(--navy); cursor: pointer; }
.sports__tick { font-weight: 600; font-size: var(--fs-small); color: var(--volt-ink); }
@media (hover: hover) and (pointer: fine) { .sports__tile--pick:hover { border-color: var(--navy); } }
.sports__tile--pick:has(input:checked) { background: var(--white); border: 2px solid var(--navy); }
.sports__tile--pick:has(input:checked) .sports__name { color: var(--ink); }
.sports__tile--pick:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.form .sports { margin: .5rem 0 .5rem; }

/* How it works: payment protection box */
.protect {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.5rem; margin-bottom: 2rem; background: var(--white); border-radius: var(--radius); border-left: 5px solid var(--volt);
}
.protect p { margin: 0; color: var(--muted); }

/* ==========================================================================
   How it works
   ========================================================================== */
.pagehero {
  background: var(--navy); color: var(--white);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
  position: relative; overflow: hidden; overflow: clip;
}
.pagehero::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; right: 6%; width: clamp(4rem, 10vw, 8rem);
  background: var(--volt); transform: skewX(var(--slant)); opacity: .9; pointer-events: none;
}
.pagehero .wrap { position: relative; z-index: 1; }
.pagehero--tall { padding-block: clamp(5rem, 12vw, 9rem); }
.pagehero__title {
  font-family: var(--font-display); font-style: var(--display-style); font-weight: 700;
  font-size: clamp(2.25rem, 1.3rem + 4vw, 4rem); line-height: 1.02; max-width: 16ch; margin-bottom: 1.25rem; text-wrap: balance;
}
.pagehero__sub { font-size: var(--fs-lead); color: var(--on-navy); max-width: 50ch; margin-bottom: 2rem; }

.switch {
  display: inline-grid; grid-auto-flow: column; gap: .25rem; padding: .3rem;
  background: var(--navy-2); border-radius: 12px; border: 1px solid var(--navy-3); max-width: 100%;
}
.switch button {
  border: 0; background: none; color: var(--on-navy); cursor: pointer; font-weight: 700;
  padding: .75rem 1.25rem; border-radius: 9px; min-height: 2.9rem;
}
.switch button[aria-selected="true"] { background: var(--volt); color: var(--navy); }

/* Vertical timeline */
.timeline { list-style: none; counter-reset: step; margin: 2rem 0 2.5rem; }
.timeline > li { counter-increment: step; position: relative; padding: 0 0 2rem 4rem; }
.timeline > li::before {
  content: counter(step); position: absolute; left: 0; top: -.1rem;
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  font-family: var(--font-brand); font-style: italic; font-weight: 700; font-size: 1.15rem;
  background: var(--navy); color: var(--volt); border-radius: 8px; z-index: 1;
}
.timeline > li::after {
  content: ""; position: absolute; left: 1.25rem; top: 2.6rem; bottom: 0; width: 2px; background: var(--line);
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li:last-child::after { display: none; }
.timeline p { color: var(--muted); margin: 0; }

.outcomes { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.outcomes li { font-size: .9rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; border: 1.5px solid currentColor; }
.outcomes__ok { color: var(--ok); }
.outcomes__info { color: var(--info); }
.outcomes__no { color: var(--no); }

/* Payment flow */
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin: 2rem 0 1rem; }
.flow__step {
  position: relative; display: grid; gap: .25rem; padding: 1.1rem 1.25rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.flow__step strong { font-size: 1.05rem; }
.flow__step span { color: var(--muted); font-size: var(--fs-small); line-height: 1.4; }
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; right: -1.35rem; top: 50%; width: .9rem; height: .9rem; margin-top: -.45rem;
  border-top: 3px solid var(--volt-ink); border-right: 3px solid var(--volt-ink); transform: rotate(45deg);
}
.flow__step--ok { background: var(--navy); border-color: var(--navy); color: var(--white); }
.flow__step--ok span { color: var(--on-navy); }
.flow__step--ok strong { color: var(--volt); }
.flow__branch {
  padding: .9rem 1.25rem; border-left: 3px solid var(--no); background: rgba(169,61,61,.06);
  border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 2rem;
}
.plain { list-style: none; display: grid; gap: 1rem; }
.plain li { padding-left: 1.25rem; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .45rem; width: .4rem; height: .85rem; background: var(--volt-ink); transform: skewX(var(--slant)); }

/* Cancellation rules */
.rules { margin: 2rem 0 1.5rem; display: grid; gap: .75rem; }
.rules__row { display: grid; grid-template-columns: 1fr 1.3fr; gap: .5rem 2rem; padding: 1.25rem 1.5rem; background: var(--paper); border-radius: var(--radius); }
.rules dt { font-weight: 700; }
.rules dd { margin: 0; color: var(--muted); }

/* ==========================================================================
   Revamp components
   ========================================================================== */

/* Header gains a shadow once the page scrolls */
.site-header { transition: box-shadow .2s ease, background-color .2s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.7); }

/* Sports ticker (home) */
.ticker { background: var(--volt); color: var(--navy); padding-block: 1.75rem 0; overflow: hidden; overflow: clip; }
.ticker__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.25rem; }
.ticker__title { font-family: var(--font-display); font-style: var(--display-style); font-weight: 700; font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); line-height: 1.1; }
.ticker .link { color: var(--navy); text-decoration-color: var(--navy); }
.ticker__track { display: flex; width: max-content; border-top: 2px solid var(--navy); }
.ticker__list { display: flex; list-style: none; flex: none; animation: ticker 38s linear infinite; }
@media (hover: hover) and (pointer: fine) { .ticker__track:hover .ticker__list { animation-play-state: paused; } }
.ticker__item {
  display: flex; align-items: center; gap: .6rem; white-space: nowrap;
  padding: 1rem 2.25rem 1.1rem; font-family: var(--font-display); font-style: var(--display-style); font-weight: 700;
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); line-height: 1;
}
.ticker__item::after { content: ""; width: .7rem; height: 1.4rem; margin-left: 2.25rem; background: var(--navy); transform: skewX(var(--slant)); }
.ticker__item small {
  font-family: var(--font-body); font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  background: var(--navy); color: var(--volt); padding: .3rem .6rem; border-radius: 999px;
}
@keyframes ticker { to { transform: translateX(-100%); } }

/* Three ways to play (home): whole card is the link */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: 2.5rem; }
.ways__card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .5rem;
  padding: 1.75rem 1.5rem 1.5rem; border-radius: var(--radius); text-decoration: none;
  background: var(--white); border: 1px solid var(--line);
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out), border-color var(--dur-ui) ease;
}
/* Accent bar: drawn at its hover width (9px) and scaled down to 5px, so hover animates a transform, not width */
.ways__card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: var(--navy);
  transform-origin: left center; transform: scaleX(.5556); transition: transform var(--dur-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .ways__card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(15,26,43,.55); border-color: var(--navy); }
  .ways__card:hover::before { transform: none; }
  .ways__card:hover .ways__go::after { transform: translateX(4px); }
}
.ways__card:active { transform: scale(.98); transition-duration: var(--dur-press); }
.ways__who { color: var(--volt-ink); font-weight: 700; }
.ways__title { font-family: var(--font-display); font-style: var(--display-style); font-weight: 700; font-size: 1.45rem; line-height: 1.2; }
.ways__body { color: var(--muted); flex: 1; }
.ways__go { margin-top: .75rem; font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; }
.ways__go::after { content: "→"; transition: transform var(--dur-ui) var(--ease-out); }

/* Promise variants */
.promise.promise--3 { grid-template-columns: repeat(3, 1fr); }
.promise--cards .promise__item { padding: 1.5rem; background: var(--paper); border-radius: var(--radius); }

/* Mini founders list (home teaser) with photos or initials */
.founder-pic { display: block; flex: none; border-radius: 50%; object-fit: cover; background: var(--navy-3); }
.founders .founder-pic { width: 3.25rem; height: 3.25rem; }
.founder-pic--initial {
  display: grid; place-items: center; background: var(--volt); color: var(--navy);
  font-family: var(--font-brand); font-style: italic; font-weight: 700; font-size: 1.3rem;
}

/* Our story */
.chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 6vw, 5rem); }
.chapters__n {
  display: inline-block; margin-bottom: 1rem; padding: .2rem .7rem;
  font-family: var(--font-brand); font-style: italic; font-weight: 700; font-size: 1rem;
  background: var(--navy); color: var(--volt); border-radius: 6px;
}
.founder-cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2rem); margin-top: 2.5rem; }
.founder-card { background: var(--white); border-radius: var(--radius); padding: 1.75rem 1.5rem; border: 1px solid var(--line); }
.founder-card .founder-pic { width: 6rem; height: 6rem; margin-bottom: 1.25rem; font-size: 2.2rem; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--navy); }
.founder-card .h3 { font-size: 1.4rem; margin-bottom: .15rem; }
.founder-card .h3 { margin-bottom: .75rem; }
.founder-card p:last-child { color: var(--muted); margin: 0; }
/* Cards hold just the photo (or initial) and name; the founders' words are in the note below */
.founder-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.founder-card .h3:last-child { margin-bottom: 0; }

/* A note from the founders: one message from all three, on navy.
   main.js adds .founders-note--armed (hidden start state) then .founders-note--in when it scrolls into view;
   without JavaScript, or with reduced motion, it is simply shown. */
.founders-note { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding-block: var(--section); background: var(--navy); color: var(--white); }
.watermark--founders-note { right: -8vw; top: 8%; width: min(52vw, 36rem); opacity: .05; }
.founders-note__inner { position: relative; z-index: 1; max-width: 50rem; }
.founders-note__mark { display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 6rem; line-height: .7; height: 3.2rem; color: var(--volt); margin-bottom: 1rem; }
.founders-note__title {
  font-family: var(--font-display); font-style: var(--display-style); font-weight: var(--display-weight, 800);
  font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 1.75rem; text-wrap: balance;
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .12em; margin-right: -.12em;
}
.founders-note__body p { color: var(--on-navy); font-size: var(--fs-lead); line-height: 1.7; max-width: 62ch; margin: 0 0 1.2rem; }
.founders-note__body .founders-note__close { color: var(--volt-hi); font-weight: 600; margin-bottom: 0; }
.founders-note__hl { color: inherit; background: linear-gradient(var(--volt), var(--volt)) no-repeat 0 92% / 100% .16em; padding-bottom: .04em; }
.founders-note__sign { position: relative; margin-top: 2.25rem; padding-top: 1.5rem; }
.founders-note__sign::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--volt), rgba(200,242,58,0)); transform-origin: left center; }
.founders-note__signed { margin: 0 0 1rem; color: var(--on-navy-muted); font-style: italic; }
.founders-note__names { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.founders-note__names li { display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.founders-note__names .founder-pic { width: 2.9rem; height: 2.9rem; font-size: 1.15rem; box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--volt); transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .founders-note__names li:hover .founder-pic { transform: rotate(-8deg) scale(1.06); } }

/* Entrance: quote mark draws → title whooshes in → paragraphs one by one → underline sweeps → signatures.
   Kept to about 2 seconds in total so the last name lands while the reader is still on the opening lines. */
.founders-note--armed .founders-note__mark { clip-path: inset(0 100% 0 0); transform: translateX(-12px) skewX(-10deg); }
.founders-note--armed .founders-note__title { opacity: 0; transform: translateX(-60px) skewX(-8deg); filter: blur(8px); }
.founders-note--armed .founders-note__body p { opacity: 0; transform: translateY(18px); }
.founders-note--armed .founders-note__hl { background-size: 0% .16em; }
.founders-note--armed .founders-note__sign::before { transform: scaleX(0); }
.founders-note--armed .founders-note__signed, .founders-note--armed .founders-note__names li { opacity: 0; transform: translateY(10px); }
.founders-note--in .founders-note__mark { clip-path: inset(0 0 0 0); transform: none; transition: clip-path .7s var(--ease-out), transform .7s var(--ease-out); }
.founders-note--in .founders-note__title { opacity: 1; transform: none; filter: none; transition: opacity .6s .2s var(--ease-out), transform .8s .2s var(--ease-out), filter .6s .2s var(--ease-out); }
.founders-note--in .founders-note__body p { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.founders-note--in .founders-note__body p:nth-child(1) { transition-delay: .45s; }
.founders-note--in .founders-note__body p:nth-child(2) { transition-delay: .55s; }
.founders-note--in .founders-note__body p:nth-child(3) { transition-delay: .65s; }
.founders-note--in .founders-note__body p:nth-child(4) { transition-delay: .75s; }
.founders-note--in .founders-note__hl { background-size: 100% .16em; transition: background-size .8s 1.1s var(--ease-out); }
.founders-note--in .founders-note__sign::before { transform: scaleX(1); transition: transform .8s .9s var(--ease-out); }
.founders-note--in .founders-note__signed, .founders-note--in .founders-note__names li { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.founders-note--in .founders-note__signed { transition-delay: 1s; }
.founders-note--in .founders-note__names li:nth-child(1) { transition-delay: 1.1s; }
.founders-note--in .founders-note__names li:nth-child(2) { transition-delay: 1.2s; }
.founders-note--in .founders-note__names li:nth-child(3) { transition-delay: 1.3s; }
@media (max-width: 44rem) {
  .founders-note__mark { font-size: 4.5rem; height: 2.5rem; }
  .founders-note__names { flex-direction: column; gap: .85rem; }
}
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 2.5rem 0 0; }
.values__item { padding: 1.5rem 1.5rem 1.5rem 1.75rem; background: var(--paper); border-radius: var(--radius); position: relative; overflow: hidden; }
.values__item::before { content: ""; position: absolute; left: -.4rem; top: 0; bottom: 0; width: .9rem; background: var(--navy); transform: skewX(var(--slant)); }
.values__item dt { font-weight: 700; font-size: 1.15rem; margin-bottom: .35rem; }
.values__item dd { margin: 0; color: var(--muted); }

/* Partners */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.split__col { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--paper); border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 1rem); }
.split__col .h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.split__col .ticks { flex: 1; }
.mini-steps { list-style: none; counter-reset: mini; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mini-steps li {
  counter-increment: mini; display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; background: var(--paper); border-radius: var(--radius);
}
.mini-steps li::before {
  content: counter(mini); flex: none; width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  font-family: var(--font-brand); font-style: italic; font-weight: 700; background: var(--navy); color: var(--volt); border-radius: 8px;
}

/* Sports: cricket feature */
.cricket { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 6vw, 5rem); align-items: center; }
.cricket .lead { margin-bottom: 1.75rem; }
.cricket__list { list-style: none; display: grid; gap: .75rem; }
.cricket__list li {
  display: grid; gap: .2rem; padding: 1.1rem 1.25rem 1.1rem 1.5rem; border-radius: var(--radius);
  background: var(--navy); color: var(--white); position: relative; overflow: hidden;
}
.cricket__list li::after { content: ""; position: absolute; right: -.75rem; top: -20%; bottom: -20%; width: 2rem; background: var(--volt); transform: skewX(var(--slant)); }
.cricket__list strong { color: var(--volt); font-size: 1.1rem; }
.cricket__list span { color: var(--on-navy); padding-right: 2rem; }

/* FAQ: topic chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a {
  color: var(--white); text-decoration: none; font-weight: 600; padding: .5rem 1rem;
  border: 1.5px solid var(--navy-3); border-radius: 999px; background: var(--navy-2);
  transition: border-color .15s ease, color .15s ease, transform var(--dur-press) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .chips a:hover { border-color: var(--volt); color: var(--volt); } }
.chips a:active { transform: scale(.97); }
.section[id] { scroll-margin-top: calc(var(--header-h) + .5rem); }

/* Scroll reveal: JS marks only below-the-fold blocks, so nothing ever flashes or stays hidden.
   The reveal's transition and stagger delay apply only while it plays; main.js then adds .reveal-done
   so cards get their own hover transitions back (otherwise hover lifts lag by up to .4s). */
.reveal-pending { opacity: 0; transform: translateY(24px); }
[data-reveal].reveal-in:not(.reveal-done) { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal-group] > .reveal-in:not(.reveal-done):nth-child(2) { transition-delay: .06s; }
[data-reveal-group] > .reveal-in:not(.reveal-done):nth-child(3) { transition-delay: .12s; }
[data-reveal-group] > .reveal-in:not(.reveal-done):nth-child(4) { transition-delay: .18s; }
[data-reveal-group] > .reveal-in:not(.reveal-done):nth-child(5) { transition-delay: .24s; }
[data-reveal-group] > .reveal-in:not(.reveal-done):nth-child(6) { transition-delay: .3s; }

/* Heading font presets */
.font-barlow { --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif; }
.font-barlow .hero__title, .font-barlow .pagehero__title { letter-spacing: -.005em; }
.font-oswald { --font-display: "Oswald", "Barlow", system-ui, sans-serif; --display-style: normal; }
.font-oswald :is(.hero__title, .pagehero__title, .h2, .finale__title, .story__title) { letter-spacing: 0; text-transform: uppercase; }

@media (max-width: 60rem) {
  .ways, .founder-cards, .promise.promise--3 { grid-template-columns: 1fr; }
  .chapters, .split, .cricket { grid-template-columns: minmax(0, 1fr); }
  .mini-steps { grid-template-columns: 1fr 1fr; }
  .hero::after { display: none; }
}
@media (max-width: 44rem) {
  .values, .mini-steps { grid-template-columns: 1fr; }
  /* keep the slash off the text on phones */
  .pagehero::after { right: -3.5rem; width: 4.5rem; opacity: .5; }
}
/* the home teaser has a single paragraph: keep it plain, the lime accent is for the story's closing line */
.story__copy p:only-of-type { color: var(--on-navy); font-weight: 400; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 60rem) {
  .hero__grid, .founding, .appband, .faq, .story__grid { grid-template-columns: minmax(0, 1fr); }
  .promise { grid-template-columns: 1fr 1fr; }
  .slotboard, .early { justify-self: start; }
  .early { max-width: 34rem; }
  .hero::before { right: -2rem; top: 45%; }
  .steps, .audience { grid-template-columns: 1fr; }
  .trust__grid--3 { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 44rem) {
  .versus { grid-template-columns: 1fr; }
  .versus__side--old { border-radius: var(--radius) var(--radius) 0 0; }
  .versus__side--new { border-radius: 0 0 var(--radius) var(--radius); }
  .versus__side--new::before { display: none; }
  .trust__grid, .promise, .form__row { grid-template-columns: 1fr; }
  .sports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: 1fr; gap: 1.5rem; }
  .flow__step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -1.15rem; margin: 0 0 0 -.45rem; transform: rotate(135deg); }
  .rules__row { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
  .switch { grid-auto-flow: row; width: 100%; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), 0 100%); padding-bottom: 4.5rem; }
}

/* ==========================================================================
   Brand refresh: runner logo, heavy italic type, silver gradients, speed lines
   (overrides the earlier component styles; keep it after them)
   ========================================================================== */
:root {
  --navy: #0a172b;
  --navy-2: #102139;
  --navy-3: #22364f;
  --font-display: "Kanit", "Barlow", system-ui, sans-serif;
  --font-brand: var(--font-display);
  --display-weight: 900;
  --silver: linear-gradient(180deg, #ffffff 0%, #f3f5f8 42%, #bcc4cf 72%, #8792a3 100%);
  --streak: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.7) 60%, rgba(255,255,255,0));
}
/* heading font presets (must come after the :root block above) */
.font-chakra { --font-display: "Chakra Petch", "Barlow", system-ui, sans-serif; --display-weight: 700; }
.font-barlow { --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif; --display-weight: 700; }
.font-oswald { --font-display: "Oswald", "Barlow", system-ui, sans-serif; --display-style: normal; --display-weight: 700; }

.hero__title, .pagehero__title, .h2, .finale__title, .story__title, .ticker__item, .ways__title {
  font-weight: var(--display-weight); letter-spacing: -.01em;
}
.h3 { font-weight: 700; }

/* Silver gradient headlines on navy, like the logo */
.hero__title, .pagehero__title, .finale__title, .story__title {
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .12em; margin-right: -.12em; /* room for the italic overhang */
}

/* Header: the runner mark + wordmark images */
.brand { gap: .55rem; }
.brand__mark { width: auto; height: 2.6rem; transition: transform .25s var(--ease-out); }
.brand__word { width: auto; height: 1.3rem; }
@media (hover: hover) and (pointer: fine) { .brand:hover .brand__mark { transform: translateX(3px) rotate(-5deg); } }
.site-footer .brand__mark { height: 2.6rem; }
.site-footer .brand__word { height: 1.45rem; }
.site-footer { background: #07111f; }

/* Thin lime reading-progress line under the header (scroll-driven, no JS) */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--volt);
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progress linear both; animation-timeline: scroll(root); }
}
@keyframes progress { to { transform: scaleX(1); } }

/* Buttons: a light sheen sweeps across on hover */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: 4px;
  transform: skewX(var(--slant));
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%) 150% 0 / 250% 100% no-repeat;
  transition: background-position .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .btn:hover::after { background-position: -50% 0; } }

/* Hero: flat bottom, runner watermark, speed lines instead of lime slashes */
.hero { clip-path: none; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); isolation: isolate; }
.hero::before, .hero::after, .pagehero::after, .story::before, .finale::before, .finale::after { content: none; }
.hero__copy > .hero__title { animation: whoosh 1s var(--ease-out) both; }
.slotboard__card { animation: bob 5s 1.6s ease-in-out infinite alternate; }
@keyframes whoosh {
  from { opacity: 0; transform: translateX(-80px) skewX(-8deg); filter: blur(10px); }
  60% { filter: blur(0); }
}
@keyframes bob { to { transform: translateY(-6px); } }

.watermark {
  position: absolute; z-index: 0; pointer-events: none; aspect-ratio: 468 / 316;
  background: url("/assets/img/playka-mark.svg") no-repeat center / contain; opacity: .07;
}
.hero .watermark {
  right: -6vw; bottom: -4%; width: min(64vw, 60rem);
  animation: watermark-in 1.8s .2s var(--ease-out) both, drift 14s 2s ease-in-out infinite alternate;
}
.pagehero .watermark { right: -5vw; bottom: -18%; width: min(52vw, 38rem); opacity: .08; animation: watermark-in 1.6s .1s var(--ease-out) both; }
.watermark--story { left: -10vw; bottom: -20%; width: min(60vw, 46rem); opacity: .05; }
@keyframes watermark-in { from { opacity: 0; transform: translateX(10%) scale(.92); } }
@keyframes drift { to { transform: translate(-1.5%, -2.5%) rotate(-1.5deg); } }

.speed {
  position: absolute; z-index: 0; height: 2px; border-radius: 2px; overflow: hidden; pointer-events: none;
  background: var(--streak); transform-origin: left center;
  animation: streak 1.2s var(--ease-out) both;
}
.speed::after { /* a lime spark that zips along the line now and then (moved with transform, not left) */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 35%; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, var(--volt), transparent);
  animation: zip 5s 2s ease-in-out infinite;
}
.speed--hero-a { left: 0; top: 30%; width: min(24vw, 19rem); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.75)); animation-delay: .4s; }
.speed--hero-b { left: 36%; bottom: .6rem; width: min(22vw, 17rem); animation-delay: .7s; }
.speed--page { left: 0; bottom: 2rem; width: min(38vw, 24rem); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.6)); animation-delay: .3s; }
.speed--finale-a { left: 0; top: 30%; width: min(30vw, 22rem); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55)); }
.speed--finale-b { right: 0; bottom: 28%; width: min(30vw, 22rem); transform-origin: right center; background: linear-gradient(270deg, rgba(255,255,255,0), rgba(255,255,255,.55)); }
@keyframes streak { from { transform: scaleX(0); opacity: 0; } 60% { opacity: 1; } }
/* The spark is 35% of the line, so 285.7% of its own width carries it to the line's far end */
@keyframes zip { 0% { transform: translateX(-100%); opacity: 0; } 8% { opacity: 1; } 35%, 100% { transform: translateX(285.7%); opacity: 0; } }

.pagehero__title { animation: whoosh 1s var(--ease-out) both; }
.pagehero__sub, .pagehero .hero__actions, .pagehero .chips { animation: rise .7s .2s var(--ease-out) both; }
.pagehero { padding-bottom: clamp(3.5rem, 6vw, 4.5rem); }

/* Tilted lime sports band with speed-line dividers */
.ticker {
  position: relative; z-index: 3; padding: clamp(1.75rem, 3.2vw, 3rem) 0; margin: 0;
  background: linear-gradient(180deg, var(--navy) 50%, var(--white) 50%); overflow: hidden; overflow: clip;
}
.ticker__track {
  display: flex; width: auto; margin-inline: -5vw; border: 0;
  background: var(--volt); color: var(--navy); text-decoration: none;
  transform: rotate(-2.2deg); box-shadow: 0 26px 34px -20px rgba(10,23,43,.5);
  animation: band-in 1s .45s var(--ease-out) both;
}
.ticker__track:focus-visible { outline: 3px solid var(--navy); outline-offset: -6px; }
@keyframes band-in { from { opacity: 0; transform: rotate(-2.2deg) translateX(10%); } }
.ticker__item {
  text-transform: uppercase; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.7rem);
  padding: 1rem 0 1.05rem 2.1rem; gap: .75rem;
}
.ticker__item::after {
  width: 2.6rem; height: 1.25rem; margin-left: 2.1rem; transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 24' fill='none' stroke='%230a172b' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M16 5h32M5 12h36M14 19h32'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Step numbers: navy number on a lime chip */
.steps__n { color: var(--navy); }
.steps__n::before { background: var(--volt); }
.steps__item { border-top-color: var(--line); border-top-width: 2px; }

/* Section headings sweep from grey to ink as they arrive */
:is(.reveal-pending, .reveal-in) .h2, .h2:is(.reveal-pending, .reveal-in) {
  background: linear-gradient(90deg, var(--ink) 0 50%, #a3acba 50% 100%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .12em; margin-right: -.12em;
}
.reveal-in .h2, .h2.reveal-in { background-position: 0 0; transition: background-position 1.2s .15s var(--ease-out); }
.reveal-pending { transform: translateY(28px) skewY(1deg); }

/* Cards lift a little on hover */
.founder-card, .values__item, .promise--cards .promise__item, .mini-steps li, .split__col {
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .founder-card:hover, .values__item:hover, .promise--cards .promise__item:hover, .mini-steps li:hover, .split__col:hover {
    transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(10,23,43,.55);
  }
}

/* Page-to-page transitions (browsers that support cross-document view transitions) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
/* Short: people change pages several times a visit. The old page leaves faster than the new one arrives. */
::view-transition-old(root) { animation: vt-out .15s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .25s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateX(-16px); } }
@keyframes vt-in { from { opacity: 0; transform: translateX(24px); } }

@media (max-width: 60rem) {
  .hero .watermark { width: 110vw; right: -30vw; bottom: 18%; }
  .speed--hero-b { left: 10%; }
}
@media (max-width: 44rem) {
  .speed--hero-a { top: 21%; }
  .ticker__track { transform: rotate(-3deg); }
  @keyframes band-in { from { opacity: 0; transform: rotate(-3deg) translateX(10%); } }
}

/* ==========================================================================
   Phone polish: tighter rhythm, compact steps, bigger tap targets
   ========================================================================== */
@media (max-width: 44rem) {
  :root { --section: 3.5rem; }
  .pagehero { padding-bottom: 3rem; }
  .section__head { margin-bottom: 1.5rem; }

  /* Hero: full-width main button, demo card uses the whole width */
  .hero__actions { gap: 1rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__note { margin-top: 1.25rem; }
  .slotboard, .early { max-width: none; }
  .slotboard__caption { max-width: none; }

  /* Trust strip: a tidy two-by-two grid instead of ragged wrapping */
  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; align-items: start; }
  .trust-strip li { align-items: flex-start; line-height: 1.35; }
  .trust-strip li::before { margin-top: .15rem; }

  /* Steps: number chip beside the text instead of a big tile on top */
  .steps { gap: 0; }
  .steps__item {
    display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; align-items: start;
    padding-block: 1.25rem;
  }
  .steps__item:last-child { padding-bottom: 0; }
  .steps__n { grid-row: span 2; width: 2.75rem; height: 2.75rem; margin: .1rem 0 0 .25rem; font-size: 1.5rem; }
  .steps__item .h3 { margin: .35rem 0 .25rem; }

  /* Cards and lists: a little less padding so text gets the width */
  .ways__card { padding: 1.4rem 1.25rem 1.25rem; }
  .split__col { padding: 1.4rem 1.25rem; }

  /* Footer and language links: 44px tap targets */
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding-block: .6rem; }
  .site-nav__lang a, .site-footer__lang a { min-width: 2.75rem; min-height: 2.75rem; display: inline-grid; place-items: center; }
  .site-nav__partner { padding: .8rem 1rem; text-align: center; }

  /* WhatsApp bubble: smaller, so it covers less of the page */
  .wa-float { padding: .7rem; }
  .wa-float svg { width: 1.35rem; height: 1.35rem; }
  body.menu-open .wa-float { display: none; }
}

/* ==========================================================================
   Pre-launch lock page (templates/lock.html, served by functions/_middleware.js)
   ========================================================================== */
.lock { background: var(--navy); color: var(--white); }
.lock__stage {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  min-height: 100vh; min-height: 100dvh; display: grid; place-items: center;
  padding: 3rem var(--gutter);
}
.lock .watermark { right: -12vw; bottom: -8%; width: min(90vw, 64rem); opacity: .08; animation: watermark-in 1.8s .1s var(--ease-out) both, drift 14s 2s ease-in-out infinite alternate; }
.speed--lock-a { left: 0; top: 30%; width: min(34vw, 22rem); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.7)); animation-delay: .5s; }
.speed--lock-b { right: 0; bottom: 24%; width: min(34vw, 22rem); transform-origin: right center; background: linear-gradient(270deg, rgba(255,255,255,0), rgba(255,255,255,.6)); animation-delay: .8s; }
.lock__card { position: relative; z-index: 1; width: 100%; max-width: 36rem; }
.lock__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 2.5rem; animation: rise .7s var(--ease-out) both; }
.lock__brand .brand__mark { height: 3.2rem; width: auto; }
.lock__brand .brand__word { height: 1.6rem; width: auto; }
.lock__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.5rem 0 0; }
.lock__title {
  font-family: var(--font-display); font-style: var(--display-style); font-weight: var(--display-weight);
  font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.01em; text-wrap: balance;
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .12em; margin-right: -.12em; margin-bottom: 1.25rem;
  animation: whoosh 1s .1s var(--ease-out) both;
}
.lock__sub { font-size: var(--fs-lead); color: var(--on-navy); max-width: 40ch; margin-bottom: 2rem; animation: rise .7s .25s var(--ease-out) both; }
.lock__form { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: stretch; animation: rise .7s .35s var(--ease-out) both; }
.lock__field { flex: 1 1 14rem; }
.lock__field input {
  width: 100%; min-height: 3.5rem; padding: .8rem 1.1rem; font: inherit; font-size: 1.05rem; letter-spacing: .04em;
  color: var(--white); background: var(--navy-2); border: 1.5px solid var(--navy-3); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lock__field input::placeholder { color: var(--on-navy-muted); letter-spacing: 0; }
.lock__field input:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px rgba(200,242,58,.3); }
.lock__form .btn { margin-inline: .375rem; }
.lock__error {
  margin: 1rem 0 0; padding: .7rem 1rem; border-radius: 10px; font-weight: 600;
  color: #ffd2d2; background: rgba(169,61,61,.22); border: 1px solid rgba(255,120,120,.35);
  animation: shake .4s ease both;
}
/* Guest password already used in this browser today: a calm note, not an error */
.lock__ended {
  margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 10px; font-weight: 600;
  color: var(--white); background: var(--navy-2); border: 1.5px solid var(--volt);
  animation: rise .5s var(--ease-out) both;
}
.lock__ended .link-light { white-space: nowrap; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.lock__contact { margin: 2.25rem 0 0; color: var(--on-navy-muted); font-size: var(--fs-small); animation: rise .7s .45s var(--ease-out) both; }
.lock__lang { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: 1.25rem; animation: rise .7s .55s var(--ease-out) both; }
.lock__lang a { color: var(--on-navy-muted); text-decoration: none; font-weight: 600; font-size: .9rem; padding: .3rem .6rem; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .lock__lang a:hover { color: var(--white); } }
.lock__lang a[aria-current="true"] { color: var(--navy); background: var(--volt); }
.lock :focus-visible { outline-color: var(--volt); }

/* Maintenance (functions/_middleware.js): the expected end time on the maintenance page, and the "bookings paused"
   strip added to the top of every page for the lighter level. Navy text on volt, never volt text. */
.lock__until { color: var(--white); font-weight: 600; }
.maint-banner { position: sticky; top: 0; z-index: 1000; margin: 0; padding: .6rem 1rem; background: var(--volt); color: var(--navy); text-align: center; font-size: .95rem; font-weight: 600; line-height: 1.4; }

/* ==========================================================================
   Link-in-bio page (templates/hello.html, /hello/): the lock page's hero, then what's coming,
   the founders' note and where to follow us. Open to everyone; no forms, no links into the site.
   ========================================================================== */
.hello { background: var(--paper); }
.hello__hero { background: var(--navy); color: var(--white); min-height: 92vh; min-height: 92svh; }
.hello__hero .watermark { right: -12vw; bottom: -8%; width: min(90vw, 64rem); opacity: .08; animation: watermark-in 1.8s .1s var(--ease-out) both, drift 14s 2s ease-in-out infinite alternate; }
.hello__hero :focus-visible { outline-color: var(--volt); }
.hello__kicker {
  display: inline-block; margin: 0 0 1rem; padding: .25rem .8rem; border-radius: 999px;
  background: var(--volt); color: var(--navy); font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  animation: rise .7s .05s var(--ease-out) both;
}
.hello__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; animation: rise .7s .35s var(--ease-out) both; }
.hello__steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.hello__steps li { padding: 1.5rem; background: var(--paper); border-radius: var(--radius); }
.hello__steps p { margin: 0; color: var(--muted); }
.hello__n {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: .9rem; border-radius: 8px;
  background: var(--volt); color: var(--navy); font-family: var(--font-brand); font-style: italic; font-weight: 700;
}
.hello__social { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin: 1.75rem 0 2rem; }
.hello__foot { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px)); background: #07111f; color: var(--on-navy-muted); font-size: var(--fs-small); text-align: center; }
.hello__foot p { margin: 0; }
.hello__foot .brand__mark { height: 1.8rem; width: auto; }
@media (max-width: 44rem) {
  .hello__steps { grid-template-columns: 1fr; }
  .hello__social .btn { min-width: 9rem; }
}

/* ==========================================================================
   Sinhala and Tamil
   Chakra Petch has no Sinhala/Tamil glyphs; a slanted fake italic on these
   scripts reads badly, so display text goes upright in Noto Sans with more
   line height and slightly smaller sizes for the longer words.
   ========================================================================== */
.lang-si { --font-display: "Noto Sans Sinhala", "Barlow", sans-serif; --font-body: "Barlow", "Noto Sans Sinhala", sans-serif; }
.lang-ta { --font-display: "Noto Sans Tamil", "Barlow", sans-serif; --font-body: "Barlow", "Noto Sans Tamil", sans-serif; }
.lang-si, .lang-ta {
  --display-style: normal;
  --fs-h1: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
  --fs-h3: 1.15rem;
}
.lang-si body, .lang-ta body { line-height: 1.75; }
.lang-si :is(.hero__title, .h2, .h3, .pagehero__title, .finale__title, .versus__h, .sports__name, .story__title, .ticker__title, .ticker__item, .ways__title, .lock__title),
.lang-ta :is(.hero__title, .h2, .h3, .pagehero__title, .finale__title, .versus__h, .sports__name, .story__title, .ticker__title, .ticker__item, .ways__title, .lock__title) {
  line-height: 1.4; letter-spacing: 0; font-weight: 700; max-width: 26ch;
}
.lang-ta .hero__title, .lang-ta .pagehero__title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
.lang-ta .sports__name { font-size: 1.1rem; }
.lang-si .founders-note__title, .lang-ta .founders-note__title { line-height: 1.4; font-weight: 700; letter-spacing: 0; }
.lang-si .founders-note__body p, .lang-ta .founders-note__body p { line-height: 1.85; }
.lang-si .story__title, .lang-ta .story__title { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.8rem); overflow-wrap: anywhere; }
.lang-si .slot, .lang-ta .slot { font-size: .8rem; white-space: nowrap; padding-inline: .2rem; }
.lang-si .slotboard__days button, .lang-ta .slotboard__days button { font-size: .8rem; }
@media (max-width: 30rem) {
  /* long Tamil words (பயிற்சியாளர்களையும்) must fit a phone's width without clipping */
  .lang-ta .hero__title, .lang-ta .pagehero__title { font-size: 1.5rem; overflow-wrap: break-word; }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
    animation-delay: 0s !important; transition-delay: 0s !important; /* nothing waits invisible, then pops in */
  }
  /* The ticker becomes a still, wrapping list */
  .ticker__list { animation: none !important; flex-wrap: wrap; flex: 1 1 auto; }
  .ticker__list[aria-hidden="true"] { display: none; }
  .ticker__track { width: auto; }
  .ticker__item { padding-inline: 1.25rem; }
  .ticker__item::after { margin-left: 1.25rem; }
  @media (max-width: 44rem) {
    .ticker__list { justify-content: center; padding: .5rem 1rem; }
    .ticker__item { font-size: 1.15rem; padding: .45rem .7rem; }
    .ticker__item::after { width: 1.4rem; height: .8rem; margin-left: .7rem; }
  }
  .ways__card:hover, .brand:hover .brand__mark, .founder-card:hover, .values__item:hover,
  .promise--cards .promise__item:hover, .mini-steps li:hover, .split__col:hover,
  .founders-note__names li:hover .founder-pic, .ways__card:hover .ways__go::after { transform: none; }
  .scroll-progress, .speed::after { display: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
