.aha-hero{grid-template-columns:1fr 1.1fr;gap:45px}
.aha-hero h1{font-size:clamp(46px,5.2vw,72px);line-height:1.02}
.aha-cover{background:#fff;border:1px solid var(--line);border-radius:4px;overflow:hidden;min-width:0}
.aha-cover img{display:block;width:100%;height:340px;object-fit:contain;padding:12px}
.aha-cover figcaption{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:13px 18px;font:11px/1.5 var(--mono);color:var(--muted)}
.aha-scope{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-block:26px 40px}
.aha-scope p{display:grid;gap:3px}
.aha-scope strong{font-size:24px;font-weight:600;letter-spacing:-.04em}
.aha-scope span{font-size:13px;color:var(--muted)}
.cfd-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:45px;margin-top:30px;align-items:start}
.cfd-intro,.study-copy p{color:#d5ddd4;line-height:1.65}
.cfd-options{margin-top:23px;display:grid}
.cfd-options button{display:flex;justify-content:space-between;gap:12px;padding:14px 12px;border:0;border-top:1px solid #57665c;background:transparent;color:inherit;font:600 17px/1.3 "Segoe UI",Arial,sans-serif;text-align:left;cursor:pointer}
.cfd-options button:last-child{border-bottom:1px solid #57665c}
.cfd-options button:hover{background:#344139}
.cfd-options button[aria-pressed=true]{background:var(--gold);color:var(--ink);border-color:var(--gold)}
.study-copy{margin-top:24px}
.study-copy h3{font-size:23px}
.study-copy p{margin-top:10px;font-size:15px}
.cfd-viewer{min-width:0;background:white;color:var(--ink);border-radius:4px;overflow:hidden}
.cfd-toolbar,.dialog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#e9ece4;padding:10px 14px}
.cfd-toolbar>span{font:11px/1.5 var(--mono)}
.cfd-toolbar button,.dialog-toolbar button{border:1px solid #aab5aa;background:transparent;border-radius:3px;padding:8px 12px;font:600 13px/1.4 "Segoe UI",Arial,sans-serif;color:var(--ink);cursor:pointer}
.cfd-toolbar button:hover,.dialog-toolbar button:hover{background:#d7dfd3}
.plot{display:flex;align-items:center;gap:12px;background:white;padding:16px}
.plot>img:first-child{display:block;min-width:0;flex:1;width:0;height:340px;object-fit:contain}
.plot .plot-scale{width:70px;height:auto;max-height:270px;object-fit:contain;flex:none}
.plot [hidden]{display:none}
.cfd-viewer figcaption{padding:12px 16px;border-top:1px solid #e3e5df;font:11px/1.5 var(--mono);color:var(--muted)}
.workflow{padding-block:clamp(48px,6vw,90px)}
.workflow h2{font-size:clamp(34px,4vw,54px);max-width:22ch}
.workflow-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:32px;margin-top:32px}
.workflow-grid article{padding-top:18px;border-top:1px solid var(--line)}
.tool{font:11px/1.5 var(--mono);color:var(--green);margin-bottom:13px}
.workflow h3{font-size:24px;line-height:1.1}
.workflow article>p:last-child{margin-top:12px;color:var(--muted);line-height:1.65}
#cfd-dialog{padding:0;width:min(1500px,96vw);max-width:96vw;max-height:94vh;border:0;border-radius:4px;color:var(--ink)}
#cfd-dialog::backdrop{background:#101a16dc}
.dialog-toolbar{position:sticky;top:0;background:var(--paper)}
.dialog-toolbar h2{font-size:20px;letter-spacing:-.03em;line-height:1.3}
#cfd-dialog .plot>img:first-child{height:calc(90vh - 100px)}
#cfd-dialog .plot-scale{width:94px;max-height:300px}
body:has(#cfd-dialog[open]){overflow:hidden}
@media(max-width:900px){.aha-hero{grid-template-columns:1fr}.aha-cover img{height:330px}.cfd-layout{grid-template-columns:1fr}.cfd-options{display:flex;flex-wrap:wrap;gap:5px}.cfd-options button,.cfd-options button:last-child{border:1px solid #57665c;border-radius:2px}.study-copy{max-width:65ch}.workflow-grid{gap:24px;grid-template-columns:1fr 1fr}.workflow-grid article:first-child{grid-column:1/-1}}
@media(max-width:600px){.aha-hero{gap:24px}.aha-cover img{height:235px}.aha-scope strong{font-size:21px}.aha-scope{gap:18px}.cfd-options button{font-size:14px;padding:9px}.plot{padding:12px;gap:6px}.plot>img:first-child{height:260px}.plot .plot-scale{width:57px;max-height:190px}.workflow-grid{grid-template-columns:1fr}.cfd-toolbar{padding:10px}.cfd-toolbar button{white-space:nowrap}#cfd-dialog .plot-scale{width:65px}.dialog-toolbar h2{font-size:17px}.aha-cover figcaption{font-size:10px}}
