.boo-case{--boo-purple:#2a1b3a;--boo-lime:#d4ee6b;--boo-soft:#eae1f2;background:#f1ece1;color:#1e2d33;font-family:'Bricolage Grotesque',system-ui,sans-serif;overflow-x:clip}
.boo-case h1,.boo-case h2{font-family:Fraunces,Georgia,serif;font-weight:380;letter-spacing:-.025em}
.boo-case h3{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:600}
.boo-nav{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-block:28px}
.boo-nav a{text-decoration:none}.boo-wordmark{font-weight:600}.boo-nav>div{display:flex;gap:28px;font-size:15px}
.boo-intro{padding-top:48px}.boo-kicker{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:14px}.boo-kicker>a{text-decoration:none}
.progress-label{color:#695176;background:#e8dfee;border-radius:30px;padding:7px 12px;font-size:12px}
.boo-heading{display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;align-items:center;margin-block:35px 50px}
.boo-heading h1{font-size:clamp(100px,14vw,200px);line-height:.85;margin:0}.boo-heading h1>span{color:#9270ab}
.boo-deck{font:380 clamp(30px,3.8vw,52px)/1.1 Fraunces,Georgia,serif;margin:0 0 22px;letter-spacing:-.02em}.boo-intro-copy{font-size:clamp(17px,1.5vw,21px);line-height:1.55;max-width:42ch;margin:0}
.boo-facts{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px;margin:0 0 38px}.boo-facts dt,.chapter-label{font:11px/1.5 'JetBrains Mono',monospace;text-transform:uppercase;letter-spacing:.06em;color:#64706a}.boo-facts dd{font-size:14px;line-height:1.55;margin:7px 0 0;max-width:30ch}
.boo-cover{margin:0}.boo-cover>img{display:block;width:100%;height:auto;border-radius:8px;background:#e6ddec}.boo-cover figcaption,.chapter-aside{font-size:13px;line-height:1.6;color:#64706a}.boo-cover figcaption{max-width:90ch;margin-top:14px}
.boo-story{max-width:1100px;margin-inline:auto}.boo-chapter{padding-top:clamp(70px,9vw,120px)}.boo-chapter h2{font-size:clamp(36px,4.8vw,66px);line-height:1.05;margin:18px 0 30px;text-wrap:balance}.story-copy{max-width:750px}.story-copy p{font-size:clamp(17px,1.5vw,20px);line-height:1.65;margin:0 0 20px}.chapter-aside{max-width:80ch;margin-top:22px}
.source-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 50px;margin-top:38px}.source-number{font:13px 'JetBrains Mono',monospace;color:#9270ab}.source-notes h3{font-size:21px;line-height:1.2;margin:12px 0}.source-notes p{font-size:16px;line-height:1.6;margin:0 0 14px;max-width:42ch}.source-notes small{display:block;font-size:13px;line-height:1.5;color:#64706a;max-width:46ch}
.boo-flow{padding:24px 0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:24px 0 0}.boo-flow li{font-size:13px;line-height:1.5;color:#64706a}.boo-flow span{display:block;font-size:18px;color:#1e2d33;margin-bottom:6px}
.budget-study{margin-top:42px;padding:clamp(22px,4vw,48px);background:#faf7f0;color:var(--boo-purple);border-radius:14px;box-shadow:0 20px 60px #30223a0b}
.study-heading{display:flex;justify-content:space-between;gap:24px;align-items:start}.study-label{font:10px 'JetBrains Mono',monospace;text-transform:uppercase;letter-spacing:.08em;color:#7c638e}.study-heading h3{font-size:clamp(24px,3vw,36px);line-height:1.15;margin:14px 0 0;letter-spacing:-.02em}.budget-logo{font-size:36px;letter-spacing:-.06em;font-weight:600}.budget-logo>span{color:#9270ab}.study-context{font-size:13px;line-height:1.6;margin:20px 0 34px;color:#76687d;max-width:70ch}
.budget-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(30px,5vw,70px)}.range-heading{display:flex;justify-content:space-between;gap:20px;align-items:baseline;font-size:16px;font-weight:500;margin-bottom:14px}.range-heading output{font:20px 'JetBrains Mono',monospace}.budget-controls input[type=range]{display:block;width:100%;height:28px;margin:0;accent-color:#72568d;cursor:pointer}.budget-controls label{cursor:pointer}.input-note{font-size:12px;line-height:1.5;color:#76687d;margin:10px 0 30px;max-width:42ch}
.budget-presets{display:flex;gap:8px;flex-wrap:wrap;margin-top:26px}.budget-presets button{font:inherit;font-size:12px;border:1px solid #dbd0e1;border-radius:22px;padding:9px 12px;min-height:40px;color:var(--boo-purple);background:transparent;cursor:pointer}.budget-presets button:hover{background:#eae1f2}.budget-presets button[aria-pressed=true]{background:var(--boo-purple);color:#faf7f0;border-color:var(--boo-purple)}
.budget-result{padding:28px;border-radius:12px;background:#eee6f3}.remaining-label{display:block;font-size:13px}.budget-result>strong{display:block;font:500 clamp(52px,6vw,76px)/1.2 Fraunces,Georgia,serif;margin:8px 0 16px}.budget-meter{height:8px;border-radius:6px;background:#d9cce4;overflow:hidden}.budget-meter span{display:block;height:100%;width:40%;background:#74568d;border-radius:6px;transition:width .25s}.budget-state{font-size:16px;font-weight:600;margin:22px 0 8px}.budget-result>p:last-child{font-size:14px;line-height:1.6;margin-bottom:0;color:#66576e}
.budget-actions{list-style:none;padding:0;margin:28px 0 0}.budget-actions li{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:13px 0;font-size:14px;line-height:1.5}.budget-actions strong{font-size:12px;font-weight:500;color:#695176;flex-shrink:0;background:#eee6f3;border-radius:20px;padding:5px 10px}.budget-study[data-state=blocked] .budget-result{background:#f0dedb}.budget-study[data-state=blocked] .budget-meter span{background:#9c5148}.budget-study[data-state=paused] .budget-result,.budget-study[data-state=warning] .budget-result{background:#f1e7cf}.study-footnote{font-size:12px;line-height:1.6;color:#76687d;margin:20px 0 0}
.progress-columns{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin:0 0 28px}.progress-columns h3{font-size:20px;margin:0 0 16px}.progress-columns ul{padding-left:20px;margin:0}.progress-columns li{font-size:16px;line-height:1.6;margin-bottom:12px}.boo-case-return{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:80px 0 70px;font-size:14px}.boo-case-return>span{font-size:12px;color:#64706a}.boo-footer{font-size:13px}
.boo-case a:focus-visible,.boo-case button:focus-visible,.boo-case input:focus-visible{outline:2px solid #72568d;outline-offset:5px}
@media(max-width:760px){.boo-nav{padding-block:20px;gap:16px}.boo-nav>div{gap:16px;font-size:14px}.boo-intro{padding-top:24px}.boo-heading{grid-template-columns:1fr;gap:30px;margin-block:30px}.boo-heading h1{font-size:116px}.boo-facts{grid-template-columns:1fr;gap:18px}.boo-facts dd{max-width:none}.source-notes,.progress-columns{grid-template-columns:1fr;gap:30px}.boo-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.budget-grid{grid-template-columns:1fr;gap:28px}.budget-result{padding:24px}.budget-actions li{align-items:start;flex-direction:column;gap:8px}.budget-logo{font-size:30px}.study-context{margin-bottom:28px}.boo-cover figcaption{font-size:12px}.boo-case-return{margin-block:60px 44px}}
@media(max-width:360px){.boo-nav{align-items:start;flex-direction:column;gap:12px}.boo-deck{font-size:29px}.boo-intro-copy{font-size:16px}.study-heading{gap:12px}.budget-logo{font-size:24px}.budget-study{padding:20px}}
@media(prefers-reduced-motion:reduce){.budget-meter span{transition:none}}
