:root {
  color-scheme: dark;
  --bg: #070911;
  --ink: #fbfbf2;
  --muted: #a7b1c4;
  --line: rgba(255, 255, 255, 0.15);
  --panel: rgba(10, 15, 29, 0.82);
  --gold: #ffd34e;
  --cyan: #51e6ff;
  --red: #ff6a5f;
  --green: #84f58a;
  --violet: #aa8cff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 17, 0.72);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 68px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(251, 251, 242, 0.78);
}

nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: 94svh;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.space-scene {
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.space-scene::after {
  background:
    linear-gradient(90deg, rgba(7, 9, 17, 0.74), rgba(7, 9, 17, 0.18) 48%, rgba(7, 9, 17, 0.72)),
    linear-gradient(180deg, rgba(7, 9, 17, 0.1), rgba(7, 9, 17, 0.9));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 4;
}

.scene-back,
.scene-mid,
.scene-fore {
  height: 112%;
  left: 50%;
  min-width: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.scene-mid {
  opacity: 0.86;
}

.scene-fore {
  opacity: 0.58;
}

.hero-ship {
  bottom: 12%;
  left: 63%;
  position: absolute;
  transform: translateX(-50%) rotate(8deg);
  width: clamp(92px, 14vw, 190px);
  z-index: 6;
}

.hero-rocket {
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.36));
  position: relative;
  width: 100%;
  z-index: 2;
}

.flame {
  left: 50%;
  opacity: 0.95;
  position: absolute;
  top: 102%;
  transform: translateX(-50%);
  width: 38%;
  z-index: 1;
}

.asteroid,
.pickup {
  position: absolute;
  z-index: 5;
}

.asteroid-a {
  right: 14%;
  top: 18%;
  width: clamp(72px, 11vw, 150px);
}

.asteroid-b {
  bottom: 18%;
  left: 12%;
  width: clamp(60px, 9vw, 116px);
}

.pickup-coin {
  right: 26%;
  top: 45%;
  width: clamp(48px, 7vw, 82px);
}

.pickup-fuel {
  bottom: 33%;
  right: 9%;
  width: clamp(46px, 7vw, 78px);
}

.hero-copy {
  margin: 0 auto;
  padding: 108px clamp(20px, 5vw, 64px) 52px;
  position: relative;
  width: min(1180px, 100%);
  z-index: 8;
}

.kicker {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4.25rem, 15vw, 12rem);
  line-height: 0.8;
  margin: 0;
  max-width: 760px;
}

.lede {
  color: rgba(251, 251, 242, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.55;
  margin: 28px 0 0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.launch-form button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
}

.primary-action,
.launch-form button {
  background: var(--gold);
  color: #171103;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--ink);
}

.stats-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-strip div {
  border-left: 1px solid var(--line);
  min-height: 118px;
  padding: 28px clamp(18px, 4vw, 54px);
}

.stats-strip div:first-child {
  border-left: 0;
}

.stats-strip strong {
  display: block;
  font-size: clamp(1.55rem, 3.2vw, 3rem);
  line-height: 1;
}

.stats-strip span {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: 8px;
}

.gameplay,
.rockets,
.launch {
  align-items: center;
  display: grid;
  gap: clamp(34px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(76px, 10vw, 130px) clamp(20px, 5vw, 64px);
}

.section-copy h2,
.launch h2 {
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
  margin: 0;
}

.section-copy p:not(.kicker),
.launch p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
  margin: 22px 0 0;
  max-width: 560px;
}

.phone-stage {
  display: grid;
  justify-items: center;
}

.phone-screen {
  aspect-ratio: 9 / 19;
  background: #111827;
  border: 10px solid #171b25;
  border-radius: 42px;
  box-shadow: var(--shadow);
  max-height: 720px;
  overflow: hidden;
  position: relative;
  width: min(360px, 76vw);
}

.phone-screen::after {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.phone-back {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hud {
  color: #ffffff;
  display: flex;
  font-size: 0.8rem;
  font-weight: 900;
  justify-content: space-between;
  left: 18px;
  position: absolute;
  right: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  top: 20px;
  z-index: 6;
}

.screen-asteroid,
.screen-pickup,
.satellite {
  position: absolute;
}

.screen-ship {
  bottom: 94px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) rotate(-7deg);
  width: 96px;
  z-index: 5;
}

.screen-rocket {
  position: relative;
  width: 100%;
  z-index: 2;
}

.screen-flame {
  left: 50%;
  position: absolute;
  top: 101%;
  transform: translateX(-50%);
  width: 44%;
  z-index: 1;
}

.satellite {
  left: -70px;
  top: 160px;
  transform: rotate(-14deg);
  width: 210px;
  z-index: 3;
}

.screen-asteroid.left {
  left: 34px;
  top: 278px;
  width: 70px;
}

.screen-asteroid.right {
  right: 34px;
  top: 386px;
  width: 82px;
}

.screen-pickup.coin {
  right: 70px;
  top: 270px;
  width: 46px;
}

.screen-pickup.shield {
  left: 84px;
  top: 452px;
  width: 52px;
}

.powerups {
  background: #101016;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: clamp(76px, 10vw, 118px) clamp(20px, 5vw, 64px);
}

.compact {
  margin: 0 auto 38px;
  max-width: 1180px;
}

.powerup-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.powerup-grid article {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 250px;
  padding: 24px;
}

.powerup-grid img {
  height: 78px;
  margin-bottom: 22px;
  object-fit: contain;
  width: 78px;
}

.powerup-grid h3 {
  font-size: 1.25rem;
  margin: 0;
}

.powerup-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin: 12px 0 0;
}

.rocket-lineup {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rocket-lineup figure {
  align-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(81, 230, 255, 0.2), transparent 42%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin: 0;
  min-height: 280px;
  padding: 26px 10px 18px;
}

.rocket-lineup img {
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.34));
  height: clamp(126px, 18vw, 176px);
  object-fit: contain;
}

.rocket-lineup figcaption {
  color: rgba(251, 251, 242, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  margin-top: 18px;
  text-transform: uppercase;
}

.launch {
  background: #08141a;
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-template-columns: 1fr 0.9fr;
  margin-bottom: 72px;
  padding: clamp(34px, 6vw, 64px);
}

.launch-form label {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.launch-form div {
  display: flex;
  gap: 10px;
}

.launch-form input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--ink);
  flex: 1;
  font: inherit;
  min-height: 48px;
  min-width: 0;
  padding: 0 14px;
}

.launch-form input::placeholder {
  color: rgba(251, 251, 242, 0.42);
}

.launch-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.92rem;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
}

footer a:hover {
  color: var(--ink);
}

.privacy-page {
  background:
    linear-gradient(180deg, rgba(7, 9, 17, 0.38), var(--bg) 520px),
    url("assets/biome_deep_space_back.png") center top / cover fixed;
}

.policy-shell {
  margin: 0 auto;
  max-width: 980px;
  padding: 132px clamp(20px, 5vw, 64px) 78px;
}

.policy-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(36px, 7vw, 72px);
}

.policy-hero h1 {
  font-size: clamp(3.6rem, 10vw, 7.5rem);
  max-width: 900px;
}

.policy-hero p:not(.kicker) {
  color: rgba(251, 251, 242, 0.86);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.65;
  margin: 24px 0 0;
  max-width: 760px;
}

.policy-date {
  color: var(--muted);
  font-weight: 800;
}

.policy-content {
  display: grid;
  gap: 0;
}

.policy-content article {
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 5vw, 46px) 0;
}

.policy-content h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.08;
  margin: 0 0 16px;
}

.policy-content p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
  max-width: 760px;
}

.policy-content p + p {
  margin-top: 14px;
}

.policy-content a {
  color: var(--cyan);
  font-weight: 800;
}

@media (max-width: 880px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-copy {
    align-self: end;
  }

  .hero-ship {
    left: 70%;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip div:nth-child(odd) {
    border-left: 0;
  }

  .gameplay,
  .rockets,
  .launch {
    grid-template-columns: 1fr;
  }

  .powerup-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .launch-form div {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 60px;
  }

  .hero-copy {
    padding-top: 92px;
  }

  h1 {
    font-size: clamp(4rem, 24vw, 6.6rem);
  }

  .lede {
    font-size: 1rem;
  }

  .hero-ship {
    bottom: 48%;
    left: 72%;
    width: 102px;
  }

  .asteroid-a {
    right: 4%;
    top: 17%;
  }

  .pickup-coin {
    right: 20%;
    top: 34%;
  }

  .pickup-fuel {
    display: none;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stats-strip div,
  .stats-strip div:nth-child(odd) {
    border-left: 0;
    min-height: 92px;
  }

  .powerup-grid,
  .rocket-lineup {
    grid-template-columns: 1fr;
  }

  .powerup-grid article {
    min-height: 0;
  }

  .rocket-lineup figure {
    min-height: 230px;
  }

  footer {
    flex-direction: column;
    gap: 8px;
  }
}
