.docs-hero h1, .docs-hero .lede { margin-left: 0; }
.docs-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; }
.docs-hero .lede { max-width: 760px; }
.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 64px; }
.docs-toc { align-self: start; position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; font-size: 14px; }
.docs-toc h2 { margin: 0 0 12px; font-size: 16px; }
.docs-toc ol { padding-left: 22px; margin: 0; }
.docs-toc li { padding: 5px 0; }
.docs-toc a:hover, .docs-toc a:focus-visible { text-decoration: underline; }
.docs-article { min-width: 0; color: #333; overflow-wrap: anywhere; }
.docs-article section { scroll-margin-top: 96px; margin-bottom: 64px; }
.docs-article h2 { margin: 0 0 20px; color: var(--ink); font-size: 30px; line-height: 1.18; letter-spacing: -0.025em; }
.docs-article h3 { margin: 28px 0 12px; color: var(--ink); font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; }
.docs-article p { margin: 12px 0; }
.docs-article a:not(.doc-shot a) { text-decoration: underline; text-underline-offset: 3px; }
.docs-article ol, .docs-article ul { padding-left: 24px; }
.docs-article li { margin-bottom: 10px; }
.docs-article strong { color: var(--ink); }
.docs-article code { font-family: "Geist Mono", monospace; font-size: 0.9em; background: var(--soft); padding: 1px 4px; }
.doc-note { padding: 16px; background: var(--soft); border: 1px solid var(--line); }
.doc-shot { margin: 24px 0 32px; }
.doc-shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); }
.doc-shot figcaption { max-width: 760px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.doc-table { overflow-x: auto; margin: 20px 0; }
.doc-table table { min-width: 500px; }
.doc-table th, .doc-table td { padding: 12px; vertical-align: top; }
.doc-table th { color: var(--ink); font-size: 13px; text-transform: none; letter-spacing: 0; }
.doc-table td { font-size: 15px; }
.doc-table th:nth-child(3), .doc-table td:nth-child(3) { display: table-cell; }
.doc-faq { border-top: 1px solid var(--line); padding-top: 4px; margin-top: 24px; }
@media (max-width: 860px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 32px; }
  .docs-toc { position: static; max-height: none; overflow: visible; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .docs-toc ol { columns: 2; column-gap: 32px; }
  .docs-toc li { break-inside: avoid; }
  .docs-article h2 { font-size: 27px; }
}
@media (max-width: 480px) {
  .docs-toc ol { columns: 1; }
  .docs-hero { padding-top: 40px; }
  .docs-layout { padding-bottom: 16px; }
  .docs-article section { margin-bottom: 48px; }
  .docs-article h3 { font-size: 20px; }
  .docs-table { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
