/* Talk to Ivey call card (2026-11-09 v10). Frosted glass like the hero's "Ideal for" chip.
   Fixed size in every state; only the slot under the mark slides between the button and timer + hang-up. */
#top { position: relative; }
.vc-card { position: absolute; z-index: 5; right: max(4vw, calc((100vw - 1240px) / 2 + 20px)); width: 176px;
  padding: 12px 12px 11px; border-radius: 16px; text-align: center; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 20px 50px rgba(0,0,0,.22); font-family: var(--font, 'Instrument Sans', system-ui, sans-serif); }
.vc-mark { display: block; width: 48px; height: 48px; margin: 2px auto 9px; border-radius: 13px; transition: transform .08s linear;
  box-shadow: 0 8px 22px rgba(29,64,176,.28); }

.vc-slot { position: relative; height: 32px; overflow: hidden; }
.vc-call, .vc-live { position: absolute; transition: transform .45s cubic-bezier(.22,.68,.28,1), opacity .35s ease; }
.vc-call { left: 50%; top: 1px; translate: -50% 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; padding: 0 12px; height: 30px;
  border-radius: 6px; cursor: pointer; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34); color: #fff;
  font: 600 12.5px var(--font, sans-serif); text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.vc-call:hover { background: rgba(255,255,255,.26); }
.vc-live { inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; transform: translateY(110%); opacity: 0; pointer-events: none; }
.vc-card[data-mode="connecting"] .vc-call, .vc-card[data-mode="live"] .vc-call { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.vc-card[data-mode="connecting"] .vc-live, .vc-card[data-mode="live"] .vc-live { transform: none; opacity: 1; pointer-events: auto; }
.vc-time { min-width: 34px; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.vc-card[data-mode="connecting"] .vc-time { animation: vcBlink 1.2s ease-in-out infinite; }
@keyframes vcBlink { 50% { opacity: .45; } }
.vc-end { width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: #e5484d; box-shadow: 0 4px 12px rgba(229,72,77,.4); }
.vc-end:hover { background: #d63c41; }

/* Microphone permission sheet */
.vc-ask { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px;
  background: rgba(16,20,28,.42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; font-family: var(--font, 'Instrument Sans', system-ui, sans-serif); }
.vc-ask.show { opacity: 1; pointer-events: auto; }
.vc-ask-box { position: relative; width: 100%; max-width: 360px; padding: 28px 24px 18px; border-radius: 20px; background: #fff; text-align: center;
  box-shadow: 0 30px 80px rgba(16,20,28,.3); transform: translateY(10px) scale(.97); transition: transform .3s cubic-bezier(.22,.68,.28,1); }
.vc-ask.show .vc-ask-box { transform: none; }
.vc-ask-x { position: absolute; top: 12px; right: 14px; width: 30px; height: 30px; border: 0; background: none; font-size: 24px; line-height: 1; color: #8a9099; cursor: pointer; border-radius: 8px; }
.vc-ask-x:hover { background: #f4f5f7; color: #1f2329; }
.vc-ask-ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #3953ab; background: #eef2fd; }
.vc-ask h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; color: #1f2329; letter-spacing: -.01em; }
.vc-ask p { margin: 0 0 20px; font-size: 14px; line-height: 1.55; color: #59606b; }
.vc-ask-yes { width: 100%; height: 46px; border: 0; border-radius: 999px; background: #1f2329; color: #fff; font: 600 15px var(--font, sans-serif); cursor: pointer; }
.vc-ask-yes:hover { background: #000; }
.vc-ask-no { margin-top: 8px; width: 100%; height: 40px; border: 0; background: none; color: #59606b; font: 500 14px var(--font, sans-serif); cursor: pointer; border-radius: 999px; }
.vc-ask-no:hover { color: #1f2329; background: #f4f5f7; }

@media (prefers-reduced-motion: reduce) { .vc-call, .vc-live { transition: opacity .2s ease; } }
/* phones: in the copy column under the badges, with space above (Teo 2026-11-10) */
.vc-card.vc-under { position: relative; top: auto !important; right: auto; width: 150px; margin: 30px auto 0; }
@media (max-width: 979px) { #top .hero-copy { position: relative; top: -48px; } /* lifts the copy block (Teo 2026-11-10) */ }
.vc-mark { border-radius: 0; box-shadow: none; filter: drop-shadow(0 8px 18px rgba(29,64,176,.28)); }

/* load-in like the rest of the hero: copy slides from the left, the card from the right (site heroRight keyframes) */
.vc-card { animation: heroRight .9s var(--ease-spring, cubic-bezier(.22,.68,.28,1)) 0s both; }
@media (prefers-reduced-motion: reduce) { .vc-card { animation: none; } }
/* phones: smaller card, sitting lower under the badges (Teo 2026-11-12) */
/* only when there is no room on the side (voice.js sets .vc-under, Teo 2026-11-12) */
.vc-card.vc-under { width: 122px; margin-top: 64px; translate: 0 70px; padding: 9px 9px 8px; border-radius: 13px; }
.vc-under .vc-mark { width: 34px; height: 34px; margin: 1px auto 7px; }
.vc-under .vc-slot { height: 28px; }
.vc-under .vc-call { height: 26px; padding: 0 9px; font-size: 11.5px; }
.vc-under .vc-end { width: 26px; height: 26px; }
.vc-under .vc-time { font-size: 12px; }
