:root {
  color-scheme: dark;
  --bg: #07080d;
  --panel: #10131c;
  --panel-soft: #171b27;
  --text: #f7f8fb;
  --muted: #a7afc1;
  --red: #ff3b4f;
  --cyan: #35d4ff;
  --amber: #ffbf45;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 59, 79, 0.15), transparent 28rem),
    radial-gradient(circle at 85% 30%, rgba(53, 212, 255, 0.12), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.82);
  backdrop-filter: blur(18px);
}

.brand-mark,
.site-nav {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 0.7rem;
  min-width: 0;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-icon {
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
  border: 2px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 59, 79, 0.12), inset 0 0 16px rgba(255, 59, 79, 0.36);
}

.site-nav {
  gap: clamp(0.75rem, 3vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 4.25rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 5vw, 4rem);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  background: linear-gradient(to bottom, transparent, var(--bg));
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 12vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.lede {
  max-width: 46rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-link,
.disabled-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.hero-link {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--red);
  color: white;
  box-shadow: 0 14px 40px rgba(255, 59, 79, 0.24);
}

.hero-link:hover,
.hero-link:focus-visible {
  background: #ff5264;
}

.star-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.star-field::before {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.74) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(53, 212, 255, 0.5) 0 1px, transparent 1.4px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-position: 0 0, 4rem 3rem, center;
  background-size: 6rem 6rem, 9rem 9rem, 4rem 4rem, 4rem 4rem;
  content: "";
  opacity: 0.6;
}

.star,
.orbit,
.ship-pixel {
  position: absolute;
  display: block;
}

.star {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--amber);
  box-shadow: 0 0 24px var(--amber);
}

.star-one {
  top: 18%;
  right: 24%;
}

.star-two {
  right: 10%;
  bottom: 22%;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
}

.star-three {
  top: 68%;
  left: 13%;
  background: var(--red);
  box-shadow: 0 0 24px var(--red);
}

.star-four {
  top: 30%;
  left: 43%;
}

.orbit {
  right: clamp(-9rem, -7vw, -2rem);
  bottom: clamp(5rem, 12vw, 10rem);
  width: clamp(17rem, 36vw, 32rem);
  aspect-ratio: 1;
  border: 1px solid rgba(53, 212, 255, 0.36);
  border-radius: 50%;
  transform: rotate(-20deg) skewX(14deg);
}

.orbit-two {
  right: clamp(1rem, 9vw, 9rem);
  bottom: clamp(1rem, 5vw, 4rem);
  width: clamp(9rem, 22vw, 18rem);
  border-color: rgba(255, 59, 79, 0.38);
}

.ship-pixel {
  right: clamp(2rem, 16vw, 18rem);
  top: clamp(9rem, 24vw, 18rem);
  width: clamp(4rem, 9vw, 7rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(45deg, transparent 0 38%, var(--cyan) 38% 46%, transparent 46%),
    linear-gradient(135deg, transparent 0 35%, var(--red) 35% 47%, transparent 47%),
    var(--panel);
  box-shadow: var(--shadow);
}

.game-section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.section-heading,
.game-layout {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 2rem;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 24rem);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: stretch;
}

.game-copy,
.play-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 19, 28, 0.84);
  box-shadow: var(--shadow);
}

.game-copy {
  padding: clamp(1.25rem, 4vw, 2rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.game-copy p:last-child {
  margin-bottom: 0;
}

.package-name {
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.play-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
}

.panel-kicker {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.play-panel p {
  margin-bottom: 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.disabled-link {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--panel-soft);
  color: var(--muted);
  cursor: not-allowed;
}

.site-footer {
  padding: 2rem clamp(1rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  margin-top: 0.55rem;
}

.footer-links a,
.contact-link {
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  text-decoration: underline;
}

.policy-hero {
  position: relative;
  display: grid;
  min-height: 24rem;
  align-items: end;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.policy-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  margin-inline: auto;
}

.policy-hero h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 9vw, 6.5rem);
}

.policy-content {
  width: min(100% - 2rem, 920px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 0;
  color: var(--muted);
}

.policy-content h2,
.policy-content h3 {
  color: var(--text);
  letter-spacing: 0;
}

.policy-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
}

.policy-section {
  padding: clamp(1.35rem, 3vw, 2rem) 0;
  border-top: 1px solid var(--line);
}

.policy-section h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.policy-section ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.policy-section li::marker {
  color: var(--red);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 42rem;
  }

  .game-layout {
    grid-template-columns: 1fr;
  }

  .orbit {
    opacity: 0.55;
  }

  .ship-pixel {
    right: 1rem;
    top: auto;
    bottom: 7rem;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    font-size: 0.95rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(2.8rem, 21vw, 4.6rem);
  }

  .hero-link {
    width: 100%;
  }
}
