/* Operlivo's product stories: paper, graphite and warm orange. */
.demo-section {max-width:1440px}
.scenario-demo {border:0;border-radius:24px;background:#f2f1ed;padding:12px;overflow:hidden;box-shadow:0 1px 0 #24313d0b}
.js .scenario-tabs {border:0;background:transparent;gap:8px;padding:5px 5px 18px}
.scenario-tabs button {position:relative;min-height:56px;padding:14px 20px;border-radius:12px;font-size:.9375rem;color:#56616a;justify-content:flex-start;gap:12px;transition:background .22s,color .22s,box-shadow .22s}
.scenario-tabs button svg {width:22px;height:22px;flex:none}
.scenario-tabs [aria-selected=true] {border-color:#fff;background:#fff;color:#24313d;box-shadow:0 3px 12px #24313d08}
.scenario-tabs [aria-selected=true] svg {color:#bd542c}
.scenario-tab-dot {width:6px;height:6px;border-radius:50%;margin-left:auto;background:transparent}
.scenario-tabs [aria-selected=true] .scenario-tab-dot {background:#ee6b32;box-shadow:0 0 0 4px #ee6b3210}
.scenario-body {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px;align-items:center;background:#fff;border-radius:18px;padding:36px;animation:scenario-enter .45s ease-out both}
.scenario-detail {padding:12px 4px;min-width:0;align-self:center}
.scenario-top {gap:16px;min-height:32px}
.scenario-category {font-size:.875rem;font-weight:550;display:flex;align-items:center;gap:10px;color:#895037}
.scenario-category svg {width:19px;height:19px}
.scenario-top .mono {font-size:.75rem;color:#75818a}
.scenario-detail h3 {font-size:clamp(1.85rem,3vw,2.7rem);line-height:1.12;letter-spacing:-.045em;margin:22px 0 20px;max-width:450px;font-weight:550}
.scenario-detail>p {font-size:1rem;line-height:1.7;color:#626f78;max-width:450px}
.scenario-short-steps {display:grid;gap:12px;margin:26px 0 30px;font-size:.875rem;color:#596670}
.scenario-short-steps span:last-child {color:#a34e2b}
.scenario-try {border:0;border-top:1px solid #e5e8e9;max-width:460px}
.scenario-try summary {list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:24px;align-items:center;padding:19px 0 8px;font-size:.9375rem;font-weight:550;color:#24313d}
.scenario-try summary::-webkit-details-marker {display:none}
.scenario-try summary>span {width:30px;height:30px;border-radius:50%;background:#f5e9e1;display:grid;place-items:center;color:#aa4a24;transition:transform .2s}
.scenario-try[open] summary>span {transform:rotate(90deg)}
.scenario-try-content {padding-top:10px}
.scenario-try-instruction {font-size:.9375rem;line-height:1.65;color:#596670;margin:0 0 18px}
.scenario-try .decision-area {gap:18px 12px}
.scenario-try .decision-owner {color:#65737e;font-size:.8125rem}
.scenario-try .decision-owner b {color:#24313d}
.scenario-try .demo-select {font-size:.8125rem;color:#65737e}
.scenario-try .demo-select select {background:#fff;border-color:#d8dfe3;max-width:145px}
.scenario-try .button {font-size:.9375rem;line-height:1.45;padding:15px 16px}
.scenario-visual {position:relative;isolation:isolate;min-width:0;height:500px;border-radius:15px;overflow:hidden;background:radial-gradient(ellipse at 80% 20%,#ffd0ab 0%,transparent 50%),radial-gradient(ellipse at 5% 90%,#b7c8d1 0%,transparent 60%),linear-gradient(145deg,#f5e7d9 5%,#e8ecee 70%,#d3dde3);display:flex;align-items:center;justify-content:center;padding:76px 28px 115px;perspective:1000px}
.motion-orbit {position:absolute;pointer-events:none;z-index:-1;border:1px solid #fff9;border-radius:50%;width:560px;height:560px;left:50%;top:48%;transform:translate(-50%,-50%) rotateX(54deg) rotateZ(-25deg)}
.motion-orbit-two {width:650px;height:650px;border-color:#24313d0e}
.scenario-visual::before {content:"";position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(90deg,transparent 0 45px,#ffffff25 45px 46px);mask-image:linear-gradient(transparent,#0006,transparent)}
.motion-source-chip {position:absolute;top:29px;left:27px;display:flex;align-items:center;gap:10px;color:#46535e;font-size:.8125rem;padding:11px 14px;background:#ffffff9e;border:1px solid #fff9;border-radius:9px;box-shadow:0 6px 20px #24313d05;transform:rotate(-3deg)}
.motion-source-chip svg {width:18px;height:18px;color:#a55331}
.scenario-visual .scenario-document {position:relative;align-self:auto;min-width:0;width:100%;max-width:326px;margin:0;padding:22px;background:#fffffff5;border:1px solid #ffffff;border-radius:13px;box-shadow:0 25px 40px -18px #24313d55,0 4px 12px #24313d06;color:#24313d;transform:rotate(-2deg);transition:transform .7s cubic-bezier(.2,.7,.2,1),opacity .6s;overflow:hidden}
.motion-card-header {display:flex;gap:10px;align-items:center;position:relative;z-index:1}
.motion-card-icon {width:35px;height:39px;display:grid;place-items:center;flex:none;background:#f5ece5;color:#a64f28;border-radius:7px}
.motion-card-icon svg {width:21px;height:21px}
.motion-card-header b {display:block;font-size:.875rem;letter-spacing:-.025em}
.motion-card-header small {display:block;font-size:.75rem;letter-spacing:0;color:#74818a;margin-top:5px;line-height:1.4}
.motion-card-dots {margin-left:auto;letter-spacing:1px;font-size:12px;color:#99a3aa}
.motion-invoice-amount {margin:24px 0 16px;font-size:2.5rem;letter-spacing:-.06em;line-height:1.1;font-weight:550}
.motion-document-lines {display:grid;gap:7px;margin:14px 0 19px}
.motion-document-lines i {height:5px;border-radius:3px;background:#e9edef;width:100%}
.motion-document-lines i:nth-child(2) {width:80%}
.motion-document-lines i:nth-child(3) {width:52%}
.scenario-visual .scenario-document dl {margin:16px 0 0}
.scenario-visual .scenario-document dl>div {display:flex;flex-direction:row;justify-content:space-between;padding:11px 0;gap:12px;font-size:.75rem;border-color:#edf0f2;line-height:1.5}
.scenario-visual .scenario-document dt {color:#72808a}
.scenario-visual .scenario-document dd {color:#24313d}
.motion-check-line {border-radius:6px;background:#f2f6f5;padding:9px;margin:9px 0 0;font-size:.75rem;color:#456b61;display:flex;gap:7px;opacity:1;transition:opacity .5s,transform .5s}
.motion-check-line>span {font-weight:600}
.motion-agent-chip {position:absolute;bottom:91px;left:50%;width:max-content;max-width:90%;transform:translateX(-50%) rotate(2deg);display:flex;align-items:center;gap:12px;border:1px solid #ffffffc0;background:#fff;box-shadow:0 15px 26px -15px #24313d55;border-radius:12px;padding:14px 17px;z-index:3;transition:transform .7s,opacity .5s}
.motion-agent-icon {background:#24313d;color:#f58b53;width:35px;height:35px;border-radius:9px;display:grid;place-items:center;font-size:25px;flex:none}
.motion-agent-chip small {display:block;font-size:.75rem;letter-spacing:.025em;color:#72808a;margin-bottom:5px}
.motion-agent-chip b {display:block;font-weight:550;font-size:.8125rem;color:#24313d;line-height:1.4}
.motion-agent-state {margin-left:8px;color:#b2522c}
.motion-review-chip {position:absolute;bottom:54px;left:50%;transform:translateX(-50%);display:flex;gap:6px;align-items:center;color:#865235;font-size:.75rem;white-space:nowrap;transition:opacity .4s,transform .4s}
.motion-review-chip>span:first-child {font-size:7px;color:#d46d3d}
.motion-stage-caption {position:absolute;bottom:13px;left:18px;right:14px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#586d7a;font-size:.75rem;line-height:1.5}
.motion-stage-caption>span {max-width:65%}
.js .motion-controls {display:flex;gap:5px}
.motion-controls button {border:1px solid #ffffff7d;color:#4a5f6d;background:#ffffff7d;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:16px;padding:0;cursor:pointer;flex:none}
.motion-controls button:hover {background:#fff}
.motion-controls button:disabled {opacity:.35;cursor:default}
.motion-scan {position:absolute;left:0;right:0;top:0;height:45%;pointer-events:none;opacity:0;background:linear-gradient(transparent,#ee6b3216);border-bottom:1px solid #ee6b3266}
.scenario-visual[data-phase="0"] .scenario-document {transform:translateY(14px) rotate(3deg)}
.scenario-visual[data-phase="0"] .motion-check-line {opacity:0;transform:translateY(5px)}
.scenario-visual[data-phase="0"] .motion-agent-chip {opacity:.3;transform:translateX(-50%) translateY(12px) rotate(2deg)}
.scenario-visual[data-phase="0"] .motion-review-chip,.scenario-visual[data-phase="1"] .motion-review-chip {opacity:0;transform:translateX(-50%) translateY(5px)}
.scenario-visual[data-phase="1"] .scenario-document {transform:rotate(0)}
.scenario-visual[data-phase="1"] .motion-scan {opacity:1;animation:document-scan 2.8s ease-in-out both}
.scenario-visual[data-phase="2"] .scenario-document {transform:translateY(-6px) rotate(-2deg)}
.scenario-visual[data-phase="3"] .scenario-document {transform:translateY(-6px) rotate(0)}
.scenario-visual[data-phase="3"] .motion-agent-icon {background:#496f63;color:#fff}
.scenario-visual[data-phase="3"] .motion-review-chip,.scenario-visual[data-phase="3"] .motion-agent-state {color:#426f60}
.scenario-visual[data-phase="3"] .motion-review-chip>span:first-child {color:#558875}
.motion-calendar {margin:23px 0 10px;border:1px solid #edf0f2;border-radius:8px;overflow:hidden}
.motion-weekdays {display:grid;grid-template-columns:repeat(5,1fr);padding:10px 0;font-size:.625rem;text-align:center;color:#75818a;background:#f7f9fa}
.motion-calendar-grid {position:relative;display:grid;grid-template-columns:repeat(5,1fr)}
.motion-calendar-grid i {height:27px;border-top:1px solid #edf0f2;border-right:1px solid #edf0f2}
.motion-calendar-old,.motion-calendar-new {position:absolute;top:4px;left:61%;width:18%;text-align:center;padding:5px 1px;background:#e8edef;font-size:.625rem;border-radius:4px;transition:opacity .6s,transform .6s}
.motion-calendar-old {text-decoration:line-through;color:#78868f}
.motion-calendar-new {top:32px;left:81%;background:#f6d3bb;color:#924d2b}
.motion-calendar-new b {font-size:.625rem}
.scenario-visual[data-phase="0"] .motion-calendar-new {opacity:0;transform:translateY(-12px)}
.scenario-visual[data-phase="0"] .motion-calendar-old {text-decoration:none}
.motion-order-product {display:flex;align-items:center;gap:13px;margin:28px 0}
.motion-product-icon {width:68px;height:70px;background:#e9eef1;border-radius:8px;display:grid;place-items:center;color:#5d7381;flex:none}
.motion-product-icon svg {width:40px;height:40px}
.motion-order-product b {font-size:.8125rem;display:block}
.motion-order-product small {font-size:.75rem;display:block;margin-top:7px;color:#7b8790}
.motion-return-arrow {font-size:23px;color:#b66542;margin-left:auto}
.motion-return-reason {background:#faf4ee;border-left:2px solid #de9a76;padding:12px 15px}
.motion-return-reason span {display:block;font-size:.6875rem;color:#8a7464;margin-bottom:6px}
.motion-return-reason b {font-size:1rem;font-weight:500}
.motion-contract-excerpt {margin-top:25px;font-size:.6875rem;color:#7c8890}
.motion-contract-excerpt p {font-size:.8125rem;color:#586874;line-height:2}
.motion-contract-excerpt mark {background:#f9ddc8;color:#994e27;padding:3px 6px;border-radius:3px;white-space:nowrap}
.motion-contract-agreement {padding:15px;border:1px solid #e3ebee;border-radius:6px;margin:20px 0 2px;background:#f6f9fa;display:flex;justify-content:space-between;font-size:.75rem;gap:10px}
.motion-contract-agreement span {color:#74838c}
.motion-contract-agreement b {font-weight:550;white-space:nowrap}
.scenario-progress {border:0;gap:14px;padding:26px 18px 20px;font-size:.8125rem;color:#7b878f;flex-wrap:wrap}
.scenario-progress>span {display:flex;gap:7px;align-items:center;transition:color .3s}
.scenario-progress>span b {display:inline-grid;place-items:center;width:24px;height:24px;font-size:.625rem;border:1px solid #d6dedf;border-radius:50%;font-weight:500;color:#7b878f}
.scenario-progress .current {color:#a5542e;font-weight:500}
.scenario-progress .current b {border-color:#e6bfa8;background:#f9e5d8;color:#a5542e}
.scenario-progress>i {background:#d7dee0;width:35px}
.scenario-progress .is-done {color:#456c60}
.scenario-bottom {border:0;border-top:1px solid #e0e4e5;background:transparent;padding:14px 14px 4px;font-size:.75rem;color:#6a7780}
.reset-demo {font-size:.75rem;color:#536572}
.scenario-finish {border-radius:10px;border-color:#d5e3dd;background:#edf4f0;margin:0 12px 16px;color:#385e51}
.scenario-finish p {color:#4c6c5f}
.scenario-finish h3 {color:#2f5345}
.step-preview {position:relative;height:148px;display:flex;align-items:center;justify-content:center;margin-bottom:27px;background:linear-gradient(140deg,#f6e7da,#eaf0f3);border-radius:13px;overflow:hidden;padding:17px}
.step-preview::before {content:"";width:220px;height:220px;position:absolute;border-radius:50%;border:1px solid #ffffffb0;left:25%;top:0}
.step-mini-card {position:relative;z-index:1;background:#fff;padding:17px 13px 14px;border-radius:9px;box-shadow:0 15px 20px -15px #24313d55;transform:rotate(-4deg);width:185px;max-width:95%}
.step-mini-card b {display:block;font-size:.75rem;font-weight:550;margin-bottom:13px;letter-spacing:-.02em;color:#425562;line-height:1.4}
.step-mini-line {height:4px;border-radius:2px;background:#e8edef;display:block;margin-top:6px;width:90%}
.step-mini-line.short {width:60%}
.step-mini-icon {position:absolute;right:15px;top:14px;z-index:2;width:32px;height:32px;border-radius:9px;background:#24313d;color:#f29561;display:grid;place-items:center;transform:rotate(6deg);box-shadow:0 6px 15px #24313d18}
.step-mini-icon svg {width:18px;height:18px}
.step-mini-signal {position:absolute;bottom:18px;left:17px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#eab994;color:#5b483c;z-index:2;font-size:.8125rem}
.step-preview-1 {background:linear-gradient(150deg,#e5ecf0,#c7d6df)}
.step-preview-1 .step-mini-card {transform:rotate(3deg)}
.step-preview-2 {background:linear-gradient(130deg,#f3e6dd,#edc29f)}
.step-preview-3 {background:linear-gradient(140deg,#dfeae5,#eaf0f2)}
.step-preview-3 .step-mini-icon {background:#4f7569;color:white}
.steps li {min-width:0}
.steps .step-line {top:195px}
.steps.is-revealed .step-mini-card {animation:step-card-enter .85s cubic-bezier(.2,.7,.2,1) both}
.steps.is-revealed li:nth-child(2) .step-mini-card {animation-delay:.35s}
.steps.is-revealed li:nth-child(3) .step-mini-card {animation-delay:.7s}
.steps.is-revealed li:nth-child(4) .step-mini-card {animation-delay:1.05s}
.steps.is-revealed .step-mini-signal {animation:step-check-enter .6s both;animation-delay:1.2s}
@keyframes document-scan {from{transform:translateY(-100%)}to{transform:translateY(320%)}}
@keyframes scenario-enter {from{opacity:.5;translate:0 6px}to{opacity:1;translate:0 0}}
@keyframes step-card-enter {from{opacity:.25;translate:0 18px}to{opacity:1;translate:0 0}}
@keyframes step-check-enter {from{scale:.6;opacity:0}to{scale:1;opacity:1}}
.scenario-demo:not(.is-motion-running) .motion-scan {animation-play-state:paused}
@media(min-width:1100px){.demo-section .section-intro {margin-bottom:35px}.scenario-body{gap:48px;padding:40px}.scenario-visual{height:510px}}
@media(max-width:1000px){.scenario-body{gap:22px;padding:24px}.scenario-detail h3{font-size:2rem}.scenario-visual{height:480px;padding-inline:18px}.motion-agent-chip{gap:8px;padding:13px;max-width:94%}.motion-agent-chip b{font-size:.75rem}.motion-source-chip{left:17px;font-size:.75rem}.scenario-visual .scenario-document{padding:18px}.scenario-tabs button{padding:13px 12px}.scenario-tab-dot{display:none}}
@media(max-width:750px){.demo-section{padding-inline:20px}.scenario-demo{padding:7px;border-radius:18px}.js .scenario-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:5px;padding:4px 4px 11px}.scenario-tabs button{min-width:0;min-height:48px;padding:12px;font-size:.875rem;gap:9px}.scenario-tabs button svg{width:18px;height:18px}.scenario-body{grid-template-columns:minmax(0,1fr);padding:16px;gap:25px;border-radius:13px}.scenario-detail{padding:8px 4px}.scenario-detail h3{max-width:460px;margin-top:16px;font-size:2rem}.scenario-short-steps{gap:11px;margin:20px 0}.scenario-visual{height:445px;padding:76px 28px 110px}.scenario-visual .scenario-document{max-width:330px;padding:20px}.motion-agent-chip{bottom:89px}.motion-review-chip{bottom:53px}.scenario-progress{gap:9px 11px;padding:21px 8px 18px;font-size:.6875rem}.scenario-progress>span{gap:4px}.scenario-progress>span b{width:19px;height:19px;font-size:.6rem}.scenario-progress>i{width:9px}.scenario-bottom{font-size:.6875rem;gap:12px;padding:12px 8px 4px}.scenario-bottom>span{max-width:200px}.reset-demo{font-size:.6875rem;white-space:normal;text-align:right;padding:4px}.scenario-finish{margin:0 8px 16px}.steps .step-line{display:none}.step-preview{height:135px;padding:12px}.step-mini-card b{font-size:.6875rem}.step-mini-icon{right:8px;top:9px}.step-mini-signal{left:10px}}
@media(max-width:390px){.scenario-visual{padding-inline:14px;height:430px}.motion-source-chip{top:23px}.motion-agent-chip{gap:8px;padding:12px}.motion-agent-icon{width:30px;height:30px}.motion-agent-state{margin-left:0}.motion-stage-caption{left:12px;font-size:.625rem}.scenario-progress{gap:8px}.scenario-progress>i{display:none}.scenario-progress>span b{display:none}}
@media(prefers-reduced-motion:reduce){.scenario-demo *, .step-preview *{animation:none!important;transition:none!important}.motion-scan{display:none}}
