/* Affiliate programme page. Everything structural comes from style/doc.css;
   this file adds the three step cards under "How It Works". Scoped to
   body.Affiliate, because Page loads every page stylesheet on every page. */

body.Affiliate .affiliate-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px; /* gap-4 */
}

body.Affiliate .affiliate-step {
  padding: 20px; /* p-5 */
  border: 1px solid #e6dbf0;
  border-radius: 16px; /* rounded-2xl */
  background: #ffffff;
}

body.Affiliate .affiliate-step .doc-eyebrow {
  margin: 0 0 8px !important;
}

body.Affiliate .affiliate-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #25153c;
}

body.Affiliate .affiliate-step p {
  margin: 0 !important;
  font-size: 14px;
  line-height: 22.75px; /* leading-relaxed */
  color: #6c5393;
}

/* --- Paragraph spacing ------------------------------------------------- */

/* The sections that introduce a block get the design's mb-6; the prose
   sections keep doc.css's mb-4. */
body.Affiliate #doc-sec-2 > p,
body.Affiliate #doc-sec-5 > p {
  margin-bottom: 24px !important;
}

@media (min-width: 640px) {
  body.Affiliate .affiliate-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
