/* Wabup hero V6: focused motion and spacing revision. Sastik hero only. */
.hero-area--two .wb5-story{
  grid-template-columns:minmax(0,1.18fr) minmax(0,.83fr) 146px minmax(0,.83fr) minmax(0,1.18fr);
  gap:17px;
  align-items:end;
}
.hero-area--two .wb5-story>.wb5-inbox-tile,
.hero-area--two .wb5-story>.wb5-plan-tile{
  height:383px!important;
  align-self:end;
  margin-bottom:9px;
}
.hero-area--two .wb5-story>.circle_up_down{
  width:118px;height:118px;
  min-width:0;
  justify-self:center;
  align-self:center;
  margin:0 0 63px;
  box-shadow:0 0 0 9px #bcf8d467,0 0 0 20px #b5f8d139,0 9px 22px #078e6129;
}
.hero-area--two .wb5-story>.circle_up_down .inner img{width:103px;height:103px}
.hero-area--two .wb5-story>.wb5-inbox-tile,
.hero-area--two .wb5-story>.wb5-plan-tile{padding:8px;border-radius:22px}
.hero-area--two .wb5-story .wb5-inbox{padding:8px 6px 6px}
.hero-area--two .wb5-story .wb5-inbox-top{margin-bottom:6px;gap:4px}
.hero-area--two .wb5-story .wb5-inbox-top h3{font-size:16px;line-height:1.15}
.hero-area--two .wb5-story .wb5-inbox-top small{font-size:7.5px;line-height:1.2}
.hero-area--two .wb5-story .wb5-floating-team{width:28px;height:28px}
.hero-area--two .wb5-story .wb5-inbox-filters{margin-bottom:7px;gap:3px}
.hero-area--two .wb5-story .wb5-inbox-filters button{padding:5px 4px}
.hero-area--two .wb5-story .wb5-inbox-rows{gap:4px}
.hero-area--two .wb5-story .wb5-inbox-row{min-height:0;gap:5px;padding:4px 3px;border-radius:9px;position:relative;transition:background-color .3s ease,box-shadow .3s ease}
.hero-area--two .wb5-story .wb5-inbox-row.is-active{background:#d7fbe5;box-shadow:inset 0 0 0 1px #9aebc2,0 3px 9px rgba(13,161,106,.13)}
.hero-area--two .wb5-story .wb5-inbox-row.is-active:before{content:"";width:3px;position:absolute;top:9px;bottom:9px;left:0;border-radius:4px;background:#10b96c}
.hero-area--two .wb5-story .wb5-inbox-row .wb5-face{width:28px;height:28px}
.hero-area--two .wb5-story .wb5-inbox-footer{margin-top:5px;padding:4px 3px;font-size:8px}
.hero-area--two .wb5-inbox-row.wb6-row-transition{will-change:transform}
.hero-area--two .wb5-story .wb5-plan-panel{padding:10px 7px 7px}
.hero-area--two .wb5-story .wb5-plan-panel h3{font-size:17px}
.hero-area--two .wb5-story .wb5-plan-list{margin:8px 0;gap:4px}
.hero-area--two .wb5-story .wb5-plan-task{padding:5px 3px;border-radius:7px;transition:background-color .35s ease,box-shadow .35s ease}
.hero-area--two .wb5-story .wb5-plan-task.wb6-task-focus{background:#e6faef;box-shadow:inset 3px 0 0 #16b56c}
.hero-area--two .wb5-story .wb5-scheduled{margin-top:5px;padding:7px 5px}
.hero-area--two .wb5-story .wb5-progress-track{margin:12px 0 9px}
.hero-area--two .wb5-story .wb5-calendar-float{width:53px;height:60px;top:-19px;right:1px}
.hero-area--two .wb5-story .wb5-calendar-float strong{font-size:21px}
/* Proper WhatsApp brand speech-tail glyph rather than the earlier malformed outline. */
.hero-area--two .wb5-whatsapp-badge{background:linear-gradient(155deg,#5dfb84 0%,#0dc65c 56%,#009e4c 100%);border:3px solid #ffffffed}
.hero-area--two .wb5-whatsapp-badge .wb6-whatsapp-logo{display:block;width:35px;height:35px;stroke:none;fill:#fff}
/* Typing stage occupies stable space from first paint: no message-layout jumps. */
.hero-area--two .wb5-chat-main{gap:6px}
.hero-area--two .wb6-typing{
  display:flex;align-items:center;align-self:flex-start;gap:4px;
  box-sizing:border-box;flex:0 0 26px;height:26px;
  background:#eef5f0;border:1px solid #dfebe4;border-radius:13px 13px 13px 4px;
  box-shadow:0 3px 8px #19554114;padding:5px 9px;
  opacity:0;visibility:hidden;pointer-events:none;
}
.hero-area--two .wb6-typing-dot{width:5px;height:5px;flex:none;border-radius:50%;background:#729b8b;opacity:.58}
.hero-area--two .wb6-typing small{font-size:8px;color:#678b7e;white-space:nowrap;margin-left:3px}
.hero-area--two .wb6-typing.is-typing .wb6-typing-dot{animation:wb6-typing-wave 1.05s ease-in-out infinite}
.hero-area--two .wb6-typing.is-typing .wb6-typing-dot:nth-child(2){animation-delay:.15s}
.hero-area--two .wb6-typing.is-typing .wb6-typing-dot:nth-child(3){animation-delay:.3s}
@keyframes wb6-typing-wave{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}
/* Clean flow structure: external SVG overlay draws real aligned connector paths. */
.hero-area--two .wb5-flow-body{position:relative;justify-content:space-around;gap:5px;padding:7px 8px 5px}
.hero-area--two .wb5-flow-grid{z-index:0}
.hero-area--two .wb6-flow-routes{
  position:absolute;inset:0;width:100%;height:100%;
  z-index:1;overflow:visible;pointer-events:none;
}
.hero-area--two .wb6-flow-route{
  fill:none;stroke:#13ad79;stroke-width:2.6;
  stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:1 9;stroke-dashoffset:0;
  vector-effect:non-scaling-stroke;
  opacity:.85;
}
.hero-area--two .wb6-flow-route.is-secondary{stroke:#9571e8;opacity:.32}
.hero-area--two .wb6-flow-route.is-primary{stroke:#13b884;opacity:1;filter:drop-shadow(0 0 2px rgba(37,195,142,.33))}
.hero-area--two .wb5-automation.wb6-flow-live .wb6-flow-route{animation:wb6-route-dots 1.25s linear infinite}
@keyframes wb6-route-dots{to{stroke-dashoffset:-30}}
.hero-area--two .wb5-flow-wire{visibility:hidden;opacity:0;flex:none;height:12px}
.hero-area--two .wb5-flow-wire:after{display:none}
.hero-area--two .wb5-branches:before{display:none}
.hero-area--two .wb5-merge-line{visibility:hidden}
.hero-area--two .wb5-flow-node,.hero-area--two .wb5-branches,.hero-area--two .wb5-flow-final{z-index:2;position:relative}
.hero-area--two .wb5-flow-node{border-radius:11px}
.hero-area--two .wb5-flow-trigger,.hero-area--two .wb5-flow-decision,.hero-area--two .wb5-flow-final{width:80%}
.hero-area--two .wb5-branches{gap:7px}
.hero-area--two .wb5-branch{gap:5px}
.hero-area--two .wb5-branch>.wb5-flow-node{min-height:52px;padding:5px}
.hero-area--two .wb5-flow-node.wb6-node-current{box-shadow:0 0 0 2px #28d7959c,0 5px 15px #10a66e2b}
.hero-area--two .wb5-flow-node.wb6-node-current.wb5-flow-decision,
.hero-area--two .wb5-flow-node.wb6-node-current.wb5-flow-order{box-shadow:0 0 0 2px #9b74ed98,0 5px 15px #9b74ed24}
.hero-area--two .wb5-branch-chip{font-size:7px;line-height:1.1;text-align:center}
.hero-area--two .wb5-flow-shell footer{min-height:20px}
/* Journey path remains hidden until the four Sastik cards reveal. */
.hero-area--two .wb5-journey-lines{opacity:0;transition:none}
.hero-area--two .wb5-journey-lines.wb6-journey-ready{opacity:1}
.hero-area--two .wb5-journey-core{stroke-dasharray:3 12;stroke-width:3.1;stroke-linecap:round}
.hero-area--two .wb5-journey-lines.wb6-journey-moving .wb5-journey-core{animation:wb6-background-dots 1.55s linear infinite}
@keyframes wb6-background-dots{to{stroke-dashoffset:-45}}
/* Slightly smaller lavender cards and an unmistakable gap around the center circle. */
@media(min-width:1400px){
 .hero-area--two .wb5-story{grid-template-columns:minmax(0,1.18fr) minmax(0,.84fr) 146px minmax(0,.84fr) minmax(0,1.18fr);gap:17px}
 .hero-area--two .wb5-story>.wb5-inbox-tile,.hero-area--two .wb5-story>.wb5-plan-tile{height:383px!important}
}
@media(min-width:992px) and (max-width:1399px){
 .hero-area--two .wb5-story{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr) 120px minmax(0,.88fr) minmax(0,1.12fr);gap:12px}
 .hero-area--two .wb5-story>.wb5-inbox-tile,.hero-area--two .wb5-story>.wb5-plan-tile{height:336px!important;margin-bottom:8px}
 .hero-area--two .wb5-story>.circle_up_down{width:105px;height:105px;justify-self:center;margin:0 0 45px}
 .hero-area--two .wb5-story>.circle_up_down .inner img{width:94px;height:94px}
 .hero-area--two .wb5-story .wb5-inbox-top h3{font-size:14px}
 .hero-area--two .wb5-story .wb5-floating-team{width:25px;height:25px}
 .hero-area--two .wb5-story .wb5-inbox-filters button{font-size:7px;padding:4px 3px}
 .hero-area--two .wb5-story .wb5-plan-task strong{font-size:8.5px}
 .hero-area--two .wb5-story .wb5-plan-panel h3{font-size:15px}
 .hero-area--two .wb5-flow-body{padding:5px 5px 3px;gap:3px}
 .hero-area--two .wb5-flow-node{min-height:36px}
 .hero-area--two .wb5-branch>.wb5-flow-node{min-height:43px}
 .hero-area--two .wb5-branch-chip{font-size:6.7px}
}
@media(min-width:992px) and (max-width:1100px){
 .hero-area--two .wb5-story{grid-template-columns:minmax(0,1.08fr) minmax(0,.91fr) 112px minmax(0,.91fr) minmax(0,1.08fr);gap:9px}
 .hero-area--two .wb5-story>.wb5-inbox-tile,.hero-area--two .wb5-story>.wb5-plan-tile{height:329px!important}
}
@media(max-width:991px){
 .hero-area--two .wb5-journey-lines{display:none}
 .hero-area--two .wb5-story>.wb5-inbox-tile,.hero-area--two .wb5-story>.wb5-plan-tile{height:395px!important;margin:0}
 .hero-area--two .wb5-story>.circle_up_down{margin:0}
 .hero-area--two .wb5-story .wb5-inbox-row{min-height:0}
}
@media(max-width:575px){
 .hero-area--two .wb5-story>.wb5-inbox-tile,.hero-area--two .wb5-story>.wb5-plan-tile{height:412px!important}
 .hero-area--two .wb5-story .wb5-inbox-top h3{font-size:19px}
 .hero-area--two .wb5-story .wb5-inbox-filters button{font-size:8px}
 .hero-area--two .wb5-story .wb5-plan-panel h3{font-size:19px}
 .hero-area--two .wb5-story .wb5-plan-task strong{font-size:10px}
 .hero-area--two .wb5-flow-body{gap:4px}
 .hero-area--two .wb5-branch-chip{font-size:8px}
 .hero-area--two .wb5-branch>.wb5-flow-node{min-height:50px}
 .hero-area--two .wb5-flow-node{min-height:43px}
}
@media(max-width:390px){
 .hero-area--two .wb5-story>.wb5-inbox-tile,.hero-area--two .wb5-story>.wb5-plan-tile{height:405px!important}
 .hero-area--two .wb5-chat-main{gap:4px}
 .hero-area--two .wb6-typing{height:24px;flex-basis:24px}
 .hero-area--two .wb5-flow-body{gap:3px}
}
/* Never rely on motion to convey the product in reduced-motion mode. */
@media(prefers-reduced-motion:reduce){
 .hero-area--two .wb6-typing{display:none!important}
 .hero-area--two .wb5-journey-lines{opacity:1!important}
 .hero-area--two .wb5-journey-core,.hero-area--two .wb6-flow-route{animation:none!important}
 .hero-area--two .wb5-flow-node,.hero-area--two .wb5-inbox-row{transition:none!important}
}
/* Tablet: explicitly restore Sastik's two-column responsive arrangement. */
@media(min-width:576px) and (max-width:991px){
  .hero-area--two .wb5-story{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:27px 20px;
    align-items:end;
    padding-bottom:145px;
  }
  .hero-area--two .wb5-story>.wb5-chat-tile,
  .hero-area--two .wb5-story>.wb5-flow-tile{height:440px!important}
  .hero-area--two .wb5-story>.wb5-inbox-tile,
  .hero-area--two .wb5-story>.wb5-plan-tile{height:395px!important;margin:0}
  .hero-area--two .wb5-story>.circle_up_down{
    position:absolute;
    left:50%;
    bottom:9px;
    transform:translateX(-50%);
    width:110px;height:110px;
    margin:0;
  }
}

/* Hero chat-only alignment fix: typing and outgoing reply share the same space. */
.hero-area--two .wb5-chat-main .wb6-response-slot{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  width:100%;
  flex:0 0 auto;
  min-height:0;
}
.hero-area--two .wb5-chat-main .wb6-response-slot>.wb6-typing{
  position:absolute;
  top:5px;
  left:0;
  z-index:2;
  margin:0;
  flex:none;
}
.hero-area--two .wb5-chat-main .wb6-response-slot>.wb5-bubble-out{
  margin:0;
  flex:0 1 auto;
}

/* 2026-11-14 mobile alignment correction:
   The desktop hero rule in this later stylesheet was overriding the
   original V5 mobile align-items:center declaration. */
@media (max-width: 575px) {
  .hero-area--two .wb5-story {
    align-items: center;
  }
  .hero-area--two .wb5-story > .wb5-inbox-tile,
  .hero-area--two .wb5-story > .wb5-plan-tile {
    align-self: center;
  }
}
