/* ===== Home hero — a single bold, rotating pain → solution headline.
   Replaces the multi-step get-started carousel. Token-driven (themes for free);
   home-hero.js shuffles a collection and cross-fades through it. ===== */

.home-hero {
  padding: 150px 32px 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-light) 100%);
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 28%, rgba(253, 108, 29, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 72%, rgba(253, 108, 29, 0.08) 0%, transparent 50%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
}

.home-hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 24px;
}

/* Reserve height so the subhead/CTA below don't jump as lines change. */
.home-hero-rotator {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-hero-rotator.is-swapping {
  opacity: 0;
  transform: translateY(10px);
}

.home-hero-pain {
  margin: 0 0 14px;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--text);
}

.home-hero-solution {
  margin: 0;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0.5px;
  color: var(--accent);
  font-variant-caps: small-caps;
}

.home-hero-subhead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
  margin: 30px auto 0;
}

.home-hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.home-hero-secondary {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: gap 0.2s ease;
}

.home-hero-secondary:hover { gap: 11px; }

.home-hero-reassure {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .home-hero { padding: 120px 20px 56px; }
  .home-hero-rotator { min-height: 220px; }
  .home-hero-pain { font-size: 30px; letter-spacing: -0.5px; }
  .home-hero-solution { font-size: 34px; letter-spacing: -0.75px; }
  .home-hero-subhead { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-rotator { transition: none; }
}
