:root {
  --blue: #2563eb;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --card: #f3f4f6;
  --border: #e5e7eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #60a5fa;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --bg: #111827;
    --card: #1f2937;
    --border: #374151;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

header.site {
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

header.site .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

header.site a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

nav { margin-left: auto; display: flex; gap: 18px; }
nav a { font-size: 14px; font-weight: 500; color: var(--muted); }
nav a:hover { color: var(--blue); }

h1 { font-size: 30px; margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }

h2 { font-size: 19px; margin: 32px 0 10px; }
p, li { font-size: 16px; }
p + p { margin-top: 10px; }
ul { padding-left: 22px; margin: 8px 0; }
li { margin: 6px 0; }

.notice {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 15px;
}

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

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
footer.site a { color: var(--muted); margin: 0 8px; }
