main h1{font-size:68px;max-width:820px;margin:34px 0 44px}
.cols{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start;border-top:1px solid var(--ink);padding-top:26px}
.toc{display:flex;flex-direction:column;position:sticky;top:16px}
.toc a{min-height:44px;display:flex;align-items:center;font-size:15px;border-bottom:1px dotted var(--rule)}
.body{max-width:720px;overflow-wrap:break-word}
.body section{padding-bottom:44px}
.body h2{font-size:40px;margin-bottom:14px}
.body p{margin-bottom:12px}
.body ul{padding-left:1.1rem;margin-bottom:12px}
.body li{margin-bottom:8px}
.body p a{text-decoration:underline;text-underline-offset:3px}
dl{border-top:1px dotted var(--rule);margin-bottom:16px}
dl div{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px dotted var(--rule)}
dt{font:400 21px/1.2 var(--display)}
.nf{padding:60px 0 20px;min-height:46vh}
.nf p{margin-bottom:28px}
.cta{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:760px){main h1{font-size:44px;margin:28px 0 30px}.cols{grid-template-columns:minmax(0,1fr);gap:26px}.toc{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.body h2{font-size:34px}dl div{grid-template-columns:minmax(0,1fr);gap:4px}.nf h1{margin-top:0}}
.credit{margin-top:40px;font-size:14px;color:var(--mute)}

/* Waves sit in the corner above the columns and in the margin beside them, never under text. */
main h1{margin-bottom:80px}
#main>h1:has(+.lede){margin-bottom:18px}
#main>.lede{max-width:720px;margin-bottom:44px}
.nf h1{margin-bottom:44px}
.w-corner{width:clamp(220px,calc(100vw - 960px),270px)}
.w-side{position:absolute;right:0;top:1500px;width:250px;height:auto;z-index:-1;opacity:.7}
.nf{position:relative}
.w-ripple{position:absolute;right:0;top:30px;width:380px;height:auto;opacity:.7;z-index:-1}
@media(max-width:1320px){.w-side{display:none}}
@media(max-width:1100px){.w-ripple{position:static;width:min(300px,100%);margin:20px auto 0}}
@media(max-width:760px){main h1{margin:128px 0 30px}#main>h1:has(+.lede){margin-bottom:18px}#main>.lede{margin-bottom:30px}.nf h1{margin:0 0 30px}.w-corner{width:100px;top:126px}}
/* Between phone and wide desktop the headline reaches the corner, so the wave steps aside. */
@media(min-width:761px) and (max-width:1279px){.w-corner{display:none}}
