/* BrokerConnector · Referrals
   Builds on style.css, about.css (the inner pages' hero, FAQs, where next) and pricing.css (the "What happens next"
   cards, the mint section with the titanium phone). Here: the three small referral scenes, the phone's Add referral
   screen, the partner network. */

/* =========================================================
   02 · How referrals work: the small app cards in each step
   ========================================================= */

/* 02: your client, a line drawing across, the partner */

/* 03: your referrals and their status */

/* =========================================================
   03 · Get started: the steps beside the phone; the phone's Add referral screen
   ========================================================= */
.rf-start__list { display: grid; gap: 14px; margin: clamp(28px, 4.4vh, 40px) 0 0; padding: 0; list-style: none; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.4; color: rgba(9, 15, 27, .72); }
.rf-start__list li { display: flex; align-items: center; gap: 16px; }
.rf-start__list b { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 15px; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(14, 158, 138, .25); }
.rf-start .brokers__cta { margin-top: clamp(32px, 5vh, 44px); }


/* =========================================================
   04 · Partner network (on night): 150+ big on the left, the title and line on the right, then the services
   ========================================================= */
.pn { position: relative; isolation: isolate; padding: clamp(100px, 14vh, 160px) var(--gutter); color: var(--ink); }
.pn__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; gap: 24px clamp(32px, 5vw, 80px); margin-bottom: clamp(48px, 7vh, 80px); }
.pn__big { display: flex; align-items: flex-start; flex-wrap: wrap; margin: 0; font-size: clamp(96px, 13vw, 220px); font-weight: 400; letter-spacing: -.06em; line-height: .85; }
.pn__big b { font-weight: 400; }
.pn__big small { flex-basis: 100%; margin-top: 18px; font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1; color: #0E9E8A; }
.pn__side { display: grid; gap: 18px; }
.pn__title { margin: 0; font-size: clamp(36px, 3.6vw, 60px); font-weight: 400; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.pn__lede { max-width: 44ch; margin: 0; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; color: rgba(9, 15, 27, .62); }
.pn__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(9, 15, 27, .1); }
.pn__grid li { display: grid; align-content: start; gap: 6px; padding: clamp(24px, 3.4vh, 34px) clamp(16px, 1.6vw, 24px) clamp(28px, 4vh, 40px) 0; border-bottom: 1px solid rgba(9, 15, 27, .1); }
.pn__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: rgba(25, 232, 201, .1); box-shadow: inset 0 0 0 1px rgba(25, 232, 201, .18); }
.pn__ico svg { width: 24px; height: 24px; fill: none; stroke: #19E8C9; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pn__grid b { font-size: clamp(20px, 1.6vw, 25px); font-weight: 400; letter-spacing: -.025em; }
.pn__grid small { font-size: 15px; line-height: 1.5; color: rgba(9, 15, 27, .6); }
/* on night (Hasan, 2 Nov): white type, the rules and the line softened; the icons stay still (no hover) */
.pn.sec-night { color: #fff; }
.pn.sec-night .pn__big small { color: #19E8C9; }
.pn.sec-night .pn__lede, .pn.sec-night .pn__grid small { color: rgba(238, 242, 250, .62); }
.pn.sec-night .pn__grid, .pn.sec-night .pn__grid li { border-color: rgba(255, 255, 255, .1); }

@media (max-width: 1024px) {
  .pn__head { grid-template-columns: 1fr; }
  .pn__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .rf-start__list { font-size: 17px; }
  .pn__grid li { padding-right: 12px; }
  .pn__ico { width: 42px; height: 42px; border-radius: 12px; }
}

/* the how referrals work cards */
.rfc { position: relative; display: grid; gap: 10px; width: min(100%, 290px); padding: 20px 20px 18px; border-radius: 16px; font-size: 13.5px; background: #fff; box-shadow: 0 1px 2px rgba(9, 15, 27, .06), 0 24px 48px -28px rgba(20, 40, 90, .4); }
.rfc p { margin: 0; }
.rfc__t { margin-bottom: 4px !important; font-size: 15px; font-weight: 500; }
.rfc__row { display: flex; align-items: center; justify-content: space-between; padding-bottom: 9px; border-bottom: 1px solid rgba(9, 15, 27, .07); color: rgba(9, 15, 27, .5); }
.rfc__row b { font-weight: 500; color: var(--ink); }
.rfc__chip { padding: 3px 10px; border-radius: 99px; background: rgba(25, 232, 201, .22); }
.rfc__btn { margin-top: 4px; padding: 10px; border-radius: 10px; font-weight: 600; text-align: center; color: var(--ink); background: #19E8C9; }
.rfc__pair { display: flex; align-items: center; gap: 10px; padding: 6px 0 10px; }
.rfc__av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 13px; font-weight: 600; color: #1B2A55; background: #E6ECF8; }
.rfc__av--p { background: #141C30; }
.rfc__av svg { width: 20px; height: 20px; fill: none; stroke: #19E8C9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rfc__line { flex: 1; height: 2px; border-radius: 2px; background: #EEF1F6; overflow: hidden; }
.rfc__line b { display: block; height: 100%; background: #19E8C9; transform-origin: left; }
.rfc__ok { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px 6px 7px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--ink); background: rgba(25, 232, 201, .22); }
.rfc__ok i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #19E8C9; }
.rfc__ok svg { width: 12px; height: 12px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rfc__item { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid rgba(9, 15, 27, .07); color: rgba(9, 15, 27, .6); }
.rfc__item:last-child { border-bottom: 0; padding-bottom: 0; }
.rfc__st { justify-self: start; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; color: rgba(9, 15, 27, .6); background: #EEF1F6; transition: background-color .3s ease, color .3s ease; }
.rfc__st.is-paid { color: var(--ink); background: #19E8C9; }

/* (24 Nov) the hero's words: anyone can refer, and anyone can be referred. Two short paragraphs, both white, the same size */
.rf-hero__copy { display: grid; gap: .7em; max-width: 36ch; }
.rf-hero__copy p { margin: 0; }
.rf-hero__copy b { font-weight: 600; color: #19E8C9; }
