/* A stable, tabbed product demo. Scrolling never seeks or pins the animation. */
#product.use-case-demo{padding-top:55px;padding-bottom:110px;scroll-margin-top:110px}
.demo-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:44px}
.demo-section-header h2{font-size:clamp(30px,3.3vw,42px);line-height:1.17;letter-spacing:-.04em;font-weight:450;color:#293f32;max-width:none;text-wrap:balance}
.demo-motion-toggle{width:34px;height:34px;flex:none;margin-top:5px;display:grid;place-items:center;border:1px solid #e0e7e1;border-radius:50%;background:transparent;color:#829187;transition:color .2s,border-color .2s}
.demo-motion-toggle:hover{color:#315e42;border-color:#9fb6a7}.demo-motion-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.demo-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:48px;align-items:center}
.demo-navigation{min-width:0}.demo-tabs{display:flex;flex-direction:column;gap:3px}
.demo-tab{position:relative;display:block;text-align:left;border:0;border-bottom:1px solid #e4eae5;border-radius:0;padding:22px 18px;background:transparent;width:100%;color:#849087;cursor:pointer;overflow:hidden}
.demo-tab-title{display:block;font-size:18px;line-height:1.3;letter-spacing:-.02em;font-weight:450}.demo-tab:hover{color:#355e41}.demo-tab.selected{color:#294f37;background:linear-gradient(90deg,#eaf2ecaa,#f0f5f100);border-bottom-color:transparent;border-radius:8px}
.demo-tab-description{display:block;font-size:14px;line-height:1.65;color:#75867a;max-height:0;overflow:hidden;opacity:0;margin-top:0;transition:max-height .25s ease,margin .25s ease,opacity .2s ease}
.demo-tab.selected .demo-tab-description{max-height:90px;height:70px;opacity:1;margin-top:12px}.demo-tab-progress{display:none;position:absolute;bottom:0;left:18px;right:18px;height:2px;background:#dfe9e1}.demo-tab.selected .demo-tab-progress{display:block}.demo-tab-progress i{display:block;height:100%;background:#60846b;transform:scaleX(var(--stage-progress,0));transform-origin:left center}
.demo-tab:focus-visible{outline:2px solid #6c977a;outline-offset:3px;border-radius:8px}.demo-mobile-description{display:none}
.demo-screen{min-width:0;display:flex;justify-content:center;align-items:center;outline-offset:8px}.story-film-wrap{position:relative;flex-shrink:0}
#revenue-film{position:absolute;left:0;top:0;transform-origin:0 0;container-type:normal;box-shadow:0 8px 40px #294b3408;border-color:#dce5dc;overflow:hidden}
#revenue-film *,#revenue-film *:before,#revenue-film *:after{transition:none!important;animation:none!important}
#revenue-film .growth-title{height:72px;min-height:72px;font-size:28px;margin:14px 28px 0;line-height:1.2}
#revenue-film .growth-title>span{max-width:none}
#revenue-film .growth-canvas{height:500px;margin:0 24px 10px}
#revenue-film .growth-followup{top:12px;width:590px;max-width:calc(100% - 40px);min-height:0;box-shadow:0 12px 35px #264a2908}
#revenue-film .growth-compose-head{padding:16px 20px}
#revenue-film .growth-compose-body{padding:17px 22px;min-height:0}
#revenue-film .growth-compose-body p{font-size:16px;line-height:1.5;margin-top:13px}
#revenue-film #followup-copy{max-height:none;overflow:visible}
#revenue-film .growth-compose-actions{padding:12px 18px}
#revenue-film .compose-subject strong{font-size:17px}
#revenue-film .approval-success{opacity:0;transform:scale(.96)}
#revenue-film.approved .approval-success{opacity:1;transform:scale(1)}
#revenue-film .approval-check path{stroke-dashoffset:42}
#revenue-film.approved .approval-check path{stroke-dashoffset:0}
#revenue-film [data-heading="3"]{opacity:0;transform:translateY(7px)}
#revenue-film.approved [data-heading="2"]{opacity:0;transform:translateY(-7px)}
#revenue-film.approved [data-heading="3"]{opacity:1;transform:translateY(0)}
#revenue-film .approval-ripple{display:none}
#revenue-film .growth-followup{pointer-events:none}
.story-skip{position:absolute;bottom:0;right:0;font-size:12px;color:#6d8575;text-decoration:none;padding:3px 0}
.story-skip:hover{color:#254f35;text-decoration:underline}
/* Inbound enquiry becomes a qualified handoff. */
.inbound-enquiry{position:absolute;left:50%;top:38px;width:490px;max-width:92%;transform:translateX(-50%);background:#fff;border:1px solid #d7e3d0;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px #254b2908}
.inbound-enquiry .case-record-head>.icon{width:18px;height:18px}
.case-record-head .inbound-new{flex:0 0 auto;margin-left:auto;border-radius:4px;padding:2px 7px;background:#edf4e7;color:#719258;font-size:11px}
.inbound-enquiry h3{font-weight:450;font-size:23px;color:#395b2e;letter-spacing:-.03em;margin:21px 24px 0}
.inbound-enquiry>p{font-size:22px;line-height:1.5;color:#617a50;padding:14px 24px 20px}
.enquiry-from{display:flex;gap:10px;align-items:center;border-top:1px solid #e8eedf;padding:15px 24px;font-size:13px;color:#637e50}
.enquiry-from small{display:block;font-size:11px;color:#91a17d}
.inbound-fit{position:absolute;left:54%;top:86px;width:43%;opacity:0;transform:translate(25px,15px)}
.inbound-fit h3{font-size:25px;font-weight:450;line-height:1.25;letter-spacing:-.03em;color:#426034;margin:17px 0 21px}
.inbound-fit .research-row{font-size:14px;gap:7px}
#revenue-film[data-phase="1"] .inbound-enquiry{transform:translateX(-92%) scale(.65)}
#revenue-film[data-phase="1"] .inbound-fit{opacity:1;transform:none}
#revenue-film[data-phase="2"] .inbound-enquiry{opacity:0;transform:translate(-125%,-20px) scale(.55);filter:blur(3px)}
#revenue-film[data-phase="2"] .inbound-fit{opacity:0;transform:translate(30px,-20px) scale(.9)}
.handoff-owner{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #e5ecdd}
.handoff-owner>div{flex:1}.handoff-owner strong{font-size:15px;color:#557441;font-weight:500}.handoff-owner span:not(.compose-avatar){display:block;font-size:12px;color:#879b73;margin-top:4px}.handoff-owner>.icon{width:18px;color:#6f9654}
.handoff-reply{padding:18px 0 4px}.handoff-reply>span{font-size:12px;color:#87a070}.handoff-reply p{white-space:normal}
.outbound-channels{display:flex;gap:6px;margin-top:15px;border-top:1px solid #e2ebdc;padding-top:12px;flex-wrap:wrap}
.outbound-channels span{font-size:11px;border:1px solid #dfe9d5;background:#f4f8ee;color:#708b5b;border-radius:5px;padding:4px 7px}
@media(min-width:701px){
#revenue-film .prospecting-signal{width:430px}
#revenue-film[data-phase="1"] .prospecting-signal{transform:translateX(-94%) scale(.68)}
#revenue-film .prospecting-research{left:55%;width:40%;top:65px}
#revenue-film .prospecting-research h3{font-size:25px}
#revenue-film .research-row{font-size:14px}
#revenue-film .pipeline-memory{width:460px}
#revenue-film[data-phase="1"] .pipeline-memory{transform:translateX(-92%) scale(.67)}
#revenue-film .pipeline-trigger{left:57%;width:40%;top:65px}
#revenue-film .pipeline-trigger h3{font-size:24px}
#revenue-film .growth-tickets{width:350px}
#revenue-film[data-phase="1"] .growth-tickets{transform:translateX(-100%) scale(.72)}
#revenue-film .growth-asset{left:63%;width:270px}
#revenue-film .renewal-horizon{width:310px}
#revenue-film[data-phase="1"] .renewal-horizon{transform:translateX(-114%) scale(.8)}
#revenue-film .renewal-risk{left:51%;width:45%}
#revenue-film .renewal-risk h3{font-size:23px}
}
@media(max-width:1000px) and (min-width:701px){.demo-layout{grid-template-columns:235px minmax(0,1fr);gap:28px}.demo-tab{padding:19px 14px}.demo-tab-title{font-size:16px}.demo-tab-description{font-size:13px}.demo-tab.selected .demo-tab-description{height:76px}}
@media(max-width:700px){
#product.use-case-demo{padding-top:30px;padding-bottom:70px;width:calc(100% - 32px)}.demo-section-header{gap:14px;margin-bottom:26px}.demo-section-header h2{font-size:29px;line-height:1.18}.demo-motion-toggle{width:30px;height:30px;margin-top:3px}
.demo-layout{grid-template-columns:1fr;gap:18px}.demo-tabs{flex-direction:row;flex-wrap:wrap;gap:8px}.demo-tab{width:auto;padding:11px 13px;border:1px solid #dfe7e0;border-radius:7px;background:#fff;color:#7a8980;overflow:hidden}.demo-tab-title{font-size:13px;line-height:1.3;white-space:nowrap}.demo-tab.selected{border:1px solid #bfcfc3;background:#edf4ef;border-radius:7px;color:#315a3e}.demo-tab .demo-tab-description,.demo-tab.selected .demo-tab-description{display:none}.demo-tab-progress{left:0;right:0;height:2px}.demo-mobile-description{display:block;height:66px;margin-top:17px;font-size:15px;line-height:1.55;color:#7b8b80;max-width:480px}.demo-screen{width:100%}
#revenue-film .growth-title{font-size:24px;height:68px;min-height:68px;margin:12px 15px 0}
#revenue-film .growth-canvas{height:480px;margin:0 16px 10px}
#revenue-film .growth-followup{top:12px;width:100%;max-width:none}
#revenue-film .growth-compose-head{padding:12px 14px}
#revenue-film .growth-compose-body{padding:14px;min-height:0}
#revenue-film .growth-compose-body p{font-size:14px;line-height:1.4;margin-top:11px}
#revenue-film .compose-subject strong{font-size:15px}
#revenue-film .growth-compose-actions{padding:10px}
#revenue-film .review-status{font-size:10px}
#revenue-film .growth-compose-head strong{font-size:13px}
#revenue-film .growth-compose-head>div>span{font-size:11px}
#revenue-film .compose-evidence{font-size:10px}
#revenue-film .prepared-result{font-size:10px}
#revenue-film .quote-review-table>div{padding:12px 0}
#revenue-film .quote-review-terms{margin-top:12px}
#revenue-film .quote-tax-note{font-size:10px;line-height:1.4}
#revenue-film .recovery-plan>div{padding:12px 0}
#revenue-film .recovery-plan p{font-size:13px;line-height:1.45}
#revenue-film .outbound-channels{gap:4px;margin-top:10px;padding-top:9px}
#revenue-film .outbound-channels span{font-size:10px;padding:3px 5px}
.inbound-enquiry{top:30px;width:100%;max-width:none}.inbound-enquiry h3{font-size:22px;margin:20px 19px 0}.inbound-enquiry>p{font-size:21px;padding:14px 19px 18px}.enquiry-from{padding:13px 19px}
#revenue-film[data-phase="1"] .inbound-enquiry{transform:translate(-50%,-14px) scale(.49);transform-origin:50% 0;opacity:.5}
#revenue-film[data-phase="2"] .inbound-enquiry{transform:translate(-50%,-28px) scale(.37);opacity:0}
.inbound-fit{left:50%;top:208px;width:95%;transform:translate(-50%,25px)}
#revenue-film[data-phase="1"] .inbound-fit{transform:translate(-50%,0)}
#revenue-film[data-phase="2"] .inbound-fit{transform:translate(-50%,-25px) scale(.9)}
.inbound-fit h3{font-size:23px;margin:12px 0 18px}.inbound-fit .research-row{font-size:13px;margin:13px 0}
.handoff-owner{padding:14px 0;gap:8px}.handoff-owner strong{font-size:13px}.handoff-owner span:not(.compose-avatar){font-size:10px}.handoff-reply{padding-top:14px}
}
@media(prefers-reduced-motion:reduce){.demo-tab-description{transition:none}}
@media(min-width:701px) and (max-width:1000px){.demo-layout{grid-template-columns:1fr;gap:16px}.demo-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.demo-tab{padding:14px 10px;min-height:68px;border:1px solid #e0e7e1;border-radius:7px;background:#fff;text-align:center}.demo-tab.selected{border:1px solid #c7d7cb;border-radius:7px;background:#edf4ef}.demo-tab-title{font-size:14px}.demo-tab .demo-tab-description,.demo-tab.selected .demo-tab-description{display:none}.demo-tab-progress{left:0;right:0}.demo-mobile-description{display:block;margin-top:17px;height:48px;font-size:16px;line-height:1.55;max-width:620px}.demo-section-header{margin-bottom:28px}.demo-screen{width:100%}}

@media(min-width:1001px){.demo-section-header h2{font-size:clamp(27px,2.65vw,36px);white-space:nowrap;letter-spacing:-.04em}}

/* Connector geometry follows the actual animated card edges. Normalized path
   lengths keep short and long wires drawing once, without repeated dashes. */
#revenue-film .case-link,#revenue-film .growth-connections{pointer-events:none}
#revenue-film .case-link path,#revenue-film .growth-connections path{stroke-dasharray:1;stroke-dashoffset:1;stroke-width:1.2}
#revenue-film[data-phase="1"] .case-link path,#revenue-film[data-phase="1"] .growth-connections path{stroke-dashoffset:0}
/* Keep the shrink origin stable across poses, avoiding a jump at the cut. */
#revenue-film .quote-request{transform-origin:50% 0}
#revenue-film .filmed-pointer{top:14px;right:22px}
@media(max-width:700px){
  #revenue-film .prospecting-signal,#revenue-film .pipeline-memory,#revenue-film .renewal-horizon{transform-origin:50% 0}
  #revenue-film .growth-connections{display:none}
  #revenue-film[data-phase="1"] .growth-tickets{transform:translate(-50%,-10px) scale(.48)}
  #revenue-film .growth-asset{top:220px}
  #revenue-film .filmed-pointer{top:12px;right:19px}
}
