:root {
  color-scheme: light dark;
  --fg: #1a1a1a;
  --bg: #ffffff;
  --muted: #666666;
  --link: #0a66c2;
  --border: #e3e3e3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e8e8e8;
    --bg: #15161a;
    --muted: #a0a0a0;
    --link: #6cb2ff;
    --border: #2a2b30;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

header, main, footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
}

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

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  text-decoration: none;
}

main {
  padding-top: 32px;
  padding-bottom: 48px;
}

h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

h2 {
  font-size: 20px;
  margin-top: 36px;
}

h3 {
  font-size: 16px;
  margin-top: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

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

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.lead {
  color: var(--muted);
}

.links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
