/* Collage style for path pages (body.collage): black-and-white cutouts on the site's aurora colors. Sources: collage/CREDITS.txt */
body.collage .wrap { max-width: 1180px; }

body.collage .section-head { max-width: 900px; }

/* ---------- hero: copy left, collage tile right ---------- */
body.collage .cl-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
body.collage .cl-hero h1 { font-size: clamp(44px, 4.9vw, 70px); }
body.collage .cl-tile { position: relative; height: 480px; margin: 0; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #f0a07a 0%, #a996f0 55%, #5cc3a8 100%); box-shadow: 0 30px 70px rgba(21, 22, 31, 0.16); }
body.collage .cl-tile img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); max-width: 92%; max-height: 90%; width: auto; height: auto; }
body.collage .cl-tile img.cl-machine { left: auto; right: -4px; transform: none; max-height: 94%; }
body.collage .cl-tile img.cl-obj { top: 50%; bottom: auto; transform: translate(-50%, -50%); max-width: 84%; max-height: 80%; }

/* ---------- referral numbers: the loudest thing on the page ---------- */
body.collage .cl-money-sec { padding-top: 72px; padding-bottom: 72px; }
body.collage .cl-money { grid-template-columns: 1.25fr 1fr .75fr; gap: 16px; }
body.collage .cl-money .card { grid-column: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 320px; padding: 32px 34px; border: 0; border-radius: 20px; color: #15161f; }
body.collage .cl-money .card:nth-child(1) { background: linear-gradient(135deg, #f0a07a 0%, #a996f0 55%, #5cc3a8 100%); }
body.collage .cl-money .card:nth-child(2) { background: #15161f; color: #fff; }
body.collage .cl-money .card:nth-child(3) { background: #f3cf86; }
body.collage .cl-money .stat-num { font: 400 clamp(96px, 12vw, 176px)/.9 var(--serif); letter-spacing: -0.04em; color: inherit; }
body.collage .cl-money .card:nth-child(2) .stat-num { font-size: clamp(84px, 9.6vw, 140px); color: transparent; background: linear-gradient(100deg, #ffc1a0, #c9bcff, #9fe3d1); -webkit-background-clip: text; background-clip: text; padding: 0 .08em .12em 0; margin: 0 -.08em -.12em 0; }
body.collage .cl-money .card:nth-child(3) .stat-num { font-size: clamp(84px, 8vw, 116px); }
body.collage .cl-money .stat-label { margin: 0; font: 500 20px/1.35 var(--sans); color: inherit; opacity: .92; }
body.collage .cl-hero .lede strong { font-weight: 600; color: var(--ink); }
@media (max-width: 880px) {
  body.collage .cl-money { grid-template-columns: minmax(0, 1fr); }
  body.collage .cl-money .card { min-height: 0; }
}

/* ---------- partners: who it's for / what qualifies ---------- */
body.collage .cl-fit { gap: 16px; }
body.collage .cl-fit .card { padding: 36px 36px 24px; border: 0; border-radius: 20px; color: #15161f; overflow: hidden; }
body.collage .cl-fit .cl-f1 { background: #a996f0; }
body.collage .cl-fit .cl-f2 { background: #f3cf86; }
body.collage .cl-fh { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; min-height: 214px; margin-bottom: 8px; }
body.collage .cl-fh h3 { align-self: flex-start; max-width: 7.5em; font: 400 clamp(40px, 4.4vw, 60px)/1 var(--serif); letter-spacing: -0.025em; color: #15161f; }
body.collage .cl-fh img { flex: none; width: auto; height: auto; }
body.collage .cl-f1 .cl-fh img { max-height: 232px; margin-right: -12px; }
body.collage .cl-f2 .cl-fh img { max-width: 46%; max-height: 150px; margin-bottom: 12px; }
body.collage .cl-fit ul { margin-top: 0; }
body.collage .cl-fit li { grid-template-columns: 26px 1fr; align-items: start; padding: 15px 0; border-top: 1px solid rgba(21, 22, 31, 0.22); font-weight: 500; color: #15161f; }
body.collage .cl-fit li svg { box-sizing: border-box; width: 24px; height: 24px; margin-top: 1px; padding: 5px; border-radius: 50%; background: #15161f; color: #fff !important; }
body.collage .cl-fit ~ .disclose { margin-top: 32px; padding: 28px 32px; border: 0; border-radius: 16px; background: #15161f; color: rgba(255, 255, 255, 0.82); }
body.collage .cl-fit ~ .disclose .eyebrow { color: rgba(255, 255, 255, 0.55); }
body.collage .cl-fit ~ .disclose strong { color: #fff; }
@media (max-width: 880px) { body.collage .cl-fit { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  body.collage .cl-fit .card { padding: 24px 20px 12px; }
  body.collage .cl-fh { min-height: 170px; }
  body.collage .cl-fh h3 { font-size: 36px; }
  body.collage .cl-f1 .cl-fh img { max-height: 180px; margin-right: -8px; }
  body.collage .cl-f2 .cl-fh img { max-width: 42%; max-height: 104px; }
  body.collage .cl-fit ~ .disclose { padding: 22px 20px; }
}

/* ---------- steps: bold color cards with a cutout sitting on the bottom edge ---------- */
body.collage .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 0; }
body.collage .steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.collage .step, body.collage .step + .step, body.collage .step:nth-child(even) { display: flex; flex-direction: column; padding: 28px 26px 0; border: 0; border-radius: 16px; overflow: hidden; }
body.collage .step:nth-child(4n+1) { background: #f0a07a; }
body.collage .step:nth-child(4n+2) { background: #a996f0; }
body.collage .step:nth-child(4n+3) { background: #5cc3a8; }
body.collage .step:nth-child(4n+4) { background: #f3cf86; }
body.collage .step .n { color: rgba(21, 22, 31, 0.7); }
body.collage .step h3 { margin: 14px 0 8px; font: 400 30px/1.1 var(--serif); letter-spacing: -0.015em; color: #15161f; }
body.collage .step p { color: rgba(21, 22, 31, 0.86); }
body.collage .cl-img { display: block; flex: none; margin: auto -26px 0; padding-top: 22px; width: calc(100% + 52px); height: 232px; object-fit: contain; object-position: center bottom; }
body.collage .cl-img.cl-machine { object-position: right bottom; width: calc(100% + 56px); margin-right: -30px; }
body.collage .cl-img.cl-obj { padding: 22px 22px 22px; }

@media (max-width: 1040px) { body.collage .steps, body.collage .steps.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 880px) {
  body.collage .cl-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  body.collage .cl-tile { height: 340px; }
}
@media (max-width: 560px) {
  body.collage .steps, body.collage .steps.three { grid-template-columns: minmax(0, 1fr); }
  body.collage .cl-img { height: 210px; }
  body.collage .cl-tile { height: 300px; }
}
