
:root{--paper:#f8faf9;--ink:#183f4a;--body:#445d63;--muted:#61767b;--line:#d5dfdd;--wash:#eaf1ee;--accent:#bf6045;font-family:Onest,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}button,input,select{font:inherit}button,select{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.3rem,5vw,4.2rem);line-height:1.06;letter-spacing:-.055em;font-weight:500;max-width:900px;margin-bottom:24px}h2{font-size:1.7rem;line-height:1.2;letter-spacing:-.035em;font-weight:500;margin:44px 0 18px}h3{font-size:1.18rem;font-weight:500}p,li{line-height:1.75;color:var(--body)}p{margin-bottom:20px}li+li{margin-top:10px}.shell{width:min(1120px,calc(100% - 64px));margin:auto}.site-header{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:84px;border-bottom:1px solid var(--line)}.brand{font-size:20px;font-weight:600;text-decoration:none;white-space:nowrap}.site-header nav{display:flex;gap:25px;font-size:14px;align-items:center}.site-header nav a{text-decoration:none}.skip{position:absolute;top:-80px;left:24px;background:white;padding:12px;z-index:5}.skip:focus{top:8px}.intro{padding:64px 0 26px}.crumb{font-size:14px;color:var(--muted);margin-bottom:30px}.lead{font-size:20px;max-width:730px;line-height:1.6}.prose{max-width:760px}.prose strong{color:var(--ink)}.byline{font-size:13px;color:var(--muted)}.note{background:var(--wash);padding:22px 26px;border-left:3px solid #246b70;margin:28px 0}.note p:last-child{margin:0}.formula{padding:18px 22px;background:#eaf1ee;font-family:'IBM Plex Mono',monospace;font-size:14px;overflow-wrap:anywhere}.table-wrap{overflow:auto;margin:28px 0}table{width:100%;border-collapse:collapse;font-size:15px}th,td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);line-height:1.6}th{font-weight:500;background:var(--wash)}td{color:var(--body)}.resource-list{margin:30px 0 56px;display:grid;gap:0}.resource-item{display:grid;grid-template-columns:230px 1fr;gap:30px;padding:28px 0;border-top:1px solid var(--line)}.resource-item a{font-size:22px;font-weight:500;line-height:1.3;text-decoration:none}.resource-item a:hover{text-decoration:underline}.resource-item p{margin:0}.resource-kind{display:block;font-size:12px;color:var(--muted);margin-bottom:10px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 22px;border:1px solid var(--line);border-radius:30px;background:transparent;color:var(--ink);font-size:14px;text-decoration:none}.button.primary{background:var(--ink);color:white;border-color:var(--ink)}.button:hover{box-shadow:0 3px 10px #183f4a12}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:26px 0}.book-box{display:grid;grid-template-columns:120px 1fr;gap:32px;margin:64px 0 40px;background:var(--wash);padding:32px;border-radius:10px}.book-box img{width:120px;height:auto;box-shadow:5px 12px 20px #183f4a20;align-self:center}.book-box h2{margin:0 0 14px;font-size:1.7rem}.book-box p{margin:0 0 16px;max-width:680px}.book-box .actions{margin:0}.share{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:30px 0}.share p{margin:0;font-size:14px}.sources{font-size:14px;margin-top:36px}.site-footer{border-top:1px solid var(--line);margin-top:64px;padding:28px 0 36px;display:flex;justify-content:space-between;gap:22px;font-size:13px;flex-wrap:wrap}.site-footer p{margin:0}.site-footer nav{display:flex;flex-wrap:wrap;gap:18px}.calculator{display:grid;grid-template-columns:1fr 1fr;gap:0;max-width:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:26px 0 34px}.calc-form{background:white;padding:32px}.field{min-width:0;display:block;margin:0 0 22px;font-size:15px}.field span{display:block;margin-bottom:9px}.field small{display:block;font-size:12px;margin-top:8px;color:var(--muted);line-height:1.5}.field input,.field select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #a6b9b7;border-radius:5px;background:white;color:var(--ink)}.field-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.calc-result{padding:32px;background:var(--ink);color:var(--paper);display:flex;flex-direction:column;justify-content:center}.calc-result h2{font-size:16px;letter-spacing:0;margin:0 0 16px}.calc-result p{color:#d5e3e0;font-size:14px}.budget-number{font-size:clamp(2rem,4vw,3.5rem);font-weight:500;line-height:1.2;letter-spacing:-.04em;margin:0 0 24px}.calc-detail{font-family:'IBM Plex Mono',monospace;font-size:13px;color:#d5e3e0;margin-bottom:24px;line-height:1.7}.budget-bar{height:8px;border-radius:4px;background:#577078;overflow:hidden;margin:0 0 16px}.budget-bar i{display:block;height:100%;background:#bfe2d1;width:60%}.budget-status{font-size:20px!important;color:white!important;margin:0 0 8px}.error{color:#b33e25;line-height:1.6;font-size:14px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}textarea.copy-link{width:100%;padding:10px}.mini-links{display:flex;gap:18px;flex-wrap:wrap;font-size:14px;margin:32px 0}.prose code{font-family:'IBM Plex Mono',monospace;font-size:.88em}details{border-bottom:1px solid var(--line);padding:18px 0}summary{cursor:pointer;font-weight:500;line-height:1.5}details p{margin:14px 0 0}.example{padding:22px;border:1px solid var(--line);border-radius:8px}.example p:last-child{margin:0}@media(max-width:680px){.shell{width:calc(100% - 36px)}.site-header{min-height:74px}.site-header nav{gap:14px;font-size:13px}.site-header nav .consult-link{display:none}.intro{padding:36px 0 16px}.lead{font-size:18px}.calculator{grid-template-columns:1fr}.calc-form,.calc-result{padding:24px}.field-grid{gap:14px}.resource-item{grid-template-columns:1fr;gap:12px}.resource-item a{font-size:23px}.book-box{padding:24px;gap:22px;grid-template-columns:70px 1fr}.book-box img{width:70px;align-self:start}.book-box h2{font-size:1.35rem}.book-box .actions{grid-column:1/-1}.book-box .button{width:100%}h2{font-size:1.5rem}.site-footer{margin-top:40px}th,td{padding:10px}.crumb{margin-bottom:22px}.note{padding:18px}.calc-result{min-height:285px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
