:root {
  --background: #ffffff;
  --surface: #f5f7fa;
  --text: #182230;
  --muted: #5d6875;
  --border: #dce2e8;
  --accent: #075985;
  --accent-dark: #0c4a6e;
  --content-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-dark);
}

.container {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.brand {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.hero {
  padding-block: 96px 72px;
}

.hero h1,
.page-content h1 {
  max-width: 760px;
  margin: 8px 0 20px;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero-copy,
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.2rem;
}

.store-links {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.app-store-badge {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
}

.game-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0;
}

.game-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.game-icon {
  width: 88px;
  height: 88px;
  border-radius: 20%;
  object-fit: cover;
  flex-shrink: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding-block: 40px 96px;
}

.section h2,
.content-section h2 {
  margin-top: 0;
  font-size: 1.65rem;
}

.game-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 24px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.game-card h3 {
  margin: 5px 0 10px;
  font-size: 2rem;
}

.game-card p {
  max-width: 700px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.page-content {
  min-height: 70vh;
  padding-block: 80px 96px;
}

.content-section {
  max-width: 760px;
  margin-top: 56px;
}

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

.legal-content p,
.content-section p {
  color: var(--muted);
}

.text-link {
  font-weight: 650;
  text-underline-offset: 3px;
}

.details-list {
  margin: 0;
}

.details-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
}

.details-list dt {
  font-weight: 700;
}

.details-list dd {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-content p {
  margin: 0;
}

@media (max-width: 700px) {
  .hero {
    padding-block: 64px 48px;
  }

  .game-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px;
  }

  .button {
    justify-self: start;
  }

  .page-content {
    padding-block: 56px 72px;
  }

  .details-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-content {
    flex-direction: column;
    gap: 6px;
  }
}
