:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #4f5fd6;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383a;
    --accent: #7b85f0;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 0;
}
header.site a.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 600;
}
header.site img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav { display: flex; gap: 16px; font-size: 15px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--text); }
.hero { text-align: center; padding: 48px 0 32px; }
.hero img { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 8px 24px rgb(0 0 0 / 0.15); }
.hero h1 { font-size: clamp(34px, 7vw, 48px); line-height: 1.1; margin: 24px 0 12px; letter-spacing: -0.02em; }
.hero p { font-size: 20px; color: var(--muted); margin: 0 auto; max-width: 30em; }
.status { display: inline-block; margin-top: 24px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding: 24px 0 48px; }
.feature { background: var(--surface); border-radius: 16px; padding: 20px; }
.feature h2 { font-size: 17px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
article { background: var(--surface); border-radius: 16px; padding: 24px 20px; margin-bottom: 32px; }
article h1 { font-size: 28px; line-height: 1.2; margin-top: 0; }
article h2 { font-size: 20px; margin-top: 2em; }
article h3 { font-size: 17px; margin-top: 1.5em; }
article table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
article th, article td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
article li { margin: 4px 0; }
article a { overflow-wrap: anywhere; }
.draft { background: #ffcc00; color: #000; padding: 10px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 15px; }
footer.site { padding: 24px 0 40px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site a { color: var(--muted); }
