.docs-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 190px;
  justify-content: center;
  gap: 54px;
  align-items: start;
}

.docs-article__eyebrow {
  margin: 0 0 10px;
  color: #7184ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.docs-article__body > h1 {
  margin: 0 0 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(38px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.docs-article__body > h2,
.docs-article__body > h3,
.docs-article__body > h4 {
  scroll-margin-top: 24px;
  color: var(--text);
}

.docs-article__body > h2 {
  margin: 42px 0 14px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.docs-article__body > h3 {
  margin: 32px 0 11px;
  font-size: 19px;
  line-height: 1.3;
}

.docs-article__body > h3:has(> code:first-child) {
  width: fit-content;
  margin-top: 34px;
  padding: 0;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
}

.docs-article__body > h3:has(> code:first-child) > code {
  padding: .28em .48em;
  border-color: rgba(132, 149, 170, .2);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  color: #d7e0ec;
  font-size: 1em;
  font-weight: 650;
}

.docs-article__body > h4 {
  margin: 26px 0 10px;
  font-size: 16px;
}

.docs-article__body > p,
.docs-article__body > ul,
.docs-article__body > ol,
.docs-article__body > blockquote {
  margin: 0 0 18px;
  color: #b0bdcc;
  font-size: 15px;
  line-height: 1.78;
}

.docs-article__body a:not(.docs-heading-anchor) {
  color: #aeb8ff;
  text-decoration: underline;
  text-decoration-color: rgba(134, 145, 255, .32);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}

.docs-article__body a:not(.docs-heading-anchor):hover {
  color: #d5daff;
  text-decoration-color: rgba(151, 161, 255, .82);
}

.docs-article__body a[href^="http"]:not(.docs-heading-anchor)::after {
  content: "↗";
  display: inline-block;
  margin-left: .22em;
  color: #7184ff;
  font-size: .78em;
  line-height: 1;
  transform: translateY(-.04em);
}

.docs-article__body > ul,
.docs-article__body > ol {
  padding-left: 0;
}

.docs-article__body ul,
.docs-article__body ol {
  margin-top: 10px;
  margin-bottom: 18px;
}

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

.docs-article__body ol {
  padding-left: 26px;
  list-style: decimal;
}

.docs-article__body li {
  position: relative;
  padding-left: 20px;
}

.docs-article__body ol > li {
  padding-left: 4px;
}

.docs-article__body ul > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7184ff;
  box-shadow: 0 0 0 3px rgba(113, 132, 255, .08);
}

.docs-article__body ol > li::marker {
  color: #7f91ff;
  font-weight: 700;
}

.docs-article__body li + li {
  margin-top: 8px;
}

.docs-article__body li > p {
  margin: 0;
}

.docs-article__body li > p + p {
  margin-top: 8px;
}

.docs-article__body li > ul,
.docs-article__body li > ol {
  margin: 8px 0 4px;
}

.docs-article__body li > ul {
  padding-left: 18px;
}

.docs-article__body li > ol {
  padding-left: 22px;
}

.docs-article__body li > ul > li::before {
  width: 4px;
  height: 4px;
  background: transparent;
  border: 1px solid #6f7f94;
  box-shadow: none;
}

.docs-article__body li code {
  white-space: nowrap;
}

.docs-article__body blockquote:not(.docs-callout) {
  position: relative;
  margin: 22px 0 24px;
  padding: 14px 18px 14px 20px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-left: 2px solid rgba(126, 141, 255, .62);
  border-radius: 8px;
  background: rgba(10, 21, 31, .42);
  color: #aebaca;
}

.docs-article__body blockquote:not(.docs-callout)::before {
  content: "“";
  position: absolute;
  top: 7px;
  right: 14px;
  color: rgba(126, 141, 255, .16);
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1;
  pointer-events: none;
}

.docs-article__body blockquote > :first-child {
  margin-top: 0;
}

.docs-article__body blockquote > :last-child {
  margin-bottom: 0;
}

.docs-article__body pre {
  margin: 18px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 12, 20, .92);
  padding: 18px;
}

.docs-article__body pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: #edf3fb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.docs-article__body hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.docs-article__meta {
  margin: 30px 0 0;
  color: #7f8ca0;
  font-size: 12px;
}

.docs-toc__link--level-3,
.docs-toc__link--level-4,
.docs-toc__link--level-5,
.docs-toc__link--level-6 {
  padding-left: 13px;
  color: #6f7d91;
  font-size: 11px;
}

.docs-toc__link--level-3::before,
.docs-toc__link--level-4::before,
.docs-toc__link--level-5::before,
.docs-toc__link--level-6::before {
  left: -6px;
}

.docs-toc__link--level-3.is-active,
.docs-toc__link--level-4.is-active,
.docs-toc__link--level-5.is-active,
.docs-toc__link--level-6.is-active {
  color: #b6c0ff;
}

.docs-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.docs-pager__link {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 21, 31, .55);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.docs-pager__link:hover {
  transform: translateY(-1px);
  border-color: rgba(109, 112, 255, .38);
  background: rgba(14, 27, 39, .8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.docs-pager__link--next {
  grid-column: 2;
  text-align: right;
  align-items: flex-end;
}

.docs-pager__link span {
  color: #7f8ca0;
  font-size: 11px;
}

.docs-pager__link strong {
  overflow: hidden;
  text-overflow: ellipsis;
  color: #e7edf7;
  font-size: 13px;
  transition: color .15s ease;
}

.docs-pager__link:hover strong {
  color: #cbd2ff;
}

.docs-index {
  max-width: 920px;
  margin: 0 auto;
}

.docs-index__intro {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.docs-index__intro h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 52px);
  letter-spacing: -.04em;
}

.docs-index__intro > p:last-child {
  max-width: 700px;
  margin: 14px 0 0;
  color: #b0bdcc;
  font-size: 16px;
  line-height: 1.65;
}

.docs-index__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.docs-index__card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 21, 31, .55);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}

.docs-index__card:hover {
  transform: translateY(-1px);
  border-color: rgba(109, 112, 255, .42);
  background: rgba(14, 27, 39, .78);
}

.docs-index__card span {
  display: block;
  margin-bottom: 5px;
  color: #78869a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.docs-index__card strong {
  font-size: 14px;
}

.docs-index__card p {
  margin: 7px 0 0;
  color: #8796aa;
  font-size: 12px;
  line-height: 1.55;
}

html[data-theme="light"] .docs-article__body > p,
html[data-theme="light"] .docs-article__body > ul,
html[data-theme="light"] .docs-article__body > ol,
html[data-theme="light"] .docs-article__body > blockquote,
html[data-theme="light"] .docs-index__intro > p:last-child {
  color: #5c6b80;
}

html[data-theme="light"] .docs-article__body a:not(.docs-heading-anchor) {
  color: #555ec7;
  text-decoration-color: rgba(85, 94, 199, .28);
}

html[data-theme="light"] .docs-article__body a:not(.docs-heading-anchor):hover {
  color: #3f47ad;
  text-decoration-color: rgba(63, 71, 173, .72);
}

html[data-theme="light"] .docs-article__body > h3:has(> code:first-child) > code {
  border-color: rgba(54, 70, 94, .14);
  background: rgba(55, 68, 88, .035);
  color: #344258;
}

html[data-theme="light"] .docs-article__body ul > li::before {
  background: #6570d8;
  box-shadow: 0 0 0 3px rgba(101, 112, 216, .08);
}

html[data-theme="light"] .docs-article__body li > ul > li::before {
  background: transparent;
  border-color: #8a97aa;
  box-shadow: none;
}

html[data-theme="light"] .docs-article__body ol > li::marker {
  color: #5c63c8;
}

html[data-theme="light"] .docs-article__body blockquote:not(.docs-callout) {
  border-color: rgba(30, 41, 59, .09);
  border-left-color: rgba(85, 94, 199, .56);
  background: rgba(255, 255, 255, .58);
  color: #5b687a;
}

html[data-theme="light"] .docs-article__body pre {
  background: #f5f7fb;
}

html[data-theme="light"] .docs-article__body pre code {
  color: #26344b;
}

html[data-theme="light"] .docs-toc__link--level-3,
html[data-theme="light"] .docs-toc__link--level-4,
html[data-theme="light"] .docs-toc__link--level-5,
html[data-theme="light"] .docs-toc__link--level-6 {
  color: #8793a5;
}

html[data-theme="light"] .docs-toc__link--level-3.is-active,
html[data-theme="light"] .docs-toc__link--level-4.is-active,
html[data-theme="light"] .docs-toc__link--level-5.is-active,
html[data-theme="light"] .docs-toc__link--level-6.is-active {
  color: #5459c9;
}

html[data-theme="light"] .docs-pager__link,
html[data-theme="light"] .docs-index__card {
  background: rgba(255, 255, 255, .74);
}

html[data-theme="light"] .docs-pager__link:hover,
html[data-theme="light"] .docs-index__card:hover {
  background: #fff;
}

html[data-theme="light"] .docs-pager__link strong {
  color: #334155;
}

html[data-theme="light"] .docs-pager__link:hover strong {
  color: #4f56bd;
}

@media (max-width: 1180px) {
  .docs-article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .docs-article-layout .docs-toc {
    display: none;
  }
}

@media (max-width: 600px) {
  .docs-article__body > h1 {
    font-size: 40px;
  }

  .docs-article__body > h2 {
    font-size: 22px;
  }

  .docs-article__body ol {
    padding-left: 22px;
  }

  .docs-article__body li {
    padding-left: 18px;
  }

  .docs-pager,
  .docs-index__grid {
    grid-template-columns: 1fr;
  }

  .docs-pager__link--next {
    grid-column: 1;
    align-items: flex-start;
    text-align: left;
  }
}
