* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0f;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px;
  line-height: 1.6;
}
.wrap { width: 100%; max-width: 1000px; }
.doc { max-width: 760px; margin: 0 auto; }
.home { font-size: 0.85rem; color: #64748b; text-decoration: none; }
.home:hover { color: #60a5fa; }
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 14px;
}
.rule {
  width: 64px;
  height: 3px;
  background: #2563eb;
  border-radius: 2px;
  margin: 16px 0;
}
.lead { font-size: 1.05rem; color: #94a3b8; }
h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 36px 0 10px;
}
h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 22px 0 8px;
}
p, li { font-size: 0.97rem; color: #cbd5e1; }
p + p { margin-top: 10px; }
ul { padding-left: 20px; display: grid; gap: 6px; }
a { color: #60a5fa; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: #12121a;
  border: 1px solid #1e293b;
  border-radius: 4px;
  padding: 1px 5px;
  overflow-wrap: anywhere;
}
pre {
  background: #12121a;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
  margin-top: 8px;
}
pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.84rem;
  color: #e0e0e0;
  overflow-wrap: normal;
}
table { width: 100%; border-collapse: collapse; margin-top: 8px; }
th, td {
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-bottom: 1px solid #1e293b;
  color: #cbd5e1;
}
th { color: #64748b; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.meta { font-size: 0.85rem; color: #64748b; }
footer {
  margin-top: 48px;
  text-align: center;
  font-size: 0.8rem;
  color: #475569;
}
footer a { color: #64748b; text-decoration: none; }
footer a:hover { color: #60a5fa; }
@media (max-width: 600px) {
  body { padding: 32px 16px; }
  h1 { font-size: 1.8rem; }
}
