:root{color-scheme:light;font-family:system-ui,sans-serif;background:#f7f7f0;color:#19382b}
*{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
a{color:#235844;text-underline-offset:.2em}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ad4d32;outline-offset:3px}
header,footer{padding:1rem max(1rem,calc((100% - 66rem)/2));border-block-end:1px solid #d7e1d7}
nav{display:flex;gap:.7rem 1.4rem;flex-wrap:wrap;align-items:center}
.brand{font-weight:800}
main{width:min(100% - 2rem,66rem);margin:auto}
section{margin:2rem 0}
.hero{padding:clamp(1rem,6vw,4rem) 0 0}
.eyebrow{font-size:.875rem;font-weight:750;text-transform:uppercase;letter-spacing:.1em}
h1,h2{line-height:1.12;margin:.4em 0;font-family:Georgia,serif}
h1{font-size:clamp(2.4rem,7vw,5rem);max-width:17ch}
h2{font-size:clamp(1.5rem,4vw,2.3rem)}
p{line-height:1.65;max-width:67ch}
.hero>p:last-child{font-size:1.15rem}
.cards,.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.card,.panel{border:1px solid #d7e1d7;border-radius:1.5rem;background:white;padding:clamp(1rem,4vw,2.25rem)}
.card{text-decoration:none}
.card:hover{background:#e9f2e9}
label{display:grid;gap:.45rem;font-weight:650}
select,input,button{font:inherit;min-height:44px;border-radius:.6rem;padding:.6rem .8rem}
select,input{width:100%;border:1px solid #819285;background:white;color:inherit}
button{border:0;color:white;background:#235844;cursor:pointer;margin-top:1rem}
button:hover{background:#19382b}
.summary{font-size:1.2rem;font-weight:720}
.chart-label{font-size:.875rem;margin:.4rem 0}
.chart{display:block;width:100%;height:auto;max-width:54rem}
.chart text{font:14px system-ui;fill:#19382b}
.chart circle{fill:#537d69;stroke:white;stroke-width:1;cursor:pointer}
.chart circle.selected-first{fill:#11624d;stroke-width:2;r:9}
.chart circle.selected-second{fill:#aa482f;stroke-width:2;r:7}
.median{stroke:#71917e;stroke-dasharray:5 5}
table{width:100%;border-collapse:collapse;background:white;font-variant-numeric:tabular-nums}
th,td{text-align:left;border-bottom:1px solid #d7e1d7;padding:.6rem}
tbody tr.selected-first{background:#e3f3e8}
tbody tr.selected-second{background:#faede6}
footer{border-block:1px solid #d7e1d7;margin-top:3rem}
@media(max-width:34rem){.cards,.fields{grid-template-columns:1fr}.chart text{font-size:20px}}
