@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap");

:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0a0a0a;background:#fff;font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}
body{margin:0;line-height:1.5}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.serif{font-family:"Instrument Serif",Georgia,serif;font-weight:400}
.article-header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.9);backdrop-filter:blur(18px);border-bottom:1px solid rgba(0,0,0,.06)}
.header-inner{height:72px;max-width:1240px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{font-size:22px;font-weight:800;letter-spacing:-.03em}
.header-inner nav,.header-actions{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:500;color:#555}
.header-actions{gap:12px}
.header-actions .open-app{padding:8px 12px}
.header-actions .pro-link{padding:11px 18px;border-radius:999px;background:#111;color:white}
.page{max-width:1280px;margin:auto;padding:0 24px}
.article-head{max-width:760px;padding:54px 0 40px;border-bottom:1px solid rgba(0,0,0,.07)}
.crumbs{display:flex;flex-wrap:wrap;gap:9px;color:#777;font-size:12px;margin-bottom:24px}
.crumbs span:last-child{color:#111}
.eyebrow{display:flex;gap:10px;align-items:center;margin-bottom:20px}
.pill{padding:5px 11px;border-radius:999px;background:#fde047;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.canonical{color:#888;font-size:11px}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(38px,6vw,58px);line-height:.99;letter-spacing:-.04em;margin-bottom:20px}
.dek{font-size:18px;line-height:1.55;color:#626262}
.byline{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid #eee;margin-top:26px;padding-top:18px;color:#666;font-size:12px}
.byline strong{color:#111}
.local-badge{margin-left:auto;border:1px solid #cdebd6;background:#effaf2;color:#176b39;padding:5px 9px;border-radius:999px;font-size:10px}
.toc{max-width:760px;margin:28px 0 0;padding:18px 20px;border:1px solid #eee;border-radius:14px;background:#fcfcf9}
.toc strong{font-size:12px}
.toc ol{margin:10px 0 0;padding-left:20px;columns:2;color:#555;font-size:12px}
.toc li{padding:3px 0}
.article-body{max-width:760px;padding:34px 0 70px}
.article-body section{scroll-margin-top:100px;margin:0 0 46px}
.article-body h2{font-size:30px;line-height:1.08;letter-spacing:-.025em;margin-bottom:14px}
.article-body h3{font-size:18px;letter-spacing:-.015em;margin:24px 0 8px}
.article-body p,.article-body li{font-size:15px;line-height:1.75;color:#4e4e4e}
.article-body ul,.article-body ol{padding-left:22px}
.article-body li{padding:3px 0}
.note{margin:20px 0;padding:16px 18px;border-left:3px solid #111;background:#f7f6f2;color:#484848;font-size:13px;line-height:1.65}
.calculator{margin:32px 0 48px;border:1px solid #e5e5e5;border-radius:16px;overflow:hidden;background:#fcfcf9;box-shadow:0 8px 30px rgba(0,0,0,.04)}
.calc-inner{padding:24px}
.calc-title{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:600}
.live{padding:4px 9px;border-radius:999px;background:#111;color:#fff;font-size:10px}
.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}
.calc-control label,.calc-output label{display:block;color:#666;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.calc-value{margin:10px 0;font-size:46px;line-height:1}
.calc-value small{font-family:Inter,sans-serif;color:#888;font-size:13px}
.calc-control input[type=range]{width:100%;accent-color:#111}
.range-labels{display:flex;justify-content:space-between;color:#999;font-size:10px}
.quick-values{display:flex;gap:8px;margin-top:18px}
.quick-values button{border:1px solid #ddd;border-radius:999px;background:white;padding:7px 11px;font-size:11px}
.quick-values button:hover,.quick-values button:focus{background:#111;color:white}
.calc-output{padding:18px;border:1px solid #e5e5e5;border-radius:12px;background:#fff}
.calc-output strong{display:block;margin:5px 0;font-size:38px}
.calc-output p{font-size:11px;color:#777}
.calc-comparison{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}
.calc-comparison div{padding:11px;border-radius:9px;background:#fff4b3;font-size:11px}
.calc-comparison div:last-child{background:#111;color:#fff}
.calc-output a{display:flex;justify-content:center;margin-top:12px;padding:10px;border-radius:999px;background:#111;color:#fff;font-size:11px}
.calc-private{padding:10px 24px;background:#fff4ce;color:#555;font-size:10px}
.faq{margin-top:56px}
.faq h2{margin-bottom:18px}
.faq-item{padding:18px 20px;border:1px solid #e8e8e8;border-bottom:0;background:#fff}
.faq-item:first-of-type{border-radius:12px 12px 0 0}
.faq-item:last-of-type{border-bottom:1px solid #e8e8e8;border-radius:0 0 12px 12px}
.faq-item h3{font-family:"Instrument Serif",Georgia,serif;font-size:19px;font-weight:400;margin:0 0 7px}
.faq-item p{margin:0;font-size:13px;line-height:1.65;color:#666}
.schema{overflow:auto;margin-top:18px;padding:18px;border-radius:12px;background:#111;color:#ddd;font:11px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.author-card{display:flex;gap:15px;margin-top:32px;padding:20px;border:1px solid #eee;border-radius:14px;background:#fcfcf9}
.author-mark{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;background:#111;color:white;font-weight:700}
.author-card strong{font-size:13px}
.author-card p{margin:4px 0 0;font-size:12px;line-height:1.6}
.related{margin-top:40px}
.related h2{font-size:24px}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.related a{padding:15px;border:1px solid #e5e5e5;border-radius:12px;background:#fff}
.related a:hover{border-color:#999}
.related small{display:block;margin-bottom:7px;color:#888;font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.related strong{font-size:13px;line-height:1.4}
.article-footer{border-top:1px solid #eee;background:#faf9f6}
.footer-inner{max-width:1280px;margin:auto;padding:22px 24px;display:flex;justify-content:space-between;gap:12px;color:#777;font-size:11px}
.footer-inner a{text-decoration:underline}
@media(max-width:760px){.header-inner{height:64px;padding:0 16px}.header-inner nav{display:none}.header-actions{gap:6px}.header-actions .open-app{display:none}.page{padding:0 18px}.article-head{padding-top:36px}.toc ol{columns:1}.calc-grid{grid-template-columns:1fr}.local-badge{margin-left:0}}
@media(max-width:480px){.calc-inner{padding:18px}.related-grid{grid-template-columns:1fr}.footer-inner{flex-direction:column}.byline{align-items:flex-start}.calc-value{font-size:40px}}
