:root { color-scheme: light dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: #1f2937; background: #f8fafc; line-height: 1.65; }
header { background: #111827; color: #fff; }
.header-inner, main, footer { max-width: 860px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.header-inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { color: inherit; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 12px; }
nav a { color: #dbeafe; text-decoration: none; font-size: .9rem; }
nav a:hover { text-decoration: underline; }
main { min-height: calc(100vh - 140px); padding-top: 42px; padding-bottom: 42px; }
h1 { margin-top: 0; font-size: clamp(1.75rem, 4vw, 2.4rem); }
h2 { margin-top: 2rem; font-size: 1.2rem; }
.lead { color: #4b5563; font-size: 1.05rem; }
.card { padding: 18px 20px; margin: 18px 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
code, pre { background: #e5e7eb; border-radius: 6px; padding: .12rem .35rem; overflow-wrap: anywhere; }
pre { padding: 14px; white-space: pre-wrap; }
.button { display: inline-block; margin-top: 8px; padding: 9px 13px; border-radius: 8px; background: #2563eb; color: #fff; text-decoration: none; }
.copy-url { margin-left: 8px; border: 0; cursor: pointer; font: inherit; }
small { color: #6b7280; }
footer { padding-top: 20px; padding-bottom: 20px; border-top: 1px solid #e5e7eb; color: #6b7280; }
select { padding: 6px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (prefers-color-scheme: dark) { body { color: #e5e7eb; background: #111827; } .card { background: #1f2937; border-color: #374151; } .lead, small, footer { color: #cbd5e1; } code, pre { background: #374151; } }
@media (max-width: 620px) { .header-inner { align-items: flex-start; flex-direction: column; } }
