/* Shared styling for the static OptionsIQ legal pages (privacy / terms / disclaimer / contact).
   Self-contained (system font, no app bundle dependency so it renders even if the SPA never loads),
   calm + readable, theme-aware via prefers-color-scheme. Palette mirrors src/signal/theme.ts. */
:root {
  --bg: #f6f8fa;
  --card: #ffffff;
  --text: #0c1620;
  --dim: #51606e;
  --faint: #5e6a76;
  --line: #e2e8f0;
  --blue: #1763c8;
  --accent-dim: #e7f0fd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14;
    --card: #151b23;
    --text: #f2f6fa;
    --dim: #9db0c2;
    --faint: #76889a;
    --line: #243040;
    --blue: #5ab0ff;
    --accent-dim: #14233a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 20px 64px; }
header.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); text-decoration: none; font-size: 17px; }
/* The real brand mark, not a plain blue square. SVG so it stays crisp at any DPR. */
.brand .mark { width: 17px; height: 17px; background: url('/mark.svg') center/contain no-repeat; }
.back { color: var(--blue); text-decoration: none; font-size: 14px; font-weight: 600; }
.back:hover { text-decoration: underline; }
h1 { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 6px; }
.meta { color: var(--faint); font-size: 13px; margin: 0 0 28px; }
.lead { font-size: 17px; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0 0 28px; }
h2 { font-size: 18px; line-height: 1.3; margin: 32px 0 8px; }
p { margin: 0 0 14px; color: var(--text); }
ul { margin: 0 0 14px; padding-left: 22px; color: var(--text); }
li { margin: 0 0 6px; }
a { color: var(--blue); }
strong { font-weight: 700; }
.contact-btn { display: inline-block; margin: 4px 0 24px; padding: 12px 20px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }
.contact-btn:hover { opacity: 0.92; }
footer.bar { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
footer.bar nav { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
footer.bar nav a { color: var(--dim); text-decoration: none; font-weight: 600; }
footer.bar nav a:hover { color: var(--text); }
.note { color: var(--faint); font-size: 13px; }
