:root {
  color-scheme: light dark;
  --border: #d0d0d5;
  --bg-page: #f4f4f7;
  --bg-card: #ffffff;
  --text: #1a1a1e;
  --text-muted: #666670;
  --accent: #2f6fed;
}

@media (prefers-color-scheme: dark) {
  :root {
    --border: #3a3a40;
    --bg-page: #121214;
    --bg-card: #1e1e22;
    --text: #eaeaef;
    --text-muted: #a0a0aa;
  }
}

* {
  box-sizing: border-box;
}

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

.site-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-header .brand-icon {
  width: 24px;
  height: 24px;
}

.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

.site-header nav a:hover {
  color: var(--accent);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

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

h2 {
  font-size: 18px;
  margin: 32px 0 8px;
}

.note {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 24px;
}

p, li {
  font-size: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

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

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

.site-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer a {
  margin: 0 8px;
}
