/* Long-form pages on this site: the privacy policy, the terms, the
   changelog and the support page. Same palette as index.html and
   uninstall.html, tuned for reading rather than selling. */
:root {
  --bg: #06090f;
  --surface: rgba(17, 26, 36, 0.75);
  --border: rgba(148, 163, 184, 0.2);
  --text: #e2e8f0;
  --muted: #a3b1c2;
  --accent: #22d3ee;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable both-edges; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(34, 211, 238, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  padding: 0 20px 60px;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.top {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.brand img { border-radius: 7px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.top nav a { color: var(--muted); text-decoration: none; padding: 2px 0; }
.top nav a:hover { color: var(--text); }
.top nav a[aria-current="page"] { color: var(--text); border-bottom: 2px solid var(--accent); }

.doc { max-width: 760px; margin: 0 auto; padding-top: 28px; }
.doc h1 { font-size: 30px; line-height: 1.25; margin: 0 0 14px; }
.doc h2 {
  font-size: 19px;
  line-height: 1.35;
  margin: 40px 0 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.doc h3 { font-size: 15px; margin: 24px 0 8px; color: var(--text); }
.doc p, .doc li { font-size: 15px; color: var(--muted); }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0 16px; }
.doc li { margin-bottom: 10px; }
.doc li > ul, .doc li > ol { margin-top: 8px; }
.doc li p { margin: 0 0 8px; }
.doc code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
  background: rgba(148, 163, 184, 0.12);
  border-radius: 5px;
  padding: 1px 5px;
  color: var(--text);
  overflow-wrap: anywhere;
}
.doc pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
}
.doc pre code { background: none; padding: 0; }
.doc h2[id], .doc h3[id] { scroll-margin-top: 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 12px;
}
.card h3 { margin-top: 0; }
.card > :first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.foot {
  max-width: 760px;
  margin: 40px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
