/* Case-study and error-page typography. Homepage styles remain independent. */
body:is([data-page="case"],[data-page="not-found"]){font-size:15px;line-height:1.75}
body[data-page="case"] .case-hero h1{font-size:clamp(46px,4.6vw,60px);line-height:1.2;letter-spacing:-.04em}
body[data-page="case"] :is(.case-statement,.section-heading,.advisor-copy,.reflection-section,.downloads-section,.case-contact) h2{font-size:40px;line-height:1.3;letter-spacing:-.035em}
body[data-page="case"] h3{font-size:21px;line-height:1.45;letter-spacing:-.025em}
body[data-page="case"] .case-hero-bottom>p{font-size:15px;line-height:1.9}
body[data-page="case"] :is(.case-statement>.wrap,.advisor-copy)>p:not(.eyebrow),
body[data-page="case"] .section-intro,
body[data-page="case"] .reflection-section p:not(.eyebrow){font-size:14px;line-height:1.9}
body[data-page="case"] .section-aside{font-size:13px;line-height:1.9}
body[data-page="case"] :is(.pipeline,.findings-list) p{font-size:13px;line-height:1.9}
body[data-page="case"] .eyebrow{font-size:10px;line-height:1.65;letter-spacing:.08em}
body[data-page="case"] .case-breadcrumb{font-size:11px}
body[data-page="case"] .case-meta span{font-size:10px;line-height:1.6}
body[data-page="case"] .case-meta strong{font-size:12px;line-height:1.65}
body[data-page="case"] .stat-row strong{font-size:48px;line-height:1.3;letter-spacing:-.045em}
body[data-page="case"] .stat-row span{font-size:11px;line-height:1.7}
body[data-page="case"] .pipeline-code{font-size:32px;line-height:1.3;letter-spacing:-.04em}
body[data-page="case"] .pipeline article>span:last-child{font-size:9px;line-height:1.7;letter-spacing:.025em}
body[data-page="case"] .shap-bars>div,
body[data-page="case"] .shap-bars b{font-size:11px;line-height:1.65}
body[data-page="case"] :is(.source-note,.shap-panel .source-note){font-size:11px;line-height:1.85}
body[data-page="case"] .explorer-metrics strong{font-size:40px;line-height:1.5;letter-spacing:-.05em}
body[data-page="case"] .explorer-metrics>div>span{font-size:10px;line-height:1.65;letter-spacing:.035em}
body[data-page="case"] .explorer-metrics small{font-size:10px;line-height:1.75}
body[data-page="case"] .segment-tabs button{font-size:11px;line-height:1.6}
body[data-page="case"] .snapshot-tag{font-size:10px;line-height:1.6}
body[data-page="case"] .chart-heading{font-size:11px;line-height:1.7}
body[data-page="case"] .chart-unit{font-size:10px}
body[data-page="case"] .chart-legend,
body[data-page="case"] .chart-legend #chart-reading{font-size:10px;line-height:1.7}
body[data-page="case"] .explorer-foot{font-size:11px;line-height:1.75}
body[data-page="case"] .data-details,
body[data-page="case"] .data-details summary,
body[data-page="case"] .data-details>p{font-size:11px;line-height:1.85}
body[data-page="case"] :is(table,caption,th,td){font-size:12px;line-height:1.7}
body[data-page="case"] .advisor-card-head strong{font-size:15px;line-height:1.5}
body[data-page="case"] .advisor-message{font-size:13px;line-height:1.9}
body[data-page="case"] .advisor-message .answer-source{font-size:10px;line-height:1.75}
body[data-page="case"] .advisor-features>div{font-size:12px;line-height:1.8}
body[data-page="case"] .advisor-link{font-size:12px;line-height:1.7}
body[data-page="case"] .advisor-reset,
body[data-page="case"] .advisor-market>span,
body[data-page="case"] .advisor-market button,
body[data-page="case"] .advisor-prompts button{font-size:10px;line-height:1.6}
body[data-page="case"] .advisor-form input{font-size:13px;line-height:1.6}
body[data-page="case"] .advisor-form button{font-size:11px;line-height:1.6}
body[data-page="case"] .advisor-demo-note{font-size:10px;line-height:1.8}
body[data-page="case"] .button,
body[data-page="not-found"] .button{font-size:12px;line-height:1.6}
body[data-page="case"] .download-links strong{font-size:14px;line-height:1.65}
body[data-page="case"] .download-links small{font-size:11px;line-height:1.75}
body[data-page="case"] .file-badge{font-size:9px;line-height:1.5}
body[data-page="case"] .site-footer{font-size:10px;line-height:1.7}
body[data-page="not-found"] .not-found h1{font-size:clamp(38px,4.3vw,58px);line-height:1.25;letter-spacing:-.04em}
body[data-page="not-found"] .not-found p:not(.eyebrow){font-size:15px;line-height:1.85}
body[data-page="not-found"] .eyebrow{font-size:10px;line-height:1.7}
@media(max-width:1000px){
  body[data-page="case"] :is(.case-statement,.section-heading,.advisor-copy,.reflection-section,.downloads-section,.case-contact) h2{font-size:36px}
  body[data-page="case"] .explorer-metrics strong{font-size:36px}
}
@media(max-width:800px){
  body[data-page="case"] .case-hero h1{font-size:46px}
  body[data-page="case"] .stat-row strong{font-size:44px}
  body[data-page="case"] .explorer-metrics strong{font-size:32px}
  body[data-page="case"] .advisor-features>div{font-size:11px}
}
@media(max-width:520px){
  body[data-page="case"] .case-hero h1{font-size:38px;line-height:1.25;letter-spacing:-.035em}
  body[data-page="case"] :is(.case-statement,.section-heading,.advisor-copy,.reflection-section,.downloads-section,.case-contact) h2{font-size:29px;line-height:1.35;letter-spacing:-.03em}
  body[data-page="case"] h3{font-size:19px;line-height:1.45;letter-spacing:-.02em}
  body[data-page="case"] .case-hero-bottom>p,
  body[data-page="case"] :is(.case-statement>.wrap,.advisor-copy)>p:not(.eyebrow),
  body[data-page="case"] .section-intro,
  body[data-page="case"] .reflection-section p:not(.eyebrow){font-size:13px;line-height:1.9}
  body[data-page="case"] .section-aside,
  body[data-page="case"] :is(.pipeline,.findings-list) p{font-size:12px;line-height:1.9}
  body[data-page="case"] .eyebrow{font-size:9px;letter-spacing:.055em}
  body[data-page="case"] .case-meta span{font-size:9px}
  body[data-page="case"] .case-meta strong{font-size:11px}
  body[data-page="case"] .stat-row strong{font-size:40px}
  body[data-page="case"] .stat-row span{font-size:10px}
  body[data-page="case"] .pipeline-code{font-size:28px}
  body[data-page="case"] .pipeline article>span:last-child{font-size:8px}
  body[data-page="case"] :is(.source-note,.shap-panel .source-note){font-size:10px}
  body[data-page="case"] .shap-bars>div,
  body[data-page="case"] .shap-bars b{font-size:10px}
  body[data-page="case"] .explorer-metrics strong{font-size:26px;line-height:1.5;letter-spacing:-.045em}
  body[data-page="case"] .explorer-metrics>div>span{font-size:9px;letter-spacing:0}
  body[data-page="case"] .explorer-metrics small{font-size:9px}
  body[data-page="case"] .segment-tabs button{font-size:10px}
  body[data-page="case"] .snapshot-tag{font-size:9px}
  body[data-page="case"] .chart-heading{font-size:10px}
  body[data-page="case"] .chart-unit{font-size:9px}
  body[data-page="case"] .chart-legend{font-size:9px}
  body[data-page="case"] .chart-legend #chart-reading,
  body[data-page="case"] .explorer-foot{font-size:10px}
  body[data-page="case"] .data-details>p{font-size:10px}
  body[data-page="case"] :is(table,caption,th,td){font-size:11px}
  body[data-page="case"] .advisor-card-head strong{font-size:14px}
  body[data-page="case"] .advisor-message{font-size:12px}
  body[data-page="case"] .advisor-features>div,
  body[data-page="case"] .advisor-link{font-size:11px}
  body[data-page="case"] .advisor-form input{font-size:16px}
  body[data-page="case"] .advisor-form input::placeholder{font-size:12px}
  body[data-page="case"] .button,
  body[data-page="not-found"] .button{font-size:11px}
  body[data-page="case"] .download-links strong{font-size:13px}
  body[data-page="case"] .download-links small{font-size:10px}
  body[data-page="case"] .file-badge{font-size:8px}
  body[data-page="case"] .site-footer{font-size:9px}
  body[data-page="not-found"] .not-found h1{font-size:36px;line-height:1.35}
  body[data-page="not-found"] .not-found p:not(.eyebrow){font-size:13px}
}
@media(max-width:360px){
  body[data-page="case"] .case-hero h1{font-size:36px}
  body[data-page="case"] :is(.case-statement,.section-heading,.advisor-copy,.reflection-section,.downloads-section,.case-contact) h2{font-size:28px}
  body[data-page="case"] .explorer-metrics strong{font-size:23px}
  body[data-page="not-found"] .not-found h1{font-size:34px}
}
