/* Keep the approved desktop scenes; give phone/tablet cards their own flow. */
.hero-card-deck{display:contents}.hero-card-hint{display:none}
@media(max-width:900px){
  .hero{height:auto;min-height:0;max-height:none}
  .hero-stage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;height:auto;min-height:0;max-height:none;padding:100px 0 30px;perspective:none;overflow:clip}
  .hero-content{order:0;width:100%;max-width:680px;padding:0 18px;min-width:0}
  .hero-mascot-wrap{height:170px;margin-bottom:20px}.hero-mascot{width:195px;height:195px}
  .hero h1{font-size:clamp(27px,7.8vw,52px);line-height:1.15;letter-spacing:-1.2px;max-width:100%;margin:0 auto}.hero-second{font-size:1em}
  .hero-content>p{font-size:16px;line-height:1.75;max-width:510px;padding:0;margin:22px auto}
  .hero-benefits{font-size:13px;line-height:1.7;gap:8px 15px;margin-top:19px;max-width:470px}
  .hero .hero-card-deck{order:1;display:flex;align-items:stretch;gap:16px;position:relative;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:12px 18px 18px;margin-top:25px;isolation:isolate}
  .hero-card-deck::-webkit-scrollbar{display:none}
  .hero .float-one,.hero .float-two{display:block;position:relative;inset:auto;margin:0;width:min(84vw,320px);max-width:320px;min-width:0;flex:0 0 min(84vw,320px);height:auto;border-radius:16px;scroll-snap-align:center;scroll-snap-stop:always;box-shadow:0 12px 32px #0005;z-index:auto}
  .hero .float-three,.hero .float-four,.hero .float-five,.hero .float-six{display:none}
  .hero .hero-wa-preview{aspect-ratio:auto;min-height:350px;height:100%}
  .hero .hero-wa-head{min-height:52px;padding:10px 12px;gap:8px}
  .hero .hero-wa-back{font-size:26px;margin:0}.hero .hero-wa-avatar{width:34px;height:34px}.hero .hero-wa-avatar img{width:39px;height:39px}
  .hero .hero-wa-contact{gap:5px}.hero .hero-wa-contact strong{font-size:15px}.hero .hero-wa-contact small{font-size:10px}
  .hero .hero-wa-actions{gap:12px;padding:0}.hero .hero-wa-actions>svg{width:17px;height:17px}.hero .hero-wa-actions>span{font-size:23px}
  .hero .hero-wa-thread{min-height:auto;gap:12px;padding:15px 13px}
  .hero .hero-wa-niche{font-size:10px;line-height:1.6;letter-spacing:.5px}.hero .hero-wa-date{display:none}
  .hero .hero-wa-bubble{padding:10px 12px 7px;border-radius:9px;max-width:90%}.hero .hero-wa-bubble p{font-size:13px;line-height:1.65;overflow-wrap:break-word}.hero .hero-wa-bubble small{font-size:9px;margin-top:5px;gap:5px}.hero .hero-wa-read{width:20px;height:11px}
  .hero .hero-wa-compose{padding:7px 8px;gap:8px}.hero .hero-wa-input{height:34px;gap:9px;padding:0 11px}.hero .hero-wa-input>span{font-size:12px}.hero .hero-wa-input>svg{width:17px;height:17px}.hero .hero-wa-mic{width:34px;height:34px}.hero .hero-wa-mic svg{width:18px;height:18px}
  .hero .hero-caption{order:2;position:static;inset:auto;display:block;text-align:center;font-size:11px;line-height:1.8;margin:0 18px;color:#b4aab8}.hero-card-hint{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:3px;font-size:12px}.hero-card-hint svg{width:14px;height:14px}.hero .scroll-cue{display:none}

  /* Native touch rail: six original cards, no perspective or overlapping copies. */
  .carousel-wrap{min-height:0;overflow:clip;margin-top:32px;padding-bottom:0;perspective:none}
  .carousel{--mobile-card-width:min(82vw,340px);display:flex;align-items:stretch;gap:14px;position:relative;height:auto;min-height:0;overflow-x:auto;overflow-y:hidden;width:100%;padding:12px calc((100% - var(--mobile-card-width))/2) 18px;perspective:none;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;user-select:auto;-webkit-user-select:auto}
  .carousel .business-card{display:flex;flex-direction:column;position:relative;inset:auto;width:var(--mobile-card-width);min-width:0;flex:0 0 var(--mobile-card-width);margin:0;transform:none!important;translate:none;rotate:none;filter:none!important;transition:none;scroll-snap-align:center;scroll-snap-stop:always;transform-style:flat;backface-visibility:visible;will-change:auto}
  .carousel .business-card[data-carousel-copy=true]{display:none}
  .carousel .business-image.business-whatsapp{height:auto;min-height:440px;display:flex;flex:1;border-radius:16px;overflow:hidden}
  .business-wa-preview{height:auto;min-height:440px;flex:1;aspect-ratio:auto}
  .business-wa-preview .hero-wa-thread{min-height:auto;padding:15px 13px;gap:12px}
  .business-wa-preview .hero-wa-head{min-height:56px;padding:10px 12px;gap:8px}.business-wa-preview .hero-wa-back{font-size:28px;margin:0}.business-wa-preview .hero-wa-avatar{width:35px;height:35px}.business-wa-preview .hero-wa-avatar img{width:41px;height:41px}
  .business-wa-preview .hero-wa-contact{gap:5px}.business-wa-preview .hero-wa-contact strong{font-size:16px}.business-wa-preview .hero-wa-contact small{font-size:11px}
  .business-wa-preview .hero-wa-actions{gap:12px;padding:0}.business-wa-preview .hero-wa-actions>svg{width:18px;height:18px}.business-wa-preview .hero-wa-actions>span{font-size:24px}
  .business-wa-preview .hero-wa-niche{font-size:10px;letter-spacing:.6px;line-height:1.6}.business-wa-preview .hero-wa-date{font-size:9px;line-height:1.5;padding:5px 8px;margin:0}
  .business-wa-preview .hero-wa-bubble{padding:10px 12px 7px;max-width:90%;border-radius:9px}.business-wa-preview .hero-wa-bubble p{font-size:14px;line-height:1.65;overflow-wrap:break-word}.business-wa-preview .hero-wa-bubble small{font-size:10px;gap:5px;margin-top:5px}.business-wa-preview .hero-wa-read{width:21px;height:12px}
  .business-wa-preview .hero-wa-compose{padding:8px;gap:8px}.business-wa-preview .hero-wa-input{height:36px;gap:9px;padding:0 11px}.business-wa-preview .hero-wa-input>span{font-size:13px}.business-wa-preview .hero-wa-input>svg{width:18px;height:18px}.business-wa-preview .hero-wa-mic{width:36px;height:36px}.business-wa-preview .hero-wa-mic svg{width:20px;height:20px}
  .business-card .business-bottom{padding:28px 8px 4px;min-height:110px}.business-card .business-bottom>strong{font-size:16px;line-height:1.6}.business-card .business-bottom>span:last-child{font-size:13px;line-height:1.7;max-width:none;white-space:normal}
  .carousel-wrap:before,.carousel-wrap:after{display:none}.carousel-arrows{position:static;inset:auto;display:flex;justify-content:center;align-items:center;gap:16px;margin:8px auto 0;width:max-content;pointer-events:auto}.carousel-arrows button{width:46px;height:46px}
  .carousel-footer{margin-top:14px}.carousel-dots{flex-wrap:wrap;justify-content:center}.carousel-footer .button{max-width:90vw;white-space:normal}

  /* All six niches fit the page, after the headline, instead of straddling it. */
  .niches-stage{height:auto;min-height:0;display:flex;flex-direction:column;gap:30px;padding:55px 20px 35px;width:100%}
  .niches-copy{order:0;position:relative;inset:auto;padding:0;width:100%;max-width:680px;margin:0 auto;transform:none;pointer-events:auto}
  .niches-copy h2{font-size:clamp(31px,7.6vw,54px);letter-spacing:-1.6px;line-height:1.12}.niches-copy p{font-size:16px;line-height:1.8;padding:0;margin-top:20px}.niches-copy p br{display:none}.niches-copy .eyebrow{font-size:10px;line-height:1.8}.niches-copy .button{max-width:100%;width:auto;font-size:14px;line-height:1.6;gap:14px;padding:14px 18px;margin-top:23px}
  .niche-cloud{order:1;position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%;max-width:680px;margin:0 auto;perspective:none;padding:3px}
  .niches-stage .niche-tile{position:relative;inset:auto;width:100%;min-width:0;aspect-ratio:1.4;opacity:1;border-radius:14px;box-shadow:0 8px 20px #1010171a;will-change:transform}
  .niche-tile>span{font-size:12px;line-height:1.6;left:9px;right:9px;bottom:12px;white-space:normal}
  .niches-footnote{order:2;position:static;inset:auto;margin:0;text-align:center;font-size:12px;line-height:1.8;padding:0 8px}
}
@media(min-width:720px) and (max-width:900px){.hero .hero-card-deck{justify-content:center}.hero-card-hint{display:none}.hero-mascot-wrap{height:200px}.hero-mascot{width:220px;height:220px}.niche-cloud{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
  /* Use the available width for demo and CRM cards; let long copy wrap. */
  .solution-row,.solution-row.reverse{min-width:0}.solution-visual,.crm-preview,.solution-copy{min-width:0;max-width:100%}.crm-inbox-card{min-width:0}.crm-inbox-card>div{min-width:0}.crm-inbox-card strong,.crm-inbox-card p{overflow-wrap:anywhere}.crm-demo-tabs{margin-left:10px;margin-right:10px;gap:5px}.crm-demo-tabs button{min-width:0;font-size:12px;padding:10px 5px}.crm-preview-head{gap:10px}.crm-preview-head>strong{min-width:0}.crm-example{flex-shrink:0}
  .crm-board{grid-template-columns:1fr;gap:12px;min-height:0}.crm-board>div{padding:14px}.crm-board>div>strong{font-size:13px;margin-bottom:10px}.crm-board article{padding:13px}.crm-board b{font-size:14px}.crm-board small{font-size:12px;margin-top:5px}.crm-board article>span{font-size:11px;margin-top:9px}.crm-demo-panel{min-height:0}.crm-panel-foot{font-size:13px}
  .results-layout{min-width:0;padding-left:12px;padding-right:12px}.results-story,.wa-window,.meeting-panel{min-width:0;max-width:100%}.wa-window{transform:none;translate:none}.wa-messages{min-height:490px;padding-left:12px;padding-right:12px}.wa-bubble{font-size:14px;line-height:1.7;max-width:92%;overflow-wrap:break-word}.wa-bubble small{font-size:10px}.wa-contact{min-width:0}.wa-contact>span{font-size:11px}.wa-compose{font-size:12px}
  .afterhours-presence{min-width:0;grid-template-columns:75px minmax(0,1fr);gap:0 12px;padding:0}.afterhours-online{font-size:9px;letter-spacing:.5px}.afterhours-mascot{height:145px}.afterhours-presence>p{font-size:14px}.afterhours-chat-icons{gap:8px}.afterhours-chat-icons svg:first-child{display:none}.afterhours-chat-head{gap:7px;padding:10px}.afterhours-avatar{width:33px;height:33px}.afterhours-chat-head strong{font-size:15px}.afterhours-chat-head>div>span{font-size:10px}.afterhours-thread{padding-left:11px;padding-right:11px}.afterhours-bubble{max-width:94%;padding-left:10px;padding-right:10px}.afterhours-bubble p{font-size:14px}.afterhours-handoff{padding:19px}
  .faq-contact{display:flex;flex-wrap:wrap;justify-content:center;text-align:center}.faq-contact .faq-mary{flex-shrink:0}.faq-contact>div{flex:1 1 100%;width:100%}.faq-contact h3{font-size:26px}.faq-contact>.button{max-width:100%;width:100%}
  .quote-card{width:min(310px,82vw);min-height:0}.quote-card .quote-text{font-size:15px;min-height:0}.proof-group{align-items:stretch}.quote-card figcaption{min-width:0}.quote-card figcaption>span:last-child{min-width:0}
  .afterhours-footer .button,.implementation .button,.faq-contact .button{white-space:normal}.hero .online-pill{font-size:10px;right:8px;top:40px;max-width:150px}
}
@media(max-width:360px){
  .nav-wrap{width:92vw;gap:8px}.site-header .brand{font-size:27px;gap:5px;letter-spacing:-1.8px}.site-header .brand-mascot{width:29px;height:42px}.nav-cta{padding:10px;font-size:11.5px;gap:0;min-height:42px}.nav-cta svg{display:none}.menu-toggle{width:36px;height:42px}.hero-content{padding-left:14px;padding-right:14px}.hero-content>p{font-size:15px}.hero-benefits{font-size:12px}.hero .online-pill{right:0;font-size:9px}.niches-stage{padding-left:16px;padding-right:16px}.niche-cloud{gap:12px}.niche-tile>span{font-size:11px;left:6px;right:6px}.crm-preview-head>strong{font-size:22px}.crm-example{font-size:9px}.result-steps{grid-template-columns:1fr}.result-steps button{min-height:64px;flex-direction:row;align-items:center}.result-steps button>span:last-of-type{text-align:left}.results-story h3{font-size:30px}
}
