:root {
  --canvas: #f2f2f7;
  --surface: #ffffff;
  --ink: #0a0b12;
  --ink-secondary: #374151;
  --ink-muted: #6b7280;
  --rule: rgba(10, 11, 18, 0.1);
  --accent: #0a0b12;
}
html { scroll-padding-top: 0; scroll-behavior: auto; }
body {
  margin: 0;
  padding: 0 24px 96px;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 720px; margin: 0 auto; }
header { padding: 28px 0 20px; border-bottom: 1px solid var(--rule); text-align: center; }
.toc { margin: 24px 0 8px; padding: 0; list-style: none; }
.toc li { margin: 0 0 8px; }
.toc a { color: var(--ink-secondary); }
h1 { font-size: 34px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin: 0 0 8px; }
.updated { margin: 0; color: var(--ink-muted); font-size: 14px; }
h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.35px; margin: 40px 0 12px; scroll-margin-top: 24px; }
h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
p, li { color: var(--ink-secondary); }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--accent); text-underline-offset: 3px; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 700; color: var(--ink); }
td { color: var(--ink-secondary); }
.panel { background: var(--surface); border-radius: 16px; padding: 20px 22px; margin: 24px 0; border: 1px solid var(--rule); }
.panel p:first-child { margin-top: 0; }
.panel p:last-child { margin-bottom: 0; }
footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-muted);
  text-align: center;
  width: 100%;
}
footer p {
  margin: 0 auto;
  text-align: center;
}
footer a { color: var(--ink-muted); }
@media (max-width: 560px) {
  h1 { font-size: 28px; }
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  td { border: none; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--rule); padding: 12px 0; }
  td:first-child { font-weight: 700; color: var(--ink); }
}
