/* The homepage always uses the Vice presentation. Content skin selection only
   affects AICHAT and documents. */
@property --srbill-hero-flow-x {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

@keyframes srbill-hero-title-flow {
  from { --srbill-hero-flow-x: 0%; }
  to { --srbill-hero-flow-x: 200%; }
}

body[data-page-kind="home"] .hero-content {
  position: absolute !important;
  top: 46dvh !important;
  left: 50% !important;
  width: min(92vw, 760px) !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(20px, 3vh, 34px) !important;
  margin: 0 !important;
}

body[data-page-kind="home"] .hero-title,
body[data-page-kind="home"] .hero-support {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  margin: 0 !important;
}

body[data-page-kind="home"] .hero-title {
  transform: scale(var(--visual-heroTitleScale, 1)) !important;
  transform-origin: center !important;
}

body[data-page-kind="home"] .hero-title .gradient {
  background-image: var(--gradient-text) !important;
  background-size: 200% auto !important;
  background-position: var(--srbill-hero-flow-x) 50% !important;
  animation: srbill-hero-title-flow calc(var(--visual-titleSpeed, 6) * 1s) linear infinite !important;
  animation-play-state: var(--visual-titleFlow, running) !important;
}

body[data-page-kind="home"] .hero-support {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
  transform: none !important;
}

@media (max-width: 768px) {
  body[data-page-kind="home"] .hero-content {
    top: 50dvh !important;
    gap: 20px !important;
  }
  body[data-page-kind="home"] .hero-support { gap: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page-kind="home"] .hero-title .gradient { animation: none !important; }
}
