.docs-body { background: #fff; }
.docs-header { display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(22px, 5vw, 70px); background: var(--ink); color: #fff; }
.docs-header > a:last-child { color: #a9bdcc; font-size: .8rem; text-decoration: none; }
.docs-main { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: center; gap: clamp(40px, 7vw, 100px); padding: 70px 24px 100px; }
.docs-index { position: sticky; top: 30px; align-self: start; display: grid; gap: 12px; border-left: 1px solid var(--line); padding-left: 20px; }
.docs-index a { color: var(--ink-soft); font-size: .8rem; text-decoration: none; }
.docs-index a:hover { color: var(--cobalt); }
.docs-content > h1 { max-width: 690px; margin: 0; font-family: var(--display); font-size: clamp(3rem, 7vw, 5.4rem); letter-spacing: -.035em; line-height: .93; }
.docs-content .lead { max-width: 660px; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.7; }
.docs-content section { position: relative; margin-top: 76px; scroll-margin-top: 30px; }
.docs-content h2 { margin: 0 0 18px; font-family: var(--display); font-size: 2rem; }
.docs-content p, .docs-content li { color: var(--ink-soft); line-height: 1.7; }
.docs-content li { margin: 7px 0; }
.step { position: absolute; top: -2px; left: -54px; color: var(--aqua); font-family: var(--mono); font-size: .7rem; font-weight: 700; }
pre { overflow-x: auto; border-radius: 8px; padding: 18px; background: var(--ink); color: #d8e9f3; }
code { font-family: var(--mono); font-size: .8em; }
.docs-table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--line); padding: 13px; text-align: left; font-size: .82rem; }
th { color: var(--ink); font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.docs-callout { display: grid; grid-template-columns: 150px 1fr; gap: 18px; margin-top: 25px; border-left: 4px solid var(--aqua); padding: 18px; background: var(--aqua-pale); }
.docs-callout span { color: #35645f; font-size: .82rem; line-height: 1.55; }
@media (max-width: 760px) { .docs-main { grid-template-columns: 1fr; }.docs-index { position: static; }.step { position: static; display: block; margin-bottom: 8px; }.docs-callout { grid-template-columns: 1fr; } }
