/* StadiMerge Pals — stand nav, turf hero, jumbotron screenshots */

:root {
  --turf-light: #e8f6ee;
  --turf: #3dad5c;
  --turf-dark: #2d8a49;
  --sky: #5eb0f0;
  --sky-deep: #2a6fb8;
  --gold: #f5c518;
  --gold-dark: #d9a80f;
  --ink: #16324a;
  --muted: #4f6578;
  --cloud: #ffffff;
  --jumbotron: #12243a;
  --shadow: 0 18px 40px rgba(22, 50, 74, 0.14);
  --radius: 1.15rem;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--turf-light);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--cloud);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.pitch-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(61, 173, 92, 0.06) 47px,
      rgba(61, 173, 92, 0.06) 48px
    ),
    radial-gradient(ellipse 60% 45% at 90% 0%, rgba(94, 176, 240, 0.18), transparent 55%),
    linear-gradient(180deg, var(--turf-light) 0%, #dcefe4 100%);
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg,
.btn i {
  width: 1.2rem;
  height: 1.2rem;
}

.btn--champ {
  background: linear-gradient(180deg, #ffe066 0%, var(--gold) 100%);
  color: var(--ink);
  box-shadow: 0 7px 0 var(--gold-dark), 0 14px 28px rgba(245, 197, 24, 0.38);
}

.btn--champ:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 0 var(--gold-dark), 0 18px 32px rgba(245, 197, 24, 0.45);
}

.btn--line {
  background: var(--cloud);
  color: var(--turf-dark);
  border: 2px solid rgba(61, 173, 92, 0.5);
  box-shadow: 0 6px 16px rgba(22, 50, 74, 0.08);
}

.btn--line:hover {
  transform: translateY(-2px);
  border-color: var(--turf);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.85rem 1.4rem;
  font-size: 0.98rem;
}

.btn--xl {
  padding: 1rem 1.6rem;
  font-size: 1.02rem;
}

.btn--block {
  width: 100%;
}

/* Grandstand nav */
.stand-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cloud);
  transition: box-shadow 0.25s ease;
}

.stand-nav.is-scrolled {
  box-shadow: var(--shadow);
}

.stand-nav__sky {
  height: 6px;
  background: linear-gradient(90deg, var(--sky), #8ed0ff, var(--sky));
}

.stand-nav__bar {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stand-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
}

.stand-nav__brand img {
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(94, 176, 240, 0.35);
}

.stand-nav__links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.stand-nav__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}

.stand-nav__links a:hover {
  color: var(--turf-dark);
}

.stand-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.stand-nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 2px solid rgba(61, 173, 92, 0.45);
  border-radius: 0.65rem;
  background: var(--cloud);
  cursor: pointer;
}

.stand-nav__burger span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--turf-dark);
  border-radius: 2px;
}

.stand-nav__turf {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--turf) 0 16px,
    #4fc06f 16px 32px
  );
}

.nav-sheet {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  padding: 1.25rem;
  background: var(--cloud);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
}

.nav-sheet[hidden] {
  display: none !important;
}

.nav-sheet a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(61, 173, 92, 0.35);
}

/* Hero */
.hero__banner {
  max-width: 68rem;
  margin: 0.75rem auto 0;
  padding: 0 1.25rem;
}

.hero__banner img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 3px solid var(--cloud);
}

.hero__pitch {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sky-deep);
  background: rgba(94, 176, 240, 0.15);
  border-radius: 999px;
  border: 1px solid rgba(42, 111, 184, 0.25);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero h1 span {
  color: var(--turf-dark);
}

.hero__lead {
  margin: 0 0 0.75rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero__lead--soft {
  font-size: 0.98rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero__phone {
  position: relative;
  margin: 0;
  max-width: min(16.5rem, 88vw);
  margin-inline: auto;
}

.hero__arc {
  position: absolute;
  inset: -12% -8% auto -8%;
  height: 55%;
  border: 3px solid rgba(94, 176, 240, 0.35);
  border-bottom: none;
  border-radius: 50% 50% 0 0;
  z-index: 0;
  pointer-events: none;
}

.hero__phone img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 1.4rem;
  object-fit: contain;
  box-shadow: var(--shadow);
  border: 4px solid var(--cloud);
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  padding: 0 1.25rem;
}

.section-head--light .eyebrow,
.section-head--light h2,
.section-head--light .section-head__lead {
  color: var(--cloud);
}

.section-head--light h2 span {
  color: var(--gold);
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--turf-dark);
  margin: 0 0 0.45rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  margin: 0;
  font-weight: 800;
}

.section-head h2 span {
  color: var(--sky-deep);
}

.section-head__lead {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Tier cards */
.yard-features {
  padding: 0.5rem 0 3rem;
}

.yard-features__grid {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 1rem;
}

.tier-card {
  background: var(--cloud);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  border: 2px solid rgba(61, 173, 92, 0.25);
  box-shadow: 0 10px 24px rgba(22, 50, 74, 0.06);
  border-left: 5px solid var(--turf);
}

.tier-card__icon {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--turf-light);
  color: var(--sky-deep);
  margin-bottom: 0.65rem;
}

.tier-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.tier-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.tier-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Jumbotron screenshots */
.jumbotron {
  padding: 2.5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--jumbotron) 0%, #1a3350 100%);
  margin-top: 0.5rem;
}

.jumbotron__frame {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.jumbotron__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.35rem 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--jumbotron);
}

.jumbotron__track:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 0.5rem;
}

.jumbotron__shot {
  flex: 0 0 min(11rem, 74vw);
  margin: 0;
  scroll-snap-align: center;
}

.jumbotron__screen {
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(245, 197, 24, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.jumbotron__screen img {
  width: 100%;
  border-radius: 0.55rem;
  object-fit: contain;
  aspect-ratio: 1080 / 1920;
  background: #0a1624;
}

.jumbotron__shot figcaption {
  margin-top: 0.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Download */
.download {
  padding: 0 1.25rem 3.5rem;
}

.download__podium {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.25rem 1.65rem;
  background: var(--cloud);
  border-radius: 1.25rem;
  border: 2px solid rgba(61, 173, 92, 0.3);
  box-shadow: var(--shadow);
  position: relative;
}

.download__podium::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48%;
  height: 8px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #cd7f32, var(--gold), #c0c0c0);
}

.download__icon {
  margin: 0 auto 1rem;
  border-radius: 1rem;
}

.download h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 1.95rem);
  margin: 0 0 0.65rem;
  font-weight: 800;
}

.download__lead {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.download__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer {
  padding: 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.75);
  border-top: 3px solid var(--turf);
}

.footer__inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}

.footer__brand img {
  border-radius: 0.45rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.15rem;
}

.footer__links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--turf-dark);
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 36, 58, 0.55);
}

.modal__panel {
  position: relative;
  max-width: 22rem;
  width: 100%;
  padding: 2rem 1.65rem;
  background: var(--cloud);
  border-radius: 1.15rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid rgba(61, 173, 92, 0.35);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: var(--turf-light);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.modal__ball {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--cloud), #222 40%);
  box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.35);
}

.modal__panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.65rem;
  font-weight: 800;
}

.modal__panel p {
  color: var(--muted);
  margin: 0 0 1.15rem;
  font-size: 0.96rem;
}

@media (min-width: 640px) {
  .yard-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .stand-nav__links {
    display: flex;
  }

  .stand-nav__actions {
    margin-left: 0;
  }

  .stand-nav__burger {
    display: none;
  }

  .nav-sheet {
    display: none !important;
  }

  .hero__pitch {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .hero__phone {
    margin-inline: 0;
    justify-self: end;
  }

  .jumbotron__track {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: nowrap;
    padding-inline: 1.25rem;
  }

  .jumbotron__shot {
    flex: 0 0 11.25rem;
  }

  .download__actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .yard-features__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .jumbotron__shot {
    flex: 0 0 11.5rem;
  }
}

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

  .btn:hover {
    transform: none;
  }
}
