:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #5f6670;
  --line: #e3e3df;
  --accent: #2563c9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --surface: #1d2024;
    --text: #e6e7e9;
    --muted: #a0a6ae;
    --line: #30343a;
    --accent: #7aa7f5;
  }
}

* {
  box-sizing: border-box;
}

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

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

header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

header .inner,
main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 15px;
}

header nav a {
  color: var(--muted);
  text-decoration: none;
}

header nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

main {
  padding-top: 28px;
  padding-bottom: 40px;
}

h1 {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 1.25;
}

h2 {
  margin: 32px 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.updated {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

ul {
  padding-left: 22px;
}

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

.card {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.card h2 {
  margin-top: 0;
}

.card p {
  margin: 0 0 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

footer {
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
}
