.hero-scene{position:relative;width:100%;margin:auto;isolation:isolate;text-align:left}
.hero-diagram{position:relative;height:430px;width:100%}
.hero-routes{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.hero-motion-route{stroke:none;fill:none}.hero-junction{fill:#1d242e}.hero-link{stroke:#727c8b;stroke-width:2;vector-effect:non-scaling-stroke}
.hero-routes marker path{stroke:#343a43;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.hero-person-node{position:absolute;left:6.7%;transform:translate(-50%,-50%);z-index:3}
.hero-person-node[data-person="0"]{top:19%}.hero-person-node[data-person="1"]{top:50%}.hero-person-node[data-person="2"]{top:81%}
.hero-person-node>.badge{--badge-size:90px}
.hero-hub-node{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:110px;height:110px;z-index:3;text-align:center;background:white}
.hero-hub-symbol{display:grid;place-items:center;width:110px;height:110px;background:white}
.hero-brand-mark{display:block;width:86px;height:86px;color:#111214}
.hero-hub-label{position:absolute;top:calc(100% + 2px);left:50%;transform:translateX(-50%);font-size:30px;font-weight:670;letter-spacing:-1.5px;color:#111214}
.hero-agent-group{position:absolute;left:73%;width:27%;padding:13px 17px 15px;border:1.25px solid #b7bec7;border-radius:17px;background:#fbfcfd;transform:translateY(-50%);z-index:3}
.hero-agent-group[data-group="product"]{top:19%}.hero-agent-group[data-group="engineering"]{top:50%}.hero-agent-group[data-group="operations"]{top:81%}
.hero-group-label{font-size:14px;font-weight:550;line-height:1.3;color:#3e4652;margin:0 0 12px 2px}
.hero-agent-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:center}
.hero-agent-row .agent-node{--badge-size:58px;justify-self:start}
.hero-bubble{position:absolute;z-index:6;width:258px;max-width:calc(100% - 12px);padding:17px 19px;border:1.25px solid #17191d;border-radius:13px;font-size:17px;font-weight:480;line-height:1.5;letter-spacing:-.3px;opacity:0;pointer-events:none}
.hero-bubble>span:first-child{display:block;font-size:12px;font-weight:500;margin-bottom:5px;letter-spacing:0}
.bubble-dark{background:#191b20;color:#fff}.bubble-dark>span:first-child{color:#bec3cc}
.hero-bubble:after{content:'';position:absolute;bottom:-10px;width:17px;height:17px;transform:skewY(-35deg);background:inherit;border-bottom:1.25px solid #17191d}
.hero-bubble[data-tail="left"]:after{left:17px;border-left:1.25px solid #17191d}.hero-bubble[data-tail="right"]:after{right:17px;border-right:1.25px solid #17191d;transform:skewY(35deg)}
.bubble-light{background:white;color:#111214;width:292px}
.bubble-light>span:first-child{color:#505966}
.hero-mini-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.hero-mini-actions b{font-size:11px;font-weight:500;padding:6px 8px;border:1px solid #c7cdd5;border-radius:5px;white-space:nowrap}.hero-mini-actions b:first-child{background:#181b20;color:white;border-color:#181b20}
.hero-approved{display:flex;align-items:center;gap:8px;width:max-content;min-width:138px;background:#16794f;color:white;border-color:#16794f;font-size:18px;padding:14px 18px}.hero-approved svg{width:19px;height:19px}.hero-approved:after{border-color:#16794f!important}.hero-approved strong{font-weight:550}
.hero-controls{display:flex;justify-content:center;align-items:center;gap:22px;min-height:45px;margin-top:4px;color:#3d4654}
 .hero-steps{display:flex;gap:34px;justify-content:center;width:100%}.hero-step{--phase-color:#1f5ac5;min-height:44px;display:flex;align-items:center;justify-content:center;gap:9px;padding:6px 2px;border:0;background:none;font-size:15px;font-weight:550;line-height:1.35;color:var(--phase-color);opacity:.82;transition:opacity .2s}.hero-step:nth-child(2){--phase-color:#9a5d14}.hero-step:nth-child(3){--phase-color:#087d83}.hero-step[aria-pressed="true"]{font-weight:650;opacity:1}.hero-step .phase-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor}.hero-step[aria-pressed="true"] .phase-dot{box-shadow:0 0 0 4px color-mix(in srgb,currentColor 12%,transparent)}.phase-label,.phase-label>span{width:auto;height:auto;background:none;border-radius:0}.hero-step:hover{opacity:1}
.motion-toggle{display:grid;place-items:center;width:36px;height:36px;border:1px solid #bfc6cf;background:white;border-radius:50%;padding:8px;color:#444c58}.motion-toggle svg{width:16px;height:16px}.motion-toggle:hover{border-color:#343c49;color:#111214}.motion-toggle:disabled{opacity:.5}
@media(min-width:1400px){.hero-diagram{height:450px}.hero-agent-row .agent-node{--badge-size:64px}.hero-person-node>.badge{--badge-size:104px}.hero-agent-group{padding:15px 20px 17px}.hero-group-label{font-size:15px}.hero-bubble{font-size:18px;width:280px}.bubble-light{width:310px}.hero-mini-actions b{font-size:12px}}
@media(min-width:900px) and (max-height:900px){.hero-diagram{height:350px}.hero-person-node>.badge{--badge-size:78px}.hero-agent-row .agent-node{--badge-size:clamp(44px,calc(20svh - 120px),58px)}.hero-agent-group{padding:8px 11px 10px}.hero-group-label{font-size:13px;margin-bottom:9px}.hero-hub-node,.hero-hub-symbol{width:90px;height:90px}.hero-brand-mark{width:72px;height:72px}.hero-hub-label{font-size:26px}.hero-bubble{padding:13px 16px;font-size:15px;width:244px}.bubble-light{width:278px}}
@media(max-width:1279px) and (min-width:621px){.hero-agent-row{gap:6px}.hero-agent-row .agent-node{--badge-size:45px}.hero-person-node>.badge{--badge-size:76px}.hero-group-label{font-size:12px}.hero-agent-group{left:71%;width:29%;padding:12px}.hero-bubble{width:230px;font-size:15px}.bubble-light{width:267px}.hero-hub-node,.hero-hub-symbol{width:90px;height:90px}.hero-brand-mark{width:70px;height:70px}.hero-hub-label{font-size:26px}}
@media(max-width:1279px){.hero-diagram{height:590px}.hero-person-node{top:48px!important}.hero-person-node[data-person="0"]{left:17%}.hero-person-node[data-person="1"]{left:50%}.hero-person-node[data-person="2"]{left:83%}.hero-person-node>.badge{--badge-size:68px}.hero-hub-node{left:16%;top:62%}.hero-hub-node,.hero-hub-symbol{width:72px;height:72px}.hero-brand-mark{width:58px;height:58px}.hero-hub-label{font-size:21px;top:100%}.hero-agent-group{left:40%;width:60%;padding:12px 10px;border-radius:13px}.hero-agent-group[data-group="product"]{top:43%}.hero-agent-group[data-group="engineering"]{top:62%}.hero-agent-group[data-group="operations"]{top:81%}.hero-agent-row{gap:6px}.hero-agent-row .agent-node{--badge-size:37px}.hero-group-label{font-size:12px;margin-bottom:10px}.hero-bubble,.bubble-light{width:calc(100% - 32px);padding:14px 16px;font-size:16px;max-width:350px}.hero-bubble>span:first-child{font-size:12px}.hero-mini-actions b{font-size:11px}.hero-controls{margin-top:-6px;gap:10px}.hero-current-phase{font-size:12px;min-width:110px}.hero-approved{width:max-content}}
@media(max-width:360px){.hero-agent-row{gap:4px}.hero-agent-row .agent-node{--badge-size:31px}.hero-agent-group{padding:11px 8px}.hero-person-node>.badge{--badge-size:60px}.hero-hub-node,.hero-hub-symbol{width:62px;height:62px}.hero-brand-mark{width:50px;height:50px}.hero-hub-label{font-size:19px}}
@media(prefers-reduced-motion:reduce){.hero-step span{transition:none}}

@media(max-width:1279px){
 .hero-diagram{height:660px}.hero-hub-node{left:50%;top:38%}
 .hero-agent-group{left:0;width:32%;top:87%!important;padding:12px 9px}
 .hero-agent-group[data-group="engineering"]{left:34%}.hero-agent-group[data-group="operations"]{left:68%}
 .hero-agent-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 6px;min-height:82px;align-content:start}
 .hero-agent-row .agent-node{--badge-size:34px;justify-self:center}
 .hero-group-label{font-size:11px;line-height:1.35;min-height:30px;margin:0 0 9px;text-align:center}
 .hero-hub-label{font-size:21px;background:white;padding:0 4px}
 .hero-bubble[data-tail="top"]:after{bottom:auto;top:-9px;left:var(--tail-x);border-top:1.25px solid #17191d;border-left:1.25px solid #17191d;border-bottom:0;transform:skewY(35deg)}
 .hero-bubble[data-tail="bottom"]:after{left:var(--tail-x);border-left:1.25px solid #17191d;transform:skewY(-35deg)}
}
@media(max-width:360px){.hero-agent-group{padding-inline:7px}.hero-agent-row{gap:7px 4px;min-height:73px}.hero-agent-row .agent-node{--badge-size:29px}.hero-group-label{font-size:10px;min-height:27px}}

/* Pointer borders remain visible on both dark and white message cards. */
.hero-bubble{--bubble-bg:#191b20;--bubble-border:#17191d;background:var(--bubble-bg);border-color:var(--bubble-border)}
.hero-scene[data-phase="person-agent"]{--phase-color:#1f5ac5}.hero-scene[data-phase="agent-agent"]{--phase-color:#9a5d14}.hero-scene[data-phase="agent-people"]{--phase-color:#087d83}
.hero-person-request,.hero-agent-request{--bubble-bg:var(--phase-color);--bubble-border:var(--phase-color)}.hero-person-request>span:first-child,.hero-agent-request>span:first-child{color:#eef4ff}
.bubble-light{--bubble-bg:#fff;--bubble-border:#17191d}.hero-mini-actions{color:#111214}
.hero-approval-question{--approval-padding-x:12px;--approval-padding-y:12px;--bubble-bg:var(--phase-color);--bubble-border:var(--phase-color);padding:0;color:#fff}
.hero-request-copy{padding:var(--approval-padding-y) var(--approval-padding-x) 4px}
.hero-request-author{display:block;font-size:12px;font-weight:500;letter-spacing:0;line-height:1.5;margin-bottom:4px;color:#fff}
.hero-request-question{font:inherit;margin:0}
.hero-approval-question .hero-mini-actions{margin:0;padding:4px var(--approval-padding-x) var(--approval-padding-y);color:#111214}
.hero-approval-question .hero-mini-actions b{padding:5px 6px;background:#fff;border-color:#c7cdd5;color:#111214}
.hero-approval-question .hero-mini-actions b:first-child{background:#181b20;border-color:#181b20;color:#fff}
.hero-approved{--bubble-bg:#16794f;--bubble-border:#16794f}
.hero-scene .motion-packet-request{background:var(--phase-color);border-color:var(--phase-color)}.hero-scene .motion-dot{background:var(--phase-color)}
.hero-bubble[data-tail="left"]:after,.hero-bubble[data-tail="right"]:after{top:var(--tail-y,24px);bottom:auto;width:16px;height:16px;border:0;border-right:1.25px solid var(--bubble-border);border-bottom:1.25px solid var(--bubble-border);clip-path:none;background:var(--bubble-bg)}
.hero-bubble[data-tail="left"]:after{left:-9px;right:auto;transform:rotate(135deg)}.hero-bubble[data-tail="right"]:after{right:-9px;left:auto;transform:rotate(-45deg)}
.hero-lower-pointer{display:none}.hero-bubble[data-tail="lower-right"]:after{display:none}.hero-bubble[data-tail="lower-right"]>.hero-lower-pointer{display:block;position:absolute;right:-1px;bottom:-24px;width:28px;height:26px;overflow:visible;fill:var(--bubble-bg);stroke:var(--bubble-border);stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:620px){.hero-steps{gap:16px}.hero-step{width:auto;font-size:12px;gap:6px;padding:6px 0}.phase-label{text-align:left}.phase-label>span{display:block}.hero-step .phase-dot{width:6px;height:6px;flex-basis:6px}}
@media(min-width:621px) and (max-width:1279px){
 .hero-person-node>.badge{--badge-size:86px}.hero-hub-node,.hero-hub-symbol{width:90px;height:90px}.hero-brand-mark{width:72px;height:72px}.hero-hub-label{font-size:26px}
 .hero-agent-group{top:87%!important;padding:14px}.hero-agent-row .agent-node{--badge-size:48px}.hero-agent-row{min-height:104px;gap:8px}.hero-group-label{font-size:13px;min-height:34px}.hero-bubble{font-size:17px;width:330px;max-width:350px}.bubble-light{width:350px}
}

@media(max-width:360px){.hero-mini-actions b{font-size:10px;padding:6px}}

/* Fit the complete desktop story, including phase labels, in the landing viewport. */
@media(min-width:1280px){.hero-diagram{height:clamp(310px,calc(100svh - 515px),450px)}.hero-scene:empty{min-height:calc(clamp(310px,calc(100svh - 515px),450px) + 49px)}}
@media(min-width:1280px) and (min-height:801px) and (max-height:820px){.hero-inner{margin-top:-20px}}

@media(min-width:900px) and (max-height:900px){.hero-approval-question{--approval-padding-y:10px}}
@media(min-width:1280px) and (max-width:1359px) and (max-height:900px){.hero-request-question{font-size:14px}}
.hero-bubble.hero-approval-question:after{border-color:var(--bubble-border)}
