:root {
  --bg: #f3f5fb;
  --card: #ffffff;
  --border: #e7ebf3;
  --text: #0f172a;
  --muted: #475569;
  --accent: #4b5fd1;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.container { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.topbar { display: flex; justify-content: flex-end; margin-bottom: 8px; font-size: 14px; }
h1, h2 { line-height: 1.25; margin-top: 0; }
h1 { font-size: 28px; margin-bottom: 8px; }
h2 { font-size: 18px; margin-top: 28px; margin-bottom: 8px; }
p, li { color: var(--muted); font-size: 15px; }
ul { padding-left: 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.note {
  margin-top: 20px; padding: 14px 16px; border-radius: 12px;
  background: #f8faff; border: 1px solid #dbe4ff;
}
.note p { margin: 0; }
.links { margin-top: 20px; font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1420; --card: #171d2c; --border: #263049; --text: #e8ecf6; --muted: #aab4cc; --accent: #8fa2ff; }
  .note { background: #1b2338; border-color: #2d3a5c; }
}
