@font-face {
  font-family: Archivo;
  src: url("assets/fonts/archivo-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("assets/fonts/archivo-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: ArchivoBlack;
  src: url("assets/fonts/archivo-black.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }
/* Keep focused and scrolled-to content clear of the fixed masthead. */
html { scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-on-background);
  font: 15px/1.5 var(--font-body), Arial, sans-serif;
}
h1, h2, p { margin: 0; }
a, button { font: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-on-background);
  outline-offset: 6px;
}
button { cursor: pointer; }
[hidden] { display: none !important; }
.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--color-action);
  color: var(--color-on-action);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }
#main:focus { outline: none; }

.opening-scene {
  --scene-foot: color-mix(in srgb, var(--color-background) 74%, var(--color-text-primary));
  overflow: clip;
  background: var(--scene-foot);
}
.hero {
  --px: 0;
  --py: 0;
  --lift: 0px;
  --spin: 0deg;
  --glow-x: 30%;
  --hero-crown: color-mix(in srgb, var(--color-background) 86%, var(--color-surface));
  --hero-foot: color-mix(in srgb, var(--color-background) 74%, var(--color-text-primary));
  --hero-shadow: color-mix(in srgb, var(--color-text-primary) 35%, transparent);
  position: relative;
  isolation: isolate;
  width: 100%;
  height: max(740px, 100svh);
  max-height: 1000px;
  overflow: visible;
  z-index: 1;
  perspective: 1100px;
  background: radial-gradient(ellipse at 51% 31%, var(--hero-crown), var(--color-background) 49%, var(--hero-foot));
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(transparent, var(--scene-foot));
}
.masthead {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 3.5%;
  right: 3.5%;
  min-height: 52px;
  padding: 4px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 16px;
  background: transparent;
  transition: background-color .24s ease, box-shadow .24s ease, top .24s ease;
}
.masthead.is-scrolled {
  top: 10px;
  background: color-mix(in srgb, var(--color-background) 72%, var(--color-text-primary));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--color-text-primary) 22%, transparent);
}
.masthead h1 { font-size: inherit; flex-shrink: 0; }
.brand { display: block; width: 142px; height: auto; }
.navigation { display: flex; align-items: center; gap: 24px; }
.privacy-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--color-on-background);
  text-decoration: none;
  padding: 8px 0;
  font-size: 13px;
  white-space: nowrap;
}
.privacy-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--color-action);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.privacy-link:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.navigation .nav-action {
  min-height: 40px;
  padding: 8px 14px;
  gap: 14px;
  font-size: 13px;
  box-shadow: none;
}
.navigation .nav-action .tally { font-size: 12px; }
.kicker {
  position: absolute;
  left: 3.5%;
  top: 113px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.strokes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  transform: translate(calc(var(--px) * -14px), calc(var(--py) * -8px));
}
.art-stumps {
  position: absolute;
  z-index: 3;
  width: 460px;
  height: 690px;
  left: 29%;
  bottom: -3px;
  transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 6px), 15px) rotateY(calc(var(--px) * 1.4deg));
  transform-origin: 50% 80%;
  pointer-events: none;
}
.art-stumps > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(7px 12px 12px var(--hero-shadow));
}
.art-ball {
  position: absolute;
  width: 302px;
  height: 302px;
  right: 16%;
  bottom: 63px;
  z-index: 5;
  transform: translate3d(calc(var(--px) * 31px), calc(var(--py) * 17px + var(--lift)), 65px) rotate(calc(var(--px) * 3deg + var(--spin)));
  pointer-events: none;
}
.art-ball img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(12px 19px 16px var(--hero-shadow));
}
.art-ball::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at var(--glow-x) 21%, color-mix(in srgb, var(--color-surface) 33%, transparent), transparent 46%);
  mix-blend-mode: screen;
  opacity: .4;
  pointer-events: none;
}
.ground-shade {
  position: absolute;
  left: 20%;
  right: 8%;
  bottom: 19px;
  height: 60px;
  z-index: 2;
  filter: blur(15px);
  border-radius: 50%;
  background: var(--hero-shadow);
  transform: translateX(calc(var(--px) * 7px));
}
.copy {
  position: absolute;
  z-index: 8;
  left: 3.5%;
  bottom: 140px;
  max-width: 248px;
}
.copy h2 { font-size: 32px; font-weight: 700; letter-spacing: -1px; line-height: 1.07; }
.copy p { font-size: 13px; line-height: 1.55; max-width: 220px; margin: 14px 0 19px; }
.copy h2 .line { display: block; }
.line-2 { animation: line-arrive .6s .45s cubic-bezier(.2,.7,.2,1) both; }
.no-signal { display: inline-block; width: .62em; height: .62em; margin-left: .22em; vertical-align: .04em; color: var(--color-action); }
.no-signal-cross { stroke: var(--color-error); stroke-dasharray: 1; stroke-dashoffset: 1; animation: cross-draw .4s 1.15s ease-out forwards; }
@keyframes line-arrive { from { opacity: 0; transform: translateY(10px); } }
@keyframes cross-draw { to { stroke-dashoffset: 0; } }
.copy .hero-note { margin: 14px 0 0; font-size: 12px; letter-spacing: .3px; opacity: .9; }
.action {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  background: var(--color-action);
  color: var(--color-on-action);
  border: 2px solid var(--color-action);
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 0 var(--hero-shadow);
  transition: transform .18s;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.action:hover { transform: translateY(-3px); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--color-error); animation: live-blink 1.2s steps(2) 6; }
@keyframes live-blink { 50% { opacity: .2; } }
.tally { display: block; height: 22px; overflow: hidden; padding: 0 8px; border-radius: 5px; background: var(--color-on-action); color: var(--color-action); font-size: 13px; letter-spacing: 0; line-height: 22px; }
.tally-track { display: block; transition: transform .5s steps(3); }
.tally-track i { display: block; font-style: normal; }
.action:is(:hover, :focus-visible) .tally-track { transform: translateY(-66px); }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px 0 12px;
  border-radius: 10px;
  border: 1.5px solid #fff;
  background: #fff;
  color: var(--color-text-primary);
  text-decoration: none;
  line-height: 1.1;
  transition: transform .2s, background-color .2s, color .2s, border-color .2s;
}
.store-icon { width: 26px; height: 26px; flex: none; transition: transform .3s; }
.store small { display: block; font-size: 9px; letter-spacing: .4px; text-transform: uppercase; }
.store b { display: block; font-size: 17px; font-weight: 500; }
.store:is(:hover, :focus-visible) { transform: translateY(-3px); color: #fff; }
.store:is(:hover, :focus-visible) .store-icon { animation: store-wiggle .5s ease; }
.store-play:is(:hover, :focus-visible) { background: #01875F; border-color: #01875F; }
.store-app:is(:hover, :focus-visible) { background: #000; border-color: #000; }
@keyframes store-wiggle { 25% { transform: rotate(-14deg) scale(1.1); } 60% { transform: rotate(10deg) scale(1.1); } }
.also { display: none; color: #fff; font-size: 12px; text-decoration: none; background: linear-gradient(#fff, #fff) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .3s; }
.also:is(:hover, :focus-visible) { background-size: 100% 1px; }
html[data-os] .stores { gap: 12px 16px; }
@media (min-width: 1000px) { .stores { width: max-content; } }
html[data-os] .store { min-height: 56px; animation: store-pulse 2.4s ease-out 3; }
@keyframes store-pulse { 0% { box-shadow: 0 0 0 0 rgba(169, 240, 193, .7); } 100% { box-shadow: 0 0 0 12px rgba(169, 240, 193, 0); } }
html[data-os="ios"] .store-play, html[data-os="android"] .store-app { display: none; }
html[data-os="ios"] .also-play, html[data-os="android"] .also-app { display: inline-block; }
.score {
  position: absolute;
  z-index: 7;
  right: 3.5%;
  top: 59%;
  display: grid;
  gap: 4px;
  text-align: right;
}
.score strong { font: 49px/1 var(--font-display), sans-serif; letter-spacing: -3px; }
.score > span { font-size: 12px; line-height: 1.2; }
.overs-label { text-transform: uppercase; font-size: 10px; letter-spacing: .5px; }
@media (min-width: 1200px) {
  .art-stumps { width: 560px; height: 840px; left: 31%; }
  .art-ball { width: 360px; height: 360px; right: 17%; bottom: 72px; }
  .copy { left: 5%; bottom: 160px; max-width: 320px; }
  .copy h2 { font-size: 40px; }
  .copy p { max-width: 280px; font-size: 15px; }
  .score { right: 5%; }
  .score strong { font-size: 64px; }
}
@media (min-width: 1200px) and (max-height: 850px) {
  .art-stumps { width: 490px; height: 735px; }
}
@media (min-width: 1600px) {
  .art-stumps { left: calc(50% - 270px); }
  .art-ball { right: calc(50% - 440px); }
}
@media (min-width: 541px) and (max-width: 800px) {
  .art-stumps { left: 24%; width: 440px; height: 660px; }
  .art-ball { width: 250px; height: 250px; right: 10%; bottom: 65px; }
  .copy { left: 25px; max-width: 195px; bottom: 150px; }
  .copy h2 { font-size: 25px; }
  .copy .action { padding: 10px 12px; gap: 8px; font-size: 11px; white-space: nowrap; }
  .copy p { max-width: 170px; font-size: 12px; }
  .score { right: 25px; top: 53%; }
  .score strong { font-size: 39px; }
  .kicker { left: 25px; }
}
@media (max-width: 540px) {
  .hero { height: 900px; max-height: none; }
  .masthead { left: 12px; right: 12px; top: 10px; gap: 12px; padding: 4px 8px; border-radius: 13px; }
  .masthead.is-scrolled { top: 8px; }
  .brand { width: 100px; }
  .navigation { gap: 12px; }
  .privacy-link { font-size: 12px; }
  .navigation .nav-action { padding: 8px 10px; font-size: 11px; letter-spacing: 1px; white-space: nowrap; }
  .navigation .nav-action :is(.live, .tally) { display: none; }
  .kicker { left: 21px; top: 105px; font-size: 10px; letter-spacing: 1.7px; }
  .art-stumps {
    width: 300px;
    height: 450px;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%) translate3d(calc(var(--px) * 8px), calc(var(--py) * 5px), 0) rotateY(calc(var(--px) * 1deg));
  }
  .art-ball {
    width: 185px;
    height: 185px;
    right: 3%;
    bottom: 32px;
    transform: translate3d(calc(var(--px) * 18px), calc(var(--py) * 10px + var(--lift)), 30px) rotate(calc(var(--px) * 2deg + var(--spin)));
  }
  .copy { left: 21px; right: 21px; top: 145px; bottom: auto; max-width: 310px; }
  .copy h2 { font-size: 28px; line-height: 1.06; }
  .copy p { font-size: 12px; margin: 10px 0 15px; max-width: 280px; }
  .action { padding: 12px 19px; font-size: 14px; }
  .score { right: 22px; top: 550px; gap: 3px; }
  .score strong { font-size: 29px; letter-spacing: -1.5px; }
  .score > span { font-size: 11px; }
  .overs-label { font-size: 9px; }
  .ground-shade { bottom: 9px; left: 5%; right: 5%; height: 30px; }
}
@media (max-width: 359px) {
  .masthead { gap: 8px; }
  .brand { width: 84px; }
  .navigation { gap: 8px; }
}
@media (pointer: coarse) {
  .privacy-link, .navigation .nav-action { min-height: 44px; }
  .store { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .masthead, .masthead * { transition: none !important; }

  .hero { --px: 0 !important; --py: 0 !important; --lift: 0px !important; --spin: 0deg !important; }
  .hero * { transition: none !important; }
  .action:hover { transform: none; }
  .live, .line-2 { animation: none; }
  .no-signal-cross { animation: none; stroke-dashoffset: 0; }
  .store, .store-icon, .also { transition: none; }
  html[data-os] .store, .store:is(:hover, :focus-visible) .store-icon { animation: none; }
  .store:is(:hover, :focus-visible) { transform: none; }
  .action:is(:hover, :focus-visible) .tally-track { transform: none; }
}

/* Keep a compact transition from the original hero artwork to the proof row. */
.proof {
  position: relative;
  padding: 70px 5% 80px;
  background: var(--scene-foot);
}
.proof-list {
  list-style: none;
  padding: 36px 0;
  margin: 0 auto;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid color-mix(in srgb, var(--color-on-background) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-on-background) 18%, transparent);
}
.proof-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 700;
}
.proof-item + .proof-item { border-left: 1px solid color-mix(in srgb, var(--color-on-background) 18%, transparent); }
.proof-item svg { width: 30px; height: 30px; flex: none; color: var(--color-action); }
.proof-item.is-revealing { animation: proof-arrive .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--reveal-delay); }
@keyframes proof-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) {
  .proof { padding: 64px 25px 64px; }
  .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; padding: 30px 0; }
  .proof-item { justify-content: flex-start; padding-left: 16px; font-size: 15px; gap: 12px; }
  .proof-item:nth-child(3) { border-left: 0; }
}
@media (max-width: 540px) {
  .proof { padding: 48px 21px 48px; }
  .proof-list { gap: 26px 0; }
  .proof-item { font-size: 13px; gap: 9px; padding-left: 10px; }
  .proof-item:nth-child(odd) { padding-left: 0; }
  .proof-item svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .proof-item.is-revealing { animation: none; }
}
