:root { color-scheme: light dark; --bg:#f1f2f3; --surface:#fff; --ink:#21262d; --muted:#57616d; --line:#d7dde2; --accent:#176369; }
* { box-sizing:border-box; }
html { scroll-padding-top:1.5rem; }
body { margin:0; background:var(--bg); color:var(--ink); font:1rem/1.7 system-ui,-apple-system,"Segoe UI",sans-serif; }
.wrap { max-width:850px; margin:auto; padding:2.5rem 1.25rem 4rem; }
header { border-bottom:1px solid var(--line); padding-bottom:1.5rem; }
.brand { font-size:1.05rem; font-weight:700; letter-spacing:.08em; color:var(--accent); }
h1 { font-size:clamp(1.8rem,5vw,2.7rem); line-height:1.2; margin:.7rem 0; }
h2 { font-size:1.6rem; margin:0 0 1.25rem; }
h3 { font-size:1.1rem; line-height:1.4; margin:1.8rem 0 .5rem; }
p { margin:.5rem 0 1rem; }
a { color:var(--accent); text-underline-offset:3px; overflow-wrap:anywhere; }
a:focus-visible { outline:3px solid var(--accent); outline-offset:4px; border-radius:2px; }
nav { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1rem; }
nav a { padding:.3rem 0; }
.date, footer { color:var(--muted); font-size:.9rem; }
article { background:var(--surface); border:1px solid var(--line); border-radius:16px; margin-top:1.5rem; padding:clamp(1rem,4vw,2rem); }
.lead { font-size:1.05rem; }
footer { margin-top:1.75rem; }
@media (prefers-color-scheme:dark) { :root { --bg:#101214; --surface:#191c20; --ink:#e7eaed; --muted:#afb7c1; --line:#343a41; --accent:#91d0cf; } }
@media print { :root { --bg:white; --surface:white; --ink:black; --muted:#333; --line:#aaa; --accent:black; } .wrap { max-width:none; padding:0; } article { border:0; padding:0; break-before:page; } article:first-of-type { break-before:auto; } nav { display:none; } }
