/* Text pages (how to play, books) and the crawlable intro under the game. Uses the colors in app.css. */
.page { max-width: 720px; margin: 0 auto; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); }
.page h1, .about h1 { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1.15; margin: 8px 0 12px; }
.page h2, .about h2 { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 28px 0 8px; }
.page h3, .about h3 { font-size: 16px; margin: 18px 0 4px; }
.page p, .page li, .about p, .about li { font-size: 16px; line-height: 1.6; }
.page a, .about a { color: inherit; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.page .cta, .about .cta { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; padding: 10px 18px; border-radius: 999px; text-decoration: none; border: 2px solid var(--ink); }
.page figure { margin: 16px 0; }
.page figure img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.page figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 12px 0; }
.cards > div { background: var(--surface); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
.cards h3 { margin-top: 0; }
.cards p { margin: 0; font-size: 15px; }
.about { max-width: 560px; margin: 0 auto; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); border-top: 2px solid var(--soft); }
.about details { background: var(--surface); border-radius: 12px; padding: 10px 14px; margin: 8px 0; box-shadow: var(--shadow); }
.about summary { font-weight: 700; cursor: pointer; }
.sitefoot { max-width: 720px; margin: 0 auto; padding: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.sitefoot nav { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 6px; }
.sitefoot a { color: inherit; }
.top a.navlink { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 14px; }
