/* Shared identity and heading scale for every public view. */
:root{--title-size:clamp(40px,5vw,64px);--section-title-size:clamp(30px,3.6vw,44px);--card-title-size:24px}
html body h1.site-title{font-size:var(--title-size);font-weight:440;line-height:1.1;letter-spacing:-.035em;font-variation-settings:'SOFT' 45,'WONK' 1}
html body .section-intro h2,html body .fit-intro h2,html body .reader-head h2,html body .story h2{font-size:var(--section-title-size);font-weight:440;line-height:1.17}
html body .features h3,html body .support-links h2,html body .chapter-top h3{font-size:var(--card-title-size);font-weight:440;line-height:1.3}
html body .header,html body header.wrap{height:88px;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:25px;padding-block:0;position:sticky;top:0;z-index:20;background:var(--canvas)}
html body .header .wordmark,html body header.wrap .brand{display:inline-flex;align-items:center;gap:10px;font-family:Fraunces,Georgia,serif;font-size:25px;font-weight:440;letter-spacing:-.035em;line-height:1.3;font-variation-settings:'SOFT' 45,'WONK' 1;text-decoration:none;white-space:nowrap}
html body .header .wordmark img,html body header.wrap .brand img{width:42px;height:42px;border-radius:11px;flex-shrink:0;object-fit:contain}
html body header .view-tabs{display:flex;align-items:center;gap:6px;font-family:Inter,sans-serif;font-size:13px;line-height:1.75;margin:0;padding:0;overflow:visible}
html body header .view-tabs a{display:inline-flex;align-items:center;justify-content:center;padding:10px 17px;border:0;border-radius:8px;min-height:44px;white-space:nowrap;text-decoration:none}
html body header .view-tabs a[aria-current=page]{background:#e3e8dc;color:var(--green);box-shadow:inset 0 -2px var(--green)}
html body header .view-tabs a:hover{background:#e9ecdf}
@media(max-width:900px){
 html body .header,html body header.wrap{height:auto;display:block;padding-block:13px 8px}
 html body .header .wordmark,html body header.wrap .brand{font-size:23px}
 html body .header .wordmark img,html body header.wrap .brand img{width:36px;height:36px;border-radius:10px}
 html body header .view-tabs{justify-content:space-between;gap:4px;padding-top:8px;font-size:12px}
 html body header .view-tabs a{padding:9px 8px;min-height:40px}
}
@media(max-width:360px){html body header .view-tabs{gap:2px;font-size:11px}html body header .view-tabs a{padding-inline:6px}}
