/* =================================================================
   Referral program: the public page, its terms and the partner
   sign-up and verification pages. Tokens only (assets/hz/tokens.css);
   components come from components.css and site.css.
   ================================================================= */

/* ---- Program page: headline beside the disclosure ----------------- */
.hz-ref-hero { display: grid; gap: var(--hz-space-6); align-items: start; }
.hz-ref-kicker { color: var(--hz-accent); font: 600 var(--hz-type-body) var(--hz-font-body); }
.hz-ref-disclosure { display: grid; gap: var(--hz-space-4); }
.hz-ref-facts { display: grid; gap: var(--hz-space-3); margin: 0; }
.hz-ref-facts div { display: grid; gap: var(--hz-space-1); padding-bottom: var(--hz-space-3); border-bottom: 1px solid var(--hz-border); }
.hz-ref-facts dt { color: var(--hz-text-muted); font: 500 var(--hz-type-ui) var(--hz-font-body); }
.hz-ref-facts dd { margin: 0; font: 400 var(--hz-type-body) var(--hz-font-body); }
@media (min-width: 1024px) {
  .hz-ref-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hz-space-7); }
}

/* ---- How it works: an ordered list, read top to bottom ------------ */
.hz-ref-process { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.hz-ref-process li { display: grid; gap: var(--hz-space-2); padding: var(--hz-space-5) 0; border-top: 1px solid var(--hz-border); }
.hz-ref-process li:last-child { border-bottom: 1px solid var(--hz-border); }
.hz-ref-process p { color: var(--hz-text-muted); max-width: var(--hz-measure); }
@media (min-width: 768px) {
  .hz-ref-process { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--hz-gutter); }
  .hz-ref-process li:nth-last-child(2) { border-bottom: 1px solid var(--hz-border); }
}
@media (min-width: 1024px) {
  .hz-ref-process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hz-ref-process li:nth-last-child(3) { border-bottom: 1px solid var(--hz-border); }
}

/* ---- Partner sign-up and verification ------------------------------ */
.hz-ref-mode { display: grid; gap: var(--hz-space-2); }
.hz-ref-state { display: grid; gap: var(--hz-space-4); }
.hz-ref-state[hidden], .hz-ref-mode[hidden] { display: none; }
.hz-ref-signedin { padding: var(--hz-space-3) var(--hz-space-4); border: 1px solid var(--hz-border); border-radius: var(--hz-radius); background: var(--hz-sunken); overflow-wrap: anywhere; }
