/* Shared styles for waifumaker.io's STATIC PAGES — the legal pair (privacy.html / tos.html) and the content pages
   beside them (how-to-play.html, amy.html, bim.html, press.html). ⚠️ ONE SHEET, because these pages are hand-written
   HTML in `public/` with no build step: a second stylesheet is how two of them start to drift. ⚠️ Nothing here is an
   effect — no blur, no shadow, no animation (the house rule); it is type, spacing and two flat tints. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a2e;
  background: #faf8ff;
  line-height: 1.6;
}
.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ece7ff;
  z-index: 10;
}
.brand {
  font-weight: 800;
  color: #7c5cff;
  text-decoration: none;
  font-size: 17px;
}
.topbar nav a {
  color: #4a4a6a;
  text-decoration: none;
  margin-left: 16px;
  font-size: 14px;
  font-weight: 600;
}
.topbar nav a:hover { color: #7c5cff; }
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}
.doc h1 {
  font-size: 30px;
  color: #7c5cff;
  margin: 8px 0 4px;
}
.doc .meta {
  color: #555;
  font-size: 14px;
  margin-bottom: 28px;
}
.doc h2 {
  font-size: 20px;
  color: #1a1a2e;
  margin-top: 32px;
  border-bottom: 1px solid #ece7ff;
  padding-bottom: 6px;
}
.doc h3 { font-size: 16px; margin-top: 20px; }
.doc p, .doc li { font-size: 15px; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 14px 0;
}
.doc th, .doc td {
  border: 1px solid #e3dcff;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.doc th { background: #f3efff; color: #4a3f8a; }
.doc a { color: #7c5cff; }
.doc .notice {
  background: #fff4f4;
  border-left: 4px solid #e05a5a;
  padding: 12px 16px;
  border-radius: 6px;
}
.foot {
  text-align: center;
  padding: 24px;
  color: #8a8aa8;
  font-size: 13px;
  border-top: 1px solid #ece7ff;
}
@media (max-width: 600px) {
  .doc h1 { font-size: 24px; }
  .topbar nav a { margin-left: 10px; }
}

/* ── content pages (how-to-play / character pages / press) ── */
.doc .lead {
  font-size: 17px;
  color: #3a3a5c;
  margin: 4px 0 26px;
}
.doc .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 16px 0 4px;
}
.doc .card {
  border: 1px solid #e3dcff;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
}
.doc .card h3 { margin: 0 0 6px; font-size: 15px; color: #4a3f8a; }
.doc .card p { margin: 0; font-size: 14px; color: #46465f; }
.doc .cta {
  display: inline-block;
  margin: 8px 10px 24px 0;
  padding: 12px 20px;
  border-radius: 8px;
  background: #7c5cff;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.doc .cta--alt { background: #f3efff; color: #5b46b8; }
.doc .figure { margin: 18px 0; }
.doc .figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e3dcff;
  display: block;
}
.doc .figure figcaption { font-size: 13px; color: #6a6a86; margin-top: 6px; }
.doc .figure video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e3dcff;
  display: block;
  background: #000;
}
.doc .back { font-size: 14px; color: #6a6a86; }
.doc td.yes { color: #1f8a5c; font-weight: 700; }
