:root{--bg:#fff;--text:#111827;--muted:#4b5563;--border:#e5e7eb;--radius:8px}@media (prefers-color-scheme:dark){:root{--bg:#0b0f17;--text:#f3f4f6;--muted:#9ca3af;--border:#1f2937}}*,:before,:after{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);color:var(--text);margin:0;font-family:ui-sans-serif,system-ui,-apple-system,sans-serif;line-height:1.6}a{color:inherit;text-underline-offset:3px}.page{max-width:680px;margin:0 auto;padding:0 1.25rem}.topbar{z-index:10;background:var(--bg);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding-block:1rem;display:flex;position:sticky;top:0}.topbar a{text-decoration:none}.topbar a:hover{text-decoration:underline}.brand{font-weight:600}.topbar nav,.links{gap:1.25rem;display:flex}.hero{border-bottom:1px solid var(--border);padding-block:3.5rem 2.5rem}.hero h1{margin:.25rem 0 .75rem;font-size:clamp(1.6rem,4vw,2.1rem);line-height:1.2}.hero p{margin:0}.section{border-bottom:1px solid var(--border);padding-block:2.5rem;scroll-margin-top:4rem}.section h2{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 .5rem;font-size:.85rem}.meta{color:var(--muted);font-size:.875rem}.card{border-bottom:1px solid var(--border);padding-block:1.25rem}.card:last-child{border-bottom:0;padding-bottom:0}.card h3{margin:0 0 .35rem;font-size:1.05rem}.card p{margin:0 0 .5rem}.card button{font:inherit;color:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-size:.9rem;font-weight:500;text-decoration:underline}.modal{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);width:min(600px,100% - 2rem);max-height:85vh;color:var(--text);padding:0}.modal::backdrop{background:#00000080}.modal-body{padding:1.5rem}.modal header,.modal footer{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.modal header{margin-bottom:1rem}.modal h2{margin:0;font-size:1.25rem}.modal h3{margin:1.25rem 0 .35rem;font-size:.95rem}.modal p{margin:0 0 .75rem}.modal footer{border-top:1px solid var(--border);margin-top:1.5rem;padding-top:1rem}.modal nav{gap:1rem;display:flex}.modal a,.modal button{font:inherit;color:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-size:.9rem;font-weight:500;text-decoration:underline}.modal header button{text-decoration:none}.site-footer{color:var(--muted);padding-block:2rem;font-size:.85rem}
