:root {
  color-scheme: dark;
  --lg-ink: #04100b;
  --lg-night: #07120d;
  --lg-canopy: #0c1f16;
  --lg-surface: #102018;
  --lg-surface-high: #162a20;
  --lg-emerald: #31e89a;
  --lg-mint: #9efbd0;
  --lg-gold: #f5c84b;
  --lg-clay: #e87f45;
  --lg-aqua: #54d6f4;
  --lg-danger: #ff5c6a;
  --lg-text: #f4fff8;
  --lg-muted: #b6d4c3;
  --lg-faint: #7fa18e;
  --lg-glass: rgba(8, 21, 15, 0.85);
  --lg-glass-soft: rgba(13, 28, 20, 0.7);
  --lg-border: rgba(49, 232, 154, 0.18);
  --lg-border-strong: rgba(49, 232, 154, 0.4);
  --lg-gold-border: rgba(245, 200, 75, 0.44);
  --lg-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --lg-radius: 8px;
  --lg-app-icon-radius: 24%;
  --lg-container: 1180px;
  --lg-phone-frame-inset-x: 3.2%;
  --lg-phone-frame-inset-y: 1.53%;
  --lg-phone-frame-aspect: 0.47867867;
  --lg-phone-frame-radius-x: 12.4%;
  --lg-phone-frame-radius-y: 5.72%;
  --lg-phone-screen-aspect: 1284 / 2778;
  --lg-phone-screen-radius-x: 10.05%;
  --lg-phone-screen-radius-y: 4.66%;
  --lg-phone-notch-color: #101311;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.lg-site {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--lg-text);
  background:
    linear-gradient(180deg, #07120d 0%, #08180f 38%, #030806 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img {
  max-width: 100%;
}

a {
  color: var(--lg-mint);
}

a:hover {
  color: var(--lg-gold);
}

svg {
  width: 1em;
  height: 1em;
  stroke-width: 2.2;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2000;
  padding: 0.7rem 0.9rem;
  border-radius: var(--lg-radius);
  color: var(--lg-ink);
  background: var(--lg-mint);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--lg-container));
  max-width: none;
}

.lg-navbar {
  padding: 0.8rem 0;
  background: rgba(4, 16, 11, 0);
  transition:
    padding 0.2s ease;
}

.lg-navbar:has(.navbar-collapse.show) {
  background: transparent;
}

.lg-navbar .container {
  padding: 0.55rem;
  border: 1px solid rgba(244, 255, 248, 0.08);
  border-radius: var(--lg-radius);
  background: rgba(7, 18, 13, 0.54);
  backdrop-filter: blur(18px);
}

.navbar-brand.lg-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--lg-text);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 750;
  text-decoration: none;
}

.lg-brand img {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: var(--lg-app-icon-radius);
  box-shadow: 0 10px 26px rgba(245, 200, 75, 0.2);
}

.navbar-toggler {
  border-color: rgba(244, 255, 248, 0.18);
  border-radius: var(--lg-radius);
}

.lg-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2.5rem;
  padding: 0.58rem 0.78rem !important;
  border-radius: var(--lg-radius);
  color: rgba(244, 255, 248, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.lg-nav-link:hover,
.lg-nav-link:focus,
.lg-nav-link.active {
  color: var(--lg-text);
  background: rgba(49, 232, 154, 0.1);
}

.lg-nav-link-cta {
  color: var(--lg-ink);
  background:
    linear-gradient(135deg, var(--lg-gold), #ffae36 48%, var(--lg-clay));
}

.lg-nav-link-cta:hover,
.lg-nav-link-cta:focus {
  color: var(--lg-ink);
  background:
    linear-gradient(135deg, #ffe58a, var(--lg-gold) 46%, #ffa733);
}

.lg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  max-width: 100%;
  min-width: 0;
  min-height: 3.1rem;
  padding-inline: 1.05rem;
  border-radius: var(--lg-radius);
  border-width: 1px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: 0;
}

.lg-btn-gold {
  border-color: rgba(255, 239, 168, 0.46);
  color: var(--lg-ink);
  background:
    linear-gradient(135deg, #fff0a6 0%, var(--lg-gold) 38%, #ffad38 72%, var(--lg-clay) 100%);
  box-shadow:
    0 18px 40px rgba(245, 200, 75, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.lg-btn-gold:hover,
.lg-btn-gold:focus {
  color: var(--lg-ink);
  border-color: rgba(255, 255, 255, 0.58);
  filter: brightness(1.05);
}

.lg-btn-glass {
  border-color: rgba(158, 251, 208, 0.26);
  color: var(--lg-text);
  background: rgba(8, 21, 15, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.lg-btn-glass:hover,
.lg-btn-glass:focus {
  color: var(--lg-mint);
  border-color: rgba(158, 251, 208, 0.46);
  background: rgba(12, 31, 22, 0.84);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  min-width: 0;
  min-height: 3.85rem;
  padding: 0.62rem 1rem;
  border: 1px solid rgba(244, 255, 248, 0.2);
  border-radius: var(--lg-radius);
  color: var(--lg-text);
  background: #050908;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: "Montserrat", sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.app-store-badge:hover,
.app-store-badge:focus {
  color: var(--lg-text);
  border-color: rgba(245, 200, 75, 0.52);
  background: #0b1210;
}

.app-store-badge svg {
  flex: 0 0 auto;
  font-size: 1.55rem;
}

.app-store-badge span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.app-store-badge small {
  color: rgba(244, 255, 248, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--lg-mint);
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--lg-text);
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
}

h1 {
  margin-bottom: 0.65rem;
  font-size: 5.4rem;
  line-height: 0.96;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3.1rem;
  line-height: 1;
}

h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
}

p {
  color: var(--lg-muted);
  line-height: 1.72;
}

.section {
  position: relative;
  padding: 6rem 0;
}

section[id] {
  scroll-margin-top: 7.2rem;
}

.section-lead {
  max-width: 41rem;
  margin-bottom: 1.6rem;
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.section-heading > p,
.section-heading .section-lead {
  max-width: 34rem;
  margin-bottom: 0;
}

.section-heading.centered {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .section-lead,
.section-heading.centered p {
  margin-inline: auto;
}

.hero-section {
  position: relative;
  min-height: 86svh;
  padding: 8.5rem 0 4.6rem;
  overflow: visible;
  isolation: isolate;
}

.hero-bg,
.final-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
}

.hero-scrim,
.final-scrim {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3, 8, 6, 0.92) 0%, rgba(7, 18, 13, 0.78) 42%, rgba(7, 18, 13, 0.36) 100%),
    linear-gradient(180deg, rgba(4, 16, 11, 0.38) 0%, rgba(4, 16, 11, 0.46) 60%, rgba(4, 16, 11, 0.98) 100%);
}

.hero-map-lines {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
  background-image:
    linear-gradient(110deg, transparent 0 18%, rgba(158, 251, 208, 0.32) 18.2%, transparent 18.6% 46%, rgba(245, 200, 75, 0.22) 46.2%, transparent 46.55%),
    linear-gradient(22deg, transparent 0 64%, rgba(84, 214, 244, 0.18) 64.2%, transparent 64.55%);
  background-size: 460px 460px, 360px 360px;
  mix-blend-mode: screen;
}

.hero-container {
  position: relative;
  z-index: 3;
}

.hero-copy {
  max-width: 620px;
}

.hero-kicker {
  margin-bottom: 0.7rem;
  color: var(--lg-gold);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.48rem;
  font-weight: 750;
}

.hero-lead {
  max-width: 37rem;
  margin-bottom: 1.7rem;
  color: rgba(244, 255, 248, 0.86);
  font-size: 1.18rem;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: 38rem;
  margin-top: 1.6rem;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 2.35rem;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(158, 251, 208, 0.2);
  border-radius: var(--lg-radius);
  color: rgba(244, 255, 248, 0.86);
  background: rgba(8, 21, 15, 0.54);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 650;
  backdrop-filter: blur(14px);
}

.hero-device-deck {
  --hero-feature-gap: 0.9rem;
  --hero-feature-width: 15.5rem;
  --hero-main-right: 12.1rem;
  --hero-main-width: 18rem;
  --hero-secondary-right: 0;
  --hero-secondary-width: 14.3rem;
  position: absolute;
  right: max(1rem, calc((100vw - var(--lg-container)) / 2 + 0.55rem));
  bottom: -4.8rem;
  z-index: 2;
  width: 42rem;
  height: 39rem;
  pointer-events: none;
}

.hero-phone {
  position: absolute;
}

.hero-phone-main {
  right: var(--hero-main-right);
  bottom: 0;
  z-index: 2;
  width: var(--hero-main-width);
}

.hero-phone-secondary {
  right: var(--hero-secondary-right);
  bottom: 4.4rem;
  z-index: 1;
  width: var(--hero-secondary-width);
  opacity: 1;
}

.hero-feature-panel {
  position: absolute;
  left: auto;
  right: calc(var(--hero-main-right) + var(--hero-main-width) + var(--hero-feature-gap));
  top: 50%;
  width: var(--hero-feature-width);
  padding: 1rem 1rem 1rem 1.1rem;
  border: 1px solid rgba(158, 251, 208, 0.2);
  border-radius: var(--lg-radius);
  color: var(--lg-text);
  background:
    linear-gradient(180deg, rgba(16, 32, 24, 0.88), rgba(8, 21, 15, 0.8));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 650;
  transform: translateY(-50%);
}

.hero-feature-panel span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--lg-mint);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-feature-panel ul {
  display: grid;
  gap: 0.52rem;
  margin: 0;
  padding-left: 1.1rem;
}

.hero-feature-panel li {
  color: rgba(244, 255, 248, 0.86);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.34;
}

.hero-feature-panel li::marker {
  color: var(--lg-gold);
}

.hero-device-deck .hero-phone {
  position: absolute;
}

.lg-phone-frame {
  position: relative;
  display: block;
  box-sizing: border-box;
  overflow: visible;
  isolation: isolate;
  aspect-ratio: var(--lg-phone-frame-aspect);
  padding: 0;
  border: 0;
  border-radius: var(--lg-phone-frame-radius-x) / var(--lg-phone-frame-radius-y);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.24) 0%, transparent 16% 76%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, #2a2d2a 0%, #141614 56%, #070807 100%);
  box-shadow:
    0 0 0 1px rgba(202, 212, 204, 0.72),
    0 0 0 2px rgba(18, 21, 18, 0.86),
    0 28px 58px rgba(10, 25, 11, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 0 1px rgba(238, 242, 236, 0.16),
    inset 0 0 0 2px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    inset 0 -2px 10px rgba(0, 0, 0, 0.35);
}

.lg-phone-screen {
  position: absolute;
  inset: var(--lg-phone-frame-inset-y) var(--lg-phone-frame-inset-x);
  z-index: 2;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: var(--lg-phone-screen-aspect);
  border-radius: var(--lg-phone-screen-radius-x) / var(--lg-phone-screen-radius-y);
  background: #000000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 14px 28px rgba(255, 255, 255, 0.04);
}

.lg-phone-screen::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 29.49%;
  height: 3.18%;
  border-radius: 0 0 10px 10px;
  background:
    radial-gradient(circle at 29.6% 49%, rgba(8, 10, 10, 0.44) 0 2.15%, rgba(4, 6, 6, 0.72) 3% 4.5%, transparent 5.2%),
    radial-gradient(circle at 72% 49%, rgba(10, 13, 13, 0.5) 0 3.1%, rgba(4, 6, 6, 0.78) 4.05% 6.25%, transparent 7%),
    linear-gradient(180deg, #191d1a 0%, var(--lg-phone-notch-color) 68%, #0b0d0c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    0 3px 8px rgba(0, 0, 0, 0.28);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.lg-phone-screen img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.quick-strip {
  position: relative;
  z-index: 4;
  padding: 1.2rem 0 1.6rem;
  background: transparent;
}

.metric-tile {
  position: relative;
  z-index: 1;
  min-height: 7.4rem;
  padding: 1.15rem;
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius);
  background:
    linear-gradient(160deg, rgba(22, 42, 32, 0.96), rgba(8, 21, 15, 0.94)),
    #07120d;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.metric-value {
  display: block;
  color: var(--lg-gold);
  font-family: "Bebas Neue", "Montserrat", sans-serif;
  font-size: 2.55rem;
  line-height: 0.94;
}

.metric-label {
  display: block;
  margin-top: 0.4rem;
  color: var(--lg-muted);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.section-courses {
  background:
    linear-gradient(180deg, #07120d 0%, #0a1912 100%);
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius);
  background: rgba(13, 28, 20, 0.62);
}

.feature-row h3,
.feature-row p {
  margin-bottom: 0;
}

.feature-row h3 {
  margin-bottom: 0.25rem;
}

.feature-icon,
.challenge-icon {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid rgba(158, 251, 208, 0.24);
  border-radius: var(--lg-radius);
  color: var(--lg-mint);
  background: rgba(49, 232, 154, 0.1);
}

.course-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42rem;
}

.course-visual::before {
  position: absolute;
  inset: 6rem 1rem 3rem 6rem;
  border: 1px solid rgba(84, 214, 244, 0.22);
  border-radius: var(--lg-radius);
  background:
    linear-gradient(135deg, rgba(84, 214, 244, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(16, 32, 24, 0.72), rgba(8, 21, 15, 0.64));
  content: "";
}

.course-phone {
  width: 18.2rem;
}

.course-stats {
  position: absolute;
  left: 0;
  bottom: 2.3rem;
  display: grid;
  gap: 0.7rem;
  width: min(19rem, 52%);
  padding: 1rem;
  border: 1px solid var(--lg-gold-border);
  border-radius: var(--lg-radius);
  background: rgba(8, 21, 15, 0.84);
  box-shadow: var(--lg-shadow);
  backdrop-filter: blur(16px);
}

.course-stats div {
  display: grid;
  gap: 0.12rem;
}

.stat-key {
  color: var(--lg-faint);
  font-size: 0.76rem;
  font-weight: 800;
}

.course-stats strong {
  color: var(--lg-text);
  font-family: "Montserrat", sans-serif;
  font-size: 0.96rem;
}

.section-gameplay {
  background:
    linear-gradient(180deg, #0a1912 0%, #08120d 48%, #05100b 100%);
}

.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.game-card {
  position: relative;
  min-height: 15rem;
  padding: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius);
  background:
    linear-gradient(180deg, rgba(16, 32, 24, 0.9), rgba(8, 21, 15, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.game-card > svg {
  margin-bottom: 1rem;
  color: var(--lg-mint);
  font-size: 1.7rem;
}

.game-card h3 {
  margin-bottom: 0.55rem;
}

.game-card p {
  margin-bottom: 0;
}

.game-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 31rem;
  background:
    linear-gradient(180deg, rgba(4, 16, 11, 0.18), rgba(4, 16, 11, 0.82)),
    url("../images/screens/shotmaking.jpg") center / cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.26);
}

.game-card-device {
  display: grid;
  grid-template-columns: minmax(12.5rem, 0.9fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.1rem;
  min-height: 33rem;
  padding: 1.35rem;
  overflow: visible;
  background:
    radial-gradient(circle at 22% 16%, rgba(84, 214, 244, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(16, 32, 24, 0.92), rgba(8, 21, 15, 0.84));
}

.game-card-large::after {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(4, 16, 11, 0.96));
  content: "";
}

.game-card-device::after {
  display: none;
}

.gameplay-phone {
  z-index: 2;
  width: min(14.5rem, 100%);
  align-self: center;
  justify-self: center;
}

.game-card-device .game-card-copy {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  align-self: end;
  padding: 1rem;
  border: 1px solid rgba(158, 251, 208, 0.18);
  border-radius: var(--lg-radius);
  background: rgba(8, 21, 15, 0.74);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.game-card-device .mini-flight {
  transform: scale(0.82);
  transform-origin: top right;
}

.game-card-copy {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1;
}

.game-label {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.38rem 0.52rem;
  border: 1px solid var(--lg-gold-border);
  border-radius: var(--lg-radius);
  color: var(--lg-gold);
  background: rgba(8, 21, 15, 0.68);
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.mini-flight {
  position: absolute;
  right: 1.4rem;
  top: 1.4rem;
  display: flex;
  align-items: end;
  gap: 0.35rem;
  height: 4.5rem;
  padding: 0.75rem;
  border: 1px solid rgba(158, 251, 208, 0.2);
  border-radius: var(--lg-radius);
  background: rgba(8, 21, 15, 0.68);
}

.mini-flight span {
  display: block;
  width: 0.55rem;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--lg-mint), var(--lg-emerald));
}

.mini-flight span:nth-child(1) {
  height: 1.4rem;
}

.mini-flight span:nth-child(2) {
  height: 2.5rem;
  background: linear-gradient(180deg, var(--lg-gold), var(--lg-clay));
}

.mini-flight span:nth-child(3) {
  height: 3.3rem;
  background: linear-gradient(180deg, var(--lg-aqua), var(--lg-emerald));
}

.section-challenges {
  background:
    linear-gradient(180deg, #05100b 0%, #07170f 100%);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.challenge-card {
  min-height: 18rem;
  padding: 1.2rem;
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius);
  background:
    linear-gradient(180deg, rgba(16, 32, 24, 0.86), rgba(8, 21, 15, 0.78));
}

.challenge-card h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1.25rem;
}

.challenge-card p {
  min-height: 5.2rem;
  margin-bottom: 1rem;
}

.challenge-tag {
  display: inline-flex;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(158, 251, 208, 0.22);
  border-radius: var(--lg-radius);
  color: var(--lg-mint);
  background: rgba(49, 232, 154, 0.08);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.premium-card {
  border-color: var(--lg-gold-border);
  background:
    linear-gradient(180deg, rgba(44, 39, 13, 0.7), rgba(8, 21, 15, 0.84));
}

.premium-card .challenge-icon,
.premium-card .challenge-tag {
  border-color: var(--lg-gold-border);
  color: var(--lg-gold);
  background: rgba(245, 200, 75, 0.1);
}

.section-putting {
  background:
    linear-gradient(180deg, #07170f 0%, #08130e 100%);
}

.putt-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.putt-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.4rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius);
  color: var(--lg-text);
  background: rgba(13, 28, 20, 0.64);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.putt-item svg {
  flex: 0 0 auto;
  color: var(--lg-mint);
  font-size: 1.25rem;
}

.putting-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 45rem;
  overflow: visible;
}

.putting-visual::before {
  position: absolute;
  inset: 5.2rem 4.4rem 2.6rem 3rem;
  z-index: 0;
  border: 1px solid rgba(245, 200, 75, 0.24);
  border-radius: var(--lg-radius);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.1), rgba(84, 214, 244, 0.08)),
    rgba(8, 21, 15, 0.5);
  content: "";
  transform: translate(-1.1rem, 0.85rem);
}

.putting-phone {
  position: relative;
  z-index: 2;
  width: 19rem;
  transform: translate(1.25rem, -0.9rem);
}

.putt-panel {
  position: absolute;
  left: 0.4rem;
  top: 8.2rem;
  z-index: 3;
  display: grid;
  width: 12.5rem;
  gap: 0.1rem;
  padding: 0.9rem;
  border: 1px solid rgba(158, 251, 208, 0.24);
  border-radius: var(--lg-radius);
  background: rgba(8, 21, 15, 0.82);
  box-shadow: var(--lg-shadow);
  backdrop-filter: blur(16px);
}

.putt-panel span,
.putt-panel small {
  color: var(--lg-faint);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.putt-panel strong {
  color: var(--lg-text);
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  line-height: 0.98;
}

.panel-gold {
  left: auto;
  right: 0.3rem;
  top: auto;
  bottom: 7rem;
  border-color: var(--lg-gold-border);
}

.panel-gold strong {
  color: var(--lg-gold);
}

.premium-section {
  background:
    linear-gradient(180deg, #08130e 0%, #05100b 100%);
}

.premium-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem;
  align-items: stretch;
  padding: 2rem;
  border: 1px solid var(--lg-gold-border);
  border-radius: var(--lg-radius);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.16), rgba(49, 232, 154, 0.05) 46%, rgba(232, 127, 69, 0.12)),
    rgba(8, 21, 15, 0.82);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.premium-copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  min-height: 25rem;
}

.premium-copy p:not(.eyebrow) {
  max-width: 32rem;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.premium-feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid rgba(245, 200, 75, 0.22);
  border-radius: var(--lg-radius);
  color: var(--lg-text);
  background: rgba(8, 21, 15, 0.62);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.premium-feature svg {
  flex: 0 0 auto;
  color: var(--lg-gold);
  font-size: 1.55rem;
}

.track-section {
  background:
    linear-gradient(180deg, #05100b 0%, #08180f 100%);
}

.leaderboard-phone {
  width: min(20rem, 72vw);
  margin-inline: auto;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.track-card {
  min-height: 14rem;
  padding: 1.2rem;
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius);
  background:
    linear-gradient(180deg, rgba(16, 32, 24, 0.88), rgba(8, 21, 15, 0.8));
}

.track-card svg {
  margin-bottom: 0.95rem;
  color: var(--lg-aqua);
  font-size: 1.55rem;
}

.track-card p {
  margin-bottom: 0;
}

.screenshot-section {
  background:
    linear-gradient(180deg, #08180f 0%, #06100b 100%);
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 2.4rem 1.2rem;
}

.gallery-phone {
  width: 100%;
  margin: 0;
}

.gallery-phone:nth-child(even) {
  margin-top: 3rem;
}

.gallery-phone figcaption {
  margin-top: 1rem;
  color: var(--lg-muted);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.app-preview-section {
  display: none;
  background:
    linear-gradient(180deg, #06100b 0%, #08180f 48%, #040a07 100%);
}

.lg-preview-desktop .app-preview-section {
  display: block;
}

.app-preview-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(24rem, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1rem, 3vw, 2.2rem);
  border: 1px solid rgba(158, 251, 208, 0.16);
  border-radius: var(--lg-radius-lg);
  background:
    linear-gradient(135deg, rgba(16, 44, 28, 0.88), rgba(4, 10, 7, 0.96)),
    #06100b;
  box-shadow: var(--lg-shadow-soft);
}

.app-preview-copy {
  max-width: 37rem;
}

.app-preview-copy p:not(.eyebrow) {
  color: var(--lg-muted);
  font-size: 1.08rem;
}

.app-preview-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.55rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.app-preview-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(244, 255, 248, 0.88);
  font-weight: 700;
}

.app-preview-list svg {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--lg-gold);
}

.app-preview-list strong {
  color: var(--lg-mint);
  font-weight: 800;
}

.app-preview-open {
  width: fit-content;
}

.app-preview-stage {
  display: grid;
  justify-items: center;
  gap: 0;
  min-width: 0;
}

.app-preview-toolbar {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 29rem);
  min-height: 3.1rem;
  margin-bottom: 0.85rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(158, 251, 208, 0.16);
  border-radius: var(--lg-radius);
  background: rgba(6, 18, 12, 0.9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.app-preview-toolbar div {
  display: grid;
  gap: 0.05rem;
}

.app-preview-toolbar strong {
  color: var(--lg-text);
  font-size: 0.95rem;
  font-weight: 750;
}

.app-preview-toolbar span {
  color: var(--lg-faint);
  font-size: 0.78rem;
  font-weight: 650;
}

.app-preview-toolbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--lg-mint);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.app-preview-toolbar a:hover,
.app-preview-toolbar a:focus {
  color: var(--lg-gold);
}

.app-preview-toolbar svg {
  width: 0.95rem;
  height: 0.95rem;
}

.app-preview-phone {
  width: min(24.5rem, 100%);
  aspect-ratio: 0.505;
  overflow: hidden;
  border-radius: 42px;
  overscroll-behavior: contain;
  background:
    linear-gradient(145deg, rgba(151, 171, 156, 0.045) 0%, transparent 18% 78%, rgba(151, 171, 156, 0.025) 100%),
    linear-gradient(180deg, #1a1e1a 0%, #101310 56%, #050705 100%);
  box-shadow:
    0 0 0 1px rgba(50, 62, 53, 0.7),
    0 0 0 2px rgba(4, 8, 5, 0.98),
    0 30px 64px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(180, 198, 184, 0.045),
    inset 0 0 0 1px rgba(126, 146, 132, 0.055),
    inset 0 0 0 2px rgba(0, 0, 0, 0.28),
    inset 0 -2px 10px rgba(0, 0, 0, 0.38);
}

.app-preview-phone .lg-phone-screen {
  inset: 1.65% 3.25%;
  aspect-ratio: auto;
  border-radius: 34px;
  clip-path: inset(0 round 34px);
  contain: paint;
  overscroll-behavior: contain;
  background: #06100b;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1px rgba(121, 146, 126, 0.035),
    inset 0 18px 32px rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
}

.app-preview-phone .lg-phone-screen::before {
  display: none;
}

.app-preview-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.8rem;
  color: rgba(244, 255, 248, 0.82);
  background:
    radial-gradient(circle at 50% 35%, rgba(49, 232, 154, 0.18), transparent 34%),
    linear-gradient(180deg, #081b12 0%, #030806 100%);
  font-size: 0.92rem;
  font-weight: 700;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.preview-spinner {
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid rgba(158, 251, 208, 0.18);
  border-top-color: var(--lg-gold);
  border-radius: 999px;
  animation: preview-spin 0.9s linear infinite;
}

.app-preview-phone.is-preview-loaded .app-preview-loader {
  visibility: hidden;
  opacity: 0;
}

@keyframes preview-spin {
  to {
    transform: rotate(360deg);
  }
}

.app-preview-iframe {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #06100b;
  overscroll-behavior: contain;
  transform: translateZ(0);
}

.app-preview-note {
  width: min(100%, 29rem);
  margin: 0.85rem 0 0;
  color: var(--lg-faint);
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: center;
}

.final-cta {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  isolation: isolate;
}

.final-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.final-icon {
  width: 5.2rem;
  height: 5.2rem;
  margin-bottom: 1.1rem;
  border-radius: var(--lg-app-icon-radius);
  box-shadow: 0 18px 44px rgba(245, 200, 75, 0.22);
}

.final-content p:not(.eyebrow) {
  max-width: 39rem;
  color: rgba(244, 255, 248, 0.84);
  font-size: 1.08rem;
}

.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(158, 251, 208, 0.12);
  background: #030806;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: start;
  gap: 0.8rem;
}

.footer-inner div {
  display: grid;
  gap: 0.15rem;
}

.footer-inner strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.footer-inner span,
.footer-inner p {
  margin: 0;
  color: var(--lg-faint);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: rgba(244, 255, 248, 0.78);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--lg-mint);
}

.legal-main {
  position: relative;
  min-height: 100vh;
  padding: 8.5rem 0 5rem;
  background:
    linear-gradient(180deg, rgba(4, 16, 11, 0.82), rgba(3, 8, 6, 0.98)),
    url("../images/hero-course.jpg") center / cover fixed;
}

.legal-panel {
  max-width: 860px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(158, 251, 208, 0.18);
  border-radius: var(--lg-radius);
  background:
    linear-gradient(180deg, rgba(16, 32, 24, 0.94), rgba(8, 21, 15, 0.92)),
    #07120d;
  box-shadow: var(--lg-shadow);
}

.legal-panel h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2.8rem, 8vw, 4.8rem);
}

.legal-updated {
  margin-bottom: 1.8rem;
  color: var(--lg-faint);
  font-size: 0.95rem;
}

.legal-section {
  padding-top: 1.35rem;
  margin-top: 1.35rem;
  border-top: 1px solid rgba(158, 251, 208, 0.13);
}

.legal-section h2 {
  margin-bottom: 0.65rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
}

.legal-section ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--lg-muted);
}

.legal-section li {
  line-height: 1.65;
}

.legal-section li::marker {
  color: var(--lg-gold);
}

@media (max-width: 1199.98px) {
  h1 {
    font-size: 4.7rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 2.6rem;
  }

  .hero-device-deck {
    --hero-main-right: 11.2rem;
    --hero-main-width: 16rem;
    --hero-secondary-right: 0;
    --hero-secondary-width: 12.8rem;
    position: relative;
    right: auto;
    bottom: auto;
    width: min(calc(var(--hero-main-right) + var(--hero-main-width)), calc(100vw - 2rem));
    height: 33.5rem;
    margin: 2.6rem auto 0 max(1.75rem, calc((100vw - var(--lg-container)) / 2 + 0.75rem));
    opacity: 1;
  }

  .hero-device-deck .hero-phone {
    position: absolute;
  }

  .hero-phone-main,
  .hero-phone-secondary {
    opacity: 1;
  }

  .hero-phone-main {
    right: var(--hero-main-right);
    bottom: 0;
    width: var(--hero-main-width);
  }

  .hero-phone-secondary {
    right: var(--hero-secondary-right);
    bottom: 3.7rem;
    width: var(--hero-secondary-width);
  }

  .hero-feature-panel {
    left: calc(100% + clamp(2rem, 7vw, 5.25rem));
    right: auto;
    top: 9.4rem;
    width: 17.5rem;
    transform: none;
  }

}

@media (hover: none), (pointer: coarse) {
  .app-preview-section {
    display: none;
  }
}

@media (max-height: 970px) and (min-width: 992px) {
  .hero-feature-panel {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .lg-navbar .container {
    background: rgba(7, 18, 13, 0.88);
  }

  .navbar-collapse {
    padding-top: 0.7rem;
  }

  h1 {
    font-size: 4.15rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    max-width: 100%;
  }

  .hero-section {
    min-height: 84svh;
    padding-top: 7.2rem;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-device-deck {
    --hero-main-right: 10rem;
    --hero-main-width: 15.2rem;
    --hero-secondary-width: 12rem;
    width: min(calc(var(--hero-main-right) + var(--hero-main-width)), calc(100vw - 2rem));
    height: 32rem;
    margin-top: 2.25rem;
  }

  .hero-feature-panel {
    display: none;
  }

  .gameplay-grid,
  .challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-shell {
    grid-template-columns: 1fr;
  }

  .premium-copy {
    min-height: auto;
  }

  .screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
    margin-inline: auto;
  }

  .gallery-phone:nth-child(even) {
    margin-top: 2rem;
  }

  .app-preview-panel {
    grid-template-columns: 1fr;
  }

  .app-preview-stage {
    justify-items: start;
  }

  .app-preview-toolbar,
  .app-preview-note {
    width: min(100%, 23.5rem);
  }

  .app-preview-note {
    text-align: left;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: start;
  }

}

@media (max-width: 767.98px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--lg-container));
  }

  .lg-navbar {
    padding: 0.55rem 0;
  }

  .lg-navbar .container {
    padding: 0.48rem;
  }

  .lg-brand img {
    width: 2.25rem;
    height: 2.25rem;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 6.2rem;
    padding-bottom: 3.5rem;
  }

  .hero-kicker {
    font-size: 1.22rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .final-actions {
    gap: 0.55rem;
  }

  .lg-btn {
    width: 100%;
  }

  .app-store-badge {
    justify-content: center;
    width: 100%;
    gap: 0.55rem;
    padding-inline: 0.75rem;
    font-size: clamp(1rem, 4.4vw, 1.16rem);
  }

  .hero-chips {
    gap: 0.5rem;
    margin-top: 1.1rem;
  }

  .hero-chips span {
    min-height: 2.1rem;
    font-size: 0.78rem;
  }

  .hero-device-deck {
    --hero-deck-left: 1.375rem;
    --hero-main-right: min(8.1rem, calc(100vw - 1.25rem - var(--hero-main-width)));
    --hero-main-width: 14rem;
    --hero-secondary-width: 10.6rem;
    width: min(calc(var(--hero-main-right) + var(--hero-main-width)), calc(100vw - var(--hero-deck-left)));
    height: 29.5rem;
    margin-left: var(--hero-deck-left);
    margin-top: 2rem;
  }

  .hero-phone-main {
    right: var(--hero-main-right);
    width: var(--hero-main-width);
  }

  .hero-phone-secondary {
    right: 0;
    bottom: 3.1rem;
    width: var(--hero-secondary-width);
  }

  .quick-strip {
    padding-top: 0.8rem;
  }

  .metric-tile {
    min-height: 6.5rem;
    padding: 0.9rem;
  }

  .metric-value {
    font-size: 2.1rem;
  }

  .metric-label {
    font-size: 0.82rem;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .course-visual,
  .putting-visual {
    min-height: 36rem;
  }

  .course-phone,
  .putting-phone {
    width: min(15.5rem, 72vw);
  }

  .putting-phone {
    transform: translate(0.65rem, -0.45rem);
  }

  .course-stats {
    left: 0.5rem;
    bottom: 1rem;
    width: 14rem;
  }

  .gameplay-grid,
  .challenge-grid,
  .track-grid,
  .premium-grid {
    grid-template-columns: 1fr;
  }

  .game-card-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 28rem;
  }

  .game-card-device {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gameplay-phone {
    width: min(14rem, 72vw);
  }

  .challenge-card,
  .track-card {
    min-height: auto;
  }

  .challenge-card p {
    min-height: auto;
  }

  .putt-panel {
    width: 10.6rem;
  }

  .putt-panel:not(.panel-gold) {
    left: -0.15rem;
    top: 4.5rem;
  }

  .panel-gold {
    left: auto;
    top: auto;
    right: -0.15rem;
    bottom: 4.6rem;
  }

  .premium-shell {
    padding: 1rem;
  }

  .screen-gallery {
    gap: 0.8rem;
  }

  .gallery-phone:nth-child(even) {
    margin-top: 1.3rem;
  }

  .gallery-phone figcaption {
    font-size: 0.82rem;
  }

  .app-preview-panel {
    padding: 0.9rem;
  }

  .app-preview-open {
    width: 100%;
  }

  .app-preview-phone {
    width: min(20rem, 100%);
  }
}

@media (max-width: 449.98px) {
  h1 {
    font-size: 2.95rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-device-deck {
    --hero-deck-left: 1.375rem;
    --hero-main-right: min(7rem, calc(100vw - 1.25rem - var(--hero-main-width)));
    --hero-main-width: 13rem;
    --hero-secondary-width: 9.5rem;
    width: min(calc(var(--hero-main-right) + var(--hero-main-width)), calc(100vw - var(--hero-deck-left)));
    height: 27.4rem;
  }

  .hero-actions {
    max-width: 100%;
  }

  .hero-chips {
    max-width: 17rem;
  }

  .course-stats,
  .putt-panel {
    font-size: 0.9rem;
  }
}
