/* A cinematic narrative beside the working inbox. */
.section.demo{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:30px;align-items:start;background:#f7f8f5}
.demo .demo-copy{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr;column-gap:8%;align-items:end}
.demo-copy .eyebrow{grid-column:1/-1;margin-bottom:24px}
.demo .demo-copy h2{font-size:clamp(34px,4.2vw,64px);line-height:1.02;letter-spacing:-.055em;margin:0}
.demo .demo-copy h2 span{color:#245343}
.demo .demo-copy>p{max-width:430px;font-size:18px;line-height:1.6;margin:0 0 4px;color:#51635b}
.office-film{overflow:hidden;border-radius:20px;background:#17251f;color:#fff;position:sticky;top:100px;min-width:0}
.office-image{aspect-ratio:1.45;position:relative;overflow:hidden;background:#26382e}
.office-image>img{display:block;width:100%;height:100%;object-fit:cover;animation:office-camera 24s ease-in-out infinite alternate;animation-play-state:paused;transform-origin:48% 44%}
.office-film[data-playing=true] .office-image>img{animation-play-state:running}
.office-image:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#17251f)}
.office-caption{position:absolute;bottom:20px;left:28px;z-index:1;display:grid;gap:6px}
.office-caption>span{font-size:10px;letter-spacing:.14em;color:#d7e7ce}
.office-caption>b{font-size:26px;letter-spacing:-.04em}
.office-caption>small{font-size:13px;color:#e1e7df}
.office-story{padding:24px 28px 20px;min-height:220px}
.office-story>span{font-size:11px;letter-spacing:.11em;color:#bed49b}
.office-story h3{font-size:clamp(24px,2.3vw,34px);line-height:1.12;letter-spacing:-.035em;margin:14px 0 12px;max-width:380px;color:#fff}
.office-story p{font-size:15px;line-height:1.6;color:#c6d2c8;max-width:380px;margin:0}
.film-chapters{display:flex;gap:6px;margin-top:23px}
.film-chapters i{height:3px;flex:1;background:#425148;border-radius:3px;transition:background .8s}
.film-chapters i[data-active=true]{background:#d7ee9d}
.office-training{padding:18px 28px;border-top:1px solid #ffffff19}
.office-training>span{font-size:10px;letter-spacing:.11em;color:#bed49b}
.office-training p{font-size:12px;line-height:1.5;margin:8px 0 0;color:#dce4df}
.demo .interactive-demo{border-radius:20px;border:1px solid #d9e0d9;background:#fff;box-shadow:0 15px 40px #18382909;backdrop-filter:none;transform:none;overflow:hidden}
.demo .interactive-demo .app-top{min-height:52px;padding:8px 18px;background:#fff;border-bottom:1px solid #edf0eb}
.demo .demo-worker-bar{display:none}
.demo .demo-channel-tabs{padding:12px;gap:8px;background:#fff}
.demo .demo-channel-tabs button{border-radius:10px;padding:10px 12px;box-shadow:none}
.demo .demo-channel-tabs button[data-demo-channel=WhatsApp]{background:#f1fbf4;border-color:#d5e9db;color:#17603d}
.demo .demo-channel-tabs button[data-demo-channel=WhatsApp][aria-selected=true]{background:#e0f7e8;border-color:#69c791;box-shadow:inset 0 -2px #25a66b}
.demo .demo-pipeline{padding:0 16px 12px;gap:4px;background:#fff;border-bottom:1px solid #edf0eb}
.demo .demo-pipeline li{font-size:11px;text-align:center;padding:7px 4px;border:0;border-radius:5px;color:#7b857c}
.demo .demo-pipeline li[data-active=true]{background:#edf3ed;color:#23553c}
.demo #demo-thread{display:flex;flex-direction:column}
.demo #demo-thread .chat{border:0;background:#fff}
.demo .interactive-demo .chat-head{padding:12px 16px;background:#fff;border:0}
.demo .demo-stage{display:none}
.demo .interactive-demo .mode{padding:0 16px;background:#fff;border:0;min-height:35px}
.demo #mode-label{font-size:12px;color:#456953}
.demo .mode button{font-size:12px;padding:5px 0;background:transparent;border:0;min-height:32px;color:#6a786f}
.demo .demo-playbar{padding:0 16px 7px;background:#fff;border:0;gap:8px;flex-wrap:nowrap}
.demo .demo-playbar>span{font-size:11px;color:#7e8a81}
.demo .demo-playbar button{font-size:12px;border:0;padding:4px 0;min-height:32px;background:transparent;box-shadow:none}
.demo .interactive-demo .messages{height:270px;padding:16px;background:#f5f7f4;border:0;scroll-behavior:smooth}
.demo .interactive-demo[data-channel=whatsapp] .messages{background:#eff5ee}
.demo .interactive-demo .bubble{max-width:90%;padding:10px 13px;border:0;box-shadow:none;border-radius:12px;font-size:14px;animation:message-enter .5s ease-out}
.demo .interactive-demo .bubble p{font-size:14px;line-height:1.5;margin:0}
.demo .interactive-demo .bubble small{font-size:10px;line-height:1.5;color:#667468;margin-bottom:4px}
.demo .interactive-demo[data-channel=whatsapp] .outgoing{background:#d9fdd3}
.demo .demo-system-message{font-size:11px;line-height:1.5}
.demo .demo-typing{font-size:12px}
.demo .demo-notification{display:none!important}
.demo .interactive-demo[data-mode=waiting] .demo-notification{display:block!important;margin:0;padding:16px;border:0;border-bottom:1px solid #d3e5c5;border-radius:0;background:#f2f8e9;box-shadow:none}
.demo .demo-notice-source,.demo #demo-notice-copy,.demo #demo-notice-foot{display:none!important}
.demo .interactive-demo[data-mode=waiting] #demo-notice-title{font-size:16px;margin:0;letter-spacing:-.02em;line-height:1.4}
.demo #demo-notice-action{font-size:12px;min-height:34px;padding:6px 10px;margin-top:10px;border-radius:6px;background:#254b37}
.demo [hidden]{display:none!important}
.demo .demo-context{border:0;border-top:1px solid #e1e7df;background:#fff}
.demo .demo-context summary{padding:14px 16px;flex-wrap:nowrap;font-size:13px;color:#283c31;pointer-events:none}
.demo #demo-progress{font-size:10px;background:#edf3e9;color:#527441}
.demo .demo-context-body{padding:0 16px 14px}
.demo .demo-context dl{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}
.demo .demo-context dl>div{display:block;padding:8px 0 0;border-top:1px solid #edf0ea}
.demo .demo-context dt{font-size:10px;color:#7b877c;text-transform:uppercase;letter-spacing:.07em}
.demo .demo-context dd{font-size:12px;color:#344c3d;line-height:1.5;margin:5px 0 0;font-weight:500}
.demo .interactive-demo .app-bottom{background:#f8faf6;border-top:1px solid #e8ede3;padding:10px 16px}
.demo .interactive-demo .app-bottom>span{font-size:11px;color:#61715e}
.demo .interactive-demo .app-bottom>small{font-size:9px;letter-spacing:.06em}
.demo-result{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px 8%;padding-top:18px;border-top:1px solid #dce3d8}
.demo-result>b{font-size:clamp(21px,2.4vw,32px);line-height:1.2;letter-spacing:-.04em;color:#213c2c;max-width:390px}
.demo-result p{font-size:16px;line-height:1.6;color:#546451;margin:0}
.demo-result small{grid-column:1/-1;font-size:11px;color:#7f887b;line-height:1.5}
@keyframes office-camera{from{transform:scale(1.02) translateX(-.5%)}to{transform:scale(1.1) translateX(1%)}}
@keyframes message-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.section.demo{grid-template-columns:1fr;gap:20px}.demo .demo-copy{display:block}.demo .demo-copy>p{margin-top:20px;max-width:500px;font-size:16px}.office-film{position:relative;top:auto;display:grid;grid-template-columns:1fr 1fr}.office-image{aspect-ratio:auto;min-height:270px;grid-row:1/3}.office-image>img{position:absolute}.office-caption{left:18px;bottom:18px}.office-caption>b{font-size:22px}.office-story{padding:22px 20px;min-height:220px}.office-training{padding:15px 20px}.office-story h3{font-size:24px}.office-story p{font-size:13px}.demo-result{grid-template-columns:1fr;gap:12px}.demo .interactive-demo .messages{height:300px}}
@media(max-width:520px){.demo .demo-copy h2{font-size:38px}.office-film{display:block}.office-image{aspect-ratio:1.65;min-height:0}.office-story{min-height:190px;padding:20px}.office-story h3{margin:10px 0}.office-story p{font-size:14px}.office-training{padding:12px 20px}.office-training p{margin-top:5px}.demo .demo-channel-tabs button{padding:8px}.demo .demo-context dl{gap:8px 14px}.demo .interactive-demo .messages{height:285px}}
@media(prefers-reduced-motion:reduce){.office-image>img,.demo .interactive-demo .bubble{animation:none}.film-chapters i{transition:none}.demo .interactive-demo .messages{scroll-behavior:auto}}

/* Compact Rebeldy office and read-only inbox. */
.section.demo{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);background:#f5f6ff;gap:26px;align-items:start}
.demo .demo-copy{align-items:center;margin-bottom:8px}
.demo .demo-copy h2 span{color:#243cff}
.demo .demo-copy>p{color:#59617c;max-width:360px}
.office-film{background:#243cff;position:relative;top:auto;border-radius:18px;align-self:start}
.office-image{aspect-ratio:1.5;background:#243cff;min-height:0}
.office-image>img{position:absolute;inset:0 auto auto 0;width:200%;height:100%;max-width:none;object-fit:fill;animation:none;transform:none}
.office-image:after{inset:68% 0 0;background:linear-gradient(transparent,#13228185)}
.office-caption{left:22px;bottom:18px;gap:4px}
.office-caption>span{color:#e5ecff;font-size:9px;letter-spacing:.13em}
.office-caption>b{font-size:23px}
.office-story{min-height:140px;padding:22px}
.office-story>span{color:#d5ff5f;font-size:10px}
.office-story h3{font-size:28px;line-height:1.1;margin:12px 0 0;max-width:320px;min-height:62px}
.film-chapters{margin-top:16px}.film-chapters i{background:#ffffff35}.film-chapters i[data-active=true]{background:#d5ff5f}
.demo .interactive-demo{border-color:#dce1f1;border-radius:18px;box-shadow:0 16px 50px #2632810b}
.demo .demo-channel-tabs{background:#f7f8fc;border-bottom:1px solid #e6e9f4}
.demo .demo-channel-tabs button[data-demo-channel=Instagram]{background:#fff;border-color:#e0e3ee}
.demo .demo-channel-tabs button[data-demo-channel=Instagram][aria-selected=true]{background:#eef0ff;border-color:#9ca9ff;box-shadow:inset 0 -2px #243cff}
.demo .interactive-demo .chat-head{padding:15px 18px;border-bottom:1px solid #edf0f8}
.demo .demo-stage{display:block;background:#f0f2ff;border:0;color:#60698b;font-size:10px;max-width:none;padding:5px 8px}
.demo .demo-playbar{padding:6px 18px;min-height:42px}
.demo #mode-label{color:#506088;font-size:12px}
.demo .interactive-demo .messages{height:340px;background:#f7f8fc;padding:18px;scroll-behavior:auto}
.demo .interactive-demo[data-channel=instagram] .outgoing{background:#e7ecff;color:#233452}
.demo .interactive-demo .bubble{border-radius:12px;max-width:89%}
.demo .demo-empty{font-size:13px;text-align:center;margin:110px auto 0;color:#8b91a9}
.demo-handoff{padding:12px 18px;background:#eef4e4;color:#375623;font-size:12px;border-top:1px solid #dfe9d1}
.demo-plan-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-top:1px solid #e8ecf5;background:white}
.demo-plan-row>span{font-size:12px;color:#75809c}
.demo-plan-row a{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:8px;background:#243cff;color:#fff;font-size:13px;font-weight:600;padding:12px 16px;text-decoration:none;min-height:44px}
.demo-plan-row a:focus-visible{outline:3px solid #a1b100;outline-offset:3px}
.demo .interactive-demo .app-bottom{justify-content:center;background:#fff;border:0;padding:0 16px 12px}
.demo .interactive-demo .app-bottom>small{font-size:10px;letter-spacing:0;color:#9197a8}
@media(max-width:900px){.section.demo{grid-template-columns:1fr}.office-film{display:grid;grid-template-columns:1.15fr 1fr;align-items:center}.office-image{grid-row:auto;aspect-ratio:1.5}.office-story{min-height:0;padding:20px}.office-story h3{font-size:24px;min-height:54px}.office-caption{left:15px;bottom:12px}.office-caption>b{font-size:20px}.demo .interactive-demo .messages{height:320px}}
@media(max-width:520px){.office-film{display:block}.office-story{padding:16px 18px;min-height:118px}.office-story h3{font-size:26px;margin-top:8px;min-height:30px;max-width:none}.film-chapters{margin-top:14px}.demo .demo-copy h2{font-size:44px}.demo .demo-copy>p{margin-top:15px}.demo .interactive-demo .messages{height:310px;padding:14px}.demo-plan-row{padding:12px;gap:8px}.demo-plan-row>span{font-size:11px;max-width:110px}.demo-plan-row a{padding:10px 12px}.demo .demo-stage{display:none}}
/* Subtle depth gives the inbox priority; the office remains a still image. */
.demo .interactive-demo{border:1px solid #bfc9e2;box-shadow:0 24px 60px -24px #283c7966,0 6px 18px #26376514,0 0 0 5px #ffffff80}
.demo .interactive-demo .app-top{background:#e8edfa;border-bottom:1px solid #ccd6ed}
.demo .demo-channel-tabs{background:#f0f3fa;border-bottom-color:#d8e0ef}
.demo .demo-channel-tabs button{box-shadow:0 2px 5px #2c3e6710}
.demo .demo-channel-tabs button[data-demo-channel=Instagram][aria-selected=true]{background:#e3e9ff;border-color:#8b9cef;box-shadow:inset 0 -2px #243cff,0 3px 8px #243cff12}
.demo .interactive-demo .chat-head{background:#fcfdff;border-bottom-color:#e1e6f0}
.demo .demo-playbar{background:#f5f7fc;border-bottom:1px solid #dce3f0}
.demo .interactive-demo .messages{background:#e9edf5;box-shadow:inset 0 3px 8px #263d6a06}
.demo .interactive-demo .incoming{background:#fff;border:1px solid #dce3ef;box-shadow:0 3px 8px #2436590a}
.demo .interactive-demo[data-channel=instagram] .outgoing{background:#dce5ff;border:1px solid #c3d1f7;box-shadow:0 3px 8px #2436590a}
.demo .interactive-demo[data-channel=whatsapp] .messages{background:#e5efe8}
.demo .interactive-demo[data-channel=whatsapp] .outgoing{background:#d9fdd3;border:1px solid #bfdfb8;box-shadow:0 3px 8px #244f350a}
.demo-plan-row{background:#f4f6fc;border-top-color:#d4ddee}
.demo-plan-row a{box-shadow:0 4px 10px #243cff24}
.demo-plan-row a:hover{background:#1c30dd;box-shadow:0 5px 14px #243cff35}
.demo .interactive-demo .app-bottom{background:#f4f6fc}
.demo .interactive-demo .app-bottom>small{color:#74809a}
@media(min-width:901px){.section.demo{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:32px}}

/* The product and its value lead; the office is quiet background context. */
.section.demo{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(125deg,#edf1ff 0%,#e9effc 60%,#e1f0e9 100%)}
.demo .demo-copy{display:block;grid-column:auto;position:relative;z-index:1;margin:0}
.demo .demo-copy .eyebrow{font-size:11px;margin-bottom:24px}
.demo .demo-copy h2{font-size:clamp(38px,4vw,58px);line-height:1.03;max-width:470px;letter-spacing:-.04em}
.demo .demo-copy>p{font-size:15px;line-height:1.7;max-width:425px;margin:24px 0;color:#53617b}
.demo-benefits{padding:22px 24px;border:1px solid #fff;border-left:3px solid #243cff;border-radius:22px;background:linear-gradient(135deg,#ffffffcf,#edfaf7b8);box-shadow:0 12px 32px #3557820c;max-width:460px}
.demo-benefits h3{font-size:25px;line-height:1.15;margin:0 0 18px;letter-spacing:-.025em}
.demo-benefits ol{margin:0;padding-left:23px;display:grid;gap:16px}
.demo-benefits li{padding-left:2px;font-size:14px;line-height:1.6;color:#405a7f}
.demo-benefits b{display:block;font-size:14px;color:#2f466f}
.demo-benefits span{display:block}
.demo .demo-copy>small{font-size:11px;line-height:1.7;color:#69768c;margin-top:20px;max-width:405px}
.demo .office-film{position:absolute;inset:0 auto auto 0;width:100%;aspect-ratio:1.5;display:block;z-index:0;pointer-events:none;opacity:.075;border-radius:0;background:transparent;mask-image:linear-gradient(#000,transparent 85%);-webkit-mask-image:linear-gradient(#000,transparent 85%)}
.demo .office-image{height:100%;aspect-ratio:1.5;background:transparent}
.demo .office-image>img{animation:none;transform:none}
.demo .office-image:after,.demo .office-caption,.demo .office-story{display:none}
.demo .interactive-demo{position:relative;z-index:1;align-self:start;margin-top:8px}
@media(min-width:901px){.section.demo{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:5%}}
@media(max-width:900px){.demo .demo-copy h2{max-width:600px}.demo .demo-copy>p{max-width:580px}.demo-benefits{max-width:none}.demo .interactive-demo{margin-top:8px}.demo .office-film{width:140%;left:-20%}}
@media(max-width:520px){.demo .demo-copy h2{font-size:44px}.demo-benefits{padding:20px}.demo-benefits h3{font-size:24px}.demo .demo-copy>p{margin:20px 0}.demo .office-film{width:200%;left:-50%}}

/* Larger editorial copy, with the office visible through the section. */
.demo .demo-copy h2{font-size:clamp(48px,4.8vw,72px);line-height:1.02;max-width:540px;text-shadow:0 2px 18px #eff3ffb0}
.demo .demo-copy>p{font-size:18px;line-height:1.65;color:#3c4e6a;max-width:490px}
.demo-benefits{max-width:520px;background:linear-gradient(135deg,#ffffffed,#edf9f2e8);padding:25px 26px;box-shadow:0 14px 38px #304b7520}
.demo-benefits h3{font-size:30px;margin-bottom:20px}
.demo-benefits li{font-size:16px;line-height:1.6}.demo-benefits b{font-size:17px}.demo-benefits ol{gap:18px}
.demo .demo-copy>small{font-size:12px;max-width:480px}
.demo .office-film{opacity:.23;mask-image:linear-gradient(#000 10%,#000b 48%,transparent 90%);-webkit-mask-image:linear-gradient(#000 10%,#000b 48%,transparent 90%)}
.demo .demo-typing.customer-typing{color:#52627b;background:#ffffffb3;border:1px solid #dce3ef;border-radius:12px;width:fit-content;font-size:12px;max-width:95%;padding:10px 13px}
@media(min-width:901px){.demo .interactive-demo{position:sticky;top:112px}.section.demo{overflow:clip}}
@media(max-width:900px){.demo .demo-copy h2{font-size:54px;max-width:640px}.demo-benefits{max-width:none}.demo .office-film{width:100%;left:0;opacity:.21}}
@media(max-width:520px){.demo .demo-copy h2{font-size:48px}.demo .demo-copy>p{font-size:17px}.demo-benefits{padding:22px}.demo-benefits h3{font-size:28px}.demo .office-film{width:150%;left:-25%;opacity:.23}}

/* A visible, modestly sized office portrait in the left column. */
.demo .demo-copy .office-film{position:relative;inset:auto;width:100%;max-width:520px;aspect-ratio:1.5;margin:22px 0 26px;opacity:1;mask-image:none;-webkit-mask-image:none;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px #233b6a1a;background:#243cff}
.demo .demo-copy .office-image{width:100%;height:100%;aspect-ratio:1.5;min-height:0}
.demo .demo-copy .office-image>img{width:200%;height:100%;object-fit:fill;animation:none;transform:none}
@media(max-width:900px){.demo .demo-copy .office-film{max-width:none}}
