body.documentation-page,
body:not(.documentation-page) {
  background:
    radial-gradient(circle at 11% 11%, rgba(39, 216, 255, 0.18), transparent 24%),
    radial-gradient(circle at 87% 18%, rgba(55, 118, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #041120 0%, #06182b 42%, #071120 100%);
}

.documentation-shell {
  width: min(1300px, calc(100% - 1.3rem));
}

.documentation-hero,
.documentation-card,
.documentation-toc-card {
  border-color: rgba(140, 231, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    rgba(5, 18, 36, 0.82);
  box-shadow: 0 28px 80px rgba(0, 10, 23, 0.32);
}

.documentation-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.7rem;
}

.documentation-brand img {
  width: 160px;
  height: auto;
}

.documentation-copy h1,
.documentation-section-head h2,
.documentation-body h1,
.documentation-body h2,
.documentation-body h3 {
  letter-spacing: -0.05em;
}

.documentation-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.documentation-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(140, 231, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #89e8ff;
}

.documentation-subcopy,
.documentation-placeholder,
.documentation-body p,
.documentation-body li {
  color: rgba(224, 241, 255, 0.72);
}

.documentation-link,
.documentation-toc a {
  border-color: rgba(140, 231, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f4fbff;
}

.documentation-link.is-active,
.documentation-link-primary {
  border: 0;
  background: linear-gradient(135deg, rgba(45, 232, 255, 0.2), rgba(39, 111, 255, 0.18));
}

.documentation-body code,
.documentation-body pre {
  border-radius: 18px;
  border: 1px solid rgba(140, 231, 255, 0.12);
  background: rgba(2, 13, 28, 0.8);
}

.documentation-body table th,
.documentation-body table td {
  border-color: rgba(140, 231, 255, 0.08);
}

@media (max-width: 980px) {
  .documentation-layout {
    grid-template-columns: 1fr;
  }

  .documentation-toc-card {
    position: relative;
    top: 0;
    max-height: none;
  }
}

body.documentation-page,
body:not(.documentation-page) {
  background: #ffffff;
  color: #10243a;
}

.documentation-hero,
.documentation-card,
.documentation-toc-card {
  border-color: #d9e8f5;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(29, 74, 122, 0.08);
}

.documentation-kicker,
.documentation-link,
.documentation-toc a {
  border-color: #d7e7f3;
  background: #f4f9ff;
  color: #2154e6;
}

.documentation-copy h1,
.documentation-section-head h2,
.documentation-body h1,
.documentation-body h2,
.documentation-body h3 {
  color: #10243a;
}

.documentation-subcopy,
.documentation-placeholder,
.documentation-body p,
.documentation-body li {
  color: #5b7286;
}

.documentation-body code,
.documentation-body pre {
  color: #10243a;
  border-color: #d7e7f3;
  background: #f8fbff;
}

.documentation-body table th,
.documentation-body table td {
  border-color: #e2edf7;
}
