/* Shared by privacy.html and terms.html, uploaded as its own object and
   invalidated alongside them (see s3_legal.tf). Deliberately the only
   subresource either page loads: no fonts, no scripts, no analytics — a
   privacy policy that phones out to a third party to render is its own
   small contradiction, and these pages are opened inside the app's
   in-app browser where every extra request is a visible delay. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5c5c5c;
  --rule: #e2e2e2;
  --accent: #4a3aff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416;
    --fg: #ececee;
    --muted: #a0a0a8;
    --rule: #2c2c30;
    --accent: #9a8dff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  padding: 32px 16px 64px;
  max-width: 44rem;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

h1 {
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 0 0 4px;
}

h2 {
  font-size: 1.15rem;
  margin: 32px 0 8px;
}

p,
li {
  margin: 0 0 12px;
}

ul {
  padding-left: 1.25rem;
}

a {
  color: var(--accent);
}

.updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.lede {
  font-size: 1.05rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 32px 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

th {
  font-weight: 600;
}

footer {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 40px;
}
