/* Shared styling for the static content pages (privacy, terms, about, help).
   Matches the editor's dark theme. */
:root {
  --bg: #0d1117;
  --panel: #161b22;
  --line: #30363d;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #4493f8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { font-weight: 600; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.brand span { color: var(--muted); font-weight: 400; }
.brand .brand-mark { width: 18px; height: 18px; vertical-align: -3.5px; margin-right: 0.4rem; border-radius: 4.5px; }
nav.site a { color: var(--muted); text-decoration: none; margin-left: 1.1rem; font-size: 0.92rem; }
nav.site a:hover { color: var(--text); }
main { padding: 2.4rem 0 3rem; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 0.4rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
p, li { color: #c9d1d9; }
a { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); margin-top: 0; }
.updated { color: var(--muted); font-size: 0.85rem; }
ul, ol { padding-left: 1.3rem; }
li { margin: 0.3rem 0; }
hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.card {
  display: block; padding: 1.1rem 1.2rem; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; text-decoration: none;
}
.card:hover { border-color: var(--accent); }
.card h3 { margin: 0 0 0.3rem; color: var(--text); }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.cta {
  display: inline-block; margin-top: 0.5rem; padding: 0.6rem 1.1rem;
  background: var(--accent); color: #fff; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.note { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 0.9rem 1.1rem; margin: 1.2rem 0; }
footer.site { border-top: 1px solid var(--line); padding: 1.5rem 0; color: var(--muted); font-size: 0.88rem; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 1rem; }
footer.site a:hover { color: var(--text); }
