:root { --ink:#17201c; --muted:#66706b; --green:#185b43; --green-soft:#e9f1ed; --red:#a54b3d; --red-soft:#f8eeeb; --gold:#8d6a24; --line:#d9dfdc; --paper:#fff; --wash:#f5f7f6; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:0; }
a { color:inherit; }
.topbar { min-height:70px; padding:0 4vw; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; z-index:20; background:rgba(255,255,255,.96); }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand-mark { width:38px; height:38px; display:grid; place-items:center; color:#fff; background:var(--green); border-radius:6px; font-weight:800; }
.brand small,.brand strong { display:block; }
.brand small { color:var(--muted); font-size:11px; }
.brand strong { font-size:15px; }
.download { color:var(--green); font-weight:750; text-underline-offset:5px; }
.band { padding:56px 4vw; border-bottom:1px solid var(--line); }
.intro { padding-top:66px; display:grid; grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr); gap:34px; }
.eyebrow { margin:0 0 10px; color:var(--green); font-size:12px; font-weight:800; }
h1 { margin:0; max-width:850px; font-size:clamp(38px,5vw,66px); line-height:1.08; letter-spacing:0; }
.lead { max-width:760px; margin:20px 0 0; color:var(--muted); font-size:17px; line-height:1.7; }
.rule { align-self:end; padding:20px; border-left:4px solid var(--red); background:var(--red-soft); }
.rule strong { color:var(--red); }
.rule p { margin:8px 0 0; color:#6d514b; line-height:1.6; }
.summary { grid-column:1/-1; display:grid; grid-template-columns:repeat(5,1fr); border-top:1px solid var(--ink); }
.summary div { padding:22px 18px 12px 0; border-right:1px solid var(--line); }
.summary div:not(:first-child) { padding-left:18px; }
.summary strong,.summary span { display:block; }
.summary strong { font-size:28px; }
.summary span { color:var(--muted); font-size:12px; margin-top:4px; }
.curve-band { background:var(--wash); }
.section-title { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:26px; }
.section-title h2 { margin:0; font-size:28px; }
.section-title>p { max-width:520px; margin:0; color:var(--muted); text-align:right; }
.trend { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); background:#fff; margin-bottom:24px; }
.trend div { padding:17px; border-right:1px solid var(--line); }
.trend div:last-child { border-right:0; }
.trend span,.trend small { display:block; color:var(--muted); font-size:12px; }
.trend strong { display:block; margin:6px 0; font-size:18px; }
.chart { min-height:280px; display:grid; grid-template-columns:repeat(18,minmax(44px,1fr)); gap:7px; align-items:end; padding:24px 18px 12px; border:1px solid var(--line); background:#fff; overflow-x:auto; margin-bottom:24px; }
.bar-cell { min-width:44px; height:235px; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:5px; }
.bar-cell strong { font-size:10px; color:var(--green); }
.bar { width:78%; min-height:4px; background:var(--green); border-radius:3px 3px 0 0; }
.bar-cell span { height:39px; font-size:9px; color:var(--muted); text-align:center; line-height:1.25; }
.table-wrap { overflow-x:auto; background:#fff; }
table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
th,td { padding:13px 14px; border-bottom:1px solid var(--line); text-align:right; white-space:nowrap; }
th { color:var(--muted); font-size:12px; background:#f0f3f1; }
th:first-child,td:first-child { text-align:left; }
tbody tr:hover { background:#fafcfb; }
td.rate { color:var(--green); font-weight:800; }
.threshold-band { background:#fff; }
.secondary-band { background:var(--wash); }
.cross-controls { display:flex; align-items:end; justify-content:space-between; gap:22px; padding:16px 0; border-top:1px solid var(--ink); }
.cross-controls label span { display:block; margin-bottom:7px; color:var(--muted); font-size:12px; }
.cross-controls select { min-width:280px; padding:10px 34px 10px 12px; border:1px solid var(--line); border-radius:4px; background:#fff; color:var(--ink); font:inherit; }
.segmented { display:flex; border:1px solid var(--line); border-radius:5px; overflow:hidden; }
.segmented button { min-width:90px; padding:10px 12px; border:0; border-right:1px solid var(--line); background:#fff; color:var(--muted); font:inherit; cursor:pointer; }
.segmented button:last-child { border-right:0; }
.segmented button.active { background:var(--green); color:#fff; font-weight:750; }
.cross-summary { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--line); margin-bottom:18px; }
.cross-summary div { padding:16px; border-right:1px solid var(--line); }
.cross-summary div:last-child { border-right:0; }
.cross-summary span,.cross-summary small { display:block; color:var(--muted); font-size:12px; }
.cross-summary strong { display:block; margin:5px 0; }
.sample { display:inline-block; padding:2px 6px; color:var(--green); background:var(--green-soft); border-radius:3px; font-size:11px; }
.sample.caution { color:var(--gold); background:#f8f2e2; }
.sample.small { color:var(--red); background:var(--red-soft); }
.matrix-title { margin:34px 0 4px; font-size:20px; }
.matrix-note { margin:0 0 14px; color:var(--muted); font-size:13px; }
.matrix-wrap { overflow:auto; max-height:720px; border:1px solid var(--line); background:#fff; }
.threshold-matrix-wrap { max-height:560px; }
.matrix { min-width:1500px; }
.matrix th { position:sticky; top:0; z-index:2; }
.matrix th:first-child { position:sticky; left:0; z-index:3; min-width:118px; }
.matrix tbody th { background:#f0f3f1; z-index:1; }
.matrix-cell { min-width:92px; text-align:center; background:color-mix(in srgb, var(--green) calc(var(--heat, 0) * 45%), white); }
.matrix-cell strong,.matrix-cell small { display:block; }
.matrix-cell small { color:var(--muted); font-size:10px; margin-top:3px; }
.matrix-cell.small-cell { outline:1px dashed var(--red); outline-offset:-3px; }
.method-band { background:var(--wash); }
.method-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--ink); }
.method-grid article { padding:22px 22px 8px 0; border-right:1px solid var(--line); }
.method-grid article:not(:first-child) { padding-left:22px; }
.method-grid p { color:var(--muted); font-size:14px; line-height:1.6; }
.downloads { display:flex; flex-wrap:wrap; gap:18px; margin-top:28px; }
.downloads a { color:var(--green); font-weight:750; text-underline-offset:4px; }
footer { padding:28px 4vw; color:var(--muted); font-size:12px; }
@media (max-width:900px) { .intro { grid-template-columns:1fr; } .summary { grid-template-columns:repeat(3,1fr); } .trend,.method-grid { grid-template-columns:repeat(2,1fr); } .cross-summary { grid-template-columns:1fr; } .cross-summary div { border-right:0; border-bottom:1px solid var(--line); } }
@media (max-width:620px) { .topbar { padding:0 18px; } .download { font-size:12px; } .band { padding:38px 18px; } h1 { font-size:40px; } .summary { grid-template-columns:repeat(2,1fr); } .section-title { display:block; } .section-title>p { margin-top:10px; text-align:left; } .trend,.method-grid { grid-template-columns:1fr; } .trend div,.method-grid article,.method-grid article:not(:first-child) { padding:16px 0; border-right:0; border-bottom:1px solid var(--line); } .cross-controls { display:block; } .cross-controls select { width:100%; min-width:0; } .segmented { margin-top:14px; } .segmented button { flex:1; min-width:0; font-size:12px; } th,td { padding:12px 10px; } }
