:root {
  color-scheme: light;
  --ink: #132858;
  --blue: #174add;
  --sky: #e9f5ff;
  --yellow: #ffd148;
  --paper: #fff;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--sky);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
}
a {
  color: #1742b7;
  text-decoration: none;
}
a:hover {
  color: #0c2d92;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #af3900;
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: white;
  padding: 1rem;
  z-index: 3;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  max-width: 1240px;
  margin: auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 21px;
  font-weight: 700;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
nav a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 0;
}
nav a:hover,
nav a[aria-current='page'] {
  color: var(--blue);
}
main {
  max-width: 1240px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 720px;
  padding: 20px 40px 64px;
  align-items: center;
  gap: 60px;
}
.game-logo {
  width: 290px;
  margin-bottom: 30px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  letter-spacing: -0.025em;
  line-height: 1.06;
  font-weight: 700;
}
h1 {
  font-size: clamp(42px, 4.8vw, 66px);
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(32px, 3.7vw, 48px);
  margin-bottom: 20px;
}
h3 {
  font-size: 23px;
  margin-bottom: 8px;
  line-height: 1.25;
}
p,
li {
  line-height: 1.7;
}
.lead {
  font-size: 20px;
  max-width: 40ch;
}
.hero .lead {
  max-width: none;
}
.release {
  margin: 24px 0 16px;
  font-weight: 700;
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin: 28px 0 20px;
}
.store-badge {
  display: block;
}
.store-badge-apple {
  width: 162px;
}
.store-badge-apple img {
  width: 100%;
}
.store-badge-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.store-badge-google {
  width: 183px;
  height: 54px;
  position: relative;
}
.store-badge-google img {
  position: absolute;
  width: 210px;
  max-width: none;
  left: -14px;
  top: -14px;
}
.badge-status {
  font-size: 13px;
  font-weight: 700;
  color: #435371;
}
.how-link {
  font-weight: 700;
  display: inline-block;
  padding: 10px 0;
}
.how-link::after {
  content: ' →';
}
.gallery-section {
  margin: 64px 40px 0;
}
.gallery-heading {
  max-width: 650px;
  margin-bottom: 28px;
}
.gallery-heading h2 {
  font-size: 38px;
}
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.screenshot-gallery figure {
  margin: 0;
  min-width: 0;
}
.screenshot-gallery a {
  display: block;
  border-radius: 22px;
}
.screenshot-gallery img {
  width: 100%;
  border-radius: 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 14px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 0 #0c2d92;
  line-height: 1.4;
  text-align: center;
}
.button:hover {
  color: white;
  background: #113bb6;
}
.hero-art {
  margin: 0;
  justify-self: end;
  width: min(100%, 365px);
  transform: rotate(3deg);
  border: 8px solid white;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 22px 45px #174add24;
}
.hero-art img {
  width: 100%;
}
.play-section {
  background: white;
  border-radius: 48px;
  margin: 0 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.tutorial-media {
  margin: 0;
  width: 100%;
  max-width: 340px;
  justify-self: center;
}
.tutorial-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 30px #13285824;
  background: var(--ink);
}
.tutorial-media figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: #435371;
}
.play-intro {
  font-size: 18px;
  color: #435371;
}
.play-details {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 4px solid var(--yellow);
}
.play-details p {
  margin-bottom: 20px;
}
.play-details strong {
  display: block;
  font-size: 18px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.support-email {
  flex-wrap: wrap;
  gap: 4px 7px;
  font-size: clamp(16px, 2.4vw, 20px);
  max-width: 100%;
}
.support-email span:last-child {
  overflow-wrap: anywhere;
  min-width: 0;
}
.prose a {
  font-weight: 600;
  border-radius: 3px;
}
.prose a:hover,
.prose a:focus-visible {
  background: #e9f0ff;
}
.section-label {
  color: #3554a0;
  font-weight: 700;
  margin-bottom: 16px;
}
.support-strip {
  margin: 60px 24px 0;
  padding: 48px 56px;
  border-radius: 28px;
  color: white;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.support-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.support-icon {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 24px;
  border: 3px solid #ffffff66;
  box-shadow: 0 8px 20px #0c2d9240;
  transform: rotate(-5deg);
}
.support-strip h2 {
  font-size: 36px;
}
.support-strip p {
  margin-bottom: 0;
}
.button-light {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 4px 0 #c89512;
  flex-shrink: 0;
}
.button-light:hover {
  color: var(--ink);
  background: #ffe07a;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 40px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}
.footer-credit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.powered-by img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.site-footer p {
  margin: 0;
}
.site-footer nav {
  gap: 20px;
}
.legal-main {
  max-width: 880px;
  padding: 44px 40px 60px;
}
.page-heading {
  margin-bottom: 44px;
}
.page-heading h1 {
  font-size: clamp(40px, 6vw, 60px);
}
.page-heading .lead {
  max-width: 52ch;
}
.prose {
  background: white;
  padding: 40px;
  border-radius: 24px;
  overflow-wrap: anywhere;
}
.prose h2 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 36px;
  margin-bottom: 14px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin-bottom: 12px;
}
.prose p {
  margin-bottom: 18px;
}
.prose > :last-child {
  margin-bottom: 0;
}
details {
  border-bottom: 1px solid #d6e2f5;
}
summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  padding: 20px 0;
  line-height: 1.5;
}
details p {
  padding-right: 12px;
}
@media (max-width: 800px) {
  .screenshot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-header {
    padding: 20px 24px;
  }
  .hero {
    gap: 30px;
    padding: 20px 24px 48px;
    min-height: auto;
  }
  .game-logo {
    width: 200px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .lead {
    font-size: 18px;
  }
  .play-section {
    padding: 44px 32px;
    gap: 40px;
  }
  .support-strip {
    padding: 32px;
  }
}
@media (max-width: 580px) {
  .store-links {
    justify-content: center;
  }
  .gallery-section {
    margin: 40px 24px 0;
  }
  .gallery-heading h2 {
    font-size: 32px;
  }
  .screenshot-gallery {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 6px 6px 16px;
    scroll-snap-type: x proximity;
  }
  .screenshot-gallery figure {
    flex: 0 0 80%;
    min-width: 0;
    scroll-snap-align: start;
  }
  .site-header {
    gap: 12px;
    flex-direction: column;
  }
  .site-header nav {
    justify-content: center;
    gap: 18px;
    font-size: 14px;
  }
  .brand {
    font-size: 18px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 24px 48px;
  }
  .game-logo {
    margin: 0 auto 24px;
    width: 210px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-art {
    width: 245px;
    justify-self: center;
    margin-top: 20px;
    border-radius: 30px;
  }
  .play-section {
    grid-template-columns: 1fr;
    margin: 0 16px;
    padding: 36px 24px;
    border-radius: 30px;
  }
  .play-copy {
    grid-row: 1;
  }
  .tutorial-media {
    max-width: 280px;
  }
  .support-strip {
    margin: 32px 16px 0;
    padding: 30px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .support-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .support-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }
  .site-footer {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-main {
    padding: 28px 20px;
  }
  .prose {
    padding: 26px 22px;
  }
  .page-heading .button {
    overflow-wrap: anywhere;
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
