:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f7fb;
  color: #1f2937;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
.site-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #0f172a;
  color: #f8fafc;
  padding: 32px 24px;
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  position: sticky;
  top: 0;
  align-self: start;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #2563eb;
  font-weight: 700;
  font-size: 1.1rem;
}
.brand h1 {
  margin: 0;
  font-size: 1.1rem;
}
.brand p {
  margin: 6px 0 0;
  color: #cbd5e1;
  line-height: 1.5;
  font-size: 0.95rem;
}
.nav-list {
  display: grid;
  gap: 10px;
}
.nav-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #e2e8f0;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-list a:hover,
.nav-list a.active {
  background: rgba(59, 130, 246, 0.18);
  color: #fff;
}
.content {
  padding: 32px;
  max-width: 940px;
  margin: 0 auto;
}
.section {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
}
.section h2 {
  margin-top: 0;
}
.section p,
.section ul {
  line-height: 1.8;
}
pre {
  background: #111827;
  color: #e5e7eb;
  padding: 18px;
  border-radius: 18px;
  overflow-x: auto;
  margin: 18px 0 0;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}
@media (max-width: 980px) {
  .site-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    border-right: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  }
}
@media (max-width: 640px) {
  .sidebar {
    padding: 20px;
  }
  .content {
    padding: 20px;
  }
}
