:root {
  color-scheme: light dark;
  --background: #f8f3eb;
  --text: #27201a;
  --muted: #6a615b;
  --line: #e4dbcd;
  --link: #1f5fb4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #27201a;
    --text: #f8f3eb;
    --muted: #b8aea5;
    --line: #4a4037;
    --link: #8fbfff;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* Home page: the logo and nothing else. */
.home {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
}

/* Privacy Policy and Terms of Service. */
.document {
  max-width: 44rem;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.document h1 {
  margin: 40px 0 4px;
  font-size: 2rem;
  line-height: 1.2;
}

.document h2 {
  margin: 32px 0 8px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.document p,
.document ul {
  margin: 0 0 12px;
}

.document ul {
  padding-left: 1.25rem;
}

.document li {
  margin-bottom: 8px;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
