:root {
  color-scheme: light;
  --accent: #f9520b;
  --accent-dark: #c94108;
  --ink: #303030;
  --muted: #646464;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f7f7f4;
  --teal: #0f8d8a;
  --blue: #1b5fa7;
  --violet: #6945a8;
  --gold: #d79b21;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
}

.site-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 28px 20px 18px;
}

.brand {
  display: inline-flex;
  line-height: 0;
}

.brand:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 8px;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.site-main {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 28px 44px;
}

.intro {
  margin: 0 auto 24px;
  max-width: 820px;
  text-align: center;
}

h1,
h2 {
  color: var(--accent);
  font-family: Ubuntu, Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.16;
  margin: 0;
  text-transform: capitalize;
}

h3 {
  font-family: Ubuntu, Arial, Helvetica, sans-serif;
  font-weight: 400;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  color: #000000;
  font-size: 2.4rem;
}

p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

.intro p {
  color: var(--muted);
  margin-top: 10px;
}

.games {
  display: grid;
  gap: 28px;
}

.game {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.game:last-child {
  border-bottom: 0;
}

.feature {
  aspect-ratio: 1024 / 500;
  background: var(--soft);
  border-radius: 30px;
  box-shadow: 0 12px 28px rgba(23, 22, 19, 0.08);
  object-fit: cover;
  width: 100%;
}

.game-heading {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(96px, 25%) 1fr;
  margin: 22px 0 14px;
}

.game-icon {
  aspect-ratio: 1;
  border-radius: 15px;
  box-shadow: 0 10px 22px rgba(23, 22, 19, 0.1);
  justify-self: center;
  max-width: 170px;
  width: 100%;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.store-link {
  align-items: center;
  background: var(--accent);
  border-radius: 3px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
}

.store-link.is-disabled {
  background: #8f8f8f;
  cursor: default;
}

.game-copy {
  display: grid;
  gap: 8px;
  margin: 0 20px 0 calc(25% + 24px);
}

.game-copy p {
  color: var(--ink);
}

.release-links {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 18px 20px 0 calc(25% + 24px);
  padding: 14px;
}

.release-links h3 {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 4px 0 0;
}

.release-links a {
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-page {
  max-width: 840px;
}

.legal-page h1 {
  margin-bottom: 8px;
  text-align: left;
}

.legal-page h2 {
  color: #000000;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.legal-page section {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.legal-page section:last-child {
  border-bottom: 0;
}

.legal-page p + p {
  margin-top: 10px;
}

.updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  align-items: center;
  border-top: 1px solid #545454;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  padding: 26px 20px 34px;
  text-align: center;
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 20px;
  }

  .site-nav {
    width: 100%;
  }

  .site-main {
    padding: 0 16px 34px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .feature {
    border-radius: 20px;
  }

  .game-heading {
    gap: 14px;
    grid-template-columns: minmax(80px, 20%) 1fr;
    margin-top: 18px;
  }

  .game-icon {
    border-radius: 12px;
    max-width: 96px;
  }

  .stores {
    gap: 8px;
  }

  .store-link {
    font-size: 0.84rem;
    min-height: 38px;
    padding: 9px 12px;
  }

  .game-copy {
    margin: 0;
  }

  .release-links {
    margin: 16px 0 0;
  }
}

@media (max-width: 470px) {
  .game-heading {
    align-items: start;
    grid-template-columns: 80px 1fr;
  }

  .stores {
    flex-direction: column;
    max-width: 260px;
  }

  .store-link {
    width: 100%;
  }
}
