/* AI voice on WhatsApp (owner, 6 Nov 2026): a WhatsApp call screen (.vc) and a voice-note chat (.vchat),
   played by voice.js. Sized in em from the stage height, so the same drawing fits a card, a section or a hero. */

/* ---------- Stage ---------- */
.vx { position: absolute; inset: 0; display: grid; place-items: center; padding: 6% 8%; overflow: hidden; container-type: size;
  background: radial-gradient(90% 70% at 50% 30%, color-mix(in srgb, var(--cyan) 18%, transparent), transparent 70%),
    linear-gradient(160deg, #eaf6f2, #dff1ef); }
.vx--dark { background: radial-gradient(80% 60% at 50% 35%, color-mix(in srgb, var(--neon) 16%, transparent), transparent 70%), var(--coach); }
.vx-frame { position: relative; aspect-ratio: 4 / 4.6; border-radius: 24px; overflow: hidden; }
.vc, .vchat { height: 100%; max-width: 100%; aspect-ratio: .56; font-size: clamp(9px, 3.05cqh, 15px); line-height: 1.35;
  border-radius: 1.9em; overflow: hidden; box-shadow: 0 1.6em 3.4em rgb(2 23 20 / .28), 0 0 0 1px rgb(2 23 20 / .08); transition: opacity .45s ease; }
.vx.is-fading .vc, .vx.is-fading .vchat { opacity: 0; }

/* ---------- Call screen ---------- */
.vc { position: relative; display: flex; flex-direction: column; align-items: center; padding: 1.5em 1.1em 1.2em; color: #fff;
  background: radial-gradient(120% 60% at 50% 0%, #0f6e62 0%, #064a42 42%, #032824 75%, #021714 100%); }
.vc__top { display: flex; align-items: center; gap: .45em; margin: 0; font-size: .74em; letter-spacing: .02em; color: rgb(255 255 255 / .72); }
.vc__top svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.vc__who { display: grid; justify-items: center; gap: .25em; margin-top: 1.2em; text-align: center; }
.vc__ava { position: relative; display: grid; place-items: center; width: 4.6em; height: 4.6em; border-radius: 50%; background: var(--grad);
  font: 900 1.7em/1 var(--serif); box-shadow: 0 0 0 .18em rgb(255 255 255 / .14); }
.vc__ava i { font-style: normal; font-size: .62em; }
.vc__ava::before, .vc__ava::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: .08em solid var(--neon); opacity: 0; }
.vx[data-talk] .vc__ava::before, .vx.is-ringing .vc__ava::before { animation: vc-ring 1.8s ease-out infinite; }
.vx[data-talk] .vc__ava::after, .vx.is-ringing .vc__ava::after { animation: vc-ring 1.8s ease-out .9s infinite; }
@keyframes vc-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.75); opacity: 0; } }
.vc__who b { margin-top: .5em; font-size: 1.12em; font-weight: 700; }
.vc__time { font-size: .8em; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / .72); }

.vc__wave { display: flex; align-items: center; justify-content: center; gap: .2em; height: 3.2em; margin: 1em 0 .6em; }
.vc__wave i { display: block; width: .24em; height: 100%; border-radius: .2em; background: rgb(255 255 255 / .34); transform: scaleY(.12); transform-origin: center;
  transition: background .3s ease; }
.vx[data-talk="in"] .vc__wave i { background: #fff; animation: vc-bar .9s ease-in-out calc(var(--i) * -0.07s) infinite alternate; }
.vx[data-talk="out"] .vc__wave i { background: var(--neon); animation: vc-bar .8s ease-in-out calc(var(--i) * -0.09s) infinite alternate; }
@keyframes vc-bar { 0% { transform: scaleY(.12); } 35% { transform: scaleY(var(--h, .6)); } 70% { transform: scaleY(.3); } 100% { transform: scaleY(calc(var(--h, .6) * .8)); } }

.vc__caps { display: flex; flex-direction: column; justify-content: flex-end; gap: .45em; width: 100%; flex: 1; min-height: 0; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.vc__cap { display: none; max-width: 92%; padding: .55em .75em; border-radius: .9em; font-size: .86em; background: rgb(255 255 255 / .1); }
.vc__cap small { display: block; margin-bottom: .15em; font-size: .78em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgb(255 255 255 / .6); }
.vc__cap--out { align-self: flex-end; background: color-mix(in srgb, var(--neon) 20%, transparent); }
.vc__cap--out small { color: var(--neon); }
.vc__cap.is-shown { display: block; animation: vx-in .45s var(--ex) both; }
.vc__cap.is-old { opacity: .45; }
.vc__cap.is-gone { display: none; }
.vx.is-done .vc__caps > .vc__cap:nth-last-child(n+3) { display: none; }
@keyframes vx-in { from { opacity: 0; transform: translateY(.7em); } to { opacity: 1; transform: none; } }

.vc__done { display: none; margin: .7em 0 0; padding: .45em .8em; border-radius: 99em; font-size: .74em; font-weight: 700; letter-spacing: .02em; text-align: center;
  color: var(--coach); background: var(--neon); }
.vc__done.is-shown { display: block; animation: vx-in .45s var(--ex) both; }
.vc__ctl { display: flex; justify-content: center; gap: 1.1em; margin-top: .9em; }
.vc__btn { display: grid; place-items: center; width: 2.7em; height: 2.7em; border-radius: 50%; background: rgb(255 255 255 / .14); }
.vc__btn svg { width: 1.2em; height: 1.2em; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vc__btn--end { background: #ef4444; }
.vc__btn--end svg { fill: #fff; stroke: none; transform: rotate(135deg); }

/* ---------- Voice-note chat ---------- */
.vchat { display: flex; flex-direction: column; background: #efeae2; color: #111b21; }
.vchat__head { display: flex; align-items: center; gap: .6em; padding: .9em 1em; color: #fff; background: #075e54; }
.vchat__head > i { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--grad); font-style: normal; font-weight: 800; }
.vchat__head b { display: block; font-size: .95em; }
.vchat__head small { display: block; font-size: .74em; color: rgb(255 255 255 / .78); }
.vchat__day { align-self: center; margin: 0 0 auto; padding: .3em .7em; border-radius: .6em; font-size: .68em; color: #54656f; background: #fff; box-shadow: 0 .06em .12em rgb(0 0 0 / .08); }
.vchat__body { display: flex; flex-direction: column; justify-content: flex-end; gap: .6em; flex: 1; min-height: 0; padding: .9em .8em; overflow: hidden; }
.vn { display: none; position: relative; max-width: 86%; padding: .6em .7em .5em; border-radius: .9em; background: #fff; box-shadow: 0 .08em .15em rgb(0 0 0 / .08); }
.vn--out { align-self: flex-end; background: #d9fdd3; }
.vn.is-shown { display: block; animation: vx-in .45s var(--ex) both; }
.vn__row { display: flex; align-items: center; gap: .55em; }
.vn__play { flex: none; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: #00a884; }
.vn__play::before { content: ""; margin-inline-start: .15em; border-style: solid; border-width: .38em 0 .38em .6em; border-color: transparent transparent transparent #fff; }
.vn__wave { display: flex; align-items: center; gap: .14em; height: 1.8em; flex: 1; min-width: 0; overflow: hidden; }
.vn__wave i { display: block; flex: none; width: .2em; height: calc(var(--h, .5) * 100%); min-height: 12%; border-radius: .2em; background: #aebac1; }
.vn.is-shown .vn__wave i { animation: vn-play .01s linear calc(var(--i) * .07s + .2s) both; }
.vn--out.is-shown .vn__wave i { animation-name: vn-play-out; }
@keyframes vn-play { to { background: #00a884; } }
@keyframes vn-play-out { to { background: #128c7e; } }
.vn__len { flex: none; font-size: .7em; color: #667781; font-variant-numeric: tabular-nums; }
.vn__tx { margin: .45em 0 0; font-size: .8em; font-style: italic; color: #3b4a54; }
.vn__tx::before { content: "“"; } .vn__tx::after { content: "”"; }
.vchat__chip { display: none; align-self: center; margin: .2em 0 0; padding: .4em .8em; border-radius: 99em; font-size: .72em; font-weight: 700; color: #0b6e4f; background: #d8f6e6; }
.vchat__chip.is-shown { display: block; animation: vx-in .45s var(--ex) both; }

/* ---------- Section band (home, AI Customer Operations) ---------- */
.vxs { position: relative; padding: 120px 0; color: var(--on-dark); background: var(--coach); overflow: hidden; }
.vxs::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--neon) 22%, transparent), transparent); pointer-events: none; }
.vxs__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.vxs__k { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 18px; padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--coach); background: var(--neon); }
.vxs__k i { width: 8px; height: 8px; border-radius: 50%; background: var(--coach); animation: vxs-dot 1.4s ease-in-out infinite; }
@keyframes vxs-dot { 50% { opacity: .25; } }
.vxs__h { margin: 0; font: 900 clamp(36px, 4.6vw, 60px)/1.02 var(--serif); letter-spacing: -0.025em; color: var(--on-dark); text-wrap: balance; }
.vxs__h em { font-style: normal; background: linear-gradient(90deg, var(--neon), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vxs__lead { max-width: 34em; margin: 22px 0 0; font-size: 18px; line-height: 1.55; color: var(--on-dark-soft); }
.vxs__list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.vxs__list li { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.vxs__list .vxs__ic { grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--neon); background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.vxs__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.vxs__list b { font-size: 16px; color: var(--on-dark); }
.vxs__list span { font-size: 14.5px; line-height: 1.5; color: var(--on-dark-soft); }
.vxs__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 38px; }
.vxs__ctas .u-link { color: var(--on-dark); }
.vxs__note { margin: 22px 0 0; font-size: 13px; color: color-mix(in srgb, var(--on-dark) 55%, transparent); }
.vxs__stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vxs__stage .vx-frame { aspect-ratio: 3 / 5.1; border-radius: 22px; }
.vxs__stage .vx-frame:nth-child(2) { margin-top: 64px; }
.vxs__stage .vx { padding: 46px 6% 5%; }
.vxs__tag { position: absolute; z-index: 1; inset-block-start: 14px; inset-inline-start: 14px; padding: 5px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; color: var(--coach); background: rgb(255 255 255 / .9); }
@media (max-width: 900px) {
  .vxs { padding: 80px 0; }
  .vxs__in { grid-template-columns: 1fr; gap: 44px; }
  .vxs__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .vxs__stage { gap: 12px; }
  .vxs__stage .vx { padding-top: 34px; }
  .vxs__tag { inset-block-start: 8px; inset-inline-start: 8px; padding: 3px 8px; font-size: 10px; }
  .vxs__stage .vx-frame:nth-child(2) { margin-top: 36px; }
}

/* ---------- Service page hero and demo ---------- */
.ip-shot--vx { aspect-ratio: 4 / 4.6; background: none; }
.vxd { padding: 0 0 110px; }
.vxd__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.vxd__in .vx-frame { max-width: 440px; }
.vxd__p { max-width: 32em; margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--body); }
@media (max-width: 900px) { .vxd { padding-bottom: 80px; } .vxd__in { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Industry band ---------- */
.vxb { padding: 0 0 100px; }
.vxb__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 44px; align-items: center; padding: 40px; border-radius: 24px; color: var(--on-dark); background: var(--coach); }
.vxb__box .vxs__k { margin-bottom: 14px; }
.vxb__h { margin: 0; font: 900 clamp(26px, 3vw, 38px)/1.08 var(--serif); letter-spacing: -0.02em; color: var(--on-dark); }
.vxb__p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--on-dark-soft); }
.vxb__box .u-link { margin-top: 18px; color: var(--on-dark); }
.vxb__note { font-size: 15px; }
.vxb__note .vn { display: block; max-width: 360px; }
.vxb__note .vn + .vn { margin-top: 10px; margin-inline-start: auto; max-width: 80%; }
.vxb__note .vn .vn__wave i { background: #00a884; }
.vxb__note .vn--out .vn__wave i { background: #128c7e; }
@media (max-width: 900px) { .vxb { padding-bottom: 70px; } .vxb__box { grid-template-columns: 1fr; padding: 26px; gap: 26px; } }

@media (prefers-reduced-motion: reduce) {
  .vx *, .vx *::before, .vx *::after, .vxs__k i { animation: none !important; }
  .vc__wave i { transform: scaleY(var(--h, .5)); }
}

/* ---------- Hero call-outs (V3.7.1): the "New" badge above a headline and the floating incoming-call card ---------- */
.vx-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 8px 16px 8px 12px; border-radius: 99px; font-size: 14px; font-weight: 700;
  color: #fff; background: var(--coach); text-decoration: none; box-shadow: 0 10px 24px rgb(2 23 20 / .18); transition: transform .4s var(--ex), box-shadow .4s var(--ex); }
.vx-pill i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--neon); }
.vx-pill i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--neon); animation: vc-ring 1.6s ease-out infinite; }
.vx-pill svg { width: 15px; height: 15px; fill: none; stroke: var(--neon); stroke-width: 2.4; }
.vx-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgb(2 23 20 / .24); }
.vx-pill--sm { margin: 0 0 14px; padding: 6px 12px 6px 10px; font-size: 12.5px; }
.vx-float { position: absolute; z-index: 3; inset-block-end: 6%; inset-inline-end: 5%; display: flex; align-items: center; gap: 12px; max-width: 86%; padding: 12px 18px 12px 12px;
  border-radius: 20px; color: #fff; text-decoration: none; background: linear-gradient(135deg, #0d6458, #032824 70%);
  box-shadow: 0 20px 44px rgb(2 23 20 / .38), inset 0 0 0 1px rgb(255 255 255 / .1); animation: vxf-in .9s var(--ex) 1s both, vxf-bob 3.4s ease-in-out 2s infinite; }
.vx-float__ic { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--coach); background: var(--neon); }
.vx-float__ic::before, .vx-float__ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--neon); animation: vc-ring 1.8s ease-out infinite; }
.vx-float__ic::after { animation-delay: .9s; }
.vx-float__ic svg { width: 20px; height: 20px; fill: currentColor; }
.vx-float b { display: block; font-size: 14px; line-height: 1.25; }
.vx-float small { display: block; margin-top: 2px; font-size: 12px; color: rgb(255 255 255 / .74); }
.vx-float__wave { display: flex; align-items: center; gap: 2px; height: 22px; margin-inline-start: 4px; }
.vx-float__wave i { display: block; width: 3px; height: 100%; border-radius: 2px; background: var(--neon); transform: scaleY(.2);
  animation: vc-bar .8s ease-in-out calc(var(--i) * -0.11s) infinite alternate; }
@keyframes vxf-in { from { opacity: 0; transform: translateY(18px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes vxf-bob { 50% { transform: translateY(-6px); } }
@media (max-width: 640px) {
  .vx-pill { margin-top: 14px; font-size: 12.5px; }
  .vx-float { gap: 9px; padding: 9px 12px 9px 9px; border-radius: 16px; }
  .vx-float__ic { width: 34px; height: 34px; }
  .vx-float b { font-size: 12.5px; } .vx-float small { font-size: 11px; }
  .vx-float__wave { display: none; }
}
@media (prefers-reduced-motion: reduce) { .vx-pill i::after, .vx-float, .vx-float__ic::before, .vx-float__ic::after, .vx-float__wave i { animation: none !important; } }
