/* Shared by terms.html and privacy.html. Same palette as the landing page, and
   the same dark-mode handling, because these open inside the app's webview
   sheet as often as they do in a browser. */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #1a202c;
  --muted: #718096;
  --accent: #AA71F4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --surface: #1c1f25;
    --border: #2d323b;
    --text: #e8eaed;
    --muted: #9aa3ae;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header { padding: 22px 0 6px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--text); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }

h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 26px 0 6px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }

h2 { font-size: 19px; margin: 30px 0 8px; }
p, li { font-size: 15.5px; }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 20px; }
li { margin-bottom: 6px; }

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}

footer { padding: 30px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); margin-top: 34px; }
footer a { margin-right: 16px; }
