:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5e6877;
  --navy: #101828;
  --navy-soft: #1b2940;
  --paper: #fffdf5;
  --white: #ffffff;
  --line: #dfe4e8;
  --honey: #f6bd3c;
  --honey-dark: #9a6500;
  --leaf: #2f7351;
  --coral: #df6570;
  --sky: #4db6dc;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--navy);
  color: var(--white);
}

.site-header .shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.brand-tile {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
}

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

.site-nav a {
  color: #d7dee8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--honey);
}

.brand-hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.brand-hero .shell {
  padding-block: 80px 112px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--honey);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 68px;
  letter-spacing: 0;
}

.brand-hero p {
  max-width: 650px;
  margin: 0;
  color: #cbd5e1;
  font-size: 21px;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--honey);
  color: #2f2204;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: #ffd266;
}

.button-secondary {
  border-color: #738096;
  background: transparent;
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--white);
  background: transparent;
}

.project-band {
  padding-block: 78px;
  background: var(--white);
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 56px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-copy h2,
.page-intro h1,
.legal-copy h1 {
  margin-bottom: 18px;
  font-size: 42px;
}

.project-copy p,
.page-intro p {
  color: var(--muted);
  font-size: 18px;
}

.project-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 32, 51, 0.16);
}

.project-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.site-footer {
  padding-block: 38px;
  background: var(--navy);
  color: #cbd5e1;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-copy {
  margin: 8px 0 0;
  color: #97a4b5;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  font-size: 14px;
}

.game-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #8bd7f2;
}

.game-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.game-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 28px 32px;
  background: rgba(16, 24, 40, 0.82);
  color: var(--white);
}

.game-hero-copy h1 {
  margin-bottom: 10px;
  font-size: 58px;
}

.game-hero-copy p {
  max-width: 720px;
  margin: 0;
  color: #edf2f7;
  font-size: 19px;
}

.status-line {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding-inline: 10px;
  border: 1px solid var(--honey);
  border-radius: 999px;
  color: var(--honey);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-band {
  padding-block: 72px;
}

.feature-band:nth-of-type(even) {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.feature {
  padding-top: 16px;
  border-top: 4px solid var(--honey);
}

.feature:nth-child(2) {
  border-color: var(--leaf);
}

.feature:nth-child(3) {
  border-color: var(--coral);
}

.feature h2 {
  margin-bottom: 10px;
  font-size: 23px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.screenshots-band {
  padding-block: 72px 88px;
  background: #edf6e9;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: 36px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.screenshot {
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbd8c5;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.1);
}

.screenshot img {
  width: 100%;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
}

.screenshot figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.page-main {
  min-height: calc(100vh - 72px);
  padding-block: 68px 88px;
}

.page-intro {
  max-width: 780px;
  margin-bottom: 48px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin-bottom: 58px;
  padding: 28px;
  border: 1px solid #d6dccf;
  border-left: 6px solid var(--honey);
  border-radius: 8px;
  background: var(--white);
}

.contact-panel h2 {
  margin-bottom: 8px;
  font-size: 25px;
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.support-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 68px;
}

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

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

.faq-list summary {
  padding: 20px 36px 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
}

.faq-list details p {
  margin: -6px 0 22px;
  color: var(--muted);
}

.help-aside {
  padding: 24px;
  border-radius: 8px;
  background: var(--navy-soft);
  color: var(--white);
}

.help-aside h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.help-aside p,
.help-aside li {
  color: #d7dee8;
}

.help-aside ul {
  margin: 0;
  padding-left: 20px;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy .effective {
  margin: -8px 0 34px;
  color: var(--muted);
  font-weight: 700;
}

.legal-copy h2 {
  margin: 38px 0 10px;
  font-size: 23px;
}

.legal-copy p,
.legal-copy li {
  color: #465264;
}

.legal-copy a {
  color: #1f6546;
  font-weight: 700;
}

.not-found {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 12px;
}

.not-found p {
  color: var(--muted);
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header .shell {
    min-height: 64px;
  }

  .wordmark > span:last-child {
    display: none;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 13px;
  }

  h1 {
    font-size: 43px;
  }

  .brand-hero {
    min-height: 70vh;
  }

  .brand-hero .shell {
    padding-block: 64px 86px;
  }

  .brand-hero p {
    font-size: 18px;
  }

  .project-layout,
  .support-sections {
    grid-template-columns: 1fr;
  }

  .project-layout {
    gap: 34px;
  }

  .project-copy h2,
  .page-intro h1,
  .legal-copy h1 {
    font-size: 36px;
  }

  .game-hero {
    min-height: 510px;
  }

  .game-hero-copy h1 {
    font-size: 43px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .screenshot-grid {
    grid-template-columns: repeat(3, 76%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 20px;
  }

  .screenshot {
    scroll-snap-align: start;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 430px) {
  .site-nav a:first-child {
    display: none;
  }

  .game-hero {
    min-height: 460px;
  }

  .game-hero > img {
    object-position: 52% center;
  }

  .page-main {
    padding-block: 48px 68px;
  }

  .contact-panel {
    padding: 22px;
  }
}

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