/* Shared by the three legal pages. Plain and readable first: these are read on
   phones, opened from the app or a store listing. The navy and blue are the
   app's own (mobile/src/theme/colors.ts), so the page looks like it belongs. */
:root {
  --bg: #ffffff;
  --text: #1a2240;
  --muted: #56607f;
  --link: #2458c6;
  --rule: #d9deec;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1440;
    --text: #ffffff;
    --muted: #a8b8e6;
    --link: #7fa8f5;
    --rule: #26377a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Noto Sans Arabic',
    sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

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

h2 {
  font-size: 1.2rem;
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

p,
li {
  margin: 0.5rem 0;
}

ul {
  padding-inline-start: 1.25rem;
}

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

.updated {
  color: var(--muted);
  margin: 0 0 1.5rem;
}


nav.legal {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

nav.legal a {
  margin-inline-end: 1rem;
}
