/* SAFI project page. No build step or external font dependency. */
:root{--ink:#182233;--muted:#566375;--blue:#245db7;--blue-deep:#194d9c;--blue-light:#edf4fd;--line:#dce3ec;--wash:#f6f8fb;--safi:#b93341;--npo:#c66537;--original:#5c636d;--radius:16px;--content:1120px;color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none;font-size:16px;scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0;background:#fff;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:var(--blue);text-decoration:none;text-underline-offset:4px}a:hover{text-decoration:underline}button,input{font:inherit}button{cursor:pointer}button,a,input{touch-action:manipulation}button{color:inherit}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid #638ede;outline-offset:4px}button svg,a svg{pointer-events:none}img,video{max-width:100%;height:auto;display:block}figure,p{margin:0}h1,h2,h3{line-height:1.2;margin:0;letter-spacing:-.035em}h2{font-size:clamp(1.8rem,3.2vw,2.4rem);font-weight:660}h3{font-size:1.35rem;font-weight:650}strong{font-weight:650}.shell{width:min(var(--content),calc(100% - 64px));margin-inline:auto}.section-space{padding-block:88px;scroll-margin-top:70px}.icon{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:8px;left:16px;transform:translateY(-150%);padding:8px 14px;background:white;z-index:30}.skip-link:focus{transform:translateY(0)}[hidden]{display:none!important}
.site-header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.95);border-bottom:1px solid #edf0f5;backdrop-filter:blur(12px)}.nav-shell{width:min(1240px,calc(100% - 64px));margin:auto;height:66px;display:flex;align-items:center;justify-content:space-between}.wordmark{font-size:1.35rem;color:var(--ink);font-weight:800;letter-spacing:-.045em;display:inline-flex;align-items:center;gap:8px}.wordmark:hover{text-decoration:none}.wordmark-mark{display:inline-grid;place-items:center;background:var(--blue-light);width:36px;height:36px;border-radius:9px;color:var(--blue)}.wordmark-mark .icon{width:30px;height:30px}.nav-links{display:flex;gap:30px;align-items:center;font-size:.9rem;font-weight:550}.nav-links a{color:var(--muted)}.nav-links a:hover{color:var(--blue)}.nav-code{display:flex;align-items:center;gap:7px}.nav-code .icon{width:17px;height:17px}
.hero{padding-top:68px;padding-bottom:68px;text-align:center}.eyebrow{font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;color:var(--blue);font-weight:700;line-height:1.5;margin-bottom:14px}.hero h1{font-size:clamp(2.4rem,4.25vw,3.45rem);font-weight:730;line-height:1.14;letter-spacing:-.045em}.hero h1 span{color:var(--blue)}.authors{margin:29px auto 10px;display:flex;justify-content:center;gap:5px 19px;flex-wrap:wrap;max-width:1040px;font-size:1.15rem;font-weight:400;line-height:1.8}.authors>span{white-space:nowrap}.authors sup{font-size:.65em;margin-left:2px;line-height:0}.affiliations{font-size:1.05rem;font-weight:400;color:var(--muted);display:flex;justify-content:center;flex-wrap:wrap;gap:5px 22px}.affiliations sup{font-size:.7em}.resource-links{margin-top:26px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 20px;min-height:45px;border-radius:8px;font-size:.93rem;font-weight:600;border:1px solid transparent;transition:background .15s ease}.button:hover{text-decoration:none}.button.primary{background:var(--blue);color:#fff;box-shadow:0 2px 3px #183b7520}.button.primary:hover{background:var(--blue-deep)}.button.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.button.secondary:hover{background:var(--wash)}
.demo-section{padding-bottom:66px;scroll-margin-top:96px}.section-topline{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-topline .eyebrow{margin-bottom:9px}.demo-heading-row h2{font-size:clamp(1.6rem,3vw,2.2rem)}.scene-tabs{display:flex;gap:6px;margin-top:24px;padding:5px;background:#edf1f7;width:fit-content;border-radius:10px}.scene-tabs button,.analysis-tabs button{background:transparent;border:0;padding:9px 21px;font-size:.92rem;font-weight:600;color:var(--muted);border-radius:7px;min-height:44px}.scene-tabs button[aria-selected="true"]{background:white;color:var(--blue);box-shadow:0 1px 4px #183b7515}.scene-tabs button:hover{color:var(--blue)}.demo-panel{background:var(--wash);border:1px solid var(--line);border-radius:var(--radius);margin-top:18px;padding:20px 22px 14px;overflow:hidden}.scene-context{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:.85rem;color:var(--muted);margin-bottom:17px}.scene-context strong{color:var(--ink);display:inline-block;margin-left:10px;font-weight:600;font-size:.95rem}.takeover-tag{border:1px solid #dae2ec;background:#fff;border-radius:5px;padding:3px 9px;white-space:nowrap;font-size:.77rem}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.policy-view{min-width:0;border:1px solid #d8e0ea;border-radius:10px;overflow:hidden;background:white}.policy-label{display:flex;align-items:center;gap:7px;padding:10px 12px;min-height:44px}.policy-label h3{font-size:.97rem;letter-spacing:-.015em}.method-swatch{width:8px;height:8px;border-radius:2px;background:var(--original);flex-shrink:0}.npo .method-swatch{background:var(--npo)}.safi .method-swatch{background:var(--safi)}.safi{border-color:#d8a2a8;box-shadow:0 0 0 1px #b9334108}.safi .policy-label h3{color:var(--safi)}.ours-tag{margin-left:auto;font-size:.72rem;border-radius:4px;background:#faf0f1;color:var(--safi);padding:1px 6px;font-weight:600}.policy-view video{width:100%;aspect-ratio:11/8;background:#dce0e3;object-fit:contain}.policy-view figcaption{font-size:.87rem;line-height:1.5;min-height:44px;padding:10px 12px;font-weight:550}.safi figcaption{color:var(--safi)}.playback-controls{display:flex;align-items:center;gap:13px;margin-top:17px;min-height:44px}.play-button{background:var(--ink);border:0;border-radius:7px;min-width:98px;min-height:42px;color:#fff;display:flex;gap:7px;align-items:center;justify-content:center;font-size:.86rem;font-weight:600}.play-button .icon{width:17px;height:17px}.icon-button{border:1px solid var(--line);border-radius:7px;background:#fff;display:inline-grid;place-items:center;width:42px;height:42px;flex-shrink:0}.icon-button:hover{background:#edf2f8}#timeline{flex:1;min-width:40px;accent-color:var(--blue);height:24px;cursor:pointer}#step-label{font-size:.8rem;font-variant-numeric:tabular-nums;width:65px;white-space:nowrap;color:var(--muted)}.speed-label{font-size:.78rem;color:var(--muted);border-left:1px solid var(--line);padding-left:13px;white-space:nowrap}.playback-status{font-size:.85rem;color:var(--muted)}.playback-status:not(:empty){margin-top:10px}
.overview-section{background:var(--wash);border-block:1px solid #edf0f5}.overview-layout{display:grid;grid-template-columns:.88fr 1.12fr;gap:52px;align-items:center}.overview-copy h2{font-size:clamp(1.8rem,3vw,2.25rem);line-height:1.22;margin-bottom:22px}.overview-copy p:not(.eyebrow){color:var(--muted);font-size:1rem;margin-top:14px}.overview-figure{background:white;border:1px solid var(--line);border-radius:12px;padding:18px 15px 14px}.overview-figure figcaption{text-align:center;margin-top:12px}.figure-button{position:relative;display:block;background:none;border:0;padding:0;width:100%;cursor:zoom-in;border-radius:8px;overflow:hidden}.figure-button img{width:100%;height:auto}.enlarge-cue{position:absolute;bottom:8px;right:8px;background:#fffefc;border:1px solid var(--line);border-radius:6px;padding:5px 8px;display:flex;align-items:center;gap:4px;font-size:.73rem;color:var(--muted);opacity:0;transition:opacity .15s ease;box-shadow:0 2px 4px #17253d08}.enlarge-cue .icon{width:15px;height:15px}.figure-button:hover .enlarge-cue,.figure-button:focus-visible .enlarge-cue{opacity:1}figcaption{font-size:.85rem;line-height:1.65;color:var(--muted)}.section-intro{max-width:860px;margin-bottom:32px}.section-intro>p:not(.eyebrow){margin-top:18px;color:var(--muted);font-size:1.05rem}.section-intro strong{color:var(--ink)}.pipeline-figure{border:1px solid var(--line);border-radius:12px;background:white;padding:18px 12px}.method-stages{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:34px}.method-stages article+article{border-left:1px solid var(--line);padding-left:38px}.stage-label{font-size:.79rem;font-weight:650;color:var(--blue);letter-spacing:.035em;margin-bottom:10px}.method-stages h3{font-size:1.25rem;margin-bottom:12px;letter-spacing:-.025em}.method-stages article>p:last-child{font-size:.96rem;color:var(--muted);line-height:1.7}
.results-section{background:#f8fafc;border-block:1px solid #edf0f5}.table-direction{font-size:.83rem;color:var(--muted);margin-bottom:12px}.table-scroll{overflow-x:auto;border-radius:10px;border:1px solid var(--line);background:white}table{width:100%;border-collapse:collapse;font-size:.91rem;font-variant-numeric:tabular-nums;line-height:1.5;min-width:880px}thead{background:#f3f6fa;color:var(--ink)}thead tr:first-child th{font-size:.9rem;padding:15px 12px 11px;font-weight:650;border-bottom:1px solid var(--line)}thead tr:nth-child(2) th{font-size:.875rem;line-height:1.5;color:#46546a;font-weight:550;padding:10px 9px 14px;border-bottom:1px solid var(--line)}th,td{text-align:center;padding:12px 11px}.method-col,tbody th{text-align:left;width:21%;padding-left:20px;white-space:nowrap}tbody th{font-weight:500}tbody tr+tr{border-top:1px solid #edf0f5}.original-row{color:var(--muted);border-bottom:1px solid var(--line)}.group-start{border-left:1px solid #e3e8ef}.table-scope,.variant{font-size:.84em;font-weight:450;color:var(--muted)}.safi-row{background:#eaf2ff}.safi-row th{font-weight:750;color:var(--blue-deep)}.safi-row td strong{font-weight:750}.safi-row .variant{color:var(--blue-deep)}.mobile-table-hint{display:none}.metric-details{margin-top:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}.metric-details summary{cursor:pointer;font-size:.88rem;color:var(--blue);font-weight:600;width:fit-content;list-style-position:inside}.details-content{max-width:950px;color:var(--muted);font-size:.87rem;line-height:1.7}.details-content p{margin-top:13px}.analysis-block{margin-top:62px}.analysis-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line)}.analysis-tabs button{border-radius:0;padding:12px 0 16px;border-bottom:3px solid transparent;position:relative;bottom:-1px;font-size:1rem}.analysis-tabs button[aria-selected="true"]{color:var(--blue);border-bottom-color:var(--blue)}.analysis-panel{padding-top:30px}.analysis-panel h3{font-size:1.5rem}.analysis-panel>p{font-size:1rem;color:var(--muted);max-width:930px;margin-top:14px;line-height:1.7}.analysis-panel figure{margin-top:24px}.analysis-panel .figure-button{border:1px solid var(--line);background:white;padding:18px;border-radius:12px}.resources-section{display:flex;justify-content:space-between;gap:36px;align-items:center;padding-block:70px}.resources-section h2{font-size:1.9rem}.resources-section p:not(.eyebrow){color:var(--muted);font-size:.98rem;margin-top:14px;max-width:720px}.resources-section .button{white-space:nowrap}.site-footer{border-top:1px solid var(--line);padding-block:30px;background:#fff}.footer-top{display:flex;align-items:center;gap:25px;font-size:.87rem}.footer-top>a:nth-child(2){display:flex;gap:8px;align-items:center;margin-left:auto}.footer-top>a:nth-child(3){color:var(--muted)}.footer-top .icon{width:16px;height:16px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:18px;font-size:.76rem;color:var(--muted)}
dialog{max-width:min(94vw,1600px);width:fit-content;max-height:94vh;padding:0;border:1px solid var(--line);border-radius:12px;box-shadow:0 25px 80px #15213940}dialog::backdrop{background:#101929a8;backdrop-filter:blur(3px)}.dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.dialog-bar p{font-size:.9rem;max-width:1100px}.dialog-image-area{padding:20px;background:#fff;overflow:auto}.dialog-image-area img{max-height:76vh;width:auto;max-width:100%;object-fit:contain}
@media(min-width:1440px){.hero{padding-top:76px;padding-bottom:72px}}
@media(max-width:1000px){.hero h1{font-size:2.7rem}.desktop-break{display:none}.overview-layout{gap:32px;grid-template-columns:1fr}.overview-copy{max-width:780px}.overview-figure{max-width:820px}.overview-figure .figure-button{max-width:740px;margin:auto}.section-space{padding-block:64px}.method-stages{gap:28px}.method-stages article+article{padding-left:28px}.video-grid{gap:10px}.demo-panel{padding:16px}.scene-context strong{display:block;margin-left:0}.resources-section{align-items:flex-start;flex-direction:column;gap:24px}}
@media(max-width:700px){.shell,.nav-shell{width:calc(100% - 36px)}.nav-shell{height:58px}.nav-links{gap:18px;font-size:.8rem}.nav-code .icon{display:none}.wordmark{font-size:1.15rem}.wordmark-mark{width:29px;height:29px;border-radius:7px}.wordmark-mark .icon{width:25px;height:25px}.hero{padding-top:44px;padding-bottom:46px}.hero h1{font-size:clamp(2rem,7.5vw,2.7rem);line-height:1.16}.hero .eyebrow{font-size:.68rem;letter-spacing:.1em}.authors{font-size:1rem;gap:3px 15px;margin-top:22px;line-height:1.8}.affiliations{font-size:.94rem;gap:4px 12px}.button{font-size:.87rem;padding:9px 16px}.section-topline{align-items:flex-start}.section-topline .eyebrow{font-size:.68rem}.demo-heading-row h2{font-size:1.65rem;line-height:1.25;max-width:360px}.scene-tabs{width:100%;margin-top:19px}.scene-tabs button{flex:1;padding:8px 9px;font-size:.86rem}.demo-panel{padding:14px;border-radius:12px;margin-top:14px}.scene-context{display:block;margin-bottom:15px}.scene-context strong{font-size:.94rem;margin-top:3px}.takeover-tag{display:inline-block;margin-top:8px;font-size:.72rem}.video-grid{grid-template-columns:1fr;gap:14px}.policy-label{padding:8px 12px}.policy-view figcaption{min-height:40px;padding:8px 12px}.policy-view video{width:100%}.playback-controls{gap:8px;flex-wrap:wrap;margin-top:14px}.play-button{min-width:84px}.playback-controls .icon-button{width:38px;height:42px}#timeline{min-width:60px}#step-label{width:59px;font-size:.76rem}.speed-label{border:0;padding:0;flex-basis:100%;text-align:right;font-size:.73rem;margin-top:-2px}.demo-section{padding-bottom:44px}.section-space{padding-block:48px;scroll-margin-top:50px}.overview-layout{gap:25px}.overview-copy h2{font-size:1.9rem}.overview-copy p:not(.eyebrow){font-size:.95rem}.overview-figure{padding:12px 8px}.overview-figure figcaption{font-size:.77rem}.enlarge-cue{opacity:1;font-size:.66rem;padding:3px 5px;bottom:5px;right:5px}.section-intro{margin-bottom:24px}.section-intro>p:not(.eyebrow){font-size:.97rem;margin-top:15px}.pipeline-figure{padding:9px 4px;border-radius:8px}.method-stages{grid-template-columns:1fr;gap:25px;margin-top:25px}.method-stages article+article{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:24px}.method-stages article>p:last-child{font-size:.94rem}.method-stages h3{font-size:1.2rem}.table-scroll{border-radius:8px}table{font-size:.85rem}tbody th,.method-col{position:sticky;left:0;z-index:1;background:#fff;border-right:1px solid var(--line);padding-left:12px}.method-col{background:#f3f6fa;z-index:2}.safi-row th{background:#eaf2ff}thead tr:nth-child(2) th{font-size:.875rem}.mobile-table-hint{display:block;font-size:.74rem;color:var(--muted);margin-top:7px}.metric-details summary{font-size:.82rem}.details-content{font-size:.82rem}.analysis-block{margin-top:38px}.analysis-tabs{gap:22px}.analysis-tabs button{font-size:.88rem}.analysis-panel{padding-top:23px}.analysis-panel h3{font-size:1.35rem}.analysis-panel>p{font-size:.95rem}.analysis-panel .figure-button{padding:7px}.resources-section{padding-block:45px}.resources-section h2{font-size:1.6rem}.resources-section p:not(.eyebrow){font-size:.93rem}.footer-top{gap:15px;flex-wrap:wrap;font-size:.8rem}.footer-top>a:nth-child(2){margin-left:auto}.footer-top>a:nth-child(3){margin-left:0}.footer-bottom{flex-direction:column;gap:8px;font-size:.72rem}.dialog-bar{padding:10px 12px;gap:10px}.dialog-bar p{font-size:.78rem}.dialog-image-area{padding:8px}.dialog-image-area img{max-height:80vh}dialog{max-width:98vw;max-height:96vh}.dialog-bar .icon-button{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*{transition:none!important}}

.dialog-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.dialog-actions a{font-size:.83rem;white-space:nowrap}
@media(max-width:700px){.dialog-actions{gap:8px}.dialog-actions a{font-size:.75rem}}
