/* DOC-6656: homepage-only review refinements. */
.home-qa-intro.home-qa-intro {
  max-width: 880px; margin: 0 auto 48px; text-align: center;
  font-size: 24px; line-height: 1.4; color: var(--ds-ink-80); letter-spacing: -.02em;
}
.home-qa-intro.home-qa-intro br { display: block; }
.home-qa-ai.home-qa-ai .ds-section-heading { margin-bottom: 24px; }
.home-qa-ai.home-qa-ai .section-sub {
  max-width: 800px; margin: 0 auto 20px; padding: 0;
  font-size: 24px; line-height: 1.4;
}
.home-qa-ai.home-qa-ai .v2-chapter-link { display: block; width: fit-content; margin: 0 auto 32px; color: var(--ds-blue); font-size: 20px; text-decoration: none; }
.home-qa-ai.home-qa-ai .v2-chapter-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-qa-ai.home-qa-ai .ai-stage.ds-card { min-height: 0; padding: 28px 32px; }
.home-learning .rp-call { --rp-border: rgba(18, 23, 34, .065); min-height: 100%; background: var(--ds-white); color: var(--ds-ink); font: 400 16px/1.4 var(--ds-font); }
.home-learning .rp-call-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; border-bottom: 1px solid var(--rp-border); }
.home-learning .rp-call-header b { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 500; }
.home-learning .rp-call-header svg { width: 22px; height: 22px; color: #625afa; }
.home-learning .rp-call-status { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 11px; letter-spacing: .06em; color: var(--ds-ink-50); }
.home-learning .rp-call-status i, .home-learning .rp-call-end i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.home-learning .rp-call-end { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 7px; background: #fdf3f3; color: #c77777; font-size: 13px; }
.home-learning .rp-call-body { width: 880px; margin: 24px auto 0; }
.home-learning .rp-call-participants { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.home-learning .rp-call-person { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 270px; border: 1px solid var(--rp-border); border-radius: 12px; }
.home-learning .rp-call-person--you { background: radial-gradient(ellipse at 50% 40%, #2a2e3a, #1d202a); color: var(--ds-white); }
.home-learning .rp-call-avatar { display: block; width: 64px; height: 64px; margin-bottom: 13px; border-radius: 50%; object-fit: cover; }
.home-learning .rp-call-person b { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; }
.home-learning .rp-call-ai-label { background: #ededff; color: #625afa; font-size: 10px; line-height: 18px; padding: 0 4px; border-radius: 3px; }
.home-learning .rp-call-role { margin-top: 9px; font-size: 12px; color: var(--ds-ink-50); }
.home-learning .rp-call-wave { position: absolute; right: 18px; top: 18px; display: flex; align-items: center; justify-content: center; gap: 3px; width: 44px; height: 26px; border: 1px solid var(--rp-border); border-radius: 20px; }
.home-learning .rp-call-wave i { width: 3px; height: 12px; border-radius: 2px; background: #7974f5; animation: rp-call-speech 1.2s ease-in-out infinite paused; }
.home-learning .rp-call.is-talking .rp-call-wave i { animation-play-state: running; }
.home-learning .rp-call-wave i:nth-child(2) { animation-delay: -.35s; }
.home-learning .rp-call-wave i:nth-child(3) { animation-delay: -.8s; }
.home-learning .rp-call-wave i:nth-child(4) { animation-delay: -.15s; }
.home-learning .rp-call-wave i:nth-child(5) { animation-delay: -.6s; }
@keyframes rp-call-speech {
  0%, 100% { transform: scaleY(.55); }
  22% { transform: scaleY(.95); }
  45% { transform: scaleY(.4); }
  68% { transform: scaleY(1); }
  84% { transform: scaleY(.7); }
}
@media (prefers-reduced-motion: reduce) {
  .home-learning .rp-call .rp-call-wave i { animation: none; }
}
.home-learning .rp-call-wave i:nth-child(2), .home-learning .rp-call-wave i:nth-child(4) { height: 17px; }
.home-learning .rp-call-wave i:nth-child(3) { height: 20px; }
.home-learning .rp-call-time, .home-learning .rp-call-you { position: absolute; bottom: 16px; padding: 6px 10px; border-radius: 20px; background: #10131d; font-size: 11px; }
.home-learning .rp-call-time { left: 16px; min-width: 5ch; text-align: center; font-variant-numeric: tabular-nums; }
.home-learning .rp-call-you { right: 16px; background: #000; }
.home-learning .rp-call-goal { margin-top: 18px; padding: 15px 20px; border: 1px solid var(--rp-border); border-radius: 8px; }
.home-learning .rp-call-goal > span { display: block; margin-bottom: 8px; color: var(--ds-ink-50); font-size: 10px; letter-spacing: .065em; }
.home-learning .rp-call-goal p { font-size: 14px; }
@media (max-width: 900px) {
  .home-qa-intro.home-qa-intro, .home-qa-ai.home-qa-ai .section-sub { font-size: 20px; }
}
@media (max-width: 600px) {
  .home-qa-intro.home-qa-intro { margin-bottom: 32px; font-size: 18px; }
  .home-qa-intro.home-qa-intro br { display: none; }
  .home-qa-ai.home-qa-ai .ds-section-heading { margin-bottom: 20px; }
  .home-qa-ai.home-qa-ai .section-sub { font-size: 18px; margin-bottom: 16px; }
  .home-qa-ai.home-qa-ai .v2-chapter-link { margin-bottom: 24px; font-size: 17px; }
  .home-qa-ai.home-qa-ai .ai-stage.ds-card { padding: 16px; }
}
