/* Home page rhythm and the paper-wave transition. */
#main .section:not(.home-cta) { padding-block: 64px; }
#main .section.video-section { padding-top: 0; }
#main .hero-compact + #preview { padding-top: 28px; }
#main .section-heading { margin-bottom: 32px; }
#main .section-heading h2,
#main .split-heading h2,
#main .story-text > h3,
#main .video-copy h2,
#main .format h3 { margin-top: 0; }
#main .section-heading p { margin-top: 18px; }
#main .split-heading { margin-bottom: 30px; }
#main .prompt-example { margin-top: 32px; }
#main .home-cta { margin-block: 48px; }
.hero.hero-compact { padding-bottom: 66px; }
.hero-compact .hero-glow {
  mask-image: linear-gradient(#000 55%, transparent 100%);
}
.hero-transition {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  left: -10%;
  bottom: -1px;
  width: 120%;
  height: 116px;
  overflow: hidden;
}
.hero-transition svg { display: block; width: 100%; height: 100%; }
.hero-transition .wave-back {
  animation: genspark-wave-back 14s ease-in-out infinite alternate;
  transform-origin: 50% 100%;
}
.hero-transition .wave-front {
  animation: genspark-wave-front 11s ease-in-out infinite alternate;
  transform-origin: 50% 100%;
}
@keyframes genspark-wave-back {
  from { transform: translateX(-24px) scaleY(.9); }
  to { transform: translateX(30px) scaleY(1.08); }
}
@keyframes genspark-wave-front {
  from { transform: translateX(20px) scaleY(1); }
  to { transform: translateX(-30px) scaleY(.88); }
}
@media (max-width: 1000px) {
  #main .section:not(.home-cta) { padding-block: 52px; }
  #main .section.video-section { padding-top: 0; }
  #main .hero-compact + #preview { padding-top: 26px; }
}
@media (max-width: 780px) {
  .hero.hero-compact { padding-bottom: 52px; }
  .hero-transition { height: 64px; width: 160%; left: -30%; }
}
@media (max-width: 700px) {
  #main .section:not(.home-cta) { padding-block: 38px; }
  #main .section.video-section { padding-top: 0; }
  #main .hero-compact + #preview { padding-top: 24px; }
  #main .section-heading { margin-bottom: 24px; }
  #main .section-heading p { margin-top: 14px; }
  #main .split-heading { margin-bottom: 24px; }
  #main .home-cta { margin-block: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-transition .wave-back,
  .hero-transition .wave-front { animation: none; }
}
