.flow-demo * { box-sizing:border-box; letter-spacing:0; }
.flow-demo { margin:0; width:100%; height:360px; position:relative; border-radius:22px; overflow:hidden; background:#202328; color:#f2f3f6; font-family:var(--font-body,sans-serif); }
.flow-demo>figcaption { position:absolute; bottom:0; left:0; right:0; margin:0; padding:8px 16px; font-size:9px; color:#a9afb8; background:#202328; }
.flow-demo--inbox { height:auto; aspect-ratio:3/2; background:#b8e7d8; }
.flow-demo__phone { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.flow-demo--inbox>figcaption { background:#b8e7d8; color:#264d43; }
.flow-receipt { position:absolute; left:5%; top:32%; width:43%; padding:18px; background:#172622f2; border:1px solid #749a8977; border-radius:18px; box-shadow:0 12px 24px #0002; }
.flow-receipt span { font-size:10px; color:#b9cebf; }
.flow-receipt strong { display:block; font-size:19px; line-height:1.25; margin:10px 0; }
.flow-receipt small { display:block; font-size:10px; color:#b9cebf; }
.flow-receipt b { display:block; font-size:10px; font-weight:400; color:#94ecc3; margin-top:16px; }
.flow-window { padding:23px; }
.flow-window__top { display:flex; justify-content:space-between; gap:12px; padding-bottom:18px; color:#ff874b; font-size:11px; border-bottom:1px solid #ffffff14; }
.flow-window__top span { font-size:10px; color:#a2a8b1; }
.flow-window h4 { margin:17px 0; font:500 21px/1.15 var(--font-body,sans-serif); }
.deal-stages { display:flex; justify-content:space-between; font-size:11px; margin-top:20px; color:#bdc3cc; }
.deal-track { height:5px; background:#ffffff15; margin:10px 0 20px; border-radius:8px; overflow:hidden; }
.deal-track i { display:block; width:62%; height:100%; background:#ff7534; transform-origin:left; }
.deal-facts { display:flex; gap:25px; }
.deal-facts small,.task-event small,.task-created small,.money-totals small { display:block; color:#b1b5ba; font-size:10px; }
.deal-facts b { display:block; font-size:13px; font-weight:500; margin-top:6px; }
.deal-notice { padding:13px 14px; margin-top:17px; border-radius:12px; background:#ff753412; border:1px solid #ff753447; }
.deal-notice span { display:block; color:#ff9a69; font-size:10px; }
.deal-notice strong { display:block; font-size:13px; font-weight:500; margin:5px 0; }
.deal-notice small { font-size:10px; color:#bfc0c4; }
.task-event { margin-top:16px; }
.task-event h4,.task-created h4 { margin:7px 0; font-size:18px; }
.task-event>span { font-size:10px; color:#a2a8b1; }
.task-connector { height:32px; width:2px; margin:10px 0 10px 12px; background:#ffffff1c; }
.task-connector i { display:block; height:100%; width:100%; background:#a6cea9; transform-origin:top; }
.task-created { border-left:2px solid #8cca9c; padding:8px 15px; background:#9ae9ac0a; }
.task-created small { color:#9edaa9; }
.task-created>div { display:flex; justify-content:space-between; margin-top:12px; font-size:11px; color:#b9c4bd; }
.task-created b { font-weight:400; }
.money-totals { display:flex; gap:30px; margin-top:21px; }
.money-totals strong { display:block; font-size:25px; font-weight:500; margin-top:6px; }
.money-totals>div+div strong { color:#ff995e; }
.money-chart { display:flex; gap:14px; height:104px; padding-top:10px; }
.money-chart>div { flex:1; position:relative; display:flex; justify-content:flex-end; flex-direction:column; align-items:center; }
.money-chart i { width:100%; height:var(--bar); background:#ff783b; border-radius:5px 5px 0 0; transform-origin:bottom; }
.money-chart span { font-size:9px; color:#a2a8b1; margin-top:5px; }
.money-payment { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; border-top:1px solid #ffffff18; padding-top:13px; margin-top:16px; font-size:12px; }
.money-payment b { color:#91dda3; font-weight:500; }
.money-payment small { flex-basis:100%; font-size:10px; color:#a4afb0; margin-top:5px; }
.flow-demo.is-visible .flow-reveal { animation:order-enter .7s .6s both; }
.flow-demo.is-visible .deal-track i { animation:flow-grow 1.3s ease-out both; }
.flow-demo.is-visible .task-connector i { animation:flow-down .7s ease-out both; }
.flow-demo.is-visible .money-chart i { animation:flow-down 1.2s ease-out both; }
.flow-demo.is-visible .money-chart>div:nth-child(2) i { animation-delay:.1s; }
.flow-demo.is-visible .money-chart>div:nth-child(3) i { animation-delay:.2s; }
.flow-demo.is-visible .money-chart>div:nth-child(4) i { animation-delay:.3s; }
@keyframes order-enter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes flow-grow { from { transform:scaleX(.1); } to { transform:scaleX(1); } }
@keyframes flow-down { from { transform:scaleY(.1); } to { transform:scaleY(1); } }
@media(max-width:800px) {
  .flow-demo { height:205px; border-radius:16px; }
  .flow-window { padding:14px; }
  .flow-window__top { padding-bottom:9px; font-size:9px; }
  .flow-window__top span { font-size:8px; }
  .flow-window h4 { font-size:16px; margin:10px 0; }
  .deal-stages { font-size:9px; margin-top:10px; }
  .deal-track { margin:7px 0 10px; height:4px; }
  .deal-facts small { font-size:8px; }
  .deal-facts b { font-size:10px; margin-top:3px; }
  .deal-notice { padding:7px 10px; margin-top:9px; }
  .deal-notice span,.deal-notice small { font-size:8px; }
  .deal-notice strong { font-size:10px; margin:3px 0; }
  .flow-demo>figcaption { font-size:7px; padding:5px 14px; }
  .flow-receipt { padding:12px; top:25%; }
  .flow-receipt strong { font-size:14px; margin:7px 0; }
  .flow-receipt small,.flow-receipt span,.flow-receipt b { font-size:8px; }
  .flow-receipt b { margin-top:8px; }
  .task-event { margin-top:8px; }
  .task-event small,.task-created small { font-size:8px; }
  .task-event h4,.task-created h4 { margin:4px 0; font-size:14px; }
  .task-event>span { font-size:8px; }
  .task-connector { height:18px; margin:5px 0 5px 10px; }
  .task-created { padding:5px 10px; }
  .task-created>div { font-size:9px; margin-top:6px; }
  .money-totals { gap:22px; margin-top:10px; }
  .money-totals small { font-size:8px; }
  .money-totals strong { font-size:18px; margin-top:3px; }
  .money-chart { height:60px; gap:10px; padding-top:6px; }
  .money-chart span { font-size:7px; }
  .money-payment { padding-top:7px; margin-top:9px; font-size:10px; }
  .money-payment small { font-size:8px; margin-top:3px; }
}
@media(max-width:480px) {
  .flow-demo { height:190px; }
  .money-totals strong { font-size:17px; }
  .flow-receipt { left:4%; width:46%; padding:10px; }
}
/* Reserve the corner for a compact index, outside the illustration. */
.services-stack .stack__num { top:20px; right:26px; font:500 18px/1.25 var(--font-mono,monospace); letter-spacing:0; opacity:1; color:#ff8a4b; background:none; -webkit-text-fill-color:currentColor; z-index:2; }
.services-stack .flow-demo--inbox { height:auto; aspect-ratio:3/2; }
.flow-demo--inbox > figcaption { display:none; }
@media(max-width:800px) {
  .services-stack .stack__num { top:14px; right:20px; font-size:14px; }
}
@media(max-width:900px) {
  .stack.is-carousel { transition:none; }
  .stack.is-carousel .stack__card {
    filter:none;
    will-change:transform,opacity;
    transition:transform .68s cubic-bezier(.4,0,.2,1),opacity .55s ease-in-out;
  }
  .stack.is-carousel .stack__card.is-active .stack__visual { animation:none; }
}
@media(prefers-reduced-motion:reduce) {
  .flow-demo * { animation:none!important; transition:none!important; }
}
@media(max-width:800px) {
  .flow-demo { line-height:1.2; }
  .flow-window { padding:10px; }
  .flow-window__top { padding-bottom:6px; font-size:8px; line-height:1.2; }
  .flow-window h4 { font-size:14px; line-height:1.2; margin:6px 0; }
  .deal-stages { margin-top:5px; font-size:8px; }
  .deal-track { margin:5px 0 8px; }
  .deal-facts b { font-size:9px; margin-top:2px; }
  .deal-notice { padding:5px 7px; margin-top:7px; }
  .deal-notice span,.deal-notice small { font-size:7px; }
  .deal-notice strong { font-size:9px; margin:2px 0; }
  .task-event>span { display:none; }
  .task-event h4,.task-created h4 { margin:4px 0; }
  .task-connector { height:12px; margin:4px 0 4px 10px; }
  .money-chart { height:50px; }
  .money-payment { font-size:9px; padding-top:6px; margin-top:8px; }
}
