:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #16181d;
  --muted: #5d6470;
  --accent: #1f7ae0;
  --rule: #e4e7ec;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --text: #eceef2;
    --muted: #9aa1ad;
    --accent: #5aaefb;
    --rule: #262a32;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Sunghyun Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: max(40px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 64px
    max(20px, env(safe-area-inset-left));
}

header img {
  width: 56px;
  height: auto;
}

h1 {
  margin: 16px 0 4px;
  font-size: 32px;
  line-height: 1.2;
}

h2 {
  margin: 40px 0 8px;
  font-size: 20px;
}

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

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

ul,
ol {
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

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