/* Shared layout for the labs and gamers pages. Loaded after styles.css on
   /labs/ and /gamers/. Everything here is prefixed lx- or scoped to
   .page-labs / .page-gamers, so the apply and privacy pages are untouched.
   The gamers page re-colors it green-on-dark in the block near the end.

   Motion rules live at the bottom, inside prefers-reduced-motion:
   no-preference, and only hide content when labs.js has run (.lx-js). */

:is(.page-labs, .page-gamers) {
  --lx-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --lx-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --lx-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --lx-ink: #0e0e0e;
  --lx-soft: #5f5f5f;
  --lx-faint: #b9b9b9;
  --lx-line: #dcdcdc;
  --lx-tile: #f2f2f2;
  --lx-radius: 1.25rem;
  --lx-section: clamp(5rem, 11vw, 9.5rem);
  --lx-inset: max(var(--pad), (100% - var(--max)) / 2);
  interpolate-size: allow-keywords;
}

/* The labs intro runs white-on-black so it fades straight into the hero. */
.page-labs {
  --intro-bg: #000;
  --intro-fg: #fff;
  --intro-glow: 0 0 0.3em rgba(255, 255, 255, 0.6);
}

:is(.page-labs, .page-gamers) [id] {
  scroll-margin-top: 5.5rem;
}

:is(.page-labs, .page-gamers) .skip-link {
  z-index: 40;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:is(.page-labs, .page-gamers) h2 {
  max-width: 20ch;
  font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

:is(.page-labs, .page-gamers) h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lx-section {
  padding-block: var(--lx-section);
}

/* Buttons */

.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--lx-ink);
  border-radius: 999px;
  background: var(--lx-ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.5s var(--lx-ease),
    border-color 0.5s var(--lx-ease),
    color 0.5s var(--lx-ease);
}

.lx-btn:hover {
  border-color: #3a3a3a;
  background: #3a3a3a;
}

.lx-btn--small {
  min-height: 2.5rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.8125rem;
}

.lx-btn--glass {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.lx-btn--glass:hover,
.lx-btn--light {
  border-color: #fff;
  background: #fff;
  color: var(--lx-ink);
}

.lx-btn--light:hover {
  border-color: #d4d4d4;
  background: #d4d4d4;
}

.lx-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.lx-link::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 0.6s var(--lx-ease-out);
}

.lx-link:hover::after {
  transform: translateY(0.15rem) rotate(45deg);
}

.lx-round {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition:
    background-color 0.5s var(--lx-ease),
    border-color 0.5s var(--lx-ease),
    color 0.5s var(--lx-ease),
    opacity 0.5s var(--lx-ease);
}

.lx-round:hover:not(:disabled) {
  border-color: #fff;
  background: #fff;
  color: var(--lx-ink);
}

.lx-round:disabled {
  opacity: 0.3;
  cursor: default;
}

.lx-round svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lx-video-toggle {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background-color 0.5s var(--lx-ease),
    color 0.5s var(--lx-ease);
}

.lx-video-toggle:hover {
  background: #fff;
  color: var(--lx-ink);
}

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

.lx-video-toggle svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: currentColor;
}

.lx-video-toggle .icon-play,
.lx-video-toggle.is-paused .icon-pause {
  display: none;
}

.lx-video-toggle.is-paused .icon-play {
  display: block;
}

/* Floating header: a detached, rounded, frosted bar. */

.lx-header {
  position: fixed;
  z-index: 30;
  top: 0.75rem;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding-inline: 0.75rem;
  pointer-events: none;
  transition: transform 0.8s var(--lx-ease-out);
}

.lx-header.is-hidden {
  transform: translate3d(0, calc(-100% - 1.25rem), 0);
}

.lx-header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: min(var(--max), 100%);
  min-height: 3.5rem;
  padding: 0.45rem 0.45rem 0.45rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--lx-ink);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  transition:
    background-color 0.7s var(--lx-ease),
    border-color 0.7s var(--lx-ease),
    box-shadow 0.7s var(--lx-ease),
    color 0.7s var(--lx-ease);
}

.lx-header.is-over .lx-header-bar {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
}

.lx-header.is-dark:not(.is-over) .lx-header-bar {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(24, 24, 24, 0.72);
  color: #fff;
}

.lx-header.is-over .lx-btn,
.lx-header.is-dark .lx-btn {
  border-color: #fff;
  background: #fff;
  color: var(--lx-ink);
}

.lx-header.is-over .lx-btn:hover,
.lx-header.is-dark .lx-btn:hover {
  border-color: #d4d4d4;
  background: #d4d4d4;
}

.lx-header.is-over :focus-visible,
.lx-header.is-dark :focus-visible {
  outline-color: #fff;
}

/* Size and layout come from .lockup in styles.css. */
.lx-wordmark {
  color: inherit;
  font-family: Bungee, Inter, system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.lx-nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.lx-nav a {
  position: relative;
  padding-block: 0.35rem;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.lx-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--lx-ease-out);
}

.lx-nav a:hover::after,
.lx-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lx-header-bar > .lx-btn {
  flex-shrink: 0;
}

/* Mobile menu: a button in the bar opens the nav as a panel beneath it. */
.lx-header-bar .lx-btn-compact {
  display: none;
}

.lockup-text {
  white-space: nowrap;
}

.lx-menu {
  display: none;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.lx-menu span,
.lx-menu span::before,
.lx-menu span::after {
  display: block;
  width: 1.125rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.3s var(--lx-ease),
    opacity 0.3s var(--lx-ease);
}

.lx-menu span {
  position: relative;
  margin-inline: auto;
}

.lx-menu span::before,
.lx-menu span::after {
  content: "";
  position: absolute;
  left: 0;
}

.lx-menu span::before {
  top: -6px;
}

.lx-menu span::after {
  top: 6px;
}

.lx-header.is-open .lx-menu span {
  background: transparent;
}

.lx-header.is-open .lx-menu span::before {
  transform: translateY(6px) rotate(45deg);
}

.lx-header.is-open .lx-menu span::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 719px) {
  .lx-header-bar {
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding-left: 1.15rem;
  }

  .lx-header-bar > .lx-btn {
    margin-left: auto;
  }

  .lx-header-bar .lx-btn-full {
    display: none;
  }

  .lx-header-bar .lx-btn-compact {
    display: inline;
  }

  .lx-menu {
    display: grid;
    place-items: center;
  }

  .lx-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    background: rgba(24, 24, 24, 0.94);
    color: #fff;
    box-shadow: 0 24px 48px -24px #000;
    -webkit-backdrop-filter: blur(22px) saturate(1.6);
    backdrop-filter: blur(22px) saturate(1.6);
    opacity: 0;
    transform: translateY(-0.5rem);
    visibility: hidden;
    transition:
      opacity 0.3s var(--lx-ease),
      transform 0.3s var(--lx-ease),
      visibility 0s linear 0.3s;
  }

  .lx-header.is-open .lx-nav {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }

  .lx-nav a {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    font-size: 1rem;
  }

  .lx-nav a:hover,
  .lx-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* Hero */

.lx-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.lx-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.lx-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 24%),
    linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 72%);
}

.lx-hero-video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.lx-hero-inner {
  display: grid;
  gap: 2.5rem;
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  padding-block: 8rem clamp(5.5rem, 12vh, 8rem);
}

@media (min-width: 1100px) {
  .lx-hero-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.lx-hero-title {
  font-size: clamp(2.9rem, 1rem + 6.1vw, 7.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

/* Each headline line sits in a mask it slides up out of. */
.lx-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}

.lx-mask > span {
  display: block;
}

.lx-hero-lede {
  max-width: 34ch;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.0625rem, 0.9rem + 0.6vw, 1.375rem);
  line-height: 1.45;
}

.lx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.lx-hero-list {
  display: none;
  margin: 0;
  padding: 0 0 0.35rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  list-style: none;
}

@media (min-width: 1100px) {
  .lx-hero-list {
    display: block;
  }
}

.lx-hero-list a {
  display: block;
  padding-block: 0.3rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9375rem;
  text-decoration: none;
  transition:
    color 0.5s var(--lx-ease),
    transform 0.6s var(--lx-ease-out);
}

.lx-hero-list a:hover {
  color: #fff;
  transform: translateX(0.35rem);
}

/* Two-tone statement */

.lx-statement {
  padding-block: clamp(6rem, 14vw, 11rem) clamp(4rem, 9vw, 7rem);
}

:is(.page-labs, .page-gamers) .lx-statement-text {
  max-width: 21ch;
  font-size: clamp(2rem, 0.9rem + 3.8vw, 4.75rem);
  line-height: 1.04;
}

.lx-dim,
.lx-dim-static {
  color: var(--lx-faint);
}

.lx-dim.is-split {
  color: inherit;
}

.lx-word {
  color: #cfcfcf;
  transition: color 0.6s var(--lx-ease);
}

.lx-word.is-lit {
  color: var(--lx-ink);
}

/* Film: inset rounded video that opens to full-bleed on scroll */

.lx-film-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.lx-film-media video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.lx-film-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 45%);
  pointer-events: none;
}

.lx-film-caption {
  position: absolute;
  z-index: 2;
  right: calc(var(--pad) + 3.75rem);
  left: var(--lx-inset);
  bottom: clamp(1.5rem, 5vh, 3.5rem);
  max-width: 22ch;
  color: #fff;
  font-size: clamp(1.5rem, 0.8rem + 2.4vw, 3.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

/* Pinned "why" section */

.lx-why {
  padding-block: var(--lx-section);
}

.lx-pin {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.lx-pin-media {
  position: sticky;
  z-index: 2;
  top: 4.75rem;
  align-self: start;
  padding-bottom: 0.75rem;
  background: var(--bg);
}

.lx-pin-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--lx-radius);
  background: #000;
}

.lx-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
}

.lx-panel.is-active {
  opacity: 1;
  visibility: visible;
}

.lx-panel img,
.lx-panel video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.lx-inputs,
.lx-timeline,
.lx-request,
.lx-checks {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.9rem 1.05rem;
  border-radius: 0.9rem;
  background: rgba(12, 12, 12, 0.62);
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1.55;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

@media (max-width: 599px) {
  .lx-inputs,
  .lx-timeline,
  .lx-request,
  .lx-checks {
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.6875rem;
    line-height: 1.45;
  }

  .lx-timeline {
    right: 0.75rem;
  }

  .lx-pin-frame .lx-video-toggle {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
  }
}

.lx-overlay-head {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
}

.lx-inputs > span:not(.lx-overlay-head) {
  display: block;
  font-variant-numeric: tabular-nums;
}

.lx-inputs time {
  margin-right: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.lx-timeline {
  right: 1rem;
}

.lx-timeline-track {
  display: block;
  height: 2px;
  margin-block: 0.6rem 0.45rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.lx-timeline-track > span {
  display: block;
  width: 62%;
  height: 100%;
  background: #fff;
}

.lx-timeline-ends {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}

.lx-request dl {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.45rem 1.5rem;
  margin: 0;
}

.lx-request dt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.lx-request dd {
  margin: 0;
  font-weight: 500;
}

.lx-pin-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.lx-pin-dots li {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #cdcdcd;
  transition:
    width 0.7s var(--lx-ease-out),
    background-color 0.7s var(--lx-ease);
}

.lx-pin-dots li.is-active {
  width: 1.6rem;
  background: var(--lx-ink);
}

.lx-pin-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lx-step {
  padding-block: 2rem;
  border-top: 1px solid var(--lx-line);
}

.lx-step-num {
  display: block;
  margin-bottom: 1rem;
  color: var(--lx-soft);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

:is(.page-labs, .page-gamers) .lx-step h3 {
  font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.lx-step p {
  max-width: 36ch;
  margin-top: 0.85rem;
  color: var(--lx-soft);
  font-size: 1.0625rem;
}

.lx-js .lx-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52vh;
  opacity: 0.22;
  transition: opacity 0.7s var(--lx-ease);
}

.lx-js .lx-step.is-active {
  opacity: 1;
}

@media (min-width: 900px) {
  .lx-pin {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(3rem, 6vw, 6rem);
  }

  .lx-pin-media {
    top: max(6rem, 50vh - min(36vh, 22rem));
    padding-bottom: 0;
  }

  .lx-pin-frame {
    aspect-ratio: auto;
    height: min(72vh, 44rem);
  }

  .lx-js .lx-step {
    min-height: 75vh;
    border-top: 0;
  }

  .lx-inputs,
  .lx-request {
    left: 1.5rem;
    bottom: 1.5rem;
  }

  .lx-timeline {
    left: 1.5rem;
    right: auto;
    bottom: 1.5rem;
    width: min(26rem, 100% - 3rem);
  }
}

/* Catalog: lineup rail */

.lx-dark {
  background: #0a0a0a;
  color: #f4f4f4;
}

.lx-dark :focus-visible {
  outline-color: #fff;
}

.lx-catalog {
  padding-block: var(--lx-section);
}

.lx-catalog-head {
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.lx-catalog-head p {
  margin-top: 1.25rem;
  color: #a3a3a3;
  font-size: 1.125rem;
}

.lx-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84vw, 26rem);
  gap: 1rem;
  margin: 0;
  padding: 0 var(--lx-inset) 0.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--lx-inset);
  scrollbar-width: none;
  list-style: none;
}

.lx-rail::-webkit-scrollbar {
  display: none;
}

.lx-rail:focus-visible {
  outline-offset: -3px;
}

@media (min-width: 900px) {
  .lx-rail {
    grid-auto-columns: min(40vw, 34rem);
  }
}

.lx-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: calc(var(--lx-radius) + 0.25rem);
  background: #151515;
  scroll-snap-align: start;
}

@media (min-width: 900px) {
  .lx-card {
    aspect-ratio: 1 / 1;
  }
}

.lx-card-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.lx-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0) 100%);
}

.lx-card-art video,
.lx-card-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 1s var(--lx-ease-out);
}

.lx-card:hover .lx-card-art video,
.lx-card:hover .lx-card-art img {
  transform: scale(1.05);
}

.lx-card--type .lx-card-art {
  padding: 1.5rem;
  background:
    radial-gradient(120% 90% at 100% 0%, #2c2c2c 0%, rgba(44, 44, 44, 0) 62%),
    #121212;
}

.lx-card-num {
  display: block;
  color: transparent;
  font-size: clamp(7rem, 4.5rem + 7vw, 12rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.07em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  transition:
    -webkit-text-stroke-color 0.7s var(--lx-ease),
    transform 1s var(--lx-ease-out);
}

.lx-card:hover .lx-card-num {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-0.35rem);
}

.lx-card-caption {
  position: absolute;
  right: 5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  transition: opacity 0.5s var(--lx-ease);
}

:is(.page-labs, .page-gamers) .lx-card-caption h3 {
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.lx-card-caption p {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9375rem;
}

.lx-card-more {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background-color 0.5s var(--lx-ease),
    color 0.5s var(--lx-ease),
    transform 0.7s var(--lx-ease-out);
}

.lx-card-more:hover {
  background: #fff;
  color: var(--lx-ink);
}

.lx-card-more span,
.lx-card-more span::before {
  position: relative;
  display: block;
  width: 0.85rem;
  height: 1.5px;
  background: currentColor;
}

.lx-card-more span::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: rotate(90deg);
}

.lx-card.is-open .lx-card-more {
  transform: rotate(45deg);
}

.lx-card-detail {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 5rem 1.5rem 1.5rem;
}

.lx-card-detail p {
  font-size: 1.0625rem;
  line-height: 1.45;
}

.lx-card-detail .lx-card-note {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.lx-js .lx-card-detail {
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  opacity: 0;
  visibility: hidden;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition:
    opacity 0.6s var(--lx-ease),
    visibility 0.6s var(--lx-ease);
}

.lx-js .lx-card.is-open .lx-card-detail {
  opacity: 1;
  visibility: visible;
}

.lx-card.is-open .lx-card-caption {
  opacity: 0;
}

/* Without JS the details sit under the caption instead of over the image. */
html:not(.lx-js) .lx-card-caption {
  bottom: auto;
  top: 1.5rem;
}

html:not(.lx-js) .lx-card-more {
  display: none;
}

.lx-video-toggle--card {
  top: 1rem;
  right: 1rem;
  bottom: auto;
  width: 2.25rem;
  height: 2.25rem;
}

.lx-rail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.lx-rail-dots {
  display: flex;
  align-items: center;
}

.lx-dot {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.lx-dot::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  transition:
    width 0.7s var(--lx-ease-out),
    background-color 0.7s var(--lx-ease);
}

.lx-dot.is-active {
  width: 2.5rem;
}

.lx-dot.is-active::before {
  width: 1.75rem;
  background: #fff;
}

.lx-rail-arrows {
  display: flex;
  gap: 0.75rem;
}

/* Two-column head + body layout for compare and FAQ */

.lx-split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .lx-split {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 7rem);
  }
}

/* Comparison table */

.lx-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1.0625rem);
}

.lx-table th,
.lx-table td {
  padding: 1.15rem 0.75rem 1.15rem 0;
  border-bottom: 1px solid var(--lx-line);
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.lx-table thead th {
  padding-top: 0;
  border-bottom-color: var(--lx-ink);
  background: none;
  color: var(--lx-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.lx-table thead th:last-child {
  color: var(--lx-ink);
  font-weight: 600;
}

.lx-table tbody th {
  width: 26%;
  font-weight: 600;
}

.lx-table tbody td {
  color: var(--lx-soft);
}

.lx-table tbody td:last-child {
  padding-right: 0;
  color: var(--lx-ink);
  font-weight: 500;
}

/* Specs bento */

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

.lx-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  min-height: 10.5rem;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-radius: var(--lx-radius);
  background: var(--lx-tile);
}

.lx-tile--lead,
.lx-tile--wide {
  grid-column: 1 / -1;
}

.lx-tile--lead p {
  max-width: 30ch;
  color: var(--lx-soft);
  font-size: 1.0625rem;
}

.lx-tile-num {
  font-size: clamp(2.25rem, 1.1rem + 3.2vw, 4.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lx-tile--phrase {
  container-type: inline-size;
}

.lx-tile--phrase .lx-tile-num {
  font-size: clamp(1.15rem, 20cqi, 3.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.lx-tile-label {
  color: var(--lx-soft);
  font-size: 0.9375rem;
}

.lx-tile--ink {
  background: var(--lx-ink);
  color: #fff;
}

.lx-tile--ink .lx-tile-label {
  color: #a3a3a3;
}

.lx-tags {
  display: grid;
  gap: 1rem 2rem;
  margin: 0;
}

.lx-tags dt {
  font-weight: 600;
}

.lx-tags dd {
  margin: 0.15rem 0 0;
  color: var(--lx-soft);
}

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

@media (min-width: 640px) {
  .lx-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .lx-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lx-tile--lead {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    min-height: 27rem;
  }

  .lx-tile {
    min-height: 13rem;
  }
}

/* Data format */

.lx-data-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 1000px) {
  .lx-data-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }

  .lx-code {
    position: sticky;
    top: 6rem;
  }
}

.lx-data-copy > p {
  max-width: 40ch;
  margin-top: 1.25rem;
  color: #a3a3a3;
  font-size: 1.125rem;
}

.lx-rules {
  display: grid;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}

.lx-rules > div {
  padding-block: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.lx-rules dt {
  font-weight: 600;
}

.lx-rules dd {
  max-width: 46ch;
  margin: 0.35rem 0 0;
  color: #a3a3a3;
}

:is(.page-labs, .page-gamers) code,
:is(.page-labs, .page-gamers) pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.lx-rules code {
  padding: 0.05em 0.35em;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.09);
  color: #f4f4f4;
  font-size: 0.875em;
}

.lx-code {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.lx-code-block {
  min-width: 0;
  padding: 1.1rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--lx-radius);
  background: #151515;
}

.lx-code-head {
  margin-bottom: 0.75rem;
  color: #8a8a8a;
  font-size: 0.8125rem;
}

.lx-code pre {
  margin: 0;
  overflow-x: auto;
  color: #f4f4f4;
  font-size: 0.8125rem;
  line-height: 1.7;
  scrollbar-width: thin;
}

@media (max-width: 599px) {
  .lx-code pre {
    font-size: 0.75rem;
  }
}

.lx-c-file {
  color: #fff;
}

.lx-c-note {
  color: #7d7d7d;
}

.lx-c-key {
  color: #a8a8a8;
}

.lx-c-str {
  color: #fff;
}

/* How a request works */

:is(.page-labs, .page-gamers) .lx-how-title {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.lx-how-cards {
  display: grid;
  gap: 2.5rem 1.25rem;
  margin: clamp(3rem, 7vw, 5.5rem) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 860px) {
  .lx-how-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lx-how-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--lx-radius);
  background: var(--lx-tile);
}

.lx-how-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 1s var(--lx-ease-out);
}

.lx-how-card:hover .lx-how-media img {
  transform: scale(1.05);
}

.lx-how-media--doc {
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lx-doc {
  display: grid;
  gap: 0.35rem;
  width: min(100%, 17rem);
  padding: 1.1rem 1.25rem;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.35);
  font-size: 0.875rem;
  transition: transform 1s var(--lx-ease-out);
}

.lx-how-card:hover .lx-doc {
  transform: translateY(-0.35rem);
}

.lx-doc .lx-overlay-head {
  color: var(--lx-soft);
}

.lx-doc b {
  display: inline-block;
  min-width: 4.5rem;
  font-weight: 600;
}

.lx-rec {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.lx-rec::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #fff;
}

.lx-checks {
  margin: 0;
  list-style: none;
}

.lx-checks li {
  position: relative;
  padding-left: 1.35rem;
}

.lx-checks li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0.2rem;
  width: 0.3rem;
  height: 0.6rem;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.lx-how-card h3 {
  margin-top: 1.35rem;
}

.lx-how-card p {
  max-width: 36ch;
  margin-top: 0.5rem;
  color: var(--lx-soft);
}

/* FAQ */

.lx-faq-note {
  max-width: 30ch;
  margin-top: 1.25rem;
  color: var(--lx-soft);
  font-size: 1.125rem;
}

.lx-faq-note a {
  color: var(--lx-ink);
  text-underline-offset: 0.15em;
}

.lx-faq-list details {
  border-top: 1px solid var(--lx-line);
}

.lx-faq-list details:last-child {
  border-bottom: 1px solid var(--lx-line);
}

.lx-faq-list summary {
  position: relative;
  display: block;
  padding: 1.35rem 3rem 1.35rem 0;
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
  transition: color 0.5s var(--lx-ease);
}

.lx-faq-list summary::-webkit-details-marker {
  display: none;
}

.lx-faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: -0.425rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: rotate 0.6s var(--lx-ease-out);
}

.lx-faq-list details[open] summary::after {
  rotate: 45deg;
}

.lx-faq-list summary:hover {
  color: var(--lx-soft);
}

.lx-faq-answer {
  max-width: 60ch;
  padding-bottom: 1.5rem;
  color: var(--lx-soft);
}

/* Closing card */

.lx-cta {
  padding-bottom: var(--lx-section);
}

.lx-cta-card {
  display: grid;
  overflow: hidden;
  border-radius: calc(var(--lx-radius) + 0.5rem);
  background: #0a0a0a;
  color: #fff;
}

.lx-cta-copy {
  padding: clamp(2rem, 5vw, 4.5rem);
}

.lx-cta-copy p {
  max-width: 38ch;
  margin-top: 1.25rem;
  color: #b5b5b5;
  font-size: 1.0625rem;
}

.lx-cta-copy .lx-btn {
  margin-top: 2rem;
}

.lx-cta-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.lx-cta-media img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  max-width: none;
  object-fit: cover;
}

@media (min-width: 860px) {
  .lx-cta-card {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .lx-cta-copy {
    align-self: center;
  }

  .lx-cta-media {
    aspect-ratio: auto;
    min-height: 28rem;
  }
}

/* Gamers page: the same layout, re-colored green-on-dark. */

.page-gamers {
  --lx-ink: var(--text);
  --lx-soft: var(--muted);
  --lx-faint: #3b5c44;
  --lx-line: var(--line);
  --lx-tile: var(--surface);
}

.page-gamers .lx-btn,
.page-gamers .lx-btn--light,
.page-gamers .lx-header.is-over .lx-btn,
.page-gamers .lx-header.is-dark .lx-btn {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--btn-fg);
}

.page-gamers .lx-btn:hover,
.page-gamers .lx-header.is-over .lx-btn:hover,
.page-gamers .lx-header.is-dark .lx-btn:hover {
  border-color: #3ddc76;
  background: #3ddc76;
}

.page-gamers .lx-round:hover:not(:disabled),
.page-gamers .lx-video-toggle:hover {
  color: var(--btn-fg);
}

.page-gamers .lx-header-bar {
  border-color: rgba(216, 255, 220, 0.08);
  background: rgba(9, 16, 10, 0.72);
  box-shadow: 0 12px 32px -16px #000;
}

.page-gamers .lx-header.is-dark:not(.is-over) .lx-header-bar {
  background: rgba(9, 16, 10, 0.85);
}

.page-gamers .lx-wordmark {
  color: var(--accent);
  font-size: 1.05rem;
}

.page-gamers .lockup-crate {
  width: 1.6em;
  height: 1.6em;
}

@media (max-width: 719px) {
  .page-gamers .lx-wordmark {
    font-size: 0.85rem;
  }

  .page-gamers .lx-nav {
    border-color: rgba(216, 255, 220, 0.1);
    background: rgba(9, 16, 10, 0.94);
  }
}

.page-gamers .lx-word {
  color: #26402d;
}

.page-gamers .lx-dot.is-active::before {
  background: var(--accent);
}

.page-gamers .lx-dark {
  border-block: 1px solid var(--hair);
  background: #000;
}

.page-gamers .lx-tile,
.page-gamers .lx-cta-card {
  border: 1px solid var(--line);
}

.page-gamers .lx-tile--ink {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--btn-fg);
}

.page-gamers .lx-tile--ink .lx-tile-label {
  color: rgba(5, 8, 5, 0.72);
}

.page-gamers .lx-cta-card {
  background: var(--surface);
}

.page-gamers .lx-cta-copy p {
  color: var(--muted);
}

/* Hero: the waitlist card takes the column the labs page uses for its list. */
.page-gamers .lx-hero-inner {
  gap: 2.5rem;
}

@media (min-width: 1100px) {
  .page-gamers .lx-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 25.5rem);
  }
}

.page-gamers .lx-hero {
  background: #050805;
}

.page-gamers .lx-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 52% center;
}

.page-gamers .lx-hero-media::after {
  background:
    linear-gradient(to right, rgba(5, 8, 5, 0.58), rgba(5, 8, 5, 0.3) 70%),
    linear-gradient(to top, #050805, rgba(5, 8, 5, 0.22) 40%, rgba(5, 8, 5, 0.12) 80%);
}

/* Keep the landscape in the first viewport when the form stacks below it. */
@media (max-width: 1099px) {
  .page-gamers .lx-hero-media {
    bottom: auto;
    height: 100svh;
    min-height: 42rem;
    max-height: 60rem;
  }
}

/* Phones: tighter hero so the signup card starts inside the first screen.
   The header pill and the card itself already lead to "how it works". */
@media (max-width: 719px) {
  .page-gamers .lx-hero-inner {
    gap: 1.5rem;
    padding-top: 6rem;
  }

  .page-gamers .lx-hero-lede {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .page-gamers .lx-hero-actions {
    display: none;
  }
}

/* Gamers: a compact, static process overview. No pinned media or hidden steps. */
.page-gamers .lx-process {
  padding-block: clamp(2.5rem, 7vw, 6rem);
}

.lx-process-head {
  display: grid;
  gap: 1rem;
}

.page-gamers .lx-process-head h2 {
  letter-spacing: -0.035em;
}

.lx-process-head > p {
  color: var(--muted);
  font-size: 1rem;
}

.lx-process-steps {
  display: grid;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.lx-process-steps > li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}

.lx-process-number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.page-gamers .lx-process-steps h3 {
  font-size: 1.25rem;
  line-height: 1.4;
}

.lx-process-steps p {
  max-width: 36ch;
  margin-top: 0.375rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.lx-session-example {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--surface);
}

.lx-session-image {
  width: clamp(6rem, 24vw, 8rem);
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  object-fit: cover;
}

.lx-session-game {
  min-width: 0;
}

.lx-session-label,
.lx-session-result dt {
  color: var(--muted);
  font-size: 0.875rem;
}

.lx-session-label {
  margin-top: 0.375rem;
}

.page-gamers .lx-session-game h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}

.lx-session-result {
  --lx-session-number-size: clamp(2rem, 10vw, 3rem);
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 1.5rem minmax(0, 1fr);
  gap: 0.25rem;
  width: 100%;
  max-width: 34rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.lx-session-result dl {
  min-width: 0;
  margin: 0;
}

.lx-session-result dd {
  margin: 0.5rem 0 0;
  font-size: var(--lx-session-number-size);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lx-session-arrow {
  align-self: end;
  width: 1.5rem;
  height: 2rem;
  margin-bottom: calc(var(--lx-session-number-size) * 0.55 - 1rem);
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lx-session-amount {
  color: var(--accent);
}

@media (min-width: 760px) {
  .lx-process-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
  }

  .lx-process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
    margin-block: 3rem;
  }

  .lx-process-steps > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: 1.5rem 0;
  }

  .page-gamers .lx-process-steps h3 {
    font-size: clamp(1.25rem, 1rem + 0.6vw, 1.625rem);
  }

  .lx-process-steps p {
    font-size: 1rem;
  }
}

@media (min-width: 960px) {
  .lx-session-example {
    grid-template-columns: clamp(14rem, 25vw, 24rem) minmax(0, 1fr);
    gap: 1.5rem clamp(2rem, 4vw, 4rem);
    padding: 2rem;
  }

  .lx-session-image {
    grid-row: 1 / span 2;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.75rem;
  }

  .page-gamers .lx-session-game h3 {
    font-size: 1.5rem;
  }

  .lx-session-result {
    --lx-session-number-size: clamp(3rem, 4.5vw, 4rem);
    grid-column: 2;
    grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr);
    gap: 1.5rem;
    padding: 0;
    border: 0;
  }

  .lx-session-arrow {
    width: 2rem;
  }
}

.lx-pay-note {
  max-width: 32ch;
  margin-top: 1.25rem;
  color: var(--lx-soft);
  font-size: 1.125rem;
}

/* Example week, styled like an end-of-match results screen. */

.lx-payout {
  --lx-payout-row: #0e1810;
  --lx-payout-glow: rgba(34, 197, 94, 0.55);
  width: 100%;
  max-width: 36rem;
  padding: 1.75rem 1.1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(34, 197, 94, 0.16), transparent 62%),
    var(--surface);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lx-payout-banner,
.lx-payout-number {
  font-family: Bungee, Inter, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.05;
}

.lx-payout-banner {
  color: var(--accent);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  text-shadow: 0 0 0.4em var(--lx-payout-glow);
}

.lx-payout-sub {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.lx-payout-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  text-align: left;
}

.lx-payout-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 0.875rem 0.625rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--lx-payout-row);
}

.lx-payout-list img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.lx-payout-game {
  display: grid;
  min-width: 0;
}

.lx-payout-game strong {
  font-weight: 600;
  line-height: 1.3;
}

.lx-payout-game span {
  color: var(--muted);
  font-size: 0.8125rem;
}

.lx-payout-amount {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.lx-payout-total {
  margin-top: 1.75rem;
}

.lx-payout-label,
.lx-payout-stats dt {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lx-payout-number {
  position: relative;
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--text);
  font-size: clamp(3rem, 2.4rem + 2.6vw, 4.25rem);
  text-shadow: 0 0 0.3em var(--lx-payout-glow);
}

/* Right-aligned so the digits stay put while the total counts up. */
.lx-payout-number [data-lx-count] {
  display: inline-block;
  text-align: right;
}

/* Faint scanlines, a nod to the CRT power-on in the logo intro. */
.lx-payout-number::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 2px,
    rgba(5, 8, 5, 0.35) 2px 3px
  );
  pointer-events: none;
}

.lx-payout-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.lx-payout-stats div {
  padding-top: 1rem;
}

.lx-payout-stats div + div {
  border-left: 1px solid var(--line);
}

.lx-payout-stats dd {
  margin: 0.125rem 0 0;
  font-weight: 600;
}

.lx-payout figcaption {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: left;
}

@media (min-width: 520px) {
  .lx-payout {
    padding: 2rem 1.5rem 1.25rem;
  }
}

@media (min-width: 960px) {
  .lx-payout {
    justify-self: center;
    padding: 2.25rem 2rem 1.5rem;
  }
}

.page-gamers .lx-tags {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .page-gamers .lx-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .page-gamers .lx-tags {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Pilot tester bonus */

.lx-bonus-frame {
  /* Sunset and palm-shadow colors sampled from the GTA artwork. */
  --lx-bonus-peach: #f8bd81;
  --lx-bonus-coral: #f79e8d;
  --lx-bonus-rose: #dc8eac;
  --lx-bonus-lavender: #af86b6;
  --lx-bonus-periwinkle: #847faf;
  --lx-bonus-layer-opacity: 0.8;
  position: relative;
  isolation: isolate;
  border-radius: calc(var(--lx-radius) + 0.5rem);
}

.lx-bonus-frame::before,
.lx-bonus-frame::after,
.lx-bonus-glow::before,
.lx-bonus-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    var(--lx-bonus-periwinkle),
    var(--lx-bonus-lavender) 24%,
    var(--lx-bonus-rose) 48%,
    var(--lx-bonus-coral) 72%,
    var(--lx-bonus-peach)
  );
  opacity: var(--lx-bonus-layer-opacity);
  pointer-events: none;
}

.lx-bonus-frame::before,
.lx-bonus-frame::after {
  z-index: 2;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.lx-bonus-glow {
  --lx-bonus-layer-opacity: 0.16;
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  filter: blur(12px);
  pointer-events: none;
}

.lx-bonus-frame::after,
.lx-bonus-glow::after {
  background: linear-gradient(
    110deg,
    var(--lx-bonus-peach),
    var(--lx-bonus-coral) 24%,
    var(--lx-bonus-rose) 48%,
    var(--lx-bonus-lavender) 72%,
    var(--lx-bonus-periwinkle)
  );
  opacity: 0;
}

.page-gamers .lx-bonus-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: inherit;
  background: var(--surface);
}

.lx-bonus-content {
  padding: clamp(2rem, 5vw, 4.5rem);
}

.lx-bonus-media {
  position: relative;
  min-height: 15rem;
  aspect-ratio: 16 / 10;
  clip-path: polygon(0 16%, 100% 0, 100% 100%, 0 100%);
}

.lx-bonus-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lx-bonus-label {
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lx-bonus-card h2 span {
  display: block;
  white-space: nowrap;
}

.lx-bonus-copy {
  margin-top: 1.5rem;
}

.lx-bonus-copy > p {
  max-width: 42ch;
  color: var(--text);
  font-size: 1.125rem;
}

.lx-bonus-copy .lx-btn {
  margin-top: 1.75rem;
}

.lx-bonus-terms {
  max-width: 52ch;
  margin-top: 1.25rem;
  color: var(--text);
  font-size: 0.875rem;
}

.lx-bonus-terms summary {
  width: fit-content;
  padding-block: 0.5rem;
  cursor: pointer;
}

.lx-bonus-terms summary:hover {
  color: var(--text);
}

.lx-bonus-terms p {
  margin-top: 0.5rem;
}

@media (min-width: 860px) {
  .page-gamers .lx-bonus-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    min-height: 32rem;
  }

  .lx-bonus-media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 50%;
    height: 100%;
    aspect-ratio: auto;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* Motion. Skipped entirely for reduced motion. Content is only hidden when
   labs.js has run, so a script failure never leaves the page blank. */

.lx-parallax {
  transform: translate3d(0, var(--lx-shift, 0px), 0);
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  /* Crossfade only the decorative layers; the artwork and content stay still. */
  .lx-bonus-frame::before,
  .lx-bonus-glow::before {
    animation: lx-bonus-shift 12s var(--lx-ease-io) infinite alternate-reverse;
  }

  .lx-bonus-frame::after,
  .lx-bonus-glow::after {
    animation: lx-bonus-shift 12s var(--lx-ease-io) infinite alternate;
  }

  @keyframes lx-bonus-shift {
    from {
      opacity: 0;
    }
    to {
      opacity: var(--lx-bonus-layer-opacity);
    }
  }

  /* Hero: video settles from 1.1x, headline lines rise out of their masks. */
  .lx-hero-video {
    animation: lx-settle 2.2s var(--lx-ease-out) both;
  }

  .lx-mask > span {
    animation: lx-mask-up 1.2s var(--lx-ease-out) both;
  }

  .lx-mask:nth-child(1) > span {
    animation-delay: 0.25s;
  }

  .lx-mask:nth-child(2) > span {
    animation-delay: 0.4s;
  }

  .lx-hero-lede,
  .lx-hero-actions,
  .lx-hero-list {
    animation: lx-fade-up 1.1s var(--lx-ease-out) both;
  }

  .lx-hero-lede {
    animation-delay: 0.65s;
  }

  .lx-hero-actions {
    animation-delay: 0.78s;
  }

  .lx-hero-list {
    animation-delay: 0.9s;
  }

  .lx-header-bar {
    animation: lx-drop 1s var(--lx-ease-out) 0.1s both;
  }

  /* Hero copy eases up and out as the page scrolls. */
  .lx-js [data-lx-exit] {
    opacity: calc(1 - var(--lx-exit, 0) * 1.15);
    transform: translate3d(0, calc(var(--lx-exit, 0) * -5rem), 0);
  }

  /* Film: tall section with a sticky stage; the clip opens as it scrolls. */
  .lx-js .lx-film {
    height: 220vh;
  }

  .lx-js .lx-film-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
  }

  .lx-js .lx-film-media {
    height: 100%;
    aspect-ratio: auto;
    clip-path: inset(
      calc((1 - var(--lx-film, 0)) * 16%) calc((1 - var(--lx-film, 0)) * 14%)
        round calc((1 - var(--lx-film, 0)) * 2rem)
    );
  }

  .lx-js .lx-film-media video {
    transform: scale(calc(1.18 - var(--lx-film, 0) * 0.18));
  }

  .lx-js .lx-film-caption {
    opacity: calc(var(--lx-film, 0) * 1.6 - 0.6);
    transform: translate3d(0, calc((1 - var(--lx-film, 0)) * 2rem), 0);
  }

  /* Pinned panels crossfade with a slow zoom; overlays arrive after. */
  .lx-panel {
    transform: scale(1.06);
    transition:
      opacity 0.9s var(--lx-ease),
      visibility 0.9s var(--lx-ease),
      transform 1.4s var(--lx-ease-out);
  }

  .lx-panel.is-active {
    transform: none;
  }

  .lx-panel figcaption {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
    transition:
      opacity 0.8s var(--lx-ease) 0.35s,
      transform 0.9s var(--lx-ease-out) 0.35s;
  }

  .lx-panel.is-active figcaption {
    opacity: 1;
    transform: none;
  }

  .lx-panel.is-active .lx-timeline-track > span {
    animation: lx-track 9s linear infinite;
  }

  /* Scroll reveals, staggered by --lx-i. */
  .lx-js .lx-reveal {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
    transition:
      opacity 0.45s var(--lx-ease-out),
      transform 0.5s var(--lx-ease-out);
    transition-delay: calc(min(var(--lx-i, 0), 5) * 60ms);
  }

  .lx-js .lx-reveal.is-in {
    opacity: 1;
    transform: none;
  }

  /* Example week: the banner flickers on and the rows tally in one by one.
     labs.js counts the total up once they land. */
  .lx-js .lx-payout.is-in .lx-payout-banner {
    animation: lx-payout-flicker 0.6s steps(1, end) 0.25s both;
  }

  .lx-js .lx-payout.is-in .lx-payout-list li {
    animation: lx-payout-row 0.5s var(--lx-ease-out) both;
    animation-delay: calc(350ms + var(--lx-row, 0) * 110ms);
  }

  .lx-rec::before {
    animation: lx-blink 1.4s steps(2, jump-none) infinite;
  }

  .lx-faq-list details::details-content {
    block-size: 0;
    overflow: hidden;
    transition:
      block-size 0.6s var(--lx-ease-io),
      content-visibility 0.6s allow-discrete;
  }

  .lx-faq-list details[open]::details-content {
    block-size: auto;
  }

  @keyframes lx-settle {
    from {
      transform: scale(1.1);
    }
    to {
      transform: none;
    }
  }

  @keyframes lx-mask-up {
    from {
      transform: translate3d(0, 105%, 0);
    }
    to {
      transform: none;
    }
  }

  @keyframes lx-fade-up {
    from {
      opacity: 0;
      transform: translate3d(0, 1.5rem, 0);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes lx-drop {
    from {
      opacity: 0;
      transform: translate3d(0, -1.25rem, 0);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes lx-track {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }
  @keyframes lx-blink {
    50% {
      opacity: 0.2;
    }
  }

  @keyframes lx-payout-flicker {
    0%,
    20% {
      opacity: 0;
    }
    30%,
    50% {
      opacity: 1;
    }
    60% {
      opacity: 0.3;
    }
    70%,
    100% {
      opacity: 1;
    }
  }

  @keyframes lx-payout-row {
    from {
      opacity: 0;
      transform: translate3d(0, 0.5rem, 0);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
