/*
  The public docs under /docs (T17.6), generated from the repository's Markdown by
  scripts/build-docs.mjs. They load /landing.css and /guides/guide.css first; this file adds only
  what long reference text needs — code blocks, deeper headings, quotes and the index.
*/
main.doc { padding-bottom: 32px; }
main.doc h2 { margin: 44px 0 12px; font-size: 26px; line-height: 1.25; }
main.doc h3 { margin: 30px 0 8px; font-size: 20px; line-height: 1.3; }
main.doc h4 { margin: 24px 0 6px; font-size: 17px; }
main.doc h2[id],
main.doc h3[id] { scroll-margin-top: 16px; }
main.doc li { margin: 4px 0; }

main.doc pre {
  margin: 16px 0 20px;
  padding: 14px 16px;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
main.doc pre code { padding: 0; background: none; font-size: inherit; }

main.doc blockquote {
  margin: 16px 0;
  padding: 2px 16px;
  border-left: 3px solid var(--brand);
  color: var(--ink-soft);
}
main.doc hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
main.doc table.cells { font-size: 14px; }

.doc-index { list-style: none; padding: 0; margin: 8px 0 0; }
.doc-index li { margin: 0 0 24px; }
.doc-index a { font-size: 20px; font-weight: 600; }
.doc-index p { margin: 4px 0 0; color: var(--ink-soft); }
