/* The guide pages for each game (public/pages/*.html). Plain pages with no scripts, in the
   site's look: cream paper, black ink, coral and yellow, hard ink shadows. */
:root {
  --bg: #F7EDD8; --ink: #15120F; --coral: #E8503E; --coral-ink: #A93421; --yellow: #F5C043;
  --surface: #FCF6E9; --paper: #FFFDF6; --muted: #5E554B;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brush: "Permanent Marker", "Barlow Condensed", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --hard: 0.3125rem 0.3125rem 0 var(--ink);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 1rem 1.5rem; padding: 0.625rem max(1rem, calc((100% - 68rem) / 2)); background: var(--ink); color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: 0.04em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.brand svg { display: block; width: 1.75rem; height: 1.75rem; }
.top nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.125rem; margin-left: auto; font-family: var(--font-serif); font-size: 0.9375rem; font-weight: 600; }
.top nav a { color: #fff; text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.age { flex: none; padding: 0 0.5rem; border: 2px solid #fff; border-radius: 999px; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 800; }

.page { width: 100%; max-width: 68rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 2.5rem; padding: 1rem 0 2rem; }
.hero-art { width: 11rem; border: 3px solid var(--ink); border-radius: 0.5rem; background: var(--yellow); box-shadow: var(--hard); transform: rotate(3deg); }
.eyebrow { display: inline-block; padding: 0.125rem 0.625rem; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transform: rotate(-2deg); }
h1 { margin: 0.75rem 0 0.75rem; font-family: var(--font-brush); font-size: clamp(2.25rem, 7vw, 3.75rem); font-weight: 400; line-height: 1.02; text-transform: uppercase; }
h2 { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; }
.lead { max-width: 40rem; margin: 0 0 1.25rem; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.go { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3.25rem; padding: 0.5rem 1.375rem; background: var(--coral); border: 3px solid var(--ink); border-radius: 0.625rem; box-shadow: var(--hard); color: #fff; font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; letter-spacing: 0.04em; text-decoration: none; text-transform: uppercase; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.go:hover { transform: translate(-0.0625rem, -0.125rem); box-shadow: 0.4375rem 0.4375rem 0 var(--ink); }
.go:active { transform: none; box-shadow: none; }
.small { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.9375rem; }

.card { margin: 0 0 1.5rem; padding: 1.375rem 1.5rem; background: var(--surface); border: 2px solid var(--ink); border-radius: 0.75rem; box-shadow: var(--hard); }
.card p { margin: 0 0 0.75rem; }
.card p:last-child { margin-bottom: 0; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 0.875rem; }
.steps li { position: relative; padding-left: 3rem; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -0.125rem; padding: 0 0.4375rem; background: var(--coral); border-radius: 42% 58% 55% 45% / 60% 45% 55% 40%; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; font-weight: 800; transform: rotate(-4deg); }
.lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 0.75rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.lines li { padding: 0.75rem 1rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 0.5rem; font-family: var(--font-serif); font-weight: 600; line-height: 1.3; }
.lines .heat { display: inline-block; margin-right: 0.375rem; padding: 0 0.375rem; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 0.25rem; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 0.1em; }
.lines .heat.dirty { background: var(--coral); color: #fff; }
.faq dt { margin: 1rem 0 0.25rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 2rem 0 1.5rem; padding: 1.25rem 1.5rem; background: var(--ink); color: #fff; border-radius: 0.5rem; }
.cta p { margin: 0; font-family: var(--font-brush); font-size: 1.625rem; line-height: 1.1; text-transform: uppercase; }
.more { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-weight: 600; }
.more span { color: var(--muted); }
.more a { text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.foot { max-width: 68rem; margin: 0 auto; padding: 1.25rem 1rem 2.5rem; border-top: 2px solid var(--ink); color: var(--muted); font-size: 0.875rem; }
.foot p { margin: 0 0 0.375rem; }

@media (max-width: 760px) {
  .top nav { display: none; }
  .age { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
  .card { padding: 1.125rem 1rem; }
  .go { width: 100%; justify-content: center; font-size: 1.125rem; letter-spacing: 0.02em; text-align: center; }
  .lead { font-size: 1.125rem; }
}
