/* Homepage phone conversation. Remove its section and stylesheet to revert. */
.phone-cta { --phone-corner-radius: 25px; --phone-depth: 14px; background: var(--cream); overflow: hidden; overflow: clip; }
.homepage-v2 #main > .faq + .phone-cta { padding-block-start: 0; }
.phone-cta-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(50px, 7vw, 104px); }
.phone-cta-illustration { width: 100%; max-width: 365px; justify-self: center; min-width: 0; }
.phone-cta-copy { max-width: 540px; }
.phone-cta-copy h2 { color: var(--section-heading-color, var(--berry)); text-wrap: balance; }
.phone-cta-copy > p { max-width: 510px; }
/* Use the same backward tilt on desktop and mobile. */
.phone-cta .comparison-phone { transform: perspective(900px) rotateX(14deg); }
.phone-cta .comparison-thread { border-radius: var(--phone-corner-radius); }
/* Match the face's corner radius without stretching the base's silhouette. */
.phone-cta .comparison-phone::before {
  left: 1px;
  right: 1px;
  bottom: calc(0px - var(--phone-depth));
  height: calc(var(--phone-corner-radius) + var(--phone-depth) + 4px);
  border-radius: 0 0 calc(var(--phone-corner-radius) - 1px) calc(var(--phone-corner-radius) - 1px);
  -webkit-mask: none;
  mask: none;
}
.phone-cta .comparison-thread-heading { gap: 12px; padding: 15px 17px; font-size: 16px; }
.phone-cta .comparison-messages { padding: 18px; gap: 12px; }
.phone-cta .comparison-chat { gap: 12px; }
.phone-cta .comparison-messages dd { font-size: 15px; padding: 10px 13px; }
.phone-cta .comparison-thread::after { height: 36px; margin: 12px 16px 16px; }
/* Swing the outer illustration so the phone keeps its existing 3D tilt. */
@media (prefers-reduced-motion: no-preference) {
  .phone-swing-ready { opacity: 0; transform-origin: 110% 110%; }
  .phone-swing-ready.phone-swing-arrived { animation: phone-swing-in 1100ms cubic-bezier(.22,.75,.24,1) both; }
}
@keyframes phone-swing-in {
  0% { opacity: 0; transform: translate3d(-14%,26%,0) rotate(-22deg); }
  18% { opacity: 1; }
  76% { opacity: 1; transform: translate3d(1%,-1%,0) rotate(1.5deg); }
  100% { opacity: 1; transform: translate3d(0,0,0) rotate(0deg); }
}
@media (max-width: 800px) {
  .phone-cta-layout { grid-template-columns: 1fr; gap: 56px; }
  .phone-cta-copy { justify-self: center; text-align: center; }
  .phone-cta-copy > p { margin-inline: auto; }
}
@media (max-width: 380px) {
  .phone-cta .comparison-thread-heading { padding-inline: 12px; font-size: 14px; }
  .phone-cta .comparison-messages { padding: 13px; }
  .phone-cta .comparison-messages dd { font-size: 14px; padding: 9px 10px; }
}
