/* Shared styles for the static content pages (rules, guide, faq, about,
   contact, terms, privacy). Self-contained, no build step — served as-is. */
:root {
  --bg: #2a3446;
  --panel: #354256;
  --panel-2: #3d4b61;
  --line: #4a5870;
  --text: #eef1f7;
  --muted: #a8b4c6;
  --accent: #2ecc71;
  --link: #5b9bff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* header */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 22px;
  max-width: 1000px; margin: 0 auto; padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; font-size: 20px; letter-spacing: .4px; color: var(--text); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mono { color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.site-nav a { color: var(--muted); font-size: 15px; font-weight: 600; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav a.nav-cta {
  background: var(--accent); color: #08130b; padding: 7px 16px; border-radius: 999px; font-weight: 800;
}
.site-nav a.nav-cta:hover { filter: brightness(1.07); color: #08130b; }

/* content */
.wrap { max-width: 820px; margin: 0 auto; padding: 14px 22px 56px; }
h1 { font-size: 30px; line-height: 1.2; margin: 18px 0 10px; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 8px; }
.updated { color: var(--muted); font-size: 14px; margin: 16px 0 24px; }
h2 { font-size: 21px; margin: 34px 0 12px; color: var(--accent); }
h3 { font-size: 17px; margin: 22px 0 6px; }
p, li { color: var(--text); }
ul, ol { padding-left: 22px; margin: 8px 0; }
li { margin: 6px 0; }
.muted { color: var(--muted); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 26px 26px;
  margin-top: 8px;
}

.cta-row { margin: 26px 0 6px; }
.cta {
  display: inline-block;
  background: var(--accent); color: #08130b; font-weight: 800; font-size: 16px;
  padding: 13px 26px; border-radius: 12px;
}
.cta:hover { text-decoration: none; filter: brightness(1.07); }

.note {
  background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 14px 18px; margin: 22px 0; color: var(--muted);
}

table.kv { border-collapse: collapse; width: 100%; margin: 14px 0; }
table.kv td { border: 1px solid var(--line); padding: 9px 13px; vertical-align: top; }
table.kv td:first-child { color: var(--muted); white-space: nowrap; width: 1%; font-weight: 600; }

/* faq */
.faq-item { border-top: 1px solid var(--line); padding: 18px 0 4px; }
.faq-item:first-of-type { border-top: none; }
.faq-q { font-weight: 700; font-size: 18px; margin: 0 0 6px; color: var(--text); }

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  max-width: 1000px; margin: 28px auto 0; padding: 26px 22px 44px;
  color: var(--muted); font-size: 14px; text-align: center;
}
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 14px; }
.site-footer nav a { color: var(--muted); font-weight: 600; }
.site-footer p { margin: 8px auto 0; max-width: 720px; line-height: 1.55; }

@media (max-width: 560px) {
  h1 { font-size: 25px; }
  .site-header { gap: 10px 14px; }
  .site-nav { gap: 4px 12px; }
  .site-nav a { font-size: 14px; }
}
