/* Shared styles for Sift's public pages (privacy, terms, support). Colors match the app. */
:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #6b7280;
  --border: #e7e3da;
  --primary: #4c5fd5;
  --fill: #fff1b8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111413;
    --surface: #1b1f1d;
    --text: #f2f1ec;
    --muted: #9aa39e;
    --border: #2a302d;
    --primary: #9aa8ff;
    --fill: #4a4220;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
.wrap { max-width: 42rem; margin: 0 auto; padding-inline: 16px; }

header { border-bottom: 1px solid var(--border); }
header .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding-block: 16px; }
.brand { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; margin-right: auto; }
nav a { color: var(--muted); text-decoration: none; margin-left: 16px; }
nav a:first-child { margin-left: 0; }
nav a[aria-current='page'] { color: var(--primary); font-weight: 600; }

main { padding-block: 32px 64px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 4px; }
.updated { color: var(--muted); margin: 0 0 28px; }
h2 { font-size: 21px; line-height: 1.3; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--primary); }
.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 8px;
}
.summary ul { margin-bottom: 0; }
/* Placeholders to fill in before publishing. */
.fill { background: var(--fill); border-radius: 4px; padding: 0 3px; }

footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 15px; }
footer .wrap { padding-block: 20px 32px; }
