/* Homepage split hero: what we do (left) + live demo phone (right). The Octo video moved to #meet-octo. */
.hx{position:relative;padding:48px 0 56px;background:radial-gradient(80% 70% at 85% 20%,rgba(55,140,140,.12),rgba(55,140,140,0)),var(--surface-2,#fafafa);overflow:hidden}
.hx-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:48px;align-items:center}
.hx-copy .fresh-badge{font-size:14px;padding:9px 18px}
.hx-copy h1{margin:18px 0 14px;font-size:clamp(32px,4vw,50px);line-height:1.05;letter-spacing:-.02em;font-weight:800;color:var(--text)}
.hx-copy h1 .accent{color:var(--accent)}
.hx-lead{margin:0 0 18px;max-width:34em;font-size:18px;line-height:1.6;color:var(--muted)}
.hx-points{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.hx-points li{display:inline-flex;align-items:center;gap:7px;font-size:15px;font-weight:600;color:var(--text)}
.hx-points svg{width:16px;height:16px;color:var(--accent);flex:none}
.hx-ctas{display:flex;flex-wrap:wrap;gap:12px}
.hx-fine{margin:12px 0 0;font-size:13px;color:var(--muted)}
.hx-demo .nh-phone{margin:0 auto}
/* Meet Octo: compact two-column section below "How it works" (video keeps its original IDs for script.js) */
.hero.hero--cinematic.hx-meet{padding:64px 0 !important;background:var(--accent-soft)}
.hx-meet .container.hx-meet-grid{display:grid !important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center;position:relative;z-index:1}
.hx-meet-copy .section-eyebrow{display:block}
.hx-meet-copy .nh-h2{margin:8px 0 14px;font-size:clamp(26px,3.2vw,38px);font-weight:800;color:var(--text)}
.hx-meet-copy p{margin:0 0 14px;font-size:16.5px;line-height:1.6;color:var(--muted);max-width:40ch}
.hx-meet-copy .btn{margin-top:8px}
.hx-meet-media .hero-stage{aspect-ratio:16/10;max-height:none;min-height:0;border-radius:22px;box-shadow:0 22px 50px rgba(20,46,45,.18)}
.hx-meet-cap{margin:10px 0 0;text-align:center;font-size:13px;color:var(--muted)}
@media (max-width:860px){
  .hx-meet .container.hx-meet-grid{grid-template-columns:1fr;gap:26px}
  .hx-meet-copy{text-align:center}
  .hx-meet-copy p{margin-left:auto;margin-right:auto}
  .hero.hero--cinematic.hx-meet{padding:44px 0 !important}
}
@media (max-width:980px){
  .hx{padding:28px 0 44px}
  .hx-grid{grid-template-columns:1fr;gap:34px}
  .hx-copy{text-align:center}
  .hx-lead{margin-left:auto;margin-right:auto}
  .hx-points,.hx-ctas{justify-content:center}
}
@media (max-width:560px){
  .hx-copy h1{font-size:34px}
  .hx-lead{font-size:16.5px}
  .hx-points{flex-direction:column;align-items:center;gap:6px}
  .hx-ctas .btn{width:100%;justify-content:center}
}
/* Keep the hero still while the demo plays: fixed-height phone, content scrolls inside it */
.hx-grid{align-items:start}
.hx-copy{padding-top:28px}
.hx-demo .nh-phone-screen{height:720px;display:flex;flex-direction:column}
.hx-demo .nh-demo{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.hx-demo #nh-ck{max-height:300px;overflow-y:auto;scroll-behavior:smooth}
@media (max-width:980px){.hx-copy{padding-top:0}}
@media (max-width:480px){.hx-demo .nh-phone-screen{height:640px}.hx-demo #nh-ck{max-height:250px}}
/* Headline: "Never miss a customer again." in Outfit with the teal underline on the accent word */
.hx-eyebrow{display:block;margin:18px 0 0}
.hx-copy h1{margin-top:10px;font-family:"Outfit","Inter",-apple-system,BlinkMacSystemFont,sans-serif;font-size:clamp(38px,4.8vw,62px);line-height:1.04}
.hx-copy h1 .accent{display:inline;background-image:linear-gradient(180deg,transparent 0,transparent 78%,rgba(55,140,140,.22) 78%,rgba(55,140,140,.22) 95%,transparent 95%);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:0 1px}
@media (max-width:560px){.hx-copy h1{font-size:38px}}
.hx-meet .hero-icon{display:none !important}
.hx-meet-media .hero-stage{background:#3b3a33}
.hx-meet-media .hero-cinematic-video{height:108%;margin-top:-2%}

/* ---- Fit the whole hero in the first screen on desktop (no scrolling needed) ----
   --hx-top is set by hero-demo-scroll.js to the hero's distance from the top of the page
   (header + announcement bar), so the phone fills exactly the space that is left. */
@media (min-width:981px){
  .hx{padding:clamp(14px,3vh,40px) 0}
  .hx-grid{align-items:center;min-height:calc(100svh - var(--hx-top,140px) - 2*clamp(14px,3vh,40px))}
  .hx-copy{padding-top:0}
  .hx-demo .nh-phone-screen{height:clamp(440px,calc(100svh - var(--hx-top,140px) - 2*clamp(14px,3vh,40px) - 26px),720px)}
  .hx-copy h1{font-size:clamp(36px,min(4.8vw,8.2vh),62px)}
  .hx-lead{font-size:clamp(15.5px,2.3vh,18px);margin-bottom:clamp(10px,2vh,18px)}
  .hx-points{margin-bottom:clamp(12px,2.6vh,24px)}
  .hx-eyebrow{margin-top:clamp(8px,1.8vh,18px)}
}
@media (min-width:981px) and (max-height:800px){
  .hx-copy .fresh-badge{padding:7px 14px;font-size:13px}
  .hx-copy h1{margin:6px 0 10px}
  .hx-points{gap:4px 16px}
  .hx-points li{font-size:14px}
  .hx-ctas .btn{padding-top:11px;padding-bottom:11px}
  .hx-fine{margin-top:8px;font-size:12px}
}
/* Call tab: transcript flexes to fill the phone, play button + "This is a recording" stay visible */
.hx-demo .nh-demo{display:flex;flex-direction:column}
.hx-demo .nh-demo > *{flex:none}
.hx-demo #nh-pk:not([style*="none"]){display:flex !important;flex-direction:column;flex:1 1 auto;min-height:0}
.hx-demo #nh-pk > *{flex:none}
.hx-demo #nh-pk .nh-ck-wrap{flex:1 1 auto;min-height:150px;display:flex;flex-direction:column}
.hx-demo #nh-pk #nh-ck{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto}
.hx-demo #nh-pk .nh-rec{margin-top:10px}
@media (min-width:981px) and (max-height:800px){
  .hx-demo .nh-taphint{display:none !important}
  .hx-demo .nh-tabs{padding-top:6px;padding-bottom:6px}
  .hx-demo .nh-tab{padding-top:5px;padding-bottom:5px;font-size:12.5px}
  .hx-demo #nh-pk > div:first-child{margin-bottom:4px !important}
  .hx-demo #nh-pk .nh-chip{padding-top:5px;padding-bottom:5px}
  .hx-demo #nh-callbar{padding:8px 12px !important;margin-bottom:8px !important}
  .hx-demo #nh-callbar .nh-play{width:36px !important;height:36px !important}
  .hx-demo #nh-pk .nh-ck-wrap{min-height:96px}
  .hx-demo .nh-bigplay{width:62px;height:62px}
  .hx-demo .nh-bigplay svg{width:24px;height:24px}
  .hx-demo #nh-pk .nh-rec{margin-top:8px;padding:8px 12px}
  .hx-demo .nh-rec p{font-size:12px}
  .hx-demo .nh-rec a{padding:6px 12px;font-size:12px}
}
/* Call picker sits first in the phone, channel tabs below it */
.nh-callpick{padding:12px 14px 4px;text-align:left}
.nh-pick-lbl{font-size:12.5px;color:var(--muted);margin:0 0 8px;text-align:left}
.nh-pick-lbl--ch{padding:6px 14px 0;margin:0}
.nh-pick-row{display:flex;gap:8px;flex-wrap:wrap}
@media (min-width:981px) and (max-height:800px){
  .nh-callpick{padding:8px 14px 2px}
  .nh-pick-lbl{margin-bottom:5px;font-size:12px}
  .nh-callpick .nh-chip{padding-top:5px;padding-bottom:5px}
}
/* Phones: keep picker + tabs compact so the call, play button and recording box fit inside the phone */
@media (max-width:980px){
  .hx-demo .nh-taphint{display:none !important}
  .hx-demo .nh-callpick{padding:10px 12px 2px}
  .hx-demo .nh-pick-lbl{font-size:12px;margin-bottom:5px}
  .hx-demo .nh-pick-lbl--ch{padding:6px 12px 0;margin:0}
  .hx-demo .nh-pick-row{gap:6px}
  .hx-demo .nh-callpick .nh-chip{padding:5px 11px;font-size:13px}
  .hx-demo .nh-tabs{gap:5px;padding-top:6px;padding-bottom:6px}
  .hx-demo .nh-tab{padding:5px 10px;font-size:12.5px}
  .hx-demo #nh-callbar{padding:8px 12px !important;margin-bottom:8px !important}
  .hx-demo #nh-callbar .nh-play{width:36px !important;height:36px !important}
  .hx-demo #nh-pk .nh-ck-wrap{min-height:110px}
  .hx-demo .nh-bigplay{width:64px;height:64px}
  .hx-demo .nh-bigplay svg{width:26px;height:26px}
  .hx-demo #nh-pk .nh-rec{margin-top:8px;padding:8px 12px}
}
@media (max-width:480px){.hx-demo .nh-phone-screen{height:680px}}

/* ---- Phones: no phone mockup, compact controls (Smith.ai-style card) ---- */
.nh-indsel-wrap{display:none}
@media (max-width:760px){
  .hx{padding:20px 0 28px}
  .hx-grid{gap:22px}
  .hx-demo .nh-phone{max-width:none;margin:0;padding:0;background:none;border-radius:20px;box-shadow:0 10px 30px rgba(20,46,45,.12)}
  .hx-demo .nh-phone::after{display:none}
  .hx-demo .nh-phone-screen{border-radius:20px;border:1px solid var(--line);height:min(600px,calc(100svh - 96px))}
  .hx-demo .nh-phone-bar{display:none}
  .hx-demo .nh-callpick{padding:12px 12px 4px}
  .hx-demo .nh-pick-lbl,.hx-demo .nh-pick-row{display:none}
  .nh-indsel-wrap{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:999px;padding:4px 6px 4px 16px;background:#fff}
  .nh-indsel-lbl{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
  .nh-indsel{flex:1;appearance:none;-webkit-appearance:none;border:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142E2D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center/18px;font:600 16px/1.2 inherit;font-family:inherit;color:var(--text);padding:9px 34px 9px 0;cursor:pointer}
  .nh-indsel:focus{outline:none}
  .nh-indsel-wrap:focus-within{border-color:var(--accent)}
  .hx-demo .nh-tabs{flex-wrap:nowrap !important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:8px 12px !important;gap:6px;justify-content:flex-start}
  .hx-demo .nh-tabs::-webkit-scrollbar{display:none}
  .hx-demo .nh-tab{flex:none;white-space:nowrap;padding:7px 12px;font-size:13px}
  .hx-demo .nh-pan{padding-left:12px;padding-right:12px}
  .hx-demo #nh-pk > .nh-callbar{padding:8px 12px !important;margin-bottom:6px !important;border-radius:12px !important}
  .hx-demo #nh-pk .nh-ck-wrap{min-height:150px}
}
/* Never let the demo's scrollable tab strip widen the hero column past the screen */
@media (max-width:980px){.hx-grid{grid-template-columns:minmax(0,1fr) !important}.hx-copy,.hx-demo{min-width:0}}
.hx-demo .nh-phone,.hx-demo .nh-phone-screen,.hx-demo .nh-demo{min-width:0;max-width:100%}
@media (max-width:760px){
  .hx-demo .nh-tabs{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent);padding-right:28px !important}
  .hx-points,.hx-ctas .btn-ghost{display:none}
  .hx-lead{margin-bottom:16px}
}

/* 2026-10-08: on short screens the transcript box shrinks (min 96px) but #nh-ck carries an
   inline min-height:150px, so the transcript spilled over the "This is a recording" bar.
   Let it scroll inside its box instead. */
.hx-demo #nh-pk #nh-ck{min-height:0 !important}
.hx-demo #nh-pk .nh-ck-wrap{overflow:hidden}

/* 2026-10-08: Meet Octo video is 16:9; the 16:10 stage + cover + 108% height cropped the
   left/right edges (captions cut off). Show the whole frame. */
.hx-meet-media .hero-stage{aspect-ratio:16/9 !important;max-height:none !important;min-height:0 !important;background:#142E2D}
.hx-meet-media .hero-cinematic-video{height:100% !important;margin-top:0 !important;object-fit:contain !important;animation:none !important;transform:none !important}
