:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #5c5c63;
  --accent: #0a5fd1;
  --border: #dcdce0;
  --card: #f5f5f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101012;
    --text: #f2f2f5;
    --muted: #a6a6b0;
    --accent: #6ea8ff;
    --border: #2e2e34;
    --card: #1b1b1f;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.55 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-text-size-adjust: 100%;
}
header,
main,
footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 16px;
}
header {
  padding-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
header .brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
nav {
  display: flex;
  gap: 16px;
  margin: 8px 0 16px;
}
main {
  padding-top: 24px;
  padding-bottom: 32px;
}
h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 8px;
}
h2 {
  font-size: 1.25rem;
  margin: 32px 0 8px;
}
p,
ul {
  margin: 0 0 16px;
}
li {
  margin-bottom: 8px;
}
a {
  color: var(--accent);
}
.meta {
  color: var(--muted);
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
details {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin: 8px 0 0;
}
footer {
  padding-top: 16px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
