:root {
  --blue: #002fa7;
  --black: #111111;
  --white: #ffffff;
  --neutral: #f7f7f8;
  --line: #d8d8de;
  --muted: #5c5c66;
  --page-pad: clamp(1rem, 3vw, 3.5rem);
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--display);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-110%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 74px;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand {
  width: max-content;
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.06em;
  text-decoration: none;
}

.primary-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.primary-nav a,
.site-footer nav a {
  padding: .35rem 0;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"],
.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
}

.grid-shell {
  display: grid;
  grid-template-columns: minmax(54px, .42fr) minmax(220px, 1.1fr) minmax(0, 2.5fr);
  padding-inline: var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: calc(100vh - 74px);
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  padding-inline: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 8rem) var(--page-pad);
  border-right: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: -.055em;
  line-height: .95;
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 2rem;
  font-size: clamp(3.3rem, 7.4vw, 8.6rem);
  font-weight: 800;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 2.2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: .85rem 1.2rem;
  align-items: center;
  justify-content: center;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--blue);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--blue);
  background: var(--white);
}

.button-secondary {
  color: var(--blue);
  background: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--white);
  background: var(--blue);
}

.release-poster {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--page-pad);
  color: var(--white);
  background-color: var(--blue);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 25% 25%;
}

.release-label,
.release-game {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.release-date {
  align-self: center;
  white-space: nowrap;
  font-size: clamp(3.8rem, 7vw, 8rem);
  font-weight: 800;
  letter-spacing: -.095em;
  line-height: .78;
  transform: translateX(-.08em);
}

.section-number {
  padding-block: clamp(3rem, 7vw, 7rem);
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.08em;
  border-right: 1px solid var(--line);
}

.section-intro {
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
}

.section-intro h2,
.standards-band h2,
.document-header h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.4rem, 5vw, 6rem);
  font-weight: 800;
}

.section-intro p:last-child {
  max-width: 520px;
  color: var(--muted);
}

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

.countdown > div {
  min-height: 230px;
  padding: clamp(1rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}

.countdown > div:last-child {
  border-right: 0;
}

.countdown strong {
  color: var(--blue);
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.08em;
  line-height: .8;
}

.countdown span {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.countdown.is-released {
  grid-template-columns: 1fr;
}

.countdown.is-released::after {
  content: "The listed release date has arrived.";
  padding: 2rem;
  color: var(--blue);
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -.06em;
}

.countdown.is-released > div {
  display: none;
}

.featured-game {
  padding: clamp(2rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: .35fr 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.game-index {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.status-line {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: var(--blue);
}

.featured-game h3 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
}

.featured-game p:not(.status-line) {
  max-width: 660px;
  color: var(--muted);
}

.fact-list,
.large-facts {
  margin: 0;
}

.fact-list div,
.large-facts div {
  display: grid;
  grid-template-columns: minmax(90px, .7fr) 1.3fr;
  gap: 1rem;
  padding: .85rem 0;
  border-top: 1px solid var(--line);
}

.fact-list dt,
.large-facts dt {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fact-list dd,
.large-facts dd {
  margin: 0;
  font-weight: 700;
}

.text-link {
  width: max-content;
  align-self: end;
  color: var(--blue);
  font-size: .86rem;
  font-weight: 800;
  text-underline-offset: .22em;
}

.watchlist-table {
  align-self: stretch;
}

.watchlist-row {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1.3fr;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.watchlist-row:last-child {
  border-bottom: 0;
}

.watchlist-row span {
  color: var(--muted);
}

.watchlist-head {
  color: var(--white);
  background: var(--blue);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.watchlist-head span {
  color: var(--white);
}

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

.roadmap-grid article {
  min-height: 280px;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roadmap-grid article:nth-child(2n) {
  border-right: 0;
}

.roadmap-grid article:nth-last-child(-n+2) {
  border-bottom: 0;
}

.roadmap-state {
  display: inline-block;
  margin-bottom: 3rem;
  padding: .3rem .45rem;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 1px solid var(--blue);
}

.roadmap-state.live {
  color: var(--white);
  background: var(--blue);
}

.roadmap-grid h3,
.numbered-list h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 2.5vw, 2.7rem);
}

.roadmap-grid p,
.numbered-list p {
  color: var(--muted);
}

.standards-band {
  padding: clamp(4rem, 9vw, 10rem) var(--page-pad);
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: clamp(2rem, 8vw, 9rem);
  color: var(--white);
  background: var(--blue);
}

.standards-band .eyebrow {
  color: var(--white);
}

.standards-band > p {
  align-self: end;
  max-width: 430px;
  margin-bottom: .5rem;
  font-size: 1.1rem;
}

.site-footer {
  padding: 2.5rem var(--page-pad);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 540px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.site-footer .copyright {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.game-hero {
  min-height: 650px;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, .5fr);
  padding-inline: 0;
}

.game-hero-title {
  padding: clamp(4rem, 8vw, 9rem) var(--page-pad);
  border-right: 1px solid var(--line);
}

.game-hero h1 {
  margin-bottom: 2rem;
  color: var(--blue);
  font-size: clamp(4.5rem, 11vw, 12rem);
  font-weight: 800;
}

.game-release-block {
  padding: var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: var(--blue);
}

.game-release-block span {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.game-release-block strong {
  font-size: clamp(8rem, 17vw, 18rem);
  font-weight: 800;
  letter-spacing: -.1em;
  line-height: .7;
}

.large-facts {
  padding: clamp(2rem, 5vw, 5rem);
}

.large-facts div {
  padding: 1.2rem 0;
}

.source-box {
  padding: 2rem;
  align-self: end;
  background: var(--neutral);
  border-top: 1px solid var(--line);
}

.source-box p {
  margin-bottom: .8rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.numbered-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.numbered-list li {
  min-height: 160px;
  padding: 1.7rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.numbered-list li:last-child {
  border-bottom: 0;
}

.numbered-list li > span {
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 800;
}

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

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  padding: 1.5rem;
  color: var(--black);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-list details[open] summary {
  color: var(--blue);
}

.faq-list details p {
  max-width: 720px;
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
}

.document-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 8rem) var(--page-pad);
}

.document-header {
  max-width: 1000px;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.document-header > p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
}

.document-page section {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: clamp(2rem, 8vw, 8rem);
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.document-page section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.document-page section > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.policy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-list li {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.policy-list li:first-child {
  border-top: 0;
}

.policy-list span {
  color: var(--muted);
}

.error-page {
  min-height: 100vh;
  padding: var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-image:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 25% 25%;
}

.error-code {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: clamp(7rem, 24vw, 22rem);
  font-weight: 800;
  letter-spacing: -.1em;
  line-height: .7;
}

.error-page h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 6rem);
}

.error-page > p:not(.error-code) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  .grid-shell {
    grid-template-columns: 64px 1fr;
  }

  .section-intro {
    border-right: 0;
  }

  .countdown,
  .featured-game,
  .watchlist-table,
  .roadmap-grid,
  .large-facts,
  .source-box,
  .numbered-list,
  .faq-list {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

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

  .hero-copy,
  .game-hero-title {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .release-poster {
    min-height: 480px;
  }

  .game-release-block {
    min-height: 500px;
  }

  .featured-game {
    grid-template-columns: 64px 1fr;
  }

  .featured-game .fact-list,
  .featured-game .text-link {
    grid-column: 2;
  }

  .standards-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-block: 1rem;
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .primary-nav {
    width: 100%;
    justify-content: space-between;
    gap: .8rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .release-date {
    font-size: 18vw;
  }

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

  .countdown > div {
    min-height: 170px;
    border-bottom: 1px solid var(--line);
  }

  .countdown > div:nth-child(2n) {
    border-right: 0;
  }

  .watchlist-row,
  .watchlist-head {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

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

  .roadmap-grid article,
  .roadmap-grid article:nth-child(2n),
  .roadmap-grid article:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .roadmap-grid article:last-child {
    border-bottom: 0;
  }

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

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: .6rem;
  }

  .site-footer .copyright {
    grid-column: 1;
  }

  .document-page section,
  .policy-list li {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .numbered-list li {
    grid-template-columns: 52px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
