/* Long-form SEO pages (question lists, game rules, topic archive).
   Loaded after seo.css; same tokens: neutral base + one accent, no gradients. */

.wrap.narrow { max-width: 760px; }

.top-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink);
}

.top-go svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main.article { flex: 1; padding: 24px 0 24px; }

main.article h1 { text-align: center; margin-bottom: 20px; }

main.article p.lead { text-align: center; margin-bottom: 32px; }

ul.toc {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 0;
  margin: 0 0 40px;
  font-size: 15px;
}

section.block {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px 28px 20px;
  margin-bottom: 16px;
  scroll-margin-top: 16px;
}

section.block h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

p.note {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin: 0 0 12px;
}

ol.items, ol.steps {
  margin: 0;
  padding-left: 30px;
  font-size: 17px;
  line-height: 1.47;
}

ol.items li, ol.steps li { padding: 7px 0 7px 4px; }

ol.items li + li, ol.steps li + li { border-top: 1px solid var(--surface-alt); }

ol.items li::marker, ol.steps li::marker {
  color: var(--ink-secondary);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

ol.items li.today { font-weight: 600; }
ol.items li.today::marker { color: var(--accent); }

p.today-topic {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 12px;
}

section.end-cta { padding: 56px 0 0; text-align: center; }

section.end-cta h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}

section.end-cta .cta-btn { margin-bottom: 24px; }

nav.related { padding: 0 0 48px; }

nav.related h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  text-align: center;
}

nav.related ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

@media (max-width: 480px) {
  section.block { padding: 22px 18px 14px; border-radius: 18px; }
  section.block h2 { font-size: 21px; }
  ol.items, ol.steps { font-size: 16px; padding-left: 26px; }
  p.today-topic { font-size: 23px; }
  section.end-cta h2 { font-size: 23px; }
}
