/* A game's own pages: its page, privacy policy, terms of use and support. Laid on home.css, whose
   tokens, bar and buttons they share. */

.page { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.page-main { padding: clamp(32px, 6vw, 88px) var(--margin) var(--section); display: grid; gap: clamp(48px, 7vw, 104px); align-content: start; }

.crumbs { display: flex; gap: 8px; font-size: var(--step-small); color: var(--soft); }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------------------------------------------------------------- The game's page */

.game-top { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(12px, 1.6vw, 24px); align-items: stretch; }
.game-top-text { display: grid; gap: 32px; align-content: center; }
.game-top h1 { font-size: clamp(3rem, 7.4vw, 7.5rem); line-height: 0.88; letter-spacing: -0.045em; }
.game-top .lead { max-width: 26ch; }

.stores { display: flex; flex-wrap: wrap; gap: 6px; }
.store { display: grid; align-content: center; min-height: 60px; padding: 0 22px; background: var(--tone); line-height: 1.2; }
.store small { color: var(--soft); font-size: var(--step-small); }
.store b { font-weight: 500; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.feature { display: grid; gap: 14px; align-content: start; }
.feature h2 { font-size: var(--step-head); }
.feature p { color: var(--soft); max-width: 34ch; }

.help { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.help p { font-size: var(--step-lead); line-height: 1.25; max-width: 24ch; }

/* ---------------------------------------------------------------- Documents */

.doc { max-width: 44rem; }
.doc h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: 0.95; }
.doc .updated { color: var(--soft); margin: 16px 0 40px; }
.doc h2 { font-size: 1.375rem; margin: 2.2em 0 0.7em; }
.doc h3 { font-family: var(--font-text); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: var(--step-body); line-height: 1.4; margin: 1.6em 0 0.35em; }
.doc p, .doc ul { margin: 0 0 1em; }
.doc ul { list-style: square; padding-left: 1.2em; }
.doc li + li { margin-top: 0.45em; }
.doc li::marker { color: var(--accent); }
.doc a { text-decoration-color: var(--accent); }
.doc strong { font-weight: 500; }
.summary { background: var(--card); padding: clamp(20px, 3vw, 32px); margin: 0 0 8px; }
.summary h2 { margin-top: 0; }
.summary ul { margin: 0; }

/* ---------------------------------------------------------------- The foot */

.page-foot { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; padding: var(--margin); font-size: var(--step-small); color: var(--soft); }
.page-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.page-foot a { color: var(--ink); text-decoration: none; }
.page-foot a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .game-top { grid-template-columns: 1fr; }
  .game-top .game-art { order: -1; min-height: 0; }
  .game-top .game-art img { width: min(56%, 280px); }
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .stores .store { flex: 1 1 140px; }
  .help .button { width: 100%; }
}
