/* Approved CTA treatment only. Existing hero/How/FAQ layouts stay unchanged. */
.home-cta{isolation:isolate;border-color:rgba(37,211,102,.38);background:linear-gradient(#08110e,#08110e) padding-box,linear-gradient(120deg,rgba(37,211,102,.45),rgba(15,181,160,.25)) border-box;box-shadow:0 0 18px rgba(37,211,102,.05);}
.home-cta .cta-glow{inset:0;height:auto;background:radial-gradient(ellipse at 50% 25%,rgba(37,211,102,.055),transparent 70%);}
.home-cta .cta-mascot{position:absolute;width:260px;height:auto;object-fit:contain;opacity:.11;pointer-events:none;user-select:none;z-index:-1;}
.home-cta .cta-mascot-booking{left:-65px;top:8%;transform:rotate(-12deg);}
.home-cta .cta-mascot-business{right:-65px;top:10%;transform:rotate(12deg);}
.home-cta .cta-mascot-plus{right:2%;bottom:-65px;width:190px;opacity:.07;}
@media(max-width:700px){.home-cta .cta-mascot{width:200px;opacity:.08}.home-cta .cta-mascot-booking{left:-85px}.home-cta .cta-mascot-business{right:-85px}.home-cta .cta-mascot-plus{width:150px;bottom:-60px}}

/* Shared dotted labels retain the hero's existing RelayGo treatment. */
.page[data-page="home"] .section-eyebrow,
.booking-page .section-eyebrow,
#relay-scripted-demo .section-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 16px;border:1px solid rgba(37,211,102,.28);border-radius:100px;background:rgba(37,211,102,.08);color:#9FE8C0;font-family:var(--font-ui);font-size:12px;font-weight:600;line-height:1.4;letter-spacing:0;text-transform:none;margin-bottom:18px;}
.page[data-page="home"] .section-eyebrow::before,
.booking-page .section-eyebrow::before,
#relay-scripted-demo .section-eyebrow::before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#25D366;flex:none;}
.page[data-page="home"] .section-eyebrow::after,.booking-page .section-eyebrow::after{display:none;}

.home-hero-phone-slot{position:relative;width:312px;height:653px;}
#relay-hero-phone{width:380px;transform:scale(.82);transform-origin:top left;background:transparent;}
.home-hero .hero-visual{min-width:0;}
.home-hero .hero-visual{justify-content:center;}
.home-hero .float-card{width:218px;padding:10px 12px;gap:8px;}
.home-hero .float-card .outcome-mascot{width:46px;height:40px;object-fit:contain;flex:none;}
.home-hero .float-card .outcome-mascot[src*="relay-go-business-plus-duo.webp"]{width:64px;height:40px;}
/* Original overlapping positions and floatY motion come from styles.css. */
.home-hero .fc-sub{line-height:1.4;}
@media(min-width:1081px) and (max-width:1250px){
  .home-hero-phone-slot{width:251px;height:526px;}
  #relay-hero-phone{transform:scale(.66);}
  .home-hero .float-card{width:170px;padding:10px;gap:6px;}
  .home-hero .float-card .outcome-mascot{width:32px;height:32px;}
  .home-hero .float-card .outcome-mascot[src*="relay-go-business-plus-duo.webp"]{width:46px;height:32px;}
  .home-hero .fc-title{font-size:11px;}
  .home-hero .fc-sub{font-size:10px;}
}
@media(min-width:1081px) and (max-height:800px){
  .home-hero{padding-top:100px;}
  .home-hero-phone-slot{width:251px;height:526px;}
  #relay-hero-phone{transform:scale(.66);}
}
@media(max-width:1080px){
  .home-hero .hero-visual{width:min(620px,100%);justify-self:center;}
}
@media(max-width:760px){
  /* The original mobile composition hides outcome overlays. */
  .home-hero-phone-slot{width:min(312px,100%);height:auto;aspect-ratio:312/653;}
  #relay-hero-phone{width:380px;transform:scale(.82);}
}
@media(max-width:360px){
  .home-hero-phone-slot{width:266px;height:558px;aspect-ratio:auto;}
  #relay-hero-phone{transform:scale(.7);}
}
@media(prefers-reduced-motion:reduce){
  .home-hero .phone-wrap-reveal{opacity:1;animation:none;transform:none;}
  .home-hero .float-card{animation:none;transition:none;}
}

/* Approved homepage-only mobile hero: the actual demo remains later in the page. */
@media(max-width:760px){
  .page[data-page="home"] .home-hero .hero-visual{display:none;}
  .page[data-page="home"] .home-hero{min-height:0;}
  .page[data-page="home"] .home-hero .hero-inner{min-height:0;grid-template-columns:minmax(0,1fr);gap:0;padding:104px 0 40px;}
}
