@font-face{font-family:"EB Garamond";font-weight:600;font-display:swap;src:url(fonts/EBGaramond-600.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-weight:400;font-display:swap;src:url(fonts/SourceSans3-400.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-weight:600;font-display:swap;src:url(fonts/SourceSans3-600.woff2) format("woff2")}
:root{--paper:#FAF7F0;--surface:#EFE8D8;--ink:#22252B;--muted:#6B6C6E;--navy:#1F3A5F;--gold:#B08D57;--rule:#DCD2BE}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.65 "Source Sans 3","Segoe UI",system-ui,sans-serif}
a{color:var(--navy)}
.top{border-bottom:1px solid var(--rule)}
.top div{max-width:820px;margin:0 auto;padding:18px 24px}
.top a{font:600 21px/1.2 "EB Garamond",Georgia,serif;text-decoration:none}
main{max-width:820px;margin:0 auto;padding:40px 24px 64px}
h1,h2,h3{font-family:"EB Garamond",Georgia,serif;font-weight:600;color:var(--navy);line-height:1.2}
h1{font-size:clamp(34px,5vw,46px);margin:0 0 6px}
h2{font-size:28px;margin:40px 0 10px;padding-top:16px;border-top:1px solid var(--rule)}
h3{font-size:22px;margin:24px 0 6px}
.date{color:var(--muted);margin:0 0 24px}
.toc{background:var(--surface);border-top:4px solid var(--gold);padding:16px 22px 16px 40px;margin:0 0 8px}
.toc li{margin:4px 0}
ul{padding-left:1.2em}
li{margin:0 0 6px}
table{border-collapse:collapse;width:100%;margin:8px 0 16px;font-size:17px}
th,td{text-align:left;vertical-align:top;border-bottom:1px solid var(--rule);padding:8px 10px 8px 0}
th{color:var(--muted);font-weight:600}
.wrap-table{overflow-x:auto}
footer{max-width:820px;margin:0 auto;padding:20px 24px 40px;color:var(--muted);font-size:15px;border-top:1px solid var(--rule)}
footer a{margin-right:14px}
/* Dark mode: follows the visitor's device setting (same colors as the home page) */
/* theme.js sets data-theme on <html>: the visitor's light-switch choice on the home page, or their device setting. */
:root{color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark;--paper:#0F1B2D;--surface:#162741;--ink:#EDE7D8;--muted:#A8B0BD;--navy:#E3CC9A;--rule:#2B3D58}
