@font-face {
  font-family: "VT323";
  src: url("assets/fonts/VT323-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --sky: #0799f2;
  --sky-light: #77d8ff;
  --blue: #086edc;
  --navy: #071847;
  --navy-2: #0b245e;
  --ink: #06133a;
  --yellow: #ffc313;
  --orange: #ff7a00;
  --red: #ff3151;
  --cream: #fff7dc;
  --white: #fff;
  --shadow: 0 18px 0 rgba(5, 18, 55, 0.26);
  --pixel-border: 4px solid var(--navy);
  --container: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  color: var(--navy);
  background: var(--yellow);
  border: 3px solid var(--navy);
  font-weight: 800;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  width: var(--container);
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand {
  position: relative;
  z-index: 22;
  width: 210px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(7, 24, 71, 0.45);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--yellow);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 17px;
  color: var(--navy) !important;
  background: var(--yellow);
  border: 3px solid var(--navy);
  border-radius: 7px;
  box-shadow: 0 5px 0 var(--navy);
  text-shadow: none !important;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--navy);
}

.menu-toggle {
  position: relative;
  z-index: 22;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-toggle__lines {
  display: grid;
  gap: 5px;
}

.menu-toggle__lines i {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(480px, 1.3fr);
  align-items: center;
  gap: clamp(26px, 5vw, 84px);
  padding: 150px max(20px, calc((100vw - 1180px) / 2)) 94px;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 20%, rgba(118, 230, 255, 0.8), transparent 25%),
    linear-gradient(142deg, #0777e6 0%, var(--sky) 55%, #39c4f4 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 122px;
  opacity: 0.16;
  background:
    linear-gradient(90deg, transparent 0 3%, var(--navy) 3% 5%, transparent 5% 8%, var(--navy) 8% 10%, transparent 10% 15%, var(--navy) 15% 18%, transparent 18% 22%, var(--navy) 22% 25%, transparent 25% 31%, var(--navy) 31% 34%, transparent 34% 38%, var(--navy) 38% 43%, transparent 43% 49%, var(--navy) 49% 52%, transparent 52% 59%, var(--navy) 59% 63%, transparent 63% 68%, var(--navy) 68% 73%, transparent 73% 79%, var(--navy) 79% 84%, transparent 84% 90%, var(--navy) 90% 94%, transparent 94%);
  clip-path: polygon(0 72%, 3% 72%, 3% 24%, 5% 24%, 5% 62%, 8% 62%, 8% 36%, 10% 36%, 10% 68%, 15% 68%, 15% 10%, 18% 10%, 18% 54%, 22% 54%, 22% 28%, 25% 28%, 25% 70%, 31% 70%, 31% 42%, 34% 42%, 34% 65%, 38% 65%, 38% 20%, 43% 20%, 43% 61%, 49% 61%, 49% 32%, 52% 32%, 52% 69%, 59% 69%, 59% 18%, 63% 18%, 63% 56%, 68% 56%, 68% 40%, 73% 40%, 73% 70%, 79% 70%, 79% 26%, 84% 26%, 84% 58%, 90% 58%, 90% 15%, 94% 15%, 94% 72%, 100% 72%, 100% 100%, 0 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 15px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 26px, #214587 26px 34px);
}

.hero__glow {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -150px;
  top: -200px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.04), 0 0 0 140px rgba(255, 255, 255, 0.025);
}

.pixel-cloud {
  position: absolute;
  width: 110px;
  height: 18px;
  opacity: 0.76;
  background: var(--cream);
  box-shadow: 20px -18px 0 var(--cream), 42px -30px 0 var(--cream), 64px -18px 0 var(--cream), 92px 0 0 var(--cream);
}

.pixel-cloud--one {
  top: 175px;
  left: 39%;
  transform: scale(0.58);
}

.pixel-cloud--two {
  right: 6%;
  bottom: 148px;
  transform: scale(0.4);
  opacity: 0.42;
}

.hero__content,
.hero__visual-wrap {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 550px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 5px;
  margin: 0 12px 2px 0;
  background: var(--yellow);
  box-shadow: 6px 5px 0 var(--orange);
}

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

.hero h1,
.section h2 {
  margin: 0;
  font-family: "VT323", monospace;
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 570px;
  font-size: clamp(4.4rem, 7vw, 7.8rem);
  text-shadow: 6px 7px 0 var(--navy);
}

.hero h1 span {
  color: var(--yellow);
}

.hero__lead {
  max-width: 540px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  font-weight: 650;
  line-height: 1.65;
  text-shadow: 0 2px 0 rgba(7, 24, 71, 0.25);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.app-store-link {
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 9px;
  transition: transform 160ms ease, filter 160ms ease;
}

.app-store-link:hover,
.app-store-link:focus-visible {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 9px 10px rgba(7, 24, 71, 0.28));
  outline: none;
}

.app-store-link img {
  width: auto;
  height: 60px;
}

.hero__visual-wrap {
  perspective: 1000px;
}

.hero__visual {
  --rx: 0deg;
  --ry: 0deg;
  width: min(760px, 53vw);
  overflow: hidden;
  transform: rotate(-1.5deg) rotateX(var(--rx)) rotateY(var(--ry));
  background: var(--navy);
  border: 5px solid var(--navy);
  border-radius: 14px;
  box-shadow: 15px 18px 0 rgba(5, 18, 55, 0.36), 0 35px 80px rgba(7, 24, 71, 0.26);
  transition: transform 120ms ease-out;
}

.hero__visual > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2688 / 1242;
  object-fit: cover;
}

.game-frame__top,
.game-frame__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 13px;
  color: var(--white);
  font-family: "VT323", monospace;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.game-frame__bottom {
  color: #9ed5ff;
}

.frame-lights {
  display: flex;
  gap: 6px;
}

.frame-lights i {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.frame-lights i:nth-child(2) {
  background: var(--yellow);
}

.frame-lights i:nth-child(3) {
  background: #37e38b;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 37px;
  left: max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.scroll-cue i::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 7px auto;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

.ticker {
  overflow: hidden;
  padding: 15px 0 13px;
  color: var(--navy);
  background: var(--yellow);
  border-top: 4px solid var(--navy);
  border-bottom: 4px solid var(--navy);
}

.ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  padding-left: 28px;
  font-family: "VT323", monospace;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: 0.12em;
  animation: ticker 22s linear infinite;
}

.ticker__track i {
  width: 10px;
  height: 10px;
  background: var(--red);
  box-shadow: 4px 4px 0 var(--navy);
  transform: rotate(45deg);
}

.section {
  padding: 120px max(20px, calc((100vw - 1180px) / 2));
}

.section-heading h2,
.how h2,
.gallery h2,
.download h2 {
  font-size: clamp(4.2rem, 7vw, 7.2rem);
}

.section-heading h2 span {
  color: var(--blue);
}

.game-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
  background:
    linear-gradient(rgba(7, 24, 71, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 24, 71, 0.04) 1px, transparent 1px),
    var(--cream);
  background-size: 32px 32px;
}

.section-heading > p:last-child {
  max-width: 610px;
  margin: 34px 0 0;
  color: #405075;
  font-size: 1.14rem;
  line-height: 1.8;
}

.game-intro__art {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.app-icon-card {
  position: relative;
  width: min(360px, 72vw);
  overflow: hidden;
  transform: rotate(3deg);
  border: 6px solid var(--navy);
  border-radius: 24%;
  box-shadow: 17px 19px 0 var(--yellow), 27px 31px 0 var(--navy);
}

.app-icon-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, 0.22) 47%, transparent 55%);
  transform: translateX(-110%);
  animation: shine 5s ease-in-out infinite 1.5s;
}

.pixel-note {
  position: absolute;
  padding: 8px 13px 6px;
  color: var(--white);
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 5px 5px 0 var(--navy);
  font-family: "VT323", monospace;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.pixel-note--top {
  top: 20px;
  right: 2%;
  transform: rotate(4deg);
}

.pixel-note--bottom {
  bottom: 10px;
  left: -2%;
  color: var(--navy);
  background: var(--yellow);
  border-color: var(--navy);
  transform: rotate(-3deg);
}

.how {
  color: var(--white);
  background: var(--navy);
}

.how__header {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 64px;
}

.how .eyebrow--dark {
  color: var(--sky-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  min-height: 335px;
  padding: 34px;
  color: var(--navy);
  background: var(--white);
  border: 4px solid #020d2e;
  box-shadow: 10px 11px 0 #020d2e;
}

.step--accent {
  background: var(--yellow);
}

.step__number {
  display: block;
  color: var(--blue);
  font-family: "VT323", monospace;
  font-size: 1.5rem;
}

.step__icon {
  width: 66px;
  height: 66px;
  margin: 30px 0 26px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border: 4px solid var(--navy);
  box-shadow: 6px 6px 0 var(--navy);
  font-family: "VT323", monospace;
  font-size: 2.7rem;
  line-height: 1;
}

.step--accent .step__icon {
  background: var(--red);
}

.step h3 {
  margin: 0 0 10px;
  font-family: "VT323", monospace;
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.step p {
  margin: 0;
  color: #405075;
  line-height: 1.7;
}

.challenge {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(70px, 9vw, 140px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(17, 120, 240, 0.42), transparent 42%),
    var(--navy-2);
}

.challenge h2 {
  font-size: clamp(4.6rem, 7vw, 7.6rem);
}

.challenge h2 span {
  color: var(--yellow);
}

.challenge__copy > p:not(.eyebrow) {
  margin: 32px 0;
  color: #bfd5ff;
  font-size: 1.08rem;
  line-height: 1.8;
}

.challenge__features {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.challenge__features li {
  position: relative;
  padding-left: 25px;
  font-weight: 800;
}

.challenge__features li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--red);
}

.challenge__visual {
  min-height: 540px;
  display: grid;
  place-items: center;
}

.screenshot-stack {
  position: relative;
  width: min(670px, 52vw);
  aspect-ratio: 1.52;
}

.screenshot-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  border: 5px solid var(--navy);
  box-shadow: 15px 18px 0 rgba(0, 7, 27, 0.45);
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-card--back {
  inset: 2% 0 23% 13%;
  transform: rotate(5deg);
  opacity: 0.66;
}

.screenshot-card--front {
  inset: 22% 11% 0 0;
  transform: rotate(-3deg);
}

.screenshot-card--front figcaption {
  position: absolute;
  right: 18px;
  bottom: 17px;
  padding: 8px 13px 6px;
  color: var(--navy);
  background: var(--yellow);
  border: 3px solid var(--navy);
  font-family: "VT323", monospace;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.screenshot-card--front figcaption span {
  color: var(--red);
}

.gallery {
  overflow: hidden;
  background: var(--cream);
}

.gallery__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.gallery__controls {
  display: flex;
  gap: 12px;
}

.gallery__controls button {
  width: 58px;
  height: 54px;
  color: var(--navy);
  background: var(--yellow);
  border: 4px solid var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.gallery__controls button:hover,
.gallery__controls button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--navy);
}

.gallery__viewport {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 5px 25px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery__viewport::-webkit-scrollbar {
  display: none;
}

.gallery__slide {
  flex: 0 0 min(880px, 78vw);
  margin: 0;
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--white);
  border: 5px solid var(--navy);
  box-shadow: 11px 12px 0 var(--navy);
}

.gallery__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 2688 / 1242;
  object-fit: cover;
}

.gallery__slide figcaption {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px 13px;
  font-family: "VT323", monospace;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery__slide figcaption span {
  color: var(--blue);
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 28px;
}

.gallery__dots button {
  width: 13px;
  height: 13px;
  padding: 0;
  background: transparent;
  border: 3px solid var(--navy);
  cursor: pointer;
}

.gallery__dots button.is-active {
  background: var(--red);
  box-shadow: 3px 3px 0 var(--navy);
}

.download {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  background: var(--yellow);
  border-top: 5px solid var(--navy);
  border-bottom: 5px solid var(--navy);
}

.download::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(var(--navy) 2px, transparent 2px);
  background-size: 22px 22px;
}

.download__burst {
  position: absolute;
  left: -130px;
  width: 620px;
  height: 620px;
  background: var(--white);
  clip-path: polygon(50% 0%, 57% 31%, 75% 7%, 72% 37%, 100% 24%, 78% 47%, 100% 57%, 70% 59%, 84% 91%, 59% 69%, 51% 100%, 43% 69%, 17% 93%, 31% 60%, 0 58%, 22% 47%, 0 25%, 30% 37%, 25% 7%, 43% 31%);
}

.download__icon,
.download__copy {
  position: relative;
  z-index: 2;
}

.download__icon {
  width: min(350px, 70vw);
  justify-self: center;
  transform: rotate(-5deg);
  border: 6px solid var(--navy);
  border-radius: 24%;
  box-shadow: 14px 16px 0 var(--red), 24px 28px 0 var(--navy);
}

.download__copy {
  max-width: 720px;
}

.download__copy p:not(.eyebrow) {
  margin: 24px 0 28px;
  color: #4f4012;
  font-size: 1.18rem;
  font-weight: 700;
}

.app-store-link--large img {
  height: 72px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 180px;
  padding: 35px max(20px, calc((100vw - 1180px) / 2));
  color: #abc6ff;
  background: #020d2e;
  font-size: 0.88rem;
}

.site-footer img {
  width: 118px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer a {
  justify-self: end;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes shine {
  0%, 62% { transform: translateX(-110%); }
  80%, 100% { transform: translateX(110%); }
}

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

  .brand {
    width: 168px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 30px;
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
    background: var(--navy);
    transition: transform 250ms ease, opacity 250ms ease;
  }

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

  .site-nav a {
    font-family: "VT323", monospace;
    font-size: 2.3rem;
    font-weight: 400;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 140px;
    padding-bottom: 100px;
  }

  .hero__content {
    max-width: 700px;
  }

  .hero__visual-wrap {
    justify-self: center;
  }

  .hero__visual {
    width: min(820px, 90vw);
  }

  .pixel-cloud--one {
    left: auto;
    right: 12%;
  }

  .game-intro,
  .challenge,
  .download {
    grid-template-columns: 1fr;
  }

  .game-intro__art {
    min-height: 430px;
  }

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

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

  .step {
    min-height: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "num icon" "title title" "copy copy";
    align-items: start;
  }

  .step__number { grid-area: num; }
  .step__icon { grid-area: icon; justify-self: end; margin: 0; }
  .step h3 { grid-area: title; margin-top: 30px; }
  .step p { grid-area: copy; }

  .challenge__visual {
    min-height: 470px;
  }

  .screenshot-stack {
    width: min(740px, 82vw);
  }

  .download {
    text-align: center;
  }

  .download__icon {
    width: min(290px, 66vw);
  }

  .download__copy {
    margin-inline: auto;
  }

  .download .eyebrow::before {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100vw - 28px);
  }

  .section {
    padding: 84px 20px;
  }

  .hero {
    padding-inline: 20px;
  }

  .brand { width: 150px; }

  .menu-toggle__label {
    display: none;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 21vw, 6.3rem);
    text-shadow: 4px 5px 0 var(--navy);
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 1rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__visual {
    width: calc(100vw - 30px);
    border-width: 4px;
    box-shadow: 8px 10px 0 rgba(5, 18, 55, 0.38);
  }

  .game-frame__top,
  .game-frame__bottom {
    font-size: 0.78rem;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading h2,
  .how h2,
  .gallery h2,
  .download h2,
  .challenge h2 {
    font-size: clamp(3.8rem, 18vw, 5.6rem);
  }

  .game-intro {
    gap: 50px;
  }

  .game-intro__art {
    min-height: 350px;
  }

  .app-icon-card {
    width: 235px;
    border-width: 5px;
    box-shadow: 10px 12px 0 var(--yellow), 17px 20px 0 var(--navy);
  }

  .pixel-note {
    font-size: 1.05rem;
  }

  .pixel-note--top {
    right: -3%;
  }

  .pixel-note--bottom {
    left: -3%;
  }

  .how__header {
    margin-bottom: 40px;
  }

  .step {
    padding: 26px;
  }

  .challenge {
    gap: 42px;
  }

  .challenge__visual {
    min-height: 300px;
  }

  .screenshot-stack {
    width: 92vw;
  }

  .gallery__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery__controls {
    align-self: flex-end;
  }

  .gallery__slide {
    flex-basis: calc(100vw - 50px);
    border-width: 4px;
    box-shadow: 7px 8px 0 var(--navy);
  }

  .gallery__slide figcaption {
    padding: 13px 15px 11px;
    font-size: 1.25rem;
  }

  .download {
    min-height: 720px;
    gap: 60px;
  }

  .download__burst {
    top: -60px;
    left: 50%;
    width: 440px;
    height: 440px;
    transform: translateX(-50%);
  }

  .download__copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .app-store-link--large img {
    height: 60px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer a {
    justify-self: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
