:root{color-scheme:light;--paper:#fffefa;--ground:#f4f3ee;--ink:#19353a;--muted:#607976;--line:#d9e1dc;--accent:#286f66;--warm:#9b6f58;font-family:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink)}
a{color:var(--accent);text-underline-offset:3px}
button{font:inherit}
.site-head{height:72px;padding:0 max(26px,calc((100vw - 1280px)/2));display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);background:rgba(255,254,250,.94);position:sticky;top:0;z-index:5;backdrop-filter:blur(8px)}
.wordmark{text-decoration:none;color:var(--ink);font-size:17px;font-weight:700;white-space:nowrap}
.wordmark span{color:var(--muted);font-weight:400}
.head-status{margin-left:auto;color:var(--muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
#print-button{background:transparent;border:1px solid #b9ccc5;border-radius:4px;color:var(--accent);padding:9px 13px;cursor:pointer;white-space:nowrap}
#print-button:hover,#print-button:focus-visible{background:#e9f3ed;outline:2px solid transparent}
.hero{max-width:1280px;margin:0 auto;padding:55px 26px 48px}
.hero-meta{display:flex;gap:30px;flex-wrap:wrap;color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.13em}
.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(3rem,6vw,5.35rem);line-height:1.04;letter-spacing:-.05em;font-weight:400;max-width:1000px;margin:24px 0 24px}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero-deck{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.18rem,2vw,1.5rem);line-height:1.55;max-width:760px;margin:0 0 42px;color:#405b5c}
.hero-figure{margin:0}
figure img{display:block;width:100%;height:auto}
figure a{display:block}
figure a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.hero-figure img,.diagram-figure img,.wide-figure img{border-radius:14px;border:1px solid #dde5df;background:#f5f4ef}
figcaption{margin-top:12px;color:var(--muted);font-size:13px;line-height:1.6}
figcaption strong{color:var(--ink)}
.reading-layout{max-width:1280px;margin:0 auto;padding:22px 26px 105px;display:grid;grid-template-columns:220px minmax(0,790px);gap:88px;align-items:start}
.toc{position:sticky;top:106px;max-height:calc(100vh - 128px);overflow-y:auto;padding:14px 8px 20px 0;scrollbar-width:thin}
.toc-title{font-size:11px;letter-spacing:.2em;color:var(--accent);font-weight:700;margin:0 0 16px}
.toc a{display:block;color:#506866;text-decoration:none;font-size:13px;line-height:1.35;padding:9px 0;border-bottom:1px solid #e0e6e0}
.toc a:hover,.toc a.active{color:var(--accent);font-weight:700}
.paper{background:var(--paper);border:1px solid #e6e8e1;border-radius:12px;padding:58px 64px 78px;box-shadow:0 8px 28px rgba(35,62,58,.035);font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.78;min-width:0}
.paper h1,.paper h2{font-weight:400;line-height:1.18;letter-spacing:-.025em;color:var(--ink);scroll-margin-top:100px}
.paper h1{font-size:clamp(1.95rem,3vw,2.6rem);margin:78px 0 24px;border-top:1px solid var(--line);padding-top:35px}
.paper h1:first-child{margin-top:0;border-top:0;padding-top:0}
.paper h2{font-size:clamp(1.4rem,2vw,1.72rem);margin:47px 0 18px}
.paper p{margin:0 0 20px}
.paper strong{font-weight:700;color:#1c4446}
.paper em{color:#4d6865}
.paper ul,.paper ol{padding-left:27px;margin:8px 0 25px}
.paper li{padding-left:5px;margin:7px 0}
.paper hr{height:1px;border:0;background:var(--line);margin:64px 0}
.paper table{width:100%;border-collapse:collapse;margin:24px 0 32px;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.55}
.paper th{text-align:left;color:#285f59;font-size:12px;letter-spacing:.06em;text-transform:uppercase;background:#eaf2ed}
.paper td,.paper th{padding:13px 15px;border-bottom:1px solid #dbe5dd;vertical-align:top}
.paper td:first-child{min-width:175px;font-weight:700;color:#244b4a}
.paper .diagram-figure,.paper .wide-figure{margin:36px -42px 58px}
.paper .wide-figure{margin-left:-58px;margin-right:-58px}
.paper .wide-figure img{cursor:zoom-in}
.paper .diagram-figure img{max-height:510px;object-fit:contain}
.paper .wide-figure a{display:block}
.paper .wide-figure img{width:100%;height:auto;max-height:none;background:#fff}
.hero-figure img,.diagram-figure img,.wide-figure img{cursor:zoom-in}
.paper .diagram-figure figcaption,.paper .wide-figure figcaption{font-family:Arial,Helvetica,sans-serif}
.paper .wide-figure a{display:block}
.site-foot{max-width:1280px;margin:0 auto;padding:30px 26px 65px;border-top:1px solid var(--line);display:flex;gap:22px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.site-foot strong{color:var(--ink)}
.site-foot span:last-child{margin-left:auto}
@media(max-width:1000px){.reading-layout{grid-template-columns:1fr;gap:20px;max-width:850px}.toc{position:static;max-height:none;display:flex;gap:8px;overflow:auto;white-space:nowrap;padding:0 0 12px}.toc-title{display:none}.toc a{border:1px solid var(--line);border-radius:20px;padding:7px 11px;white-space:nowrap}.hero{padding-top:52px}.paper{padding:48px 48px 65px}.paper .diagram-figure,.paper .wide-figure{margin-left:-26px;margin-right:-26px}}
@media(max-width:620px){.site-head{height:60px;padding:0 16px;gap:12px}.wordmark{font-size:14px}.wordmark span{display:none}.head-status{display:none}#print-button{padding:7px 9px;font-size:12px;margin-left:auto}.hero{padding:45px 18px 34px}.hero h1{font-size:clamp(2.6rem,12vw,4.2rem)}.hero-deck{margin-bottom:34px}.reading-layout{padding:10px 14px 60px}.paper{padding:31px 22px 48px;font-size:16px;line-height:1.72}.paper h1{margin-top:57px}.paper h2{margin-top:35px}.paper .diagram-figure,.paper .wide-figure{margin:28px -12px 42px}.paper table{font-size:12px}.paper td,.paper th{padding:9px 7px}.paper td:first-child{min-width:105px}.site-foot{padding:24px 18px 40px}.site-foot span:last-child{margin-left:0}.hero-figure figcaption{font-size:12px}.hero-figure a,.diagram-figure a,.wide-figure a{overflow-x:auto;scrollbar-width:thin}.hero-figure img,.diagram-figure img{min-width:680px}.paper .diagram-figure img{max-height:none}.paper .wide-figure img{min-width:680px;max-height:none}}
@media print{@page{size:A4;margin:18mm 16mm}html{scroll-behavior:auto}body{background:#fff;color:#111}.site-head,.toc,#print-button{display:none!important}.hero{padding:0;max-width:none}.hero h1{font-size:36pt;margin:18mm 0 9mm}.hero-deck{font-size:15pt;margin-bottom:14mm}.hero-figure{margin:0 0 16mm}.reading-layout{display:block;padding:0;max-width:none}.paper{border:0;border-radius:0;box-shadow:none;padding:0;font-size:11pt;line-height:1.5}.paper h1{font-size:21pt;margin-top:14mm;padding-top:5mm;break-after:avoid}.paper h2{font-size:15pt;margin-top:9mm;break-after:avoid}.paper p{margin-bottom:3mm}.paper figure,.hero figure{break-inside:avoid;page-break-inside:avoid}.paper .diagram-figure,.paper .wide-figure{margin:8mm 0}.paper .diagram-figure img,.paper .wide-figure img{max-height:105mm;border:0}.paper table{font-size:8pt}.paper tr{break-inside:avoid}.paper hr{margin:7mm 0}.site-foot{padding:8mm 0 0;max-width:none;font-size:9pt}}
