:root{--canvas:#15171c;--surface:#1c1f26;--surface-deep:#101216;--ink:#f2f3f5;--muted:#b3b8c1;--line:#30343e;--accent:#ff3341;--accent-soft:#ff747e;--white:#fff}
*{box-sizing:border-box}html{scroll-padding-top:5rem}body{margin:0;border-top:3px solid var(--accent);font-family:Calibri,Aptos,Arial,sans-serif;font-size:1rem;line-height:1.65;color:var(--ink);background:var(--canvas)}a{color:var(--ink);text-underline-offset:.2rem}button,input{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,[role=tabpanel]:focus-visible{outline:3px solid var(--accent-soft);outline-offset:4px}.skip{position:absolute;top:-5rem;left:1rem;background:var(--surface);padding:.75rem;z-index:20}.skip:focus{top:.5rem}[hidden]{display:none!important}
.topbar{border-bottom:1px solid var(--line)}.masthead{max-width:104rem;margin:auto;padding:1.25rem 2.5rem;display:flex;justify-content:space-between;align-items:center;gap:2rem}.eyebrow{font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--accent-soft);margin:0 0 .75rem}.eyebrow:before{content:"";display:inline-block;width:.65rem;height:.65rem;background:var(--accent);margin-right:.65rem}h1{font-size:clamp(1.75rem,3vw,2.75rem);line-height:1.2;letter-spacing:-.025em;margin:0}.topbar-side{display:flex;flex-direction:column;align-items:flex-end;gap:.75rem}.topbar-actions{display:flex;gap:.5rem;flex-wrap:wrap}.identity{font-size:.875rem;text-align:right;color:var(--muted);line-height:1.4}
.project-tabs{display:flex;gap:.5rem;overflow-x:auto;padding:.75rem max(1.5rem,calc((100vw - 99rem)/2));border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--canvas);z-index:5;scrollbar-width:thin}.project-tabs a{white-space:nowrap;text-decoration:none;font-weight:700;font-size:.875rem;padding:.5rem .75rem;border-bottom:2px solid transparent;color:var(--muted)}.project-tabs a:hover{color:var(--ink);background:var(--surface)}.project-tabs a[aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent)}main{max-width:104rem;margin:auto;padding:1.5rem 2.5rem;min-width:0}.panel{background:var(--surface-deep);border:1px solid var(--line);padding:2rem;scroll-margin-top:5rem}.overview-panel{padding:0;border:0;background:transparent}.overview-hero{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.hero-copy{background:#050607;border:1px solid var(--line);padding:2.5rem;display:flex;flex-direction:column;justify-content:center}.hero-copy h2{font-size:clamp(2rem,4vw,3.75rem);line-height:1.12;letter-spacing:-.025em;margin:0 0 1rem}.hero-copy p:not(.eyebrow){color:var(--muted);max-width:36rem}.hero-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.5rem}.hero-chart{background:var(--surface);border:1px solid var(--line);padding:1.25rem;display:flex;flex-direction:column;justify-content:center}.hero-chart h3{margin:0 0 1rem}.hero-chart .native{margin:0 auto;max-width:34rem;width:100%}.hero-chart .native img{max-height:19rem}.hero-chart figcaption{color:#434851}.metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin:1rem 0}.metrics div{background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:6px;padding:1rem}.metrics dt{font-size:.875rem;color:var(--muted)}.metrics dd{margin:.35rem 0 0;font-size:clamp(1.5rem,2.3vw,2.25rem);line-height:1.25;font-weight:700}.download-panel{border:1px solid var(--line);padding:1.25rem;background:var(--surface-deep)}.download-panel h3{margin:0 0 .75rem}.downloads{display:flex;flex-wrap:wrap;gap:.5rem}.button{display:inline-block;padding:.65rem 1rem;color:var(--white);background:#dc1f30;text-decoration:none;border:1px solid #dc1f30;border-radius:4px;font-weight:700;font-size:.875rem}.button.secondary{background:var(--surface);border-color:var(--line)}.button:hover{background:#b81b2a;border-color:var(--accent)}.meta{font-size:.875rem;color:var(--muted);margin:1rem 0 0}
h2{font-size:clamp(1.65rem,2.5vw,2.5rem);line-height:1.25;letter-spacing:-.02em;margin:0 0 1rem}h3{font-size:1.2rem;margin:1.5rem 0 .5rem}p{margin:.5rem 0 1rem}.question-panel{max-width:88rem;margin:auto;border-top:3px solid var(--accent)}.question{color:var(--muted);border-left:3px solid var(--accent);padding:1rem 1.25rem;background:var(--surface)}.answer{font-size:1.0625rem;max-width:78rem}.native{margin:1.25rem auto;text-align:center;background:var(--white);border:1px solid #d6d8df;padding:.75rem;border-radius:3px}.native img{display:block;margin:auto;width:auto;max-width:100%;height:auto}.native figcaption{margin-top:.5rem;font-size:.875rem;color:#434851}.figures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.figures figure{margin:1rem 0}.figures figure:first-child:last-child,.figure-wide{grid-column:1/-1}details{border-top:1px solid var(--line);margin-top:1.5rem;padding-top:1rem}summary{cursor:pointer;font-weight:700;color:var(--accent-soft);padding:.5rem 0}details[open] summary{margin-bottom:.5rem}.table-wrap{overflow-x:auto;margin:1.5rem 0}table{border-collapse:collapse;width:100%;font-size:1rem;white-space:nowrap}caption{text-align:left;font-weight:700;padding:.5rem 0}th,td{padding:.75rem;border-bottom:1px solid var(--line);text-align:right;vertical-align:top}th:first-child,td:first-child{text-align:left}thead{background:var(--surface)}thead th{font-size:.875rem}tbody tr:nth-child(even){background:#171a20}
.predictor{padding:1.5rem;background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--accent);margin-top:1.5rem;max-width:50rem}.predictor h3{margin:0 0 1rem}.inputs{display:flex;gap:1rem;flex-wrap:wrap}.inputs label{flex:1;min-width:10rem}.inputs input{display:block;width:100%;margin-top:.4rem;padding:.6rem .75rem;color:var(--ink);background:var(--surface-deep);border:1px solid #717784;border-radius:3px;color-scheme:dark}.predictor output{display:block;font-size:2.75rem;font-weight:700;margin:.75rem 0;line-height:1.25}.predictor p{margin-bottom:0;font-size:.875rem;color:var(--muted)}.equation{font-family:Consolas,monospace;font-size:1rem;padding:1rem;background:var(--surface);border-left:3px solid var(--accent);overflow-wrap:anywhere}footer{max-width:104rem;margin:auto;padding:1rem 2.5rem 2rem;font-size:.875rem;color:var(--muted)}
.group-panel{border:1px solid var(--line);padding:1.25rem;background:var(--surface-deep);margin-bottom:1rem}.group-panel h2{font-size:1.5rem;margin:0 0 .75rem}.group-panel table{white-space:normal}.group-panel th:last-child,.group-panel td:last-child{white-space:nowrap}.group-panel td{padding:.5rem .75rem}
.reading-guide{text-align:left;font-size:.95rem;margin:.75rem 0 0;overflow-wrap:anywhere}.native .reading-guide{color:var(--surface-deep)}.method-output{overflow-wrap:anywhere}
.results-summary{margin:1.5rem 0;padding:1.25rem;border:1px solid var(--line);background:var(--surface-deep)}.results-summary h3{margin:0 0 .5rem}.results-summary table{white-space:normal;min-width:42rem}.results-summary th,.results-summary td{text-align:left}.results-summary tbody th{white-space:nowrap}.results-summary .table-wrap{margin:.5rem 0 1rem}
@media(max-width:1024px){.masthead{padding:1.5rem;align-items:flex-start;gap:1.25rem}.topbar-side{max-width:24rem}.project-tabs{padding:.5rem 1rem}main{padding:1.25rem 1.5rem}.hero-copy{padding:1.75rem}.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{padding:1.5rem}.overview-panel{padding:0}}
@media(max-width:768px){.masthead{display:block}.topbar-side{align-items:flex-start;max-width:none;margin-top:1rem}.identity{text-align:left}.overview-hero{grid-template-columns:1fr}.hero-copy{padding:1.5rem}.hero-copy h2{font-size:2.4rem}.hero-chart{padding:1rem}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.figures{grid-template-columns:1fr}.figures figure{grid-column:1}.project-tabs a{padding:.5rem .65rem}.panel{padding:1.25rem}.overview-panel{padding:0}}
@media(max-width:420px){main{padding:1rem}.masthead{padding:1.25rem 1rem}.hero-copy h2{font-size:2rem}.hero-copy{padding:1.25rem}.panel{padding:1rem}.overview-panel{padding:0}.metrics div{padding:.75rem}.metrics dd{font-size:1.65rem}.inputs label{min-width:100%}.predictor{padding:1rem}.predictor output{font-size:2rem}.native{padding:.35rem}.button{padding:.6rem .75rem}footer{padding:1rem}.hero-actions .button{width:100%;text-align:center}}
@media print{body{background:#fff;color:#000;border:0}.topbar-side,.project-tabs,.downloads,.predictor,.skip,.hero-actions{display:none}main{padding:0}.panel[hidden]{display:block!important}.panel,.hero-copy,.hero-chart,.question,.download-panel{background:#fff;color:#000;border:0}.overview-hero{display:block}.question-panel{margin-top:2rem}.metrics div{background:#fff;color:#000}.meta,.question,.hero-copy p:not(.eyebrow),.eyebrow{color:#000}details>*:not(summary){display:block!important}summary{display:none}.figures{display:block}.native{break-inside:avoid}.metrics{grid-template-columns:repeat(5,1fr)}footer{color:#000}}
