:root {
  --bg: #050508;
  --bg2: #0c0f14;
  --card: #121820;
  --border: #243044;
  --accent: #4db3ff;
  --accent-bright: #7ec8ff;
  --text: #f4f8fc;
  --muted: #9eb0c4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Inter, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.docs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  position: sticky;
  top: 0;
  z-index: 10;
}

.docs-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.docs-brand img { height: 36px; width: auto; }

.docs-brand span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-bright);
  text-transform: uppercase;
}

.docs-nav-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.docs-nav-top a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.docs-nav-top a:hover,
.docs-nav-top a.active {
  color: var(--accent-bright);
  border-color: var(--border);
  background: rgba(77, 179, 255, 0.08);
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 32px;
  padding: 32px 24px 64px;
}

.docs-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.docs-sidebar h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 12px;
}

.docs-sidebar ul { list-style: none; }

.docs-sidebar a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
}

.docs-sidebar a:hover { color: var(--accent-bright); }

.docs-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.docs-lead {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 720px;
}

.docs-content section {
  margin-bottom: 40px;
  scroll-margin-top: 96px;
}

.docs-content h2 {
  font-size: 1.25rem;
  color: var(--accent-bright);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.docs-content p,
.docs-content li {
  color: #c5d0de;
  margin-bottom: 10px;
}

.docs-content ul { padding-left: 20px; margin-bottom: 16px; }

.docs-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}

.docs-card strong { color: var(--accent-bright); }

@media (max-width: 860px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
}
