:root { color-scheme:light; --ink:#161922; --muted:#535e6d; --line:#d7dce4; --purple:#4f42d6; --paper:#f6f7f9; --serif:"Iowan Old Style",Georgia,serif; font:17px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--ink); background:var(--paper); }
* { box-sizing:border-box; }
body { margin:0; }
a { color:var(--purple); text-underline-offset:4px; }
a:focus-visible,input:focus-visible,summary:focus-visible { outline:3px solid var(--purple); outline-offset:4px; }
.wrap { width:min(1100px,calc(100% - 40px)); margin:auto; }
header { border-bottom:1px solid var(--line); background:white; }
header nav,footer .wrap,.brand { display:flex; align-items:center; gap:12px; }
header nav { min-height:64px; justify-content:space-between; }
.brand { text-decoration:none; font-weight:750; color:var(--ink); }
.brand img { width:32px; height:32px; }
header nav>a:last-child { font-size:.92rem; }
h1,h2,h3,p { margin:0 0 .8em; }
h1,h2 { font-family:var(--serif); font-weight:500; line-height:1.06; letter-spacing:-.045em; }
h1 { font-size:clamp(2.65rem,6.2vw,5.5rem); max-width:15ch; }
h2 { font-size:clamp(1.9rem,3.5vw,3rem); }
h3 { font-size:1.12rem; }
p { max-width:64ch; }
.hero,.spread { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:clamp(30px,6vw,85px); padding:clamp(44px,8vw,100px) 0; }
.hero img { width:100%; display:block; border-radius:3px; }
.meta { color:var(--muted); font-size:.88rem; }
.lead { font-size:1.17rem; }
.action { display:inline-flex; align-items:center; background:var(--purple); color:white; border-radius:5px; padding:12px 19px; text-decoration:none; font-weight:650; }
.action:hover { background:#4034b7; }
section,.chapter { padding:42px 0; border-top:1px solid var(--line); }
.item { display:block; padding:22px 0; border-top:1px solid var(--line); }
.item a { font-size:1.25rem; font-weight:650; }
.item p { margin:.4em 0 0; }
.library { padding:48px 0 70px; }
.library h1 { font-size:clamp(2.6rem,5vw,4rem); }
input { width:min(100%,470px); padding:13px 15px; border:1px solid #828996; border-radius:4px; background:white; font:inherit; margin:5px 0 24px; }
label { display:block; font-size:.92rem; font-weight:650; }
figure { margin:0; }
figcaption { margin-top:10px; font-size:.86rem; color:var(--muted); }
.quote { background:white; padding:clamp(22px,3vw,44px); border-top:5px solid var(--purple); box-shadow:0 12px 35px #25253610; }
.quote h2 { font-size:2rem; }
dl { margin:0; }
dl div { display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--line); padding:11px 0; }
dt { color:var(--muted); }
dd { margin:0; text-align:right; font-variant-numeric:tabular-nums; }
.chapter { scroll-margin:20px; max-width:820px; }
li { padding:.3em 0; }
footer { border-top:1px solid var(--line); margin-top:36px; }
footer .wrap { flex-wrap:wrap; padding:24px 0; justify-content:space-between; }
.skip { position:absolute; left:-999px; }
.skip:focus { left:12px; top:4px; background:white; padding:6px; }
[hidden] { display:none!important; }
@media(max-width:700px) { .hero,.spread { grid-template-columns:1fr; gap:24px; padding:36px 0; } .hero img { max-height:260px; object-fit:cover; } header nav { gap:8px; } .brand { gap:7px; } .wrap { width:calc(100% - 32px); } section,.chapter { padding:30px 0; } }
