/* Shared styles for Enigma static pages (dark, matches the game) */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0; padding: 0 20px 60px;
  background: #0e0e11; color: #e8e8e0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.75; font-size: 17px;
}
main { max-width: 680px; margin: 0 auto; }
.site-header {
  max-width: 680px; margin: 0 auto; padding: 22px 0 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header a.brand {
  color: #c8f050; text-decoration: none; font-weight: 800; font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.site-header nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-header nav a { color: #9a9aa8; text-decoration: none; font-size: .85rem; }
.site-header nav a:hover { color: #e8e8e0; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 28px 0 6px; }
h2 { font-size: 1.2rem; margin-top: 38px; color: #c8f050; }
h3 { font-size: 1.02rem; margin-top: 26px; }
p, li { color: #c9c9c0; }
.lead { font-size: 1.05rem; color: #a9a9b8; }
a { color: #c8f050; }
.example {
  background: #17171c; border: 1px solid #2a2a35; border-radius: 12px;
  padding: 16px 20px; margin: 18px 0;
  font-family: "Consolas", "Menlo", monospace; font-size: 1rem; color: #e8e8e0;
}
.example .ok { color: #c8f050; }
.example .bad { color: #ff5f5f; }
.cta {
  display: inline-block; margin: 26px 0 6px; padding: 12px 26px;
  background: #c8f050; color: #0e0e11; border-radius: 12px;
  font-weight: 700; text-decoration: none;
}
.cta:hover { background: #d8ff60; }
.site-footer {
  max-width: 680px; margin: 60px auto 0; padding-top: 18px;
  border-top: 1px solid #2a2a35;
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: .85rem;
}
.site-footer a { color: #9a9aa8; text-decoration: none; }
.site-footer a:hover { color: #e8e8e0; }
table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: .95rem; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid #2a2a35; }
th { color: #9a9aa8; font-weight: 600; }
