.hero { padding-top: var(--inset); }
.hero__panel { min-height: calc(100svh - var(--nav-h) - var(--inset) * 2); display: grid; align-items: center; }

/* Faint dot floor in perspective, drifting very slowly. */
.hero__floor {
  position: absolute; left: -40%; right: -40%; bottom: -8%; height: 62%; pointer-events: none;
  background: radial-gradient(circle, rgba(220, 235, 228, .2) 1px, transparent 1.4px) 0 0 / 30px 30px;
  transform: perspective(900px) rotateX(58deg); transform-origin: 50% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 45%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%, #000 80%, transparent);
  animation: hero-floor 14s linear infinite;
}
@keyframes hero-floor { to { background-position: 0 30px; } }

.hero__inner { position: relative; padding-block: 72px 120px; text-align: center; display: flex; flex-direction: column; align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px;
  border: 1px solid var(--panel-line-2); border-radius: 999px;
  font-size: .8125rem; color: var(--on-panel-2); transition: color .25s var(--ease), border-color .25s var(--ease);
  animation: settle 1s var(--ease) both;
}
.hero__badge:hover { color: var(--on-panel); border-color: rgba(255, 255, 255, .45); }
.hero__badge-tag { padding: 2px 10px; border-radius: 999px; background: var(--signal); color: var(--signal-ink); font-weight: 500; font-size: .75rem; }

.hero__title { margin-top: 32px; max-width: 12ch; font-size: var(--display); letter-spacing: -.055em; line-height: .98; }
/* Each word settles in, one after another, once. */
.hero__word { display: inline-block; animation: word-settle 1.1s var(--ease) both; animation-delay: calc(.12s + var(--i) * .07s); }
@keyframes word-settle { from { opacity: 0; transform: translateY(.35em); filter: blur(10px); } }

.hero__sub { margin-top: 28px; max-width: 52ch; color: var(--on-panel-2); font-size: var(--step-1); animation: settle 1s .55s var(--ease) both; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; animation: settle 1s .65s var(--ease) both; }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } }

.hero__scroll {
  position: absolute; right: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px; font-size: .875rem; color: var(--on-panel-2);
  transition: color .25s var(--ease);
}
.hero__scroll:hover { color: var(--on-panel); }
.hero__scroll-box { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--panel-line-2); border-radius: var(--radius); }

@media (min-width: 768px) {
  .hero__inner { padding-block: 96px 140px; }
  .hero__scroll { right: 32px; bottom: 32px; }
}
