/* ==========================================================================
   Informational pages (About / How it works / FAQ / Privacy / Terms /
   Contact / 404). Reuses the main menu identity; adds long-form doc layout.
   ========================================================================== */

.page {
  width: min(680px, 100%);
  text-align: left;
}

/* top nav — quiet, pixel-label links */
.page-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
  margin: 0 0 18px;
}
.page-nav a {
  font-family: var(--pixel);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-dim);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
  padding: 4px 2px;
}
.page-nav a:hover { color: #ffefa8; }
.page-nav a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.page-nav a[aria-current="page"] { color: var(--grass-bright); }

/* document body inside a stone panel */
.doc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-dim);
}
.doc h2 {
  font-family: var(--pixel);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
  margin: 22px 0 8px;
}
.doc h2:first-child { margin-top: 0; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--grass-bright); text-decoration: underline; }
.doc a:hover { color: #ffefa8; }
.doc a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.doc .updated { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); margin-top: 16px; }

/* FAQ */
.faq-item { margin-bottom: 16px; }
.faq-item h2 { margin-bottom: 4px; }
.faq-item p:last-child { margin-bottom: 0; }

/* footer links shared by every page */
.discord-footer { margin-top: 14px; }

.footer-nav {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
}
.footer-nav a {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-faint);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--ink-dim); text-decoration: underline; }
.footer-nav a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* 404 */
.code-404 {
  font-family: var(--pixel);
  font-size: 34px;
  color: var(--grass);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.7);
  margin: 4px 0 10px;
}

@media (max-width: 480px) {
  .page { padding: 0; }
  .doc { font-size: 14px; }
}