/* One stylesheet for every page on the apps site.

   No fonts are loaded from anywhere: the text uses whatever typeface the
   visitor's own device already has. That keeps the privacy pages' sentence
   "loads nothing from any other company" true, and _headers enforces it. */

:root {
  --page: #fbfaf7;
  --ink: #26221d;
  --quiet: #6d655b;
  --line: #e4dfd6;
  --link: #8a5a28;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #1b1916;
    --ink: #ece7df;
    --quiet: #a59c90;
    --line: #38332c;
    --link: #e0b072;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

header.site a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

main { padding: 2rem 0 3rem; }

h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 0.4rem;
}

h2 {
  font-size: 1.2rem;
  margin: 2.2rem 0 0.4rem;
}

p, ul { margin: 0 0 1rem; }

ul { padding-left: 1.3rem; }

li { margin-bottom: 0.35rem; }

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

.updated, .quiet { color: var(--quiet); }

.lede { font-size: 1.15rem; }

.app {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 1.5rem 0;
}

.app img, img.icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex: none;
}

.app p { margin: 0; }

.app .name { font-weight: 700; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2.5rem;
  color: var(--quiet);
  font-size: 0.95rem;
}

footer.site ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}

footer.site li { margin: 0; }
