/* css/docs.css: the documentation page. */
.docs { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: calc(var(--bar-h) + var(--head-h) + 48px); padding-bottom: 96px; }
@media (min-width: 1024px) { .docs { grid-template-columns: 220px minmax(0, 1fr); gap: 72px; padding-top: calc(var(--bar-h) + var(--head-h) + 72px); } }
.docs__nav { display: none; }
@media (min-width: 1024px) {
  .docs__nav { display: block; position: sticky; top: calc(var(--bar-h) + var(--head-h) + 32px); align-self: start; }
  .docs__nav .label { margin-bottom: 14px; }
  .docs__nav nav { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
  .docs__nav a { padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); font-size: 13.5px; transition: color .2s, border-color .2s; }
  .docs__nav a:hover { color: var(--text); }
  .docs__nav a[aria-current] { color: var(--text); border-left-color: var(--violet); }
}
.docs__body { max-width: 760px; min-width: 0; }
.docs__body section { scroll-margin-top: calc(var(--bar-h) + var(--head-h) + 24px); padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.docs__body section:last-child { border-bottom: 0; }
.docs__h1 { font-family: var(--sans); font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin: 14px 0 20px; }
.docs__h1 .tone { color: var(--muted); }
.docs__h2 { font-family: var(--sans); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px; }
.docs__body p { color: #b5b5b5; font-size: 15px; line-height: 1.75; }
.docs__body p + p { margin-top: 14px; }
.docs__body p strong, .docs__body li strong { color: var(--text); font-weight: 600; }
.docs__body a { color: var(--violet-2); }
.docs__body a:hover { color: #fff; }
.docs__body code { font-family: var(--mono); font-size: 12.5px; color: #d8ccff; background: rgba(124,92,255,.1); padding: 1px 6px; border-radius: 3px; }
.docs__facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 32px; border: 1px solid var(--line); border-radius: 4px; }
@media (min-width: 700px) { .docs__facts { grid-template-columns: repeat(4, 1fr); } }
.docs__facts div { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.docs__facts b { display: block; font-family: var(--sans); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.docs__facts span { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.docs__steps { counter-reset: s; margin: 22px 0; display: grid; gap: 12px; }
.docs__steps li { position: relative; padding: 16px 18px 16px 58px; border: 1px solid var(--line); border-radius: 4px; background: var(--raised); color: #b5b5b5; font-size: 14.5px; line-height: 1.7; }
.docs__steps li::before { counter-increment: s; content: '0' counter(s); position: absolute; left: 18px; top: 17px; font-family: var(--mono); font-size: 12px; color: var(--violet-2); }
.docs__steps li b { color: var(--text); }
.docs__table { margin-top: 18px; border: 1px solid var(--line); border-radius: 4px; }
.docs__table div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .docs__table div { grid-template-columns: 220px 1fr; gap: 20px; } }
.docs__table div:last-child { border-bottom: 0; }
.docs__table b { font-size: 14px; font-weight: 600; }
.docs__table--code b { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: #d8ccff; }
.docs__table span { color: #a8a8a8; font-size: 14px; line-height: 1.65; }
.docs__list { margin-top: 14px; display: grid; gap: 10px; }
.docs__list li { position: relative; padding-left: 20px; color: #b5b5b5; font-size: 14.5px; line-height: 1.7; }
.docs__list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 1px; background: var(--violet); }
.docs__code { margin: 18px 0; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: #121218; overflow-x: auto; }
.docs__code code { background: none; padding: 0; color: #d6d6e0; font-size: 12.8px; line-height: 1.75; white-space: pre; }
