:root {
  color-scheme: light;
  --ink: #111317;
  --muted: #59616d;
  --line: #d8dde4;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --soft-strong: #e8eef3;
  --teal: #0c9ba8;
  --teal-dark: #08727c;
  --coral: #e95d4d;
  --lime: #91b93e;
  --violet: #6a5fd1;
  --shadow: 0 18px 48px rgba(17, 19, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 221, 228, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border: 3px solid var(--teal);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links a,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--soft);
}

.button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 520px;
  height: 72vh;
  max-height: 690px;
  align-items: center;
  overflow: hidden;
  background: #111317;
  color: #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: rgba(0, 0, 0, 0.56);
}

.icon-wall {
  position: absolute;
  inset: -32px;
  display: grid;
  grid-template-columns: repeat(8, minmax(82px, 1fr));
  gap: 18px;
  transform: rotate(-4deg) scale(1.06);
  opacity: 0.82;
}

.icon-wall img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 32px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #bff8ee;
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: 0.98;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.15rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.lead {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  overflow-wrap: break-word;
}

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

.hero-actions .secondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section {
  padding: 72px 28px;
}

.section.alt {
  background: var(--soft);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header p,
.card p,
.policy-block p,
.support-list li,
.footer p {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stat {
  padding: 26px;
  background: var(--paper);
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  display: block;
  overflow-wrap: break-word;
}

.game-grid,
.info-grid,
.policy-grid {
  display: grid;
  gap: 16px;
}

.game-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.card,
.policy-block {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(17, 19, 23, 0.06);
}

.card {
  padding: 18px;
}

.card-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.game-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
}

.game-card img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft-strong);
}

.game-card span,
.tag {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.accent-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.feature-panel {
  min-height: 340px;
  padding: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.feature-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.feature-panel .eyebrow {
  color: #bff8ee;
}

.color-bars {
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 340px;
}

.color-bars div {
  min-height: 54px;
  border-radius: 8px;
}

.color-bars div:nth-child(1) {
  background: var(--teal);
}

.color-bars div:nth-child(2) {
  background: var(--coral);
}

.color-bars div:nth-child(3) {
  background: var(--lime);
}

.color-bars div:nth-child(4) {
  background: var(--violet);
}

.launch-list {
  display: grid;
  gap: 12px;
  align-content: stretch;
}

.launch-list a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: center;
  min-height: 98px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(17, 19, 23, 0.06);
}

.launch-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft-strong);
  color: var(--teal-dark);
  font-weight: 850;
}

.launch-list strong,
.launch-list em {
  display: block;
  min-width: 0;
}

.launch-list em {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
  overflow-wrap: anywhere;
}

.subpage-hero {
  padding: 88px 28px 64px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.subpage-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: center;
}

.subpage-hero h1 {
  color: var(--ink);
}

.subpage-hero .lead {
  color: var(--muted);
}

.icon-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.icon-stack img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(17, 19, 23, 0.14);
}

.support-list {
  margin: 0;
  padding-left: 20px;
}

.support-list li + li {
  margin-top: 8px;
}

.policy-block {
  padding: 22px;
}

.policy-block.full {
  grid-column: 1 / -1;
}

.fine-print {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer {
  padding: 36px 28px;
  border-top: 1px solid var(--line);
  background: #111317;
  color: #fff;
}

.footer .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: #bff8ee;
}

@media (max-width: 980px) {
  .game-grid,
  .info-grid,
  .policy-grid,
  .accent-row,
  .subpage-hero .section-inner {
    grid-template-columns: 1fr;
  }

  .icon-wall {
    grid-template-columns: repeat(5, minmax(72px, 1fr));
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    padding: 14px 18px;
  }

  .nav-links {
    justify-content: flex-end;
  }

  .nav-links a {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 500px;
    height: 72vh;
  }

  .hero-content,
  .section-inner {
    width: min(100%, 320px);
    margin-right: auto;
    margin-left: 18px;
  }

  h1 {
    font-size: 2.08rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-content {
    overflow: hidden;
  }

  .hero-actions,
  .page-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .page-actions .button {
    flex: 0 0 auto;
  }

  .section {
    padding: 52px 18px;
  }

  .subpage-hero {
    padding: 56px 18px 44px;
  }

  .footer .section-inner,
  .site-header {
    flex-direction: column;
  }
}
