/* R15: the warm yellow wipe and its text arrive together. */
.r15-home .r14-reveal-heading { min-width: 0; }
.r15-home .r14-heading-text { position: relative; z-index: 1; min-width: 0; }
.r15-home .r14-reveal-heading::after {
  z-index: 0;
  background: linear-gradient(105deg, #f8e548 0%, #d0a64b 48%, #fff6b7 100%);
}
.r15-home .r12-dark .r14-reveal-heading::after,
.r15-home .r14-hero-benefits .r14-reveal-heading::after { opacity: .5; }
.r15-home.r14-motion-ready .r14-reveal-heading[data-wipe-state='waiting'] .r14-heading-text,
.r15-home.r14-motion-ready .r14-reveal-heading[data-wipe-state='running'] .r14-heading-text {
  opacity: 0;
  transform: translateY(6px);
}
.r15-home.r14-motion-ready .r14-reveal-heading[data-wipe-state='running']::after {
  animation: r15-bar-pass 650ms cubic-bezier(.7, 0, .2, 1) both;
}
.r15-home.r14-motion-ready .r14-reveal-heading[data-wipe-state='running'] .r14-heading-text {
  animation: r15-heading-arrive 500ms cubic-bezier(.2, .7, .2, 1) 60ms both;
}
@keyframes r15-bar-pass {
  0% { transform: scaleX(0); transform-origin: left center; }
  38% { transform: scaleX(1); transform-origin: left center; }
  39% { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0); transform-origin: right center; }
}
@keyframes r15-heading-arrive {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Desktop uses the measured size; without JS it keeps a readable 32px basis. */
@media (min-width: 1000px) {
  .r15-home .r12-heading h2,
  .r15-home #samples-heading {
    min-width: 0;
    font-size: var(--r15-heading-size, 32px);
    white-space: nowrap;
    text-wrap: nowrap;
    line-height: 1.38;
  }
}
@media (max-width: 999px) {
  .r15-home .r12-heading h2,
  .r15-home #samples-heading {
    min-width: 0;
    font-size: 28px;
    line-height: 1.45;
    white-space: normal;
    text-wrap: wrap;
    word-break: normal;
    overflow-wrap: normal;
  }
}
@media (max-width: 359px) {
  .r15-home .r12-heading h2,
  .r15-home #samples-heading { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .r15-home .r14-heading-text { animation: none !important; opacity: 1 !important; transform: none !important; }
  .r15-home .r14-reveal-heading::after { display: none; animation: none !important; }
}
