/* =========================================================
   Affiliate Program — page-specific styles
   Builds on tokens defined in /assets/css/site.css
========================================================= */

/* -------- page-hero: simple page-top header (non-video) -------- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 420px;
  border-radius: 50%;
  background: var(--grad-brand);
  filter: blur(140px);
  opacity: 0.22;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  max-width: 760px;
  margin: 0 auto 18px;
}
.page-hero .lead {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-muted);
}
.page-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* -------- step-list: numbered "how it works" sequence -------- */
.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step-badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #061117;
  margin-bottom: 18px;
}
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* -------- responsive -------- */
@media (max-width: 860px) {
  .step-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .page-hero { padding: 130px 0 60px; }
  .step-list { grid-template-columns: 1fr; }
}
