/* Blue framing with fine grain around the original-screen walkthroughs. */
body.fx-story{--fx-stage:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22grain%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.82%22%20numOctaves%3D%223%22%20seed%3D%227%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22linear%22%20slope%3D%22.18%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23grain%29%22%2F%3E%3C%2Fsvg%3E"),radial-gradient(ellipse at 12% 8%,#dbeaff 0%,transparent 58%),radial-gradient(ellipse at 95% 85%,#537dc866 0%,transparent 62%),linear-gradient(135deg,#a9c8ef,#7299df)}
.fx-story .fx-findings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;list-style:none;padding:0;margin:32px 0 0}
.fx-story .fx-findings li{border-top:1px solid #dedede;padding-top:20px;min-width:0}
.fx-story .fx-findings h3{font-size:17px;line-height:26px;font-weight:500;margin:0 0 12px}
.fx-story .fx-findings p{font-size:16px;line-height:26px;margin:0;color:#484848}
.fx-story .cards{margin-top:32px}
.fx-story .fx-decision-list{margin-top:32px}
.fx-story .fx-decision-block{border-top:1px solid #dedede;padding:32px 0 0;margin:0 0 40px;opacity:1}
.fx-story .fx-decision-block:last-child{margin-bottom:0}
.fx-story .fx-decision-block h3{font-size:17px;line-height:26px;font-weight:500;margin:0 0 16px;color:#1a1a1a}
.fx-story .fx-decision-block p{font-size:16px;line-height:26px;margin:0;max-width:72ch;color:#484848}
.fx-story .fx-media-stage{display:block;position:relative;max-width:none;margin:32px 0 0;padding:28px;border:0;border-radius:12px;box-shadow:none;background:var(--fx-stage);overflow:hidden;transform:none}
.fx-story .fx-media-stage:hover{transform:none;box-shadow:none}
.fx-story .fx-screen-preview{position:relative;display:block;width:100%;padding:0;margin:0;border:1px solid #ffffffb3;border-radius:8px;background:#fff;box-shadow:0 16px 34px #24477d24;overflow:hidden;cursor:zoom-in;text-align:left}
.fx-story .fx-screen-preview img{position:static;display:block;width:100%;height:auto;max-height:none;border:0;border-radius:0;object-fit:contain;opacity:1;transform:none}
.fx-story .fx-expand{position:absolute;right:12px;bottom:12px;padding:6px 10px;border:1px solid #e3e3e3;border-radius:6px;background:#fffffff2;color:#484848;font:400 11px/16px var(--portfolio-font);opacity:0;transition:opacity .18s}
.fx-story .fx-screen-preview:hover .fx-expand,.fx-story .fx-screen-preview:focus-visible .fx-expand{opacity:1}
.fx-story .fx-screen-preview:focus-visible{outline:2px solid #0083e7;outline-offset:4px}
.fx-story .fx-comparison-stage{margin-top:32px;padding:28px;border-radius:12px;background:var(--fx-stage)}
.fx-story .fx-comparison-stage .ix-ba{margin:0;border-radius:8px;box-shadow:0 16px 34px #24477d24;border-color:#ffffffb3}
.fx-story #solution .note,.fx-story #impact .note{text-align:left!important;font-size:12px;line-height:20px;color:#707070;margin:12px 0 0!important}
.fx-story .fx-commit-demo{margin:40px 0 0;max-width:none}
.fx-story .demo-stage{position:relative;isolation:isolate;overflow:hidden;padding:28px 28px 38px;background:var(--fx-stage);border-radius:12px}
.fx-story .demo-screen{overflow:hidden;border:1px solid #ffffffb3;border-radius:8px;box-shadow:0 16px 34px #24477d24;background:#fff}
.fx-story .demo-screen video{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border:0;border-radius:0}
.fx-story .demo-toggle{position:absolute;right:40px;bottom:50px;z-index:2;min-width:60px;padding:8px 12px;border:1px solid #dedede;border-radius:7px;background:#fffffff5;color:#292929;font:400 12px/16px var(--portfolio-font);cursor:pointer;opacity:0}
.fx-story .demo-stage:hover .demo-toggle,.fx-story .demo-stage:focus-within .demo-toggle,.fx-story .demo-stage:not(.demo-playing) .demo-toggle{opacity:1}
.fx-story .demo-progress{position:absolute;left:28px;right:28px;bottom:16px;height:2px;background:#ffffffbd;transform:scaleX(var(--demo-progress,0));transform-origin:left center}
.fx-story .fx-commit-demo figcaption{font-size:12px;line-height:20px;margin-top:12px;color:#707070;text-align:left}
.fx-story #lb .x{font:400 30px/1 var(--portfolio-font);background:transparent;border:0;padding:8px;color:#fff}
.fx-story #lb .x:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:680px){
 .fx-story .fx-findings{grid-template-columns:1fr;gap:24px;margin-top:24px}
 .fx-story .fx-findings li{padding-top:16px}
 .fx-story .fx-decision-list{margin-top:24px}
 .fx-story .fx-decision-block{padding-top:24px;margin-bottom:32px}
 .fx-story .fx-decision-block h3{margin-bottom:12px}
 .fx-story .fx-media-stage,.fx-story .fx-comparison-stage{padding:12px;margin-top:24px;border-radius:9px}
 .fx-story .fx-expand{opacity:1;right:6px;bottom:6px;padding:4px 6px;font-size:10px}
 .fx-story .demo-stage{padding:12px 12px 24px}
 .fx-story .demo-toggle{right:20px;bottom:32px;opacity:1}
 .fx-story .demo-progress{left:12px;right:12px;bottom:10px}
 .fx-story .fx-commit-demo{margin-top:32px}
}
@media(hover:none){.fx-story .fx-expand,.fx-story .demo-toggle{opacity:1}}
@media(prefers-reduced-motion:reduce){.fx-story .fx-expand{transition:none}}

/* Frame the product viewport; the original full-size captures remain available. */
.fx-story .fx-screen-preview{aspect-ratio:400/189}
.fx-story .fx-screen-preview img{position:absolute;left:0;top:-13.7566%;width:100%;height:auto;max-height:none}

/* Original-screen video walkthroughs. The shared player pauses off screen. */
.fx-story .fx-screen-film{display:block;max-width:none;margin:32px 0 0;padding:0;border:0;background:none;box-shadow:none;overflow:visible}
.fx-story .fx-screen-film .demo-screen{aspect-ratio:480/227}
.fx-story .fx-screen-film video{width:100%;height:100%;object-fit:contain}
@media(max-width:680px){.fx-story .fx-screen-film{margin-top:24px}.fx-story .demo-toggle{font-size:11px;padding:5px 9px;min-height:32px}}
