:root {
  --bg: #f7f5fc;
  --card: #ffffff;
  --text: #1c1630;
  --muted: #5c5573;
  --accent: #7c3aed;
  --accent-soft: #ede7fb;
  --border: #e4def3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120d1f;
    --card: #1c1530;
    --text: #f2eefc;
    --muted: #b3aac9;
    --accent: #b794f6;
    --accent-soft: #2a2045;
    --border: #2f2648;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header.top { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
header.top a { color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; }
.logo {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; font-weight: 800; font-size: 20px;
}
nav { margin-left: auto; display: flex; gap: 16px; font-size: 15px; }
nav a { color: var(--accent); text-decoration: none; font-weight: 600; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 0 0 8px; }
h3 { font-size: 17px; margin: 16px 0 4px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
section {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px; margin: 0 0 16px;
}
section.summary { background: var(--accent-soft); border-color: transparent; }
p { margin: 0 0 10px; }
ul { margin: 0 0 10px; padding-left: 22px; }
li { margin: 0 0 6px; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.button {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 10px 18px; border-radius: 12px; font-weight: 700;
}
@media (prefers-color-scheme: dark) { .button { color: #120d1f; } }
footer { color: var(--muted); font-size: 14px; text-align: center; margin-top: 32px; }
