:root {
  --bg: #f7f7fb;
  --surface: #ffffff;
  --text: #1c1b29;
  --muted: #5b5a6e;
  --line: #e4e3ee;
  --accent: #5b3fd6;
  --accent-ink: #ffffff;
  --accent-soft: #efebff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12111a;
    --surface: #1b1a26;
    --text: #ecebf5;
    --muted: #a6a4ba;
    --line: #2e2c40;
    --accent: #9b85ff;
    --accent-ink: #12111a;
    --accent-soft: #241f3d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
nav.site a { color: var(--muted); text-decoration: none; margin-left: 16px; font-size: 0.95rem; }
nav.site a:first-child { margin-left: 0; }
nav.site a:hover { color: var(--text); }
main { padding: 40px 0 56px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: 1.25rem; margin: 36px 0 8px; }
p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; }
.note { background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; margin: 20px 0; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 16px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.card h3 { margin: 0 0 6px; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
ul { padding-left: 1.2em; }
li { margin: 4px 0; }
.updated { color: var(--muted); font-size: 0.9rem; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { padding-top: 18px; padding-bottom: 28px; }
footer.site a { color: var(--muted); }
