.docs-page {
  --docs-accent: #3c4c99;
  width: min(100% - 4rem, 73rem);
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
}
:root[data-theme="dark"] .docs-page { --docs-accent: #bac7ff; }
.site-header a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: .35em; }
.docs-intro { padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2rem, 4vw, 3.25rem); }
.docs-intro h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 450;
  letter-spacing: -.055em;
}
.docs-intro em { color: var(--docs-accent); white-space: nowrap; }
.docs-intro p { max-width: 42em; margin-top: 1rem; font-size: 1.125rem; color: var(--muted); }
.docs-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(0, 3fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding-block: 2.5rem 5rem;
  border-top: 1px solid var(--line);
}
.docs-contents { position: sticky; top: 1.5rem; display: grid; justify-items: start; gap: .25rem; }
.docs-contents h2 { font-size: 1rem; margin-bottom: .5rem; }
.docs-contents a { font-size: .9375rem; color: var(--muted); padding-block: .25rem; }
.docs-contents a:hover, .docs-body a { color: var(--docs-accent); text-decoration: underline; text-underline-offset: .2em; }
.docs-body { min-width: 0; max-width: 48rem; overflow-wrap: anywhere; }
.docs-body section + section { margin-top: 2.5rem; padding-top: 2.25rem; border-top: 1px solid var(--line-soft); }
.docs-body h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); line-height: 1.15; font-weight: 520; letter-spacing: -.04em; }
.docs-body h3 { font-size: 1.125rem; font-weight: 600; margin-top: 1.25rem; }
.docs-body p, .docs-body ol { margin: .875rem 0; }
.docs-body ol { padding-left: 1.45rem; }
.docs-body li { padding-left: .25rem; }
.docs-body li + li { margin-top: .4rem; }
.docs-body li::marker { color: var(--docs-accent); font-weight: 600; }
.docs-body details { border-block-end: 1px solid var(--line-soft); }
.docs-body summary { padding: .875rem .1rem; cursor: pointer; font-weight: 550; }
.docs-body details[open] { padding-bottom: .75rem; }
.docs-body summary::marker { color: var(--docs-accent); }
.docs-body blockquote {
  margin: 1rem 0;
  padding: .9rem 1.25rem;
  border-inline-start: 3px solid var(--docs-accent);
  background: var(--surface);
}
.docs-body code { font-family: ui-monospace, monospace; font-size: .88em; }
.docs-body pre { max-width: 100%; overflow: auto; margin: 1rem 0; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; line-height: 1.55; }
.docs-body pre:focus-visible { outline: 2px solid var(--docs-accent); }
.docs-body dl { display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 1.25rem 0; column-gap: 1.5rem; }
.docs-body dt, .docs-body dd { margin: 0; padding-block: .75rem; border-top: 1px solid var(--line-soft); }
.docs-body dt { font-weight: 550; }
@media (max-width: 760px) {
  .docs-page { width: calc(100% - 2.25rem); }
  .docs-layout { grid-template-columns: minmax(0, 1fr); padding-top: 1rem; gap: 1.75rem; }
  .docs-contents { position: static; display: flex; flex-wrap: wrap; gap: 0 1rem; }
  .docs-contents h2 { flex-basis: 100%; margin-bottom: .25rem; }
  .docs-contents a { padding-block: .4rem; }
  .docs-body .docs-tools { display: block; }
  .docs-tools dt { padding-bottom: .25rem; }
  .docs-tools dd { border: 0; padding-top: 0; }
}
