:root { color-scheme: light; --ink: #14211e; --muted: #52625b; --line: #dce2dc; --link: #345b23; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.65 system-ui, sans-serif; }
a { color: var(--link); text-underline-offset: .17em; }
a:hover, a:focus-visible { color: #0c3821; text-decoration: underline; }
.skip-link { position: absolute; left: 1rem; top: -6rem; background: white; padding: .75rem; }
.skip-link:focus { top: 0; }
.masthead { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); padding: .9rem max(4vw, 1rem); }
.masthead a, .chapters a, .on-page a { text-decoration: none; }
.masthead nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 2rem); }
.brand { color: var(--ink); font: 600 1rem/1.3 ui-monospace, monospace; display: flex; gap: .65rem; align-items: center; }
.brand span { display: grid; place-items: center; width: 2rem; height: 2rem; color: #15210a; background: #c5ff36; font: italic bold 1.75rem/1 Georgia, serif; }
.launch { padding: .45rem .85rem; border-radius: .25rem; background: var(--ink); color: #fff; white-space: nowrap; }
.launch:hover, .launch:focus-visible { color: #fff; }
.docs-layout { max-width: 88rem; margin: 0 auto; padding: 3rem max(3vw, 1rem); display: grid; grid-template-columns: minmax(13rem, .9fr) minmax(0, 3fr) minmax(10rem, .8fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; }
.chapters, .on-page { font-size: .88rem; }
.chapters a, .on-page a, .on-page strong { display: block; padding: .23rem 0; }
.chapters summary { cursor: pointer; padding: .55rem 0; font-weight: 600; }
.chapters details a { padding-left: 1rem; }
.chapters [aria-current="page"] { font-weight: 700; text-decoration: underline; }
.docs-home, .on-page strong { color: var(--ink); font-weight: 700; margin-bottom: .7rem; }
.chapter-label { color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font: 600 .75rem/1.4 ui-monospace, monospace; }
h1 { font: 500 clamp(2.15rem, 4vw, 3.5rem)/1.07 Georgia, serif; letter-spacing: -.035em; margin: .65rem 0 1.5rem; }
h2, h3 { line-height: 1.24; margin: 2.1rem 0 .65rem; scroll-margin-top: 1rem; }
.docs-anchor { padding-left: .4rem; color: var(--muted); font-size: .68em; text-decoration: none; }
main { min-width: 0; overflow-wrap: anywhere; }
main p, main li { max-width: 76ch; }
main li + li { margin-top: .45rem; }
main code { font: .9em/1.5 ui-monospace, monospace; }
main :not(pre) > code { background: #f0f3ee; border-radius: .2em; padding: .12em .27em; }
.docs-codeblock { background: #172420; border-radius: .4rem; color: #f5f8f2; margin: 1rem 0; overflow: hidden; }
.docs-codeblock-bar { padding: .35rem 1rem; font: .72rem/1.5 ui-monospace, monospace; color: #bccabd; }
pre { margin: 0; overflow: auto; padding: .4rem 1rem 1rem; }
.docs-table { overflow-x: auto; } table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .65rem; border-bottom: 1px solid var(--line); } th { background: #f4f6f2; }
.docs-callout, .docs-cards a { background: #f4f7ef; border-left: 3px solid #8cb353; padding: .8rem 1rem; }
.docs-callout p { margin: .3rem 0; }
.docs-cards { display: grid; gap: .5rem; } .docs-cards a { text-decoration: none; } .docs-cards span { display: block; color: var(--ink); }
main footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; }
@media (max-width: 68rem) { .docs-layout { grid-template-columns: 13rem minmax(0, 1fr); } .on-page { display: none; } }
@media (max-width: 48rem) {
  .docs-layout { display: flex; flex-direction: column; padding-top: 1rem; } main, .chapters { width: 100%; }
  .chapters { border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
  .chapters summary { padding: .2rem 0; } .chapters details a { display: inline-block; margin-right: .55rem; }
  .masthead { flex-wrap: wrap; } .masthead nav { font-size: .9rem; }
}
