/* Round 81 — v8 films, restored hero visual, 4-step band, iOS fullscreen frames. Preview only. */

/* —— Restore the stronger R64/R78 hero device art (R80 had inset/shrunk it) —— */
.cx-hero-devices{
  position:relative !important;
  z-index:1 !important;
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:24px 0 0 !important;
  padding:0 !important;
  background:linear-gradient(180deg,#3B0764 0%,#5B21B6 18%,rgba(120,100,150,.55) 42%,#F5F4F8 100%);
}
.cx-hero-devices::before{
  content:"";
  position:absolute;
  left:0;right:0;
  top:-2px;
  height:3px;
  background:#3B0764;
  pointer-events:none;
}
.cx-hero-devices picture,
.cx-hero-devices img{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  height:auto;
  display:block;
  object-fit:contain;
  background:transparent;
}
@media (max-width:719px){
  .cx-hero-devices{margin-top:18px !important;}
  .cx-hero-devices picture,
  .cx-hero-devices img{max-width:none;}
}
@media (min-width:720px){
  .cx-hero-devices{margin-top:36px !important;}
}

/* Keep the airy hero copy, but let the headline sit on two lines on desktop like R78. */
.cx-hero .cx-hero-inner{max-width:52rem;}
.cx-hero h1{
  font-size:clamp(2.15rem,5.2vw,3.55rem);
  line-height:1.06;
  letter-spacing:-0.03em;
}

/* —— Video frames: 16/9 landscape films fill the row; no clip, no overlay trap —— */
.cx-ph-frame.cx-ph-video,
.cx-ph-wide.cx-ph-video{
  width:100%;
  height:auto;
  overflow:visible;
  background:transparent;
}
.cx-ph-frame.cx-ph-desk.cx-ph-video,
.cx-ph-frame.cx-ph-wide.cx-ph-video{
  aspect-ratio:16/9;
  width:100%;
  height:auto;
}
.cx-ph-video video,
.cx-film video,
.cx-ph-filled video,
.cx-reel video{
  width:100%;
  height:auto;
  max-width:100%;
  display:block;
  position:relative;
  z-index:1;
  pointer-events:auto;
  background:#fff;
}
.cx-ph-video::before,
.cx-ph-video::after,
.cx-hero-devices::before{
  pointer-events:none;
}

/* —— Clean marketing stills already include a phone bezel: do not wrap in .cx-ph-phone —— */
.cx-ph-frame.cx-ph-still{
  width:100%;
  max-width:320px;
  margin:0 auto;
  height:auto;
  background:transparent;
  box-shadow:none;
  border:0;
  padding:0;
  overflow:visible;
}
.cx-ph-still img{
  width:100%;
  height:auto;
  display:block;
}

/* —— Featured walkthrough reel —— */
.cx-reel{
  padding-top:3.5rem;
  padding-bottom:3.5rem;
  background:var(--hy-grey,#F5F4F8);
}
.cx-reel-head{
  text-align:center;
  margin:0 auto 1.5rem;
  max-width:36rem;
}
body.pc-touches .cx-reel-head h2,
body.home-v7 .cx-reel-head h2,
.cx-reel-head h2{
  color:#101828 !important;
  -webkit-text-fill-color:#101828 !important;
  letter-spacing:-0.03em;
  margin:0 0 .6rem;
  font-size:clamp(1.7rem,4vw,2.25rem);
}
.cx-reel-head p{
  color:#3A4458;
  margin:0;
  font-size:1.05rem;
  line-height:1.5;
}
.cx-reel-frame{
  max-width:960px;
  margin:0 auto;
}

/* —— Get started in 4 easy steps: bold PlanRadar-style coloured band —— */
.cx-start{
  background:linear-gradient(165deg,#1E0B3A 0%,#2E1065 38%,#4C1D95 100%);
  color:#fff;
  padding:4.5rem 0 4.75rem;
  text-align:center;
  position:relative;
}
body.pc-touches .cx-start h2,
body.home-v7 .cx-start h2,
body.cx-page .cx-start h2,
.cx-start h2{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-size:clamp(1.85rem,4.2vw,2.8rem);
  letter-spacing:-0.03em;
  line-height:1.15;
  margin:0 auto 2.6rem;
  max-width:none;
}
.cx-start-grid{
  list-style:none;
  display:grid;
  gap:1.75rem;
  margin:0 0 2.6rem;
  padding:0;
  text-align:left;
}
@media (min-width:800px){
  .cx-start-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:1.75rem 2rem;
    text-align:center;
  }
}
.cx-start-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2.55rem;
  height:2.55rem;
  border-radius:999px;
  background:#8B5CF6;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-weight:800;
  font-size:1.15rem;
  margin-bottom:.9rem;
  letter-spacing:0;
}
body.pc-touches .cx-start-grid h3,
body.home-v7 .cx-start-grid h3,
.cx-start-grid h3{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  margin:0 0 .45rem;
  font-size:1.2rem;
  letter-spacing:-0.02em;
}
.cx-start-grid p{
  color:rgba(255,255,255,.86) !important;
  -webkit-text-fill-color:rgba(255,255,255,.86) !important;
  margin:0;
  line-height:1.45;
  font-size:1rem;
}
.cx-start-cta{display:flex;justify-content:center;}
.cx-start .btn,
body.pc-touches .cx-start .btn,
body.home-v7 .cx-start .btn{
  background:#fff !important;
  color:#2E1065 !important;
  -webkit-text-fill-color:#2E1065 !important;
  border-color:#fff !important;
  border-radius:16px !important;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  font-weight:700;
}
.cx-start-note{
  margin:1.1rem 0 0;
  color:rgba(255,255,255,.72) !important;
  -webkit-text-fill-color:rgba(255,255,255,.72) !important;
  font-size:.95rem;
}

/* 16:9 v8 films on feature pages should use the full featured width, not a leftover phone column. */
.cx-film-sec .cx-films-one .cx-clip.is-desk,
.cx-film-sec .cx-films-one .cx-film-featured{
  width:100%;
  max-width:960px;
  margin-left:auto;
  margin-right:auto;
}

/* Workflow films in the library sit in the grid, not full-width featured rows. */
@media (min-width:900px){
  .cx-films .cx-clip.is-wide{
    grid-column:auto;
    grid-row:auto;
    max-width:none;
    margin:0;
    width:100%;
  }
}
