/* ============================================================
   comms.css — Communications solution surface, shared frame.
   Owns the page scope (.cx), the shared section header (.cx-head),
   the capability index (.cx-hub), competitor parity (.cx-compare),
   the compliance strip (.cx-trust), the closing band (.cx-cta), and
   the feature sub-page template (.cxf-*). Per-set-piece animation CSS
   lives in its own scoped file (hero.css, channels.css, …).
   Tokens inherited from styles.css. Comms identity accent = teal,
   layered under the house indigo (no rainbow).
   ============================================================ */

/* Homepage backdrop, unified across every communications surface. The canonical
   light landing backdrop is owned by `.hp2-bg` (public/marketing/home2/bg.css) —
   the hub root (.cx) and every story subpage root (.cxp) carry the `hp2-bg`
   class and load bg.css, exactly like the homepage's second half, so they all
   sit on the SAME sand-blue wash (layered gradient + soft top glow + faint 46px
   blueprint grid). Sections still repaint their own bands on top; dark
   set-pieces opt out with their own bg. No page-level background is set here so
   nothing competes with hp2-bg. */

.cx {
  --cx-teal: #5a82c2;
  --cx-teal-deep: #3d63a4;
  --cx-teal-lite: #8aa6dd;
  --cx-teal-wash: color-mix(in srgb, #5a82c2 8%, #fff);
  --cx-ink: var(--ink);
  position: relative;
  isolation: isolate;
}

/* Classic | Story view switch — fixed floating pill, always visible so the
   two views are never hidden from each other. Bottom-centre, above content. */
.cx-viewtoggle {
  position: fixed;
  bottom: clamp(16px, 3vw, 28px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px -18px rgba(11, 16, 32, 0.4);
}
.cx-viewtoggle::before {
  content: "View";
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
  padding: 0 8px 0 10px;
}
.cx-vt {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-60);
  padding: 8px 20px;
  border-radius: var(--r-pill);
  transition: color .18s, background .18s;
}
.cx-vt:hover { color: var(--ink); }
.cx-vt.is-on {
  color: #fff;
  background: linear-gradient(140deg, var(--cx-teal), var(--indigo));
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--indigo) 70%, transparent);
}
/* on the dark story view, lift the pill onto a dark chip so it stays legible */
.cx--story .cx-viewtoggle {
  background: rgba(12, 16, 30, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
}
.cx--story .cx-viewtoggle::before { color: rgba(255, 255, 255, 0.5); }
.cx--story .cx-vt { color: rgba(255, 255, 255, 0.7); }
.cx--story .cx-vt:hover { color: #fff; }

/* shared section header used across the page + sub-pages */
.cx-head {
  max-width: 66ch;
}
.cx-head.cx-head--center {
  text-align: center;
  margin-inline: auto;
}
.cx-head .eyebrow {
  color: var(--cx-teal-deep);
}
.cx-head h2 {
  margin: 14px 0 12px;
}
.cx-head .lead {
  max-width: 60ch;
}

/* ============================================================
   LANDING HERO (CxHero) — truthful "one system" opener
   ============================================================ */
.cx-lhero {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 15vw, 176px) 0 clamp(48px, 7vw, 88px);
  background: linear-gradient(180deg, #fff, var(--paper));
}
.cx-lhero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cx-lhero-aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background:
    radial-gradient(50% 60% at 78% 10%, color-mix(in srgb, var(--cx-teal) 18%, transparent), transparent 60%),
    radial-gradient(50% 60% at 20% 0%, var(--periwinkle-2), transparent 62%);
  filter: blur(6px);
}
.cx-lhero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,79,224,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,79,224,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(120% 80% at 60% 0%, #000 30%, transparent 78%);
}
.cx-lhero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.cx-lhero-h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
  margin: 14px 0 20px;
}
.cx-lhero-h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--cx-teal-deep), var(--indigo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cx-lhero-lead {
  font-size: clamp(16.5px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 54ch;
  margin-bottom: 28px;
}
.cx-lhero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cx-lhero-stats {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(28px, 3.5vw, 44px);
  padding-top: clamp(20px, 2.5vw, 30px);
  border-top: 1px solid var(--line);
}
.cx-lhero-stats b { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.cx-lhero-stats span { font-size: 12.5px; line-height: 1.35; color: var(--ink-40); }

/* the live front-desk feed board */
.cx-lhero-board {
  justify-self: center;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.cx-lhb-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line-2); background: var(--paper);
}
.cx-lhb-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cx-teal-deep); }
.cx-lhb-live i { width: 7px; height: 7px; border-radius: 99px; background: var(--cx-teal); box-shadow: 0 0 0 4px var(--cx-teal-wash); animation: cxlh-blink 1.1765s ease-in-out infinite; }
@keyframes cxlh-blink { 0%,100%{opacity:1} 50%{opacity:.35} }
.cx-lhb-org { font-size: 12.5px; color: var(--ink-40); }
.cx-lhb-feed { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; }
.cx-lhb-row {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 12px; border-radius: var(--r-mid);
  animation: cxlh-in 0.3333s cubic-bezier(.2,.7,.3,1) both;
  animation-delay: calc(0.2s + var(--i) * 0.3333s);
}
.cx-lhb-row:hover { background: var(--paper); }
@keyframes cxlh-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.cx-lhb-ch {
  flex-shrink: 0; width: 62px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--indigo-700); background: var(--periwinkle); border-radius: var(--r-pill); padding: 5px 0; text-align: center;
}
.cx-lhb-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cx-lhb-body b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cx-lhb-body span { font-size: 12.5px; color: var(--ink-60); line-height: 1.35; }
.cx-lhb-tag {
  flex-shrink: 0; font-size: 10.5px; font-weight: 600; color: var(--ink-40);
  background: var(--line-2); border-radius: var(--r-pill); padding: 4px 9px; white-space: nowrap;
}
.cx-lhb-tag.is-pay { color: color-mix(in srgb, var(--mint) 72%, var(--ink)); background: color-mix(in srgb, var(--mint) 14%, #fff); }
.cx-lhb-tag.is-book { color: var(--cx-teal-deep); background: var(--cx-teal-wash); }
.cx-lhb-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 18px; border-top: 1px solid var(--line-2); font-size: 11.5px; color: var(--ink-40);
}
.cx-lhb-one { color: var(--cx-teal-deep); font-weight: 600; }
/* looping ticker "string" — seamless marquee of live comms events */
.cx-lhero-ticker {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 6vw, 72px);
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cx-lht-track { display: inline-flex; width: max-content; animation: cxlht-scroll 22s linear infinite; }
.cx-lht-group { display: inline-flex; }
.cx-lht-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 clamp(20px, 3vw, 40px);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-60);
  white-space: nowrap;
  border-right: 1px solid var(--line-2);
}
.cx-lht-ic {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: var(--r-pill);
  background: var(--cx-teal-wash); color: var(--cx-teal-deep); font-size: 12px;
}
@keyframes cxlht-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cx-lhero-ticker:hover .cx-lht-track { animation-play-state: paused; }

@media (max-width: 900px) {
  .cx-lhero-inner { grid-template-columns: 1fr; }
  .cx-lhero-board { max-width: 480px; }
}
@media (prefers-reduced-motion: reduce), (max-width: 700px) {
  .cx-lhb-row { animation: none; opacity: 1; transform: none; }
  .cx-lhb-live i { animation: none; }
  .cx-lht-track { animation: none; }
}

/* ============================================================
   CAPABILITY INDEX (CxHub)
   ============================================================ */
.cx-hub {
  background:
    radial-gradient(120% 70% at 50% 0%, var(--periwinkle) 0%, transparent 55%),
    linear-gradient(180deg, #fff, var(--paper));
}
.cx-hub .cx-head {
  text-align: center;
  margin-inline: auto;
}

/* inline "see the full page" link used inside the landing set-pieces */
.cx-seelink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: clamp(16px, 2vw, 22px);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cx-teal-deep);
  transition: gap .18s ease;
}
.cx-seelink:hover { gap: 11px; }
.cx-seelink .arrow { transition: transform .2s ease; }
.cx-seelink:hover .arrow { transform: translateX(3px); }

/* feature carousel → the deep pages */
.cx-carousel {
  position: relative;
  margin: clamp(18px, 2vw, 28px) 0 0;
  padding-inline: clamp(0px, 3.5vw, 56px); /* gutter for the side arrows */
}
.cx-carousel-track {
  display: flex;
  gap: clamp(12px, 1.4vw, 18px);
  overflow-x: auto;
  padding: 6px 4px 10px;
  margin: -6px 0 -10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cx-carousel-track::-webkit-scrollbar { display: none; }
.cx-carousel .cx-card {
  flex: 0 0 clamp(258px, 31%, 336px);
}
.cx-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, color .18s;
}
.cx-carousel-arrow:hover { color: var(--cx-teal-deep); transform: translateY(-50%) scale(1.06); box-shadow: var(--shadow-float); }
.cx-carousel-prev { left: 0; }
.cx-carousel-next { right: 0; }
.cx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 1.9vw, 26px);
  border-radius: var(--r-soft);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cx-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cx-teal), var(--indigo));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.cx-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: color-mix(in srgb, var(--cx-teal) 40%, var(--line));
}
.cx-card:hover::before { transform: scaleX(1); }
.cx-card-ic { font-size: 24px; line-height: 1; filter: saturate(.6); }
.cx-card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cx-teal-deep);
}
.cx-card-title {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.cx-card-blurb {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-60);
  flex: 1;
}
.cx-card-go {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-70);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.cx-card-go .arrow { transition: transform .2s ease; }
.cx-card:hover .cx-card-go { color: var(--cx-teal-deep); }
.cx-card:hover .cx-card-go .arrow { transform: translateX(3px); }

/* full coverage grid — everything in the plans */
.cx-cov {
  margin-top: clamp(48px, 7vw, 90px);
  padding: clamp(28px, 3.5vw, 48px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.cx-cov-head { text-align: center; margin-bottom: clamp(22px, 3vw, 36px); }
.cx-cov-head .h3 { margin-top: 8px; }
.cx-cov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 40px);
}
.cx-cov-area {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cx-teal-deep);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cx-cov-area a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .18s ease;
}
.cx-cov-area a:hover { gap: 9px; }
.cx-cov-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cx-cov-col li {
  display: flex;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-70);
}
.cx-cov-tick {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  background: var(--cx-teal-wash);
  border: 1px solid color-mix(in srgb, var(--cx-teal) 28%, #fff);
  color: var(--cx-teal-deep);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* ============================================================
   COMPETITOR PARITY (cx-compare)
   ============================================================ */
.cx-compare {
  margin-top: clamp(56px, 8vw, 104px);
}
.cx-compare-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto clamp(24px, 3vw, 40px);
}
.cx-compare-head .eyebrow { color: var(--cx-teal-deep); }
.cx-compare-head h2 { margin-top: 12px; }

.cx-compare-table {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-2);
}
.cx-compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.5fr;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 2.4vw, 30px);
  border-top: 1px solid var(--line-2);
  font-size: 14.5px;
  line-height: 1.45;
}
.cx-compare-row:first-child { border-top: none; }
.cx-compare-row--h {
  background: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.cx-compare-row--h .cx-us { color: var(--cx-teal-deep); }
.cx-cap { font-weight: 600; color: var(--ink); }
.cx-them { color: var(--ink-40); }
.cx-compare-row .cx-us {
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cx-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  background: var(--cx-teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* ============================================================
   COMPLIANCE STRIP (cx-trust)
   ============================================================ */
.cx-trust {
  margin-top: clamp(56px, 8vw, 104px);
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 120% at 100% 0%, var(--cx-teal-wash), transparent 60%),
    linear-gradient(160deg, #f4f7fc, var(--periwinkle));
  border: 1px solid var(--line);
  color: var(--ink);
}
.cx-trust-head { max-width: 56ch; }
.cx-trust-head .eyebrow { color: var(--cx-teal-deep); }
.cx-trust-head .h3 { color: var(--ink); margin-top: 10px; }
.cx-trust-grid {
  margin-top: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 30px);
}
.cx-trust-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cx-trust-item b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.cx-trust-item span:last-child {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-60);
}
.cx-trust-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--r-pill);
  background: var(--cx-teal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cx-teal) 26%, transparent);
  margin-bottom: 6px;
}

/* ============================================================
   CLOSING CTA (cx-cta)
   ============================================================ */
.cx-cta {
  background:
    radial-gradient(120% 120% at 50% 0%, var(--periwinkle) 0%, transparent 60%),
    linear-gradient(180deg, #f4f7fc, #fff);
  border-top: 1px solid var(--line);
  padding-block: clamp(72px, 10vw, 128px);
  text-align: center;
}
.cx-cta-inner { max-width: 720px; }
.cx-cta-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cx-teal-deep);
}
.cx-cta-h {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--ink);
  margin: 16px 0 16px;
}
.cx-cta-sub {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 52ch;
  margin: 0 auto 30px;
}
.cx-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.cx-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-70);
  padding: 12px 8px;
}
.cx-cta-ghost:hover { color: var(--cx-teal-deep); }
.cx-cta-ghost .arrow { transition: transform .2s ease; }
.cx-cta-ghost:hover .arrow { transform: translateX(3px); }

/* ============================================================
   FEATURE SUB-PAGE TEMPLATE (.cxf-*) — shared premium layout for
   every /solutions/communications/<slug> page.
   ============================================================ */
.cxf {
  --cx-teal: #5a82c2;
  --cx-teal-deep: #3d63a4;
  --cx-teal-lite: #8aa6dd;
  --cx-teal-wash: color-mix(in srgb, #5a82c2 8%, #fff);
}
.cxf-hero {
  position: relative;
  padding: clamp(120px, 15vw, 168px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 80% -10%, var(--cx-teal-wash), transparent 55%),
    radial-gradient(80% 60% at 0% 0%, var(--periwinkle), transparent 55%),
    #fff;
}
.cxf-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.cxf-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-40);
  margin-bottom: 20px;
  transition: color .15s;
}
.cxf-back:hover { color: var(--ink); }
.cxf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cx-teal-deep);
}
.cxf-eyebrow .cxf-glyph { font-size: 15px; }
.cxf-h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.04;
  color: var(--ink);
  margin: 14px 0 18px;
}
.cxf-lead {
  font-size: clamp(16.5px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 56ch;
  margin-bottom: 26px;
}
.cxf-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cxf-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cx-teal-deep);
}
.cxf-stat i {
  width: 8px; height: 8px; border-radius: 99px; background: var(--cx-teal);
  box-shadow: 0 0 0 4px var(--cx-teal-wash);
}

/* the sub-page signature mock stage — one soft-elevated surface */
.cxf-stage {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, #fff, var(--paper));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  padding: clamp(18px, 2.2vw, 26px);
  min-height: 300px;
  overflow: hidden;
}

/* capability list */
.cxf-caps { padding-block: clamp(48px, 6vw, 84px); }
.cxf-caps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 22px) clamp(28px, 4vw, 56px);
  margin-top: clamp(24px, 3vw, 40px);
}
.cxf-cap {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-70);
  padding-bottom: clamp(14px, 2vw, 22px);
  border-bottom: 1px solid var(--line-2);
}
.cxf-cap-tick {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: var(--r-pill);
  background: var(--cx-teal-wash);
  border: 1px solid color-mix(in srgb, var(--cx-teal) 30%, #fff);
  color: var(--cx-teal-deep);
  font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
  margin-top: 1px;
}

/* how it feels — three steps */
.cxf-how { padding-block: clamp(48px, 6vw, 84px); background: var(--paper); }
.cxf-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(28px, 3vw, 44px);
  counter-reset: step;
}
.cxf-step { position: relative; }
.cxf-step .n {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cx-teal-deep);
  font-variant-numeric: tabular-nums;
}
.cxf-step h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 10px 0 8px;
  color: var(--ink);
}
.cxf-step p { font-size: 15px; line-height: 1.55; color: var(--ink-60); }
.cxf-step::before {
  content: "";
  position: absolute;
  top: 7px; left: -20px;
  width: 3px; height: 0;
  border-radius: 3px;
  background: linear-gradient(var(--cx-teal), transparent);
}

/* other-features rail */
.cxf-more { padding-block: clamp(48px, 6vw, 84px); }
.cxf-more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: clamp(22px, 3vw, 36px);
}
.cxf-more-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px;
  border-radius: var(--r-mid);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.cxf-more-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--cx-teal) 40%, var(--line));
  box-shadow: var(--shadow-1);
}
.cxf-more-ic { font-size: 20px; }
.cxf-more-t { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.cxf-more-d { font-size: 12.5px; line-height: 1.45; color: var(--ink-40); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .cx-cov-grid { grid-template-columns: repeat(2, 1fr); }
  .cx-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cxf-hero-inner { grid-template-columns: 1fr; }
  .cxf-more-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cx-carousel-arrow { display: none; }
  .cx-carousel .cx-card { flex-basis: 82%; }
}
@media (max-width: 720px) {
  .cx-compare-row { grid-template-columns: 1fr; gap: 6px; }
  .cx-compare-row--h { display: none; }
  .cx-them::before { content: "Usually: "; color: var(--ink-40); font-weight: 600; }
  .cxf-caps-grid { grid-template-columns: 1fr; }
  .cxf-how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cx-dir { grid-template-columns: 1fr; }
  .cx-cov-grid { grid-template-columns: 1fr; }
  .cx-trust-grid { grid-template-columns: 1fr; }
  .cxf-more-grid { grid-template-columns: 1fr; }
  .cx-cov { padding: clamp(20px, 5vw, 28px); }
  .cx-cta { padding-block: clamp(48px, 10vw, 72px); }
  .cxf-hero, .cx-lhero { padding-top: clamp(96px, 24vw, 128px); }
  .cxf-stage { min-height: 220px; }
}
@media (max-width: 460px) {
  .cx-viewtoggle { transform: translateX(-50%) scale(0.94); }
  .cx-trust-item b { font-size: 14px; }
}

/* ============================================================
   FAQ (cx-faq) — comms-specific question band, sits before the
   closing CTA. Native <details>; teal accent from the .cx tokens.
   ============================================================ */
.cx-faq {
  padding: clamp(56px, 7vw, 96px) 0;
  background:
    radial-gradient(80% 120% at 100% 0%, var(--cx-teal-wash), transparent 60%),
    #f4f6fc;
}
.cx-faq .cx-faq-wrap { max-width: 840px; }
.cx-faq .cx-faq-head { text-align: center; margin-bottom: clamp(28px, 3.6vw, 44px); }
.cx-faq .cx-faq-head .eyebrow { color: var(--cx-teal-deep); }
.cx-faq .cx-faq-head h2 { margin: 12px 0 0; }
.cx-faq .cx-faq-head .lead { margin: 14px auto 0; max-width: 54ch; }

.cx-faq .cx-faq-list { display: grid; gap: 12px; }
.cx-faq .cx-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 38px -30px rgba(40, 52, 74, 0.5);
  transition: border-color .25s, box-shadow .25s;
}
.cx-faq .cx-faq-item[open] {
  border-color: color-mix(in srgb, var(--cx-teal) 50%, var(--line));
}
.cx-faq .cx-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cx-faq .cx-faq-item summary::-webkit-details-marker { display: none; }
.cx-faq .cx-faq-item .cx-faq-q { flex: 1; }
.cx-faq .cx-faq-item summary i {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .3s ease, background .25s, border-color .25s;
}
.cx-faq .cx-faq-item summary i::before,
.cx-faq .cx-faq-item summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--cx-teal-deep);
  transform: translate(-50%, -50%);
  transition: transform .3s ease, background .25s;
}
.cx-faq .cx-faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.cx-faq .cx-faq-item[open] summary i {
  transform: rotate(180deg);
  background: var(--cx-teal-deep);
  border-color: var(--cx-teal-deep);
}
.cx-faq .cx-faq-item[open] summary i::before,
.cx-faq .cx-faq-item[open] summary i::after { background: #fff; }
.cx-faq .cx-faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.cx-faq .cx-faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-60);
}
.cx-faq .cx-faq-ask {
  margin: clamp(26px, 3.2vw, 38px) 0 0;
  text-align: center;
  color: var(--ink-60);
  font-size: 15px;
}
.cx-faq .cx-faq-ask a { color: var(--cx-teal-deep); font-weight: 600; text-decoration: none; }
.cx-faq .cx-faq-ask a:hover { text-decoration: underline; }

/* reduced motion — kill the reveal transforms globally on this surface */
@media (prefers-reduced-motion: reduce), (max-width: 700px) {
  .cx *, .cxf * { animation: none !important; transition: none !important; }
}

/* ============================================================
   Alternating layout — a flipped two-column section reverses
   its columns (copy → right, demo → left) while keeping each
   column's intended width and text direction. Used to zigzag
   the feature sections down the page. Collapses cleanly to one
   column at the mobile breakpoints (rtl is a no-op there).
   ============================================================ */
.cx-flip { direction: rtl; }
.cx-flip > * { direction: ltr; }
