/* Shared by privacy.html and terms.html.
 *
 * **Deliberately not the app's stylesheet.** These two pages have to work when
 * opened cold from a Play Store listing, from a search result, or by somebody
 * who has never installed the app — so they carry their own type and colour
 * rather than depending on anything the app builds. One copy, two pages.
 *
 * Same reasoning as the app on two points: the root font size is never set, so
 * the reader's own browser and OS text size reach the page, and the palette is
 * plain. A privacy policy nobody can read is the failure that matters here.
 */

:root {
  --ink: #1a1a1a;
  --ink-quiet: #5a5a5a;
  --paper: #fdfdfc;
  --rule: #dcdcd8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8e8e6;
    --ink-quiet: #a0a09c;
    --paper: #161616;
    --rule: #333330;
  }
}

body {
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
  max-width: 34rem;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

h2 {
  font-size: 1.1875rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.25rem;
}

p,
li {
  margin: 0 0 0.875rem;
}

ul {
  padding-left: 1.25rem;
}

a {
  color: inherit;
}

.updated {
  color: var(--ink-quiet);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

/* The plain-English summary at the top of the privacy policy. It is a summary
 * and says so — it does not replace what follows, and nothing in it is a term
 * that only appears here. */
.summary {
  border-left: 3px solid var(--rule);
  padding-left: 1rem;
  margin: 0 0 2rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-quiet);
  font-size: 0.9375rem;
}
