.case.home-container { max-width: 920px; padding-block: clamp(25px,5vw,68px); }
.case .back, .case aside a { color: var(--home-accent); text-underline-offset: 3px; }
.case-heading { padding: clamp(26px,5vw,55px) 0 30px; }
.case h1 { max-width: 850px; font-size: clamp(32px,4.7vw,55px); line-height: 1.13; margin: 0 0 16px; text-wrap: balance; }
.case-heading > p:last-child { max-width: 800px; font-size: 16px; color: var(--home-muted); }
.case-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0; border-block: 1px solid #d7e5fa; background: #edf4ff; padding: 20px clamp(12px,3vw,26px); }
.case-metrics > div { display: flex; flex-direction: column-reverse; align-items: start; justify-content: end; }
.case-metrics dt { font-size: 14px; color: var(--home-muted); }
.case-metrics dd { margin: 0; font-size: clamp(25px,4vw,39px); line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--home-accent); }
.case article { padding-block: clamp(28px,4vw,48px); }
.case h2 { font-size: clamp(21px,2.6vw,30px); line-height: 1.3; margin: 0 0 14px; }
.case table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.case th, .case td { vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--home-line); overflow-wrap: anywhere; font-size: 14px; font-weight: 400; }
.case thead th { color: var(--home-muted); font-weight: 600; background: var(--home-soft); }
.case tbody th { color: var(--home-ink); font-weight: 500; }
.case details { margin-top: 18px; }
.case summary { cursor: pointer; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.case pre { padding: 15px; background: var(--home-soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.case aside { padding: 20px; border-left: 3px solid var(--home-green); background: #eaf7f1; }
.case aside h2 { font-size: 18px; margin-bottom: 6px; }
.case aside a { display: inline-block; margin-top: 10px; font-size: 14px; }
@media (max-width:520px) { .case th,.case td { padding: 8px 4px; font-size: 13px; } .case-metrics dt { font-size: 13px; } }
@media print { .case .back, .case details { display: none; } .case { width: 100%; padding: 0; } .case-heading { padding: 0 0 1rem; } .case h1 { font-size: 29pt; } .case article { padding: 1rem 0; } .case aside, .case tr { break-inside: avoid; } }
