.landing-nav a.active {
  color: #fff;
  background: rgba(88, 101, 242, .14);
}

.docs-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 18px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(166,186,218,.13);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(17,28,43,.94), rgba(8,17,29,.92));
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.docs-sidebar::-webkit-scrollbar { width: 8px; }
.docs-sidebar::-webkit-scrollbar-thumb { background: rgba(166,186,218,.18); border-radius: 999px; }

.docs-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(166,186,218,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  color: #8b99ff;
}

.docs-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #f4f7fb;
  background: transparent;
  font: inherit;
  font-weight: 750;
}

.docs-search input::placeholder { color: #7e8ba1; }
.docs-menu { display: grid; gap: 5px; }
.docs-menu p {
  margin: 16px 8px 6px;
  color: #748197;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.docs-menu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 11px;
  border-radius: 8px;
  color: #c8d3e7;
  text-decoration: none;
  font-weight: 850;
  transition: .16s ease;
}

.docs-menu a:hover,
.docs-menu a.active {
  color: #fff;
  background: rgba(88,101,242,.16);
}

.docs-menu a.is-hidden { display: none; }
.docs-content { min-width: 0; display: grid; gap: 18px; }

.docs-hero,
.docs-card {
  border: 1px solid rgba(166,186,218,.13);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(17,28,43,.95), rgba(11,20,32,.94));
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.docs-hero { padding: clamp(28px, 5vw, 48px); }
.docs-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
}

.docs-hero p:not(.eyebrow) {
  max-width: 830px;
  color: #c8d3e7;
  font-size: 18px;
  line-height: 1.7;
}

.docs-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.docs-quick-links a {
  padding: 11px 14px;
  border-radius: 8px;
  color: #dfe5ff;
  text-decoration: none;
  font-weight: 900;
  background: rgba(88,101,242,.14);
  border: 1px solid rgba(88,101,242,.25);
}

.docs-card {
  scroll-margin-top: 94px;
  padding: clamp(22px, 4vw, 34px);
}

.docs-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #dfe5ff;
  background: rgba(88,101,242,.16);
  border: 1px solid rgba(88,101,242,.28);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.docs-card h2 { margin: 14px 0 10px; font-size: 28px; color: #fff; }
.docs-card p,
.docs-card li {
  color: #c8d3e7;
  line-height: 1.75;
}
.docs-card ul { margin: 14px 0 0; padding-left: 20px; }
.docs-card strong { color: #fff; }

.docs-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid #6f7aff;
  border-radius: 8px;
  color: #dfe5ff;
  background: rgba(88,101,242,.12);
}

details {
  margin-top: 12px;
  border: 1px solid rgba(166,186,218,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 14px 16px;
  color: #fff;
  font-weight: 900;
}

details p { padding: 0 16px 16px; margin: 0; }
.docs-footer a { color: #cdd6ff; text-decoration: none; font-weight: 850; }
.docs-footer a:hover { color: #fff; }

@media (max-width: 920px) {
  .docs-shell { grid-template-columns: 1fr; }
  .docs-sidebar { position: relative; top: 0; max-height: none; }
}

@media (max-width: 720px) {
  .landing-header { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .landing-nav { width: 100%; order: 3; overflow-x: auto; margin-left: 0; }
  .docs-shell { width: min(100% - 24px, 1280px); padding-top: 24px; }
}
