/* Website — three readable steps, with progressive evidence. */
.streams-demo{--stream-duration:11s;--stream-ink:#e77d46;--stream-line:#dfdcd8;--flow-gap:28px;scroll-margin-top:88px}
.streams-demo .demo-heading{padding:44px 0 36px}
.streams-demo .demo-heading .section-kicker{margin:0 0 12px;font-size:10px;line-height:1.5;letter-spacing:.055em}
.streams-demo .demo-heading h2{max-width:none;font-size:36px;line-height:1.2;letter-spacing:-.04em}
.demo-heading-accent{color:var(--bl-v2-brand-base);white-space:nowrap}
.streams-demo .demo-description{max-width:52ch;margin:12px 0 0;font-size:16px;line-height:1.6;color:var(--bl-v2-text-secondary)}
/* A centered explanation on a quiet full-width surface. */
.demo-section.streams-demo{--section-rail-gutter:max(40px,calc((100% - 1360px)/2));width:100%;max-width:none;margin:0;padding:48px max(40px,calc((100% - 1240px)/2)) 24px;border-block:1px solid #eae7e2;background:linear-gradient(180deg,#faf9f7,#fcfbf9);isolation:isolate}
.streams-demo .demo-heading{justify-content:center;text-align:center;border-top:0;padding:0 0 40px}
.streams-demo .demo-heading>div{width:100%}
.streams-demo .demo-description{margin-inline:auto}
.streams-demo::before,.streams-demo::after{content:"";top:-.5px;width:9px;height:9px;background:linear-gradient(#b9b9b9,#b9b9b9) center/1px 100% no-repeat,linear-gradient(#b9b9b9,#b9b9b9) center/100% 1px no-repeat;pointer-events:none}
.streams-demo::before{left:var(--section-rail-gutter);right:auto;transform:translate(-50%,-50%)}
.streams-demo::after{left:auto;right:var(--section-rail-gutter);transform:translate(50%,-50%)}
.demo-grid-backdrop{position:absolute;z-index:-1;inset:0;background-image:linear-gradient(to right,#88776418 1px,transparent 1px),linear-gradient(to bottom,#88776418 1px,transparent 1px);background-size:48px 48px;background-position:center top;mask-image:radial-gradient(ellipse 50% 50% at center,#000 0%,#000b 30%,transparent 100%);pointer-events:none}
.streams-demo .ds-flow{position:relative;isolation:isolate}
@media(max-width:1100px){.demo-section.streams-demo{--section-rail-gutter:28px;padding-inline:28px}}
@media(max-width:640px){
 .demo-section.streams-demo{--section-rail-gutter:20px;padding:34px 20px 22px}
 .streams-demo .demo-heading{padding:0 0 30px}
 .streams-demo .demo-heading h2{font-size:28px;line-height:1.2}
 .streams-demo .demo-description{max-width:34ch;font-size:15px;margin-top:10px}
 .demo-grid-backdrop{background-size:40px 40px;opacity:.8}
}
.ds-flow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr) minmax(0,1.36fr);gap:var(--flow-gap);align-items:start;padding:0 0 24px}
.ds-flow>section{min-width:0}
.ds-step-heading{min-height:66px}
.ds-flow-label{display:flex;align-items:center;gap:10px;margin:0;color:#292929;font-size:16px;line-height:28px;font-weight:500;letter-spacing:-.35px}
.ds-flow-label>span{display:grid;place-items:center;flex:none;width:27px;height:27px;border:1px solid #e8e5e1;border-radius:8px;background:#fff;font:10px var(--mono,'IBM Plex Mono',monospace);color:#8c837b;letter-spacing:0;box-shadow:0 2px 3px #29201403}
.ds-step-description{margin:6px 0 0 37px;font-size:12px;line-height:19px;color:#85817c}
.ds-stage{position:relative;height:300px;isolation:isolate}
.ds-wire-map{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.ds-wire{fill:none;stroke:var(--stream-line);stroke-width:1;vector-effect:non-scaling-stroke}
.ds-stream-trace{fill:none;stroke:var(--stream-ink);stroke-width:1;opacity:0;vector-effect:non-scaling-stroke;transition:opacity .6s}
.ds-stream-trace.is-active{opacity:.38}
.ds-stream-packet{fill:none;stroke:var(--stream-ink);stroke-width:2;stroke-linecap:round;stroke-dasharray:5 95;stroke-dashoffset:5;opacity:0;vector-effect:non-scaling-stroke}
.is-flowing .ds-stream-packet.is-active{animation:stream-packet var(--stream-duration) linear both}
.ds-stream-junction{position:absolute;left:90.88%;top:50%;width:6px;height:6px;border:1px solid #d6baa7;border-radius:50%;background:#fff;transform:translate(-50%,-50%);z-index:2}
.is-flowing .ds-stream-junction{animation:stream-junction var(--stream-duration) ease both}
.ds-stream-tile{position:absolute;left:0;width:80%;top:18%;min-height:70px;display:flex;align-items:center;gap:12px;padding:14px 16px;text-align:left;background:linear-gradient(155deg,#fff,#fdfdfc);border:1px solid #e2e0dd;border-radius:13px;box-shadow:0 4px 10px #27201903,0 1px 2px #27201904;color:#242424;cursor:pointer;transform:translateY(-50%);transition:border-color .4s,box-shadow .4s;z-index:2}
.ds-stream-tile[data-lane="1"]{top:50%}.ds-stream-tile[data-lane="2"]{top:82%}
.ds-stream-tile:hover{border-color:#cdbfb3;box-shadow:0 5px 18px #53311b09}
.ds-stream-tile.is-active{border-color:#e7b899;box-shadow:0 6px 18px #9e56290b,0 1px 3px #8e482906}
.ds-stream-tile.is-active::before{content:"";position:absolute;width:2px;height:18px;left:-1px;top:calc(50% - 9px);background:#ff5b1b;border-radius:3px}
.ds-stream-tile:focus-visible,.ds-result:focus-visible{outline:2px solid #ba5b2b;outline-offset:4px}
.ds-stream-port{position:absolute;right:-3px;top:calc(50% - 2.5px);width:5px;height:5px;border:1px solid #c9c2bb;background:#fff;border-radius:50%}
.ds-stream-tile.is-active .ds-stream-port{background:#efb087;border-color:#d98d5c}
.ds-stream-marks{position:relative;display:block;flex:none;width:34px;height:34px}
.ds-stream-mark{position:absolute;inset:0;display:grid;place-items:center;border:1px solid #e1dfdc;border-radius:9px;background:#fff;box-shadow:0 1px 3px #1e1c1a05;transition:transform .65s,opacity .65s;color:#757873}
.ds-stream-mark img,.ds-stream-mark svg{width:22px;height:22px}.ds-stream-mark svg{stroke-width:1.4}
.ds-stream-mark[data-position="0"]{z-index:3;transform:translate(0,0);opacity:1}
.ds-stream-mark[data-position="1"]{z-index:2;transform:translate(-3px,-4px) rotate(-9deg);opacity:.35}
.ds-stream-mark[data-position="2"]{z-index:1;transform:translate(-6px,-7px) rotate(-16deg);opacity:.1}
.ds-stream-tile-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.ds-stream-tile-copy strong{font-size:13px;line-height:17px;font-weight:500;letter-spacing:-.15px}
.ds-stream-names{font-size:11px;line-height:15px;color:#88827d;white-space:nowrap}
.ds-check-card{position:relative;display:flex;flex-direction:column;justify-content:center;height:264px;margin-top:18px;padding:19px 18px;background:linear-gradient(160deg,#fff 55%,#fcfbf9);border:1px solid #ded9d3;border-radius:16px;box-shadow:0 8px 24px #37281b04,0 2px 4px #37281b02}
.ds-check-card::before,.ds-check-card::after{content:"";position:absolute;top:50%;height:1px;width:var(--flow-gap);background:var(--stream-line);z-index:0}
.ds-check-card::before{right:100%}.ds-check-card::after{left:100%;background:linear-gradient(to right,#dfdcd8,#d0c8c0)}
.ds-check-mark{position:relative;display:grid;place-items:center;width:62px;height:62px;flex:none;margin:0 auto 15px;border-radius:18px;border:1px solid #e2d8cf;background:#fff;box-shadow:0 3px 4px #47342105,0 0 0 7px #f8f6f34f}
.ds-check-logo{display:block;width:25px;height:33px}
.ds-check-list{list-style:none;padding:0;margin:0;display:grid;gap:0}
.ds-check-list li{display:flex;align-items:center;gap:10px;min-height:44px;border-radius:7px;transition:background .4s;color:#a09b95}
.ds-check-list li>svg{width:15px;height:15px;stroke-width:1.5;flex:none}
.ds-check-list li>span:not(.ds-check-status){display:flex;flex-direction:column;gap:3px;min-width:0}
.ds-check-list strong{font-size:12px;line-height:15px;color:#403d39;font-weight:500}
.ds-check-list li>span>span{font-size:10px;line-height:13px;color:#96908a}
.ds-check-status{position:relative;width:12px;height:12px;flex:none;margin-left:auto;display:grid;place-items:center}
.ds-check-status::before{content:"";width:3px;height:3px;background:#c9c4bf;border-radius:50%;transition:background .3s}
.ds-check-list li[data-state="active"]{color:#c36e3c}
.ds-check-list li[data-state="active"] strong{color:#ab572c}
.ds-check-list li[data-state="active"] .ds-check-status::before{width:9px;height:9px;background:transparent;border:1.5px solid #eac9b3;border-top-color:#d37641;animation:check-progress 1s linear infinite}
.ds-check-list li[data-state="complete"] .ds-check-status::before{width:7px;height:4px;background:transparent;border-left:1px solid #89847c;border-bottom:1px solid #89847c;border-radius:0;transform:translateY(-1px) rotate(-45deg)}
.ds-results-card{margin-top:18px;border:1px solid #deddd9;border-radius:15px;background:#fff;box-shadow:0 6px 18px #30231303;overflow:hidden}
.ds-results-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 42px 12px 19px;border-bottom:1px solid #eeece9;background:#fcfcfb;font:9px var(--mono,'IBM Plex Mono',monospace);color:#9b958f;text-transform:uppercase;letter-spacing:.35px}
.ds-result-item{border-bottom:1px solid #eeece9}
.ds-result{display:flex;align-items:center;gap:12px;min-height:78px;padding:17px 16px 17px 19px;cursor:pointer;list-style:none;transition:background .2s}
.ds-result::-webkit-details-marker{display:none}
.ds-result:hover{background:#fcfbf9}
.ds-result-copy{display:flex;flex-direction:column;gap:7px;width:100%;min-width:0}
.ds-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ds-result-head strong{font-size:12px;line-height:18px;font-weight:500;letter-spacing:-.15px;overflow-wrap:anywhere}
.ds-result-reason{font-size:11px;line-height:16px;color:#85817c}
.ds-badge{display:inline-flex;align-items:center;padding:3px 6px;border-radius:4px;flex:none;font-size:10px;line-height:14px;font-weight:400;color:#34755a;background:#eff7f2}
[data-decision="review"] .ds-badge{color:#99651f;background:#faf5eb}
[data-decision="exclude"] .ds-badge{color:#b15c50;background:#fcf2f0}
.ds-result-chevron{width:12px;height:12px;color:#aaa39c;flex:none;transition:transform .2s}
.ds-result-item[open] .ds-result-chevron{transform:rotate(180deg);color:#78675c}
.ds-result-item[open]>.ds-result{background:#faf9f6}
.ds-result-detail{display:grid;gap:13px;padding:0 20px 18px;background:#faf9f6}
.ds-insight-label{font:9px var(--mono,'IBM Plex Mono',monospace);letter-spacing:.5px;color:#9b7c67}
.ds-result-detail p{margin:5px 0 0;font-size:12px;line-height:1.65;color:#68635e}
.ds-results-hint{display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 10px;color:#9a938c;font-size:10px;line-height:15px;background:#fdfcfb}
.ds-results-hint svg{width:12px;height:12px;stroke-width:1.4}
.streams-demo[data-motion="paused"] *,.streams-demo[data-motion="paused"] *::before,.streams-demo[data-motion="paused"] *::after{animation-play-state:paused!important}
@keyframes stream-packet{0%{stroke-dashoffset:5;opacity:0}3%{opacity:1}18%{stroke-dashoffset:-100;opacity:1}22%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes stream-junction{0%,8%,25%,100%{box-shadow:0 0 0 0 #eab98a00}15%{box-shadow:0 0 0 6px #eab98a28}}
@keyframes check-progress{to{transform:rotate(360deg)}}
@media(min-width:1400px){.ds-flow{grid-template-columns:minmax(0,1fr) minmax(0,.86fr) minmax(0,1.34fr);--flow-gap:40px}.ds-flow-label{font-size:18px}.ds-step-description{font-size:13px}.ds-stream-tile{padding:17px 18px;min-height:78px;gap:14px}.ds-stream-tile-copy strong{font-size:15px}.ds-stream-names{font-size:12px}.ds-stream-marks{width:38px;height:38px}.ds-check-card{padding:19px 24px}.ds-check-list strong{font-size:13px}.ds-check-list li>span>span{font-size:11px}.ds-result-head strong{font-size:14px}.ds-result-reason{font-size:12px}.ds-badge{font-size:11px}.ds-result-detail p{font-size:13px}}
@media(min-width:821px) and (max-width:1120px){.ds-flow{--flow-gap:20px;grid-template-columns:minmax(0,1fr) minmax(0,.94fr) minmax(0,1.4fr)}.ds-flow-label{font-size:15px;gap:8px}.ds-step-description{margin-left:35px;font-size:11px}.ds-stream-tile{padding:13px 10px;gap:9px}.ds-stream-marks{width:30px;height:32px}.ds-stream-tile-copy strong{font-size:12px}.ds-stream-names{font-size:10px}.ds-check-card{padding:17px 13px}.ds-check-list li{gap:8px}.ds-check-list li>svg{width:13px;height:13px}.ds-check-list strong{font-size:11px}.ds-check-list li>span>span{font-size:9px}.ds-result{padding:16px 13px;gap:8px}.ds-results-header{padding-left:13px;padding-right:33px}.ds-result-head{gap:7px}.ds-result-head strong{font-size:11px}.ds-badge{font-size:9px;padding:2px 5px}.ds-result-reason{font-size:10px}}
@media(max-width:820px){.streams-demo .demo-heading{padding-bottom:30px}.ds-flow{display:flex;flex-direction:column;gap:28px;padding-bottom:28px;max-width:560px;margin:0 auto}.ds-flow>section{width:100%}.ds-step-heading{min-height:0;margin-bottom:17px}.ds-flow-label{font-size:17px}.ds-step-description{font-size:12px}.ds-stage{height:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ds-stream-desktop,.ds-stream-junction,.ds-stream-port{display:none}.ds-stream-tile{position:relative;left:auto;top:auto!important;transform:none;width:100%;min-height:110px;flex-direction:column;align-items:flex-start;justify-content:center;padding:14px;gap:12px}.ds-stream-tile-copy{gap:4px}.ds-stream-tile-copy strong{font-size:12px}.ds-stream-names{font-size:10px;white-space:normal}.ds-stream-marks{width:32px;height:32px}.ds-check-card{height:auto;min-height:168px;margin:0;padding:20px 24px;flex-direction:row;gap:30px;align-items:center}.ds-check-card::before,.ds-check-card::after{display:none}.ds-check-mark{margin:0;flex:none}.ds-check-list{width:100%;gap:4px}.ds-check-list li{min-height:40px;gap:12px}.ds-check-list strong{font-size:12px}.ds-check-list li>span>span{font-size:11px}.ds-results-card{margin-top:0}.ds-result-head strong{font-size:13px}.ds-result-reason{font-size:12px}.ds-badge{font-size:11px}.ds-result{min-height:80px}.ds-result-detail p{font-size:13px}}
@media(max-width:420px){.ds-flow{gap:25px}.ds-stage{gap:7px}.ds-stream-tile{padding:12px 8px;min-height:115px}.ds-stream-tile-copy strong{font-size:11px}.ds-stream-names{font-size:9px}.ds-check-card{padding:18px;gap:20px}.ds-check-mark{width:50px;height:50px;border-radius:14px}.ds-check-list li{gap:9px}.ds-check-list li>span>span{font-size:10px}.ds-result{padding:16px 13px;gap:8px}.ds-result-head strong{font-size:12px}.ds-result-reason{font-size:11px}.ds-badge{font-size:10px}.ds-results-header{padding-left:13px;padding-right:34px}}
@media(prefers-reduced-motion:reduce){.streams-demo *,.streams-demo *::before,.streams-demo *::after{animation:none!important;transition:none!important}}
/* Keep the explanation legible at everyday laptop widths. */
@media(min-width:821px){
 .ds-stream-tile-copy strong{font-size:14px;line-height:18px}
 .ds-stream-names{font-size:11px;line-height:15px}
 .ds-check-list strong{font-size:13px;line-height:16px}
 .ds-check-list li>span>span{font-size:11px;line-height:14px}
 .ds-result-head strong{font-size:14px;line-height:19px}
 .ds-result-reason{font-size:12px;line-height:17px}
 .ds-badge{font-size:11px;padding:3px 6px}
 .ds-results-header,.ds-results-hint{font-size:10px}
}
@media(min-width:821px) and (max-width:920px){
 .ds-flow{--flow-gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr)}
 .ds-stream-tile-copy strong{font-size:12px}
 .ds-stream-names{font-size:10px}
 .ds-check-list strong{font-size:12px}
 .ds-check-list li>span>span{font-size:10px}
 .ds-result-head strong{font-size:12px}
 .ds-result-reason{font-size:11px}
 .ds-badge{font-size:10px}
}
/* Equal outer columns keep the check and its connecting lines on the page axis. */
@media(min-width:821px){.streams-demo .ds-flow{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) minmax(0,1fr)}}
