:root {
  --bg: #eef1ec;
  --text: #1d2620;
  --muted: #56645a;
  --link: #2f5d3a;
  --rule: rgba(29, 38, 32, 0.14);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a16;
    --text: #e6ebe5;
    --muted: #a3b0a6;
    --link: #8fc49b;
    --rule: rgba(230, 235, 229, 0.16);
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

a {
  color: var(--link);
  text-underline-offset: 2px;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0.2em 0 0.3em;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 2em 0 0.5em;
}

ul {
  padding-left: 1.3em;
}

li {
  margin: 0.4em 0;
}

.header {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.appName {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.appName a {
  color: inherit;
  text-decoration: none;
}

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

.updated {
  margin: 0;
  font-size: 0.95rem;
}

.links {
  list-style: none;
  padding: 0;
}

footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--muted);
}

footer a {
  color: var(--muted);
}
