/* The hero demo is one audio panel; the testimonial player remains unchanged. */
.hero .hero-visual {
  display: flex;
  flex-direction: column;
  padding: 0;
  max-width: 540px;
  overflow: hidden;
  border: 1px solid #213d60;
  border-radius: 24px;
  background: #183451;
  box-shadow: 0 24px 55px -18px #18345155, 0 3px 8px #18345112;
}
.hero-visual .call-options {
  flex: none;
  gap: 4px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #ffffff18;
  border-radius: 0;
  background: #142d49;
}
.hero-visual .call-options button {
  padding: 8px 10px;
  border-radius: 9px;
  color: #c7d7e7;
  font-size: 12px;
}
.hero-visual .call-options button[aria-pressed="true"] {
  color: #fff;
  background: #ffffff12;
  box-shadow: inset 0 0 0 1px #ffffff24;
}
.hero-visual .call-options button[aria-pressed="true"]::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #f5c65a;
  vertical-align: 1px;
}
.hero-visual .call-recording {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #f7f9fc;
  box-shadow: none;
}
.hero-visual .call-card-header {
  flex: none;
  padding: 12px 20px;
  border-bottom: 0;
  background: linear-gradient(115deg, #183451, #234b6e);
}
.hero-visual .angel-avatar {
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff55;
  border-radius: 12px;
  background: #f5f8ff;
  box-shadow: 0 0 0 4px #ffffff07;
}
.hero-visual .angel-avatar img { width: 32px; }
.hero-visual .call-identity { gap: 11px; }
.hero-visual .call-identity strong { color: #fff; font-size: 15px; }
.hero-visual .call-identity span:not(.angel-avatar) { color: #c4d7e7; font-size: 11px; }
.hero-visual .recording-badge { display: flex; align-items: center; gap: 10px; }
.hero-visual .live-status { color: #dbe7f2; background: #ffffff09; border: 1px solid #ffffff20; font-size: 10px; padding: 4px 8px; }
.audio-signal { display: flex; align-items: center; gap: 3px; height: 20px; color: #f5c65a; }
.audio-signal i { width: 3px; height: 6px; border-radius: 2px; background: currentColor; }
.audio-signal i:nth-child(2),.audio-signal i:nth-child(4) { height: 12px; }
.audio-signal i:nth-child(3) { height: 18px; }
.call-recording:has(.call-play.is-playing) .audio-signal i { animation: angel-audio-bars .8s ease-in-out infinite alternate; }
.audio-signal i:nth-child(2) { animation-delay: -.2s !important; }
.audio-signal i:nth-child(3) { animation-delay: -.5s !important; }
.audio-signal i:nth-child(4) { animation-delay: -.35s !important; }
@keyframes angel-audio-bars { to { transform: scaleY(.4); } }
.hero-visual .audio-player { flex: none; padding: 12px 20px 8px; background: #fff; }
.hero-visual .call-play { width: 44px; height: 44px; background: #f5bf3f; box-shadow: 0 0 0 5px #f5bf3f18; }
.hero-visual .call-play:hover { background: #ffd06a; }
.hero-visual .audio-progress-label { font-size: 11px; color: #526780; }
.hero-visual .audio-progress-label strong { font-size: 12px; color: #233f60; }
.hero-visual .call-seek { height: 23px; margin-top: 2px; }
.hero-visual .call-chapters { flex: none; grid-template-columns: 1fr 1.35fr 1fr; gap: 4px; margin: 0; padding: 5px 16px 10px; border-radius: 0; background: #fff; border-bottom: 1px solid #e3e9f0; }
.hero-visual .call-chapters button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 5px 4px; border-radius: 8px; font-size: 10px; color: #53657b; background: #f3f6f9; }
.hero-visual .call-chapters button span { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: none; margin: 0; border-radius: 5px; background: #e4ebf3; font-size: 9px; letter-spacing: 0; opacity: 1; }
.hero-visual .call-chapters button[aria-current] { color: #173d63; background: #e9f1fa; box-shadow: inset 0 0 0 1px #c5d7ec; }
.hero-visual .call-chapters button[aria-current] span { background: #254f7a; color: #fff; }
.hero-visual .transcript-toolbar { flex: none; padding: 6px 19px 5px; color: #596f87; font-size: 10px; background: #f7f9fc; }
.hero-visual .transcript-follow { font-size: 10px; padding: 4px 0; text-decoration: none; }
.hero-visual .transcript-follow[aria-pressed="true"]::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #38765c; vertical-align: 1px; }
.hero-visual .call-transcript { height: 252px; padding: 3px 16px 14px; border-bottom: 0; background: #f7f9fc; scrollbar-color: #c3cfdd transparent; }
.hero-visual .transcript-line { width: 94%; margin-bottom: 10px; padding: 11px 13px; border: 1px solid #dbe5ef; border-radius: 4px 14px 14px; background: #fff; box-shadow: 0 2px 4px #23456305; }
.hero-visual .transcript-meta { margin-bottom: 5px; font-size: 10px; }
.hero-visual .transcript-meta strong { letter-spacing: .055em; }
.hero-visual .transcript-meta time { font-size: 10px; }
.hero-visual .transcript-words { font-size: 13px; line-height: 1.6; }
.hero-visual .speaker-angel { color: #234967; background: #edf4fc; border-color: #d7e4f2; }
.hero-visual .speaker-customer,.hero-visual .speaker-technician { width: 85%; margin-left: auto; border-radius: 14px 4px 14px 14px; }
.hero-visual .speaker-technician { background: #edf6f2; border-color: #cfe4db; }
.hero-visual .speaker-narrator { width: 100%; background: #fff9ea; border-color: #ebdfbd; border-radius: 10px; }
.hero-visual .transcript-line.is-active { border-color: #799fc5; box-shadow: 0 0 0 1px #799fc51a, 0 3px 9px #20477008; background: #eaf2fc; }
.hero-visual .speaker-customer.is-active { background: #fff; border-color: #8ea4be; }
.hero-visual .speaker-narrator.is-active { background: #fff3d2; border-color: #d7b663; }
.hero-visual .speaker-technician.is-active { background: #e4f2eb; border-color: #7caa94; }
.hero-visual .spoken-word.is-speaking { background: #f5bf3f; color: #183451; box-shadow: 0 0 0 2px #f5bf3f; }
.hero-visual .recording-outcome { flex: none; gap: 9px; margin: 0; padding: 9px 18px 6px; border: 0; border-top: 1px solid #e5eaf0; border-radius: 0; background: #fff; }
.hero-visual .recording-outcome .status-icon { width: 27px; height: 27px; border-radius: 8px; background: #e8f3ed; color: #2e7051; }
.hero-visual .recording-outcome strong { color: #254360; font-size: 11px; }
.hero-visual .recording-outcome div>span { color: #5c7085; font-size: 10px; margin-top: 1px; }
.hero-visual .recording-note { flex: none; margin: 0; padding: 3px 12px 9px; font-size: 9px; background: #fff; color: #5d6e80; }

/* Fit the actual desktop browser viewport, without shrinking the entire page. */
@media (min-width: 901px) {
  .hero { min-height: 0; padding: 28px 0 32px; }
  .hero .hero-grid { grid-template-columns: minmax(0,1.06fr) minmax(410px,.94fr); align-items: center; gap: clamp(32px,4vw,64px); }
  .hero .hero-copy { padding: 0; }
  .hero-copy .eyebrow { margin-bottom: 17px; font-size: 11px; letter-spacing: .09em; }
  .hero .hero-copy h1 { font-size: clamp(44px,min(4.3vw,8.1svh),66px); line-height: 1.045; margin-bottom: 19px; }
  .hero .hero-lede { font-size: 16px; line-height: 1.65; margin-bottom: 23px; max-width: 570px; }
  .hero .hero-action-row { gap: 10px; }
  .hero .hero-action-row .button { min-height: 52px; padding: 14px 23px; }
  .hero .trial-note { max-width: 445px; font-size: 11px; line-height: 1.6; }
  .hero .trust-list { margin-top: 22px; padding-top: 17px; gap: 7px 14px; }
  .hero .trust-list li { font-size: 12px; }
  .hero .hero-visual { height: clamp(504px,calc(100svh - 144px),620px); }
  .hero-visual .call-transcript { flex: 1 1 auto; height: auto; min-height: 0; }
}
@media (min-width:901px) and (max-height:680px) {
  .hero { padding-top: 20px; padding-bottom: 22px; }
  .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero .hero-copy h1 { margin-bottom: 15px; }
  .hero .hero-lede { line-height: 1.55; margin-bottom: 18px; }
  .hero .trust-list { margin-top: 17px; padding-top: 13px; }
}
@media (min-width:901px) and (max-width:1100px) {
  .hero .hero-grid { grid-template-columns: minmax(0,1fr) minmax(390px,1fr); gap: 30px; }
  .hero .hero-copy h1 { font-size: clamp(42px,4.7vw,50px); }
  .hero .hero-lede { font-size: 15px; }
  .hero .trust-list { gap: 6px 8px; }
  .hero .trust-list li { font-size: 11px; }
}
@media (max-width:600px) {
  .hero .hero-visual { border-radius: 20px; }
  .hero-visual .call-options { padding: 8px; }
  .hero-visual .call-options button { font-size: 10px; padding: 8px 4px; }
  .hero-visual .call-card-header { padding: 12px 14px; }
  .hero-visual .call-identity { gap: 8px; }
  .hero-visual .call-identity span:not(.angel-avatar) { font-size: 10px; }
  .hero-visual .recording-badge { gap: 6px; }
  .hero-visual .live-status { font-size: 9px; padding: 4px 6px; }
  .hero-visual .audio-signal { display: none; }
  .hero-visual .audio-player { padding: 14px 15px 8px; }
  .hero-visual .call-chapters { padding: 5px 10px 10px; gap: 3px; }
  .hero-visual .call-chapters button { flex-direction: column; gap: 3px; padding: 6px 2px; font-size: 9px; white-space: normal; }
  .hero-visual .transcript-toolbar { padding: 7px 13px 5px; }
  .hero-visual .call-transcript { height: 265px; padding-right: 11px; padding-left: 11px; }
  .hero-visual .transcript-line { width: 97%; padding: 11px; }
  .hero-visual .speaker-customer,.hero-visual .speaker-technician { width: 89%; }
  .hero-visual .recording-outcome { padding-right: 13px; padding-left: 13px; }
}
@media (prefers-reduced-motion:reduce) {
  .call-recording:has(.call-play.is-playing) .audio-signal i { animation: none; }
}
/* Native audio and both transcripts remain readable when scripting is unavailable. */
html:not(.nav-enhanced) .hero .hero-visual { height: auto; }
html:not(.nav-enhanced) .hero-visual .call-transcript { flex: none; height: 252px; }
