:root{color-scheme:light;--ink:#111827;--body:#4b5563;--muted:#6b7280;--line:#e5e7eb;--blue:#2563eb;--soft:#f9fafb;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--body);font:16px/1.65 var(--sans);-webkit-font-smoothing:antialiased}
::selection{background:#e0e7ff;color:#1e1b4b}
a{color:var(--blue);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{text-decoration-color:var(--blue)}
a:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:2px}
.shell{max-width:816px;padding:0 24px;margin:auto}
.site-header{border-bottom:1px solid #f3f4f6;padding:25px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:20px;font-weight:700;letter-spacing:-.04em;text-decoration:none;white-space:nowrap}
.brand em{font-style:normal;color:#078f85}
.brand-mark{display:block;width:28px;height:28px;flex:none}
nav{display:flex;gap:22px;flex-wrap:wrap;justify-content:flex-end}
nav a,footer a{font-size:13px;color:var(--body);text-decoration:none}
nav a:hover,footer a:hover{color:var(--ink);text-decoration:underline}
main{padding:80px 0 0}
section{margin-bottom:76px}
.hero{margin-bottom:88px}
.docs-hero{margin-bottom:72px}
.eyebrow,.section-head{font:600 12px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
h1{font-size:clamp(2.2rem,7vw,3.5rem);line-height:1.13;letter-spacing:-.055em;color:var(--ink);margin:20px 0 20px}
.docs-hero h1{font-size:clamp(2rem,6vw,3.1rem)}
.lead{font-size:18px;line-height:1.7;max-width:650px;margin:0;color:var(--body)}
.actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:30px;font-size:14px}
.button{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--ink);border-radius:7px;background:var(--ink);color:#fff;padding:11px 16px;text-decoration:none;font:600 14px/1.5 var(--sans);cursor:pointer}
.button:hover{color:#fff;background:#273449}
.button-outline{background:#fff;color:var(--ink)}
.button-outline:hover{background:var(--soft);color:var(--ink)}
.section-head{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #f3f4f6;padding-bottom:13px;margin-bottom:23px}
.section-head h2{font:inherit;letter-spacing:inherit;margin:0;color:var(--muted)}
.section-head span{color:#9ca3af}
h3{font-size:16px;color:var(--ink);margin:26px 0 8px}
p{margin:0 0 18px}
.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.features h3{margin-top:0}
.features p{font-size:14px;line-height:1.7}
code,pre{font-family:var(--mono)}
code{font-size:.88em}
p code{padding:2px 4px;border-radius:3px;background:var(--soft);color:#1f2937}
pre{overflow:auto;margin:16px 0 22px;padding:18px 19px;background:var(--soft);border:1px solid var(--line);border-radius:8px;color:#1f2937;line-height:1.6;font-size:12px;tab-size:2}
pre code{font-size:inherit}
.table-scroll{overflow-x:auto;margin:16px 0 22px}
.reference-table{width:100%;min-width:560px;border-collapse:collapse;font-size:14px;line-height:1.5}
.reference-table th,.reference-table td{padding:11px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.reference-table thead th{color:var(--muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.reference-table tbody th{color:var(--ink);font-weight:600;white-space:nowrap}
.reference-table strong{color:var(--ink)}
.agent-dialog{width:min(700px,calc(100% - 32px));max-height:90vh;border:1px solid var(--line);border-radius:12px;padding:24px;box-shadow:0 24px 70px #11182740;color:var(--body)}
.agent-dialog::backdrop{background:#11182799}
.agent-dialog-header,.agent-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}
.agent-dialog-header h2{margin:0;color:var(--ink);font-size:21px;line-height:1.3}
.agent-dialog-header form{margin:0}
.agent-close{border:0;background:transparent;color:var(--muted);font:28px/1 var(--sans);cursor:pointer;padding:4px 8px}
.agent-close:hover{color:var(--ink)}
.agent-dialog p{margin:12px 0 18px}
.agent-prompt{display:block;width:100%;height:min(52vh,500px);resize:vertical;border:1px solid var(--line);border-radius:8px;background:var(--soft);padding:14px;color:var(--ink);font:13px/1.55 var(--mono)}
.agent-dialog-actions{justify-content:flex-end;margin-top:18px}
.agent-copy-error{color:#b42318;font-size:13px}
.copy-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10;padding:10px 18px;border-radius:8px;background:var(--ink);color:#fff;box-shadow:0 10px 30px #11182733;font-size:14px;font-weight:600}
.copy-toast[hidden],.agent-copy-error[hidden]{display:none}
.small{font-size:13px;color:var(--muted)}
footer{border-top:1px solid #f3f4f6;margin:85px 0 0;padding:26px 0 40px;display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:13px}
footer span:last-child{display:flex;gap:20px}
@media(max-width:650px){.site-header{align-items:flex-start;flex-direction:column;padding:20px 0;gap:16px}nav{gap:18px}main{padding-top:56px}.hero{margin-bottom:64px}section{margin-bottom:58px}.features{grid-template-columns:1fr;gap:8px}.lead{font-size:16px}footer{flex-direction:column;margin-top:65px}}
@media(max-width:650px){.reference-table{min-width:0}.limits-table thead{display:none}.limits-table tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);padding:9px 0}.limits-table th,.limits-table td{border:0;padding:2px 6px}.limits-table td:last-child{grid-column:1/-1}.errors-table tbody th{width:58px;white-space:normal}.errors-table td{overflow-wrap:anywhere}}
