/* =========================
   Protip Landingpage
   Dark sports premium style
   ========================= */

:root {
  --bg: #090111;
  --bg-deep: #05000b;
  --bg-soft: #13031f;
  --card: rgba(36, 22, 58, 0.72);
  --card-solid: #24163a;
  --card-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --muted-2: rgba(255, 255, 255, 0.46);
  --orange: #ff6600;
  --pink: #e85bff;
  --purple: #c63eff;
  --violet: #7c2cff;
  --green: #89ff13;
  --gold: #d9a441;
  --silver: #c6cad8;
  --bronze: #c17a44;
  --gradient: linear-gradient(100deg, var(--orange), var(--purple));
  --gradient-soft: linear-gradient(135deg, rgba(255, 102, 0, .25), rgba(198, 62, 255, .25));
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 102, 0, .18), transparent 34rem),
    radial-gradient(circle at 90% 5%, rgba(198, 62, 255, .18), transparent 36rem),
    linear-gradient(180deg, #0c0115 0%, #05000b 100%);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(198, 62, 255, 0.35);
  color: #fff;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .12;
  mix-blend-mode: overlay;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 85%);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section-pad {
  padding: 110px 0;
  position: relative;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #ff8b3d;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 900;
}

.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--gradient);
}

.section-head {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-head h2,
.intro-copy h2,
.league-copy h2,
.creator-card h2,
.faq h2,
.download h2 {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: .92;
  letter-spacing: -.07em;
}

.section-head p,
.intro-copy p,
.league-copy > p,
.creator-card p,
.faq p,
.download p {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.72;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 0, 11, 0.78), rgba(5, 0, 11, 0.18));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: height .28s ease, background .28s ease, border-color .28s ease;
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(8, 1, 17, 0.82);
  border-bottom-color: rgba(255,255,255,.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 132px;
  filter: drop-shadow(0 0 22px rgba(198, 62, 255, .22));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  font-size: 15px;
  letter-spacing: .02em;
  font-weight: 800;
}

.main-nav > a:not(.nav-cta) {
  color: rgba(255,255,255,.82);
  transition: color .2s ease, transform .2s ease;
}

.main-nav > a:not(.nav-cta):hover {
  color: #fff;
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: #12051d;
  background: var(--gradient);
  border-radius: 12px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(198, 62, 255, .28);
  transition: transform .22s ease, box-shadow .22s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(255, 102, 0, .24), 0 18px 50px rgba(198, 62, 255, .24);
}

.nav-toggle {
  display: none;
}

/* Hero */

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--header-h);
  background: #06000d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(5,0,11,.08) 0%, rgba(5,0,11,.7) 58%, rgba(5,0,11,.96) 100%),
    linear-gradient(180deg, rgba(5,0,11,.12) 0%, rgba(5,0,11,.65) 78%, #05000b 100%),
    url("/assets/hero-bg.webp") center / cover no-repeat;
  opacity: .95;
  transform: scale(1.02);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 26% 56%, rgba(255,255,255,.09), transparent 20%),
    radial-gradient(ellipse at 34% 36%, rgba(255, 102, 0, .17), transparent 28%),
    radial-gradient(ellipse at 72% 18%, rgba(198, 62, 255, .20), transparent 34%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 1px, transparent 1px, transparent 13px);
  mix-blend-mode: screen;
  opacity: .48;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 62%, rgba(255, 102, 0, .18), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(198, 62, 255, .18), transparent 36rem),
    linear-gradient(90deg, rgba(5,0,11,.78) 0%, rgba(5,0,11,.42) 42%, rgba(5,0,11,.96) 100%),
    linear-gradient(180deg, transparent 0%, #05000b 98%);
}

.hero-content {
  width: min(1420px, calc(100% - 60px));
  min-height: calc(100svh - var(--header-h));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 48px;
  padding: 54px 0 80px;
}

.hero-copy {
  max-width: 660px;
  padding-left: clamp(0px, 4vw, 68px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 0 0 7px rgba(198, 62, 255, .13), 0 0 26px rgba(255, 102, 0, .8);
}

.hero-wordmark {
  width: min(500px, 92vw);
  margin-bottom: 6px;
  filter: drop-shadow(0 18px 54px rgba(198, 62, 255, .22));
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.8vw, 70px);
  line-height: .9;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.hero-text {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
}

.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 15px;
  font-weight: 950;
  letter-spacing: -.01em;
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.btn-primary {
  color: #190423;
  background: var(--gradient);
  border-color: transparent;
  box-shadow:
    0 16px 38px rgba(255, 102, 0, .22),
    0 16px 52px rgba(198, 62, 255, .22);
}

.btn-primary:hover {
  box-shadow:
    0 18px 50px rgba(255, 102, 0, .28),
    0 18px 62px rgba(198, 62, 255, .30);
}

.btn-ghost {
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-pills span {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 13px;
  font-weight: 800;
}

.hero-stage {
  position: relative;
  min-height: 720px;
}

.stage-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: .52;
  pointer-events: none;
}

.stage-glow-a {
  width: 260px;
  height: 260px;
  right: 18%;
  top: 13%;
  background: rgba(198, 62, 255, .44);
}

.stage-glow-b {
  width: 300px;
  height: 300px;
  right: 48%;
  bottom: 10%;
  background: rgba(255, 102, 0, .26);
}

.phone-stack {
  position: absolute;
  inset: 0;
  transform: rotate(-4deg) translateY(-4px);
  transform-style: preserve-3d;
}

.phone-shot {
  position: absolute;
  width: clamp(210px, 23vw, 345px);
  border-radius: 48px;
  object-fit: cover;
  box-shadow:
    0 22px 80px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  will-change: transform;
  filter: saturate(1.05) contrast(1.02);
}

.phone-main {
  right: 27%;
  top: 12%;
  z-index: 6;
  width: clamp(245px, 25vw, 395px);
  transform: rotate(8deg);
  opacity: .98;
}

.phone-a {
  right: 2%;
  top: 2%;
  z-index: 4;
  transform: rotate(13deg) scale(.92);
  opacity: .64;
  filter: blur(.2px) saturate(.9);
}

.phone-b {
  right: 53%;
  top: 4%;
  z-index: 3;
  transform: rotate(-13deg) scale(.88);
  opacity: .72;
}

.phone-c {
  right: 3%;
  top: 42%;
  z-index: 2;
  transform: rotate(16deg) scale(.88);
  opacity: .44;
  filter: blur(1px) saturate(.82);
}

.phone-d {
  right: 56%;
  top: 48%;
  z-index: 1;
  transform: rotate(-17deg) scale(.8);
  opacity: .36;
  filter: blur(1px) saturate(.75);
}

.float-card {
  position: absolute;
  z-index: 10;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
    rgba(18, 5, 30, .72);
  backdrop-filter: blur(22px);
  box-shadow: 0 25px 70px rgba(0,0,0,.36);
}

.score-card {
  right: 43%;
  top: 36%;
  min-width: 270px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 15px 18px;
  transform: rotate(2deg);
}

.score-card small,
.mini-card small {
  display: block;
  color: rgba(255,255,255,.52);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.score-card strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 16px;
}

.score-card strong span {
  padding-inline: 10px;
  background: linear-gradient(90deg, #fff, #ffb47c, #f1a2ff);
  -webkit-background-clip: text;
  color: transparent;
  font-size: 22px;
}

.score-card p {
  margin: 0;
  color: #71ff76;
  font-weight: 950;
}

.mini-card {
  width: 190px;
  padding: 16px;
}

.mini-card strong {
  display: block;
  margin: 6px 0 2px;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.05em;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.mini-card span {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
}

.mini-card-left {
  left: 6%;
  bottom: 22%;
  transform: rotate(-7deg);
}

.mini-card-right {
  right: 5%;
  bottom: 19%;
  transform: rotate(8deg);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.42);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.scroll-hint span {
  width: 28px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  position: relative;
}

.scroll-hint span::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  transform: translateX(-50%);
  animation: wheel 1.8s ease infinite;
}

@keyframes wheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* Intro */

.intro-section {
  background:
    linear-gradient(180deg, #05000b 0%, #0c0115 100%);
}

.intro-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 70px;
  align-items: start;
}

.intro-copy {
  max-width: 900px;
}

.intro-copy h2 {
  max-width: 840px;
}

/* Features */

.features {
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 20%, rgba(255,102,0,.14), transparent 30rem),
    radial-gradient(circle at 96% 20%, rgba(198,62,255,.14), transparent 32rem),
    #0c0115;
}

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

.feature-card {
  min-height: 300px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)),
    rgba(36,22,58,.64);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 24px 90px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -45px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: var(--gradient);
  filter: blur(46px);
  opacity: .22;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.20);
  background:
    linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04)),
    rgba(36,22,58,.72);
}

.icon-bubble {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 24px;
}

.feature-card h3 {
  margin: 28px 0 12px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.05em;
}

.feature-card p {
  margin: 0;
  color: rgba(255,255,255,.64);
  line-height: 1.65;
}

/* League system */

.league-system {
  background:
    linear-gradient(180deg, #0c0115 0%, #05000b 100%);
}

.league-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

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

.league-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.league-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
}

.league-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #190423;
  background: var(--gradient);
  font-weight: 950;
}

.league-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
}

.league-list p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.league-panel {
  position: relative;
  min-height: 560px;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 32px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 0%, rgba(198,62,255,.18), transparent 25rem),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.league-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,.035) 47px);
  pointer-events: none;
}

.tier {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 24px;
  border-radius: 24px;
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
}

.tier:nth-child(1) { transform: translateX(30px); }
.tier:nth-child(2) { transform: translateX(-12px); }
.tier:nth-child(3) { transform: translateX(20px); }
.tier:nth-child(4) { transform: translateX(-30px); }

.tier span {
  font-size: 12px;
  letter-spacing: .2em;
  font-weight: 950;
}

.tier strong {
  font-size: 22px;
  letter-spacing: -.04em;
}

.tier-protip {
  background: linear-gradient(100deg, rgba(255,102,0,.32), rgba(198,62,255,.28));
}

.tier-gold {
  background: linear-gradient(100deg, rgba(217,164,65,.34), rgba(255,102,0,.12));
}

.tier-silver {
  background: linear-gradient(100deg, rgba(198,202,216,.25), rgba(198,62,255,.10));
}

.tier-bronze {
  background: linear-gradient(100deg, rgba(193,122,68,.28), rgba(255,102,0,.08));
}

.promotion-line {
  position: absolute;
  top: 86px;
  bottom: 86px;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), var(--orange));
  box-shadow: 0 0 30px rgba(198,62,255,.45);
  opacity: .58;
}

/* Screens */

.screens {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,102,0,.12), transparent 36rem),
    #05000b;
  overflow: hidden;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 18px;
  align-items: end;
}

.screen-card {
  margin: 0;
  position: relative;
  padding: 16px;
  border-radius: 34px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 76px rgba(0,0,0,.32);
  overflow: hidden;
  transform-origin: bottom center;
}

.screen-card:nth-child(1) { transform: rotate(-4deg) translateY(20px); }
.screen-card:nth-child(2) { transform: rotate(2deg) translateY(-10px); }
.screen-card:nth-child(3) { transform: rotate(-2deg) translateY(24px); }
.screen-card:nth-child(4) { transform: rotate(4deg) translateY(-4px); }

.screen-card img {
  width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
}

.screen-card figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 15px;
  border-radius: 20px;
  background: rgba(8,1,17,.72);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
}

.screen-card figcaption strong,
.screen-card figcaption span {
  display: block;
}

.screen-card figcaption strong {
  font-size: 18px;
  margin-bottom: 2px;
}

.screen-card figcaption span {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  font-weight: 800;
}

/* Creator */

.creator-section {
  background:
    linear-gradient(180deg, #05000b 0%, #0c0115 100%);
}

.creator-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: center;
  min-height: 540px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 46px;
  background:
    radial-gradient(circle at 100% 10%, rgba(198,62,255,.20), transparent 30rem),
    radial-gradient(circle at 10% 100%, rgba(255,102,0,.18), transparent 26rem),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.creator-card p {
  max-width: 610px;
}

.creator-visual {
  min-height: 540px;
  position: relative;
}

.creator-visual img {
  position: absolute;
  width: min(320px, 48%);
  border-radius: 44px;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 26px 86px rgba(0,0,0,.42);
}

.creator-visual img:first-child {
  right: 36%;
  top: 4%;
  transform: rotate(-9deg);
}

.creator-visual img:last-child {
  right: 2%;
  top: 18%;
  transform: rotate(8deg);
}

/* FAQ */

.faq {
  background: #0c0115;
}

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  list-style: none;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.02em;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: #ff8b3d;
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.65;
}

/* Download */

.download {
  background:
    radial-gradient(circle at 50% 35%, rgba(198,62,255,.19), transparent 34rem),
    radial-gradient(circle at 20% 65%, rgba(255,102,0,.15), transparent 26rem),
    #05000b;
  overflow: hidden;
}

.download-card {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding: clamp(38px, 6vw, 76px);
  border-radius: 48px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035)),
    rgba(36,22,58,.54);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  transform: translateX(-100%);
  animation: shine 5s ease-in-out infinite;
}

@keyframes shine {
  0%, 30% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.download-card > * {
  position: relative;
  z-index: 1;
}

.download-logo {
  width: 82px;
  height: 82px;
  object-fit: cover;
  margin: 0 auto 20px;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(198,62,255,.24);
}

.download-card .section-kicker {
  justify-content: center;
}

.download-card .section-kicker::before {
  display: none;
}

.download-card p {
  max-width: 620px;
  margin-inline: auto;
}

.download-actions {
  justify-content: center;
  margin-top: 28px;
}

.store-badges {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 4px;
  border-radius: 15px;
  opacity: .88;
  filter: grayscale(.05);
  transition: transform .22s ease, opacity .22s ease;
}

.store-badges:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.store-badges img {
  width: 238px;
  max-height: 52px;
  object-fit: contain;
}

/* Footer */

.site-footer {
  padding: 54px 0 28px;
  background: #05000b;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 30px;
  align-items: start;
}

.footer-wordmark {
  width: 144px;
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer nav {
  display: grid;
  gap: 12px;
}

.site-footer nav a {
  color: rgba(255,255,255,.66);
  font-weight: 800;
  transition: color .2s ease;
}

.site-footer nav a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.42);
  font-size: 13px;
  font-weight: 800;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .85s cubic-bezier(.2,.8,.2,1),
    transform .85s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1120px) {
  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 96px;
  }

  .hero-copy {
    padding-left: 0;
    max-width: 760px;
  }

  .hero-stage {
    min-height: 610px;
  }

  .feature-grid,
  .screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .league-grid,
  .creator-card,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .creator-visual {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 72px;
  }

  .container,
  .hero-content {
    width: min(100% - 26px, var(--max));
  }

  .section-pad {
    padding: 82px 0;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand {
    width: 118px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;
    background: rgba(255,255,255,.06);
    color: #fff;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 12px auto 12px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(13, 2, 27, 0.94);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 30px 80px rgba(0,0,0,.42);
    backdrop-filter: blur(24px);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  body.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 14px 14px;
    border-radius: 14px;
  }

  .nav-cta {
    min-height: 48px;
  }

  .hero-content {
    padding-top: 62px;
    gap: 12px;
  }

  .hero-wordmark {
    width: min(360px, 88vw);
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 72px);
  }

  .hero-stage {
    min-height: 550px;
    margin-top: 16px;
  }

  .phone-stack {
    transform: rotate(-4deg) translateX(-20px);
  }

  .phone-main {
    right: 27%;
    top: 4%;
    width: min(295px, 62vw);
  }

  .phone-a {
    right: -10%;
    top: 4%;
    width: min(260px, 54vw);
  }

  .phone-b {
    right: 58%;
    top: 10%;
    width: min(240px, 50vw);
  }

  .phone-c,
  .phone-d,
  .mini-card-right,
  .mini-card-left {
    display: none;
  }

  .score-card {
    right: 12px;
    top: 62%;
    min-width: min(260px, calc(100vw - 52px));
  }

  .scroll-hint {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-grid,
  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .screen-card,
  .screen-card:nth-child(n) {
    transform: none;
  }

  .league-panel {
    min-height: 470px;
    padding: 20px;
    border-radius: 32px;
  }

  .tier,
  .tier:nth-child(n) {
    transform: none;
  }

  .creator-card {
    padding: 24px;
    border-radius: 34px;
  }

  .creator-visual {
    min-height: 430px;
  }

  .creator-visual img {
    width: min(245px, 58%);
  }

  .creator-visual img:first-child {
    left: 0;
    right: auto;
  }

  .creator-visual img:last-child {
    right: 0;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .download-actions {
    align-items: stretch;
  }

  .btn,
  .download-actions .store-badges {
    width: 100%;
  }

  .store-badges {
    justify-content: center;
  }

  .hero-stage {
    min-height: 490px;
  }

  .phone-main {
    right: 18%;
  }

  .phone-a {
    right: -23%;
  }

  .phone-b {
    right: 64%;
  }

  .score-card {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Legal placeholder pages */

.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 120px;
  color: #fff;
}

.legal-logo {
  width: 160px;
  margin: 32px 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.7);
  font-weight: 850;
}

.legal-page h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .9;
  letter-spacing: -.07em;
}

.legal-page h2 {
  margin-top: 42px;
}

.legal-page p {
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  font-size: 18px;
}
