/* ============================================================
   M1 · Hero — module styles
   Centered full-width hero matching hero-fmt (dealers/auctions).
   The audience router moved to the header "For Business" dropdown,
   so this hero is single-column and centered.
   Depends on tokens + button classes from theme css/main.css.
   ============================================================ */

.cp-hero {
  position: relative;
  overflow: hidden;
  background: var(--cp-navy);
  color: var(--cp-white);
  padding: 120px 0;
}
.cp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(45, 184, 154, 0.10), transparent 60%);
  pointer-events: none;
}
.cp-hero__inner {
  position: relative;
  max-width: var(--cp-container-max);
  margin: 0 auto;
  padding: 0 var(--cp-container-pad);
}

/* ---------- Centered content column ---------- */
.cp-hero__left {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cp-hero__eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cp-green-bright);
}
.cp-hero__title {
  margin-bottom: 28px;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--cp-white);
}
.cp-hero__accent { color: var(--cp-green-bright); }

.cp-hero__sub {
  margin-bottom: 44px;
  max-width: 38em;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--cp-slate-300);
}
.cp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

/* ---------- Entrance animation ---------- */
@keyframes cpHeroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cp-hero__eyebrow { animation: cpHeroFadeUp 0.6s var(--cp-ease) 0.1s both; }
.cp-hero__title   { animation: cpHeroFadeUp 0.7s var(--cp-ease) 0.2s both; }
.cp-hero__sub     { animation: cpHeroFadeUp 0.7s var(--cp-ease) 0.3s both; }
.cp-hero__ctas    { animation: cpHeroFadeUp 0.6s var(--cp-ease) 0.45s both; }

@media (prefers-reduced-motion: reduce) {
  .cp-hero__eyebrow,
  .cp-hero__title,
  .cp-hero__sub,
  .cp-hero__ctas,
  }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .cp-hero { padding: 72px 0; }
  .cp-hero__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .cp-hero__ctas .cp-btn-primary,
  .cp-hero__ctas .cp-btn-secondary { justify-content: center; }
}
