/* Shared theme for the hand-written static pages (#30's lighter-weight fix: pull the
   duplicated pieces into one file rather than migrating everything to React).
   Hand-authored, NOT Vite build output - safe to keep here because vite.config.js sets
   emptyOutDir: false, but this file is not touched by `npm run build`.

   Pages that already share this exact palette (static_home.html, static_terms.html,
   static_privacy.html) link this instead of redeclaring :root themselves. Pages with
   their own inline-hex styling (static_login.html, static_scope.html, static_chat.html)
   are a separate, later conversion - not done here. */

:root {
  --bg: #0d1117;
  --panel: #161b22;
  --border: #30363d;
  --text: #e6edf3;
  --dim: #8b949e;
  --blue: #58a6ff;
  --green: #3fb950;
  --greenbtn: #238636;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.brand { font-size: 1.15rem; font-weight: 700; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--green); }

footer { border-top: 1px solid var(--border); padding: 22px 0; }
