/* GO CENTRAL: Refer a Friend guide
   Layered on app.css. A read-top-to-bottom explainer: navy campaign hero,
   alternating cream / navy bands, screenshots framed as cards. */

.rf-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--lime); color: var(--navy); padding: 10px 16px; border-radius: 999px; font: 700 13px/1 "Space Mono", ui-monospace, monospace; }
.rf-skip:focus { left: 16px; }

.rf-section { padding-top: 88px; padding-bottom: 88px; }
@media (max-width: 720px) { .rf-section { padding-top: 64px; padding-bottom: 64px; } }

/* ---------- hero ---------- */
.rf-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0E1B2C 0%, #16283F 100%); color: #fff; padding: 96px 0 88px; }
.rf-bars { position: absolute; inset: 0; pointer-events: none; }
.rf-bars span { position: absolute; right: -80px; height: 28px; width: 520px; transform: rotate(-18deg); border-radius: 4px; }
.rf-bars span:first-child { top: 70px; background: var(--lime); }
.rf-bars span:last-child { top: 130px; background: #1E3452; }
.rf-eyebrow { display: inline-block; font: 700 12px/1.2 "Space Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: #A7E04B; margin-bottom: 14px; }
.rf-eyebrow-dark { color: #3F6B14; }
.rf-pill { display: inline-block; margin-left: 12px; font: 700 11px/1 "Space Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #A7E04B; border: 1.5px solid rgba(167,224,75,.55); background: #1E3452; padding: 6px 12px; border-radius: 999px; vertical-align: 2px; }
.rf-display { font-family: Archivo, system-ui, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 9vw, 104px); line-height: .95; letter-spacing: -.04em; margin: 8px 0 22px; }
.rf-display em { color: #A7E04B; font-style: italic; }
.rf-lede { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; color: #C9D4E0; max-width: 60ch; margin: 0 0 18px; }
.rf-status { font-size: 15.5px; line-height: 1.6; color: #C9D4E0; max-width: 64ch; margin: 0; padding: 14px 18px; border-left: 4px solid var(--lime); background: rgba(255,255,255,.05); border-radius: 0 10px 10px 0; }
.rf-status strong { color: #fff; }

/* ---------- headings / copy ---------- */
.rf-h2 { font-family: Archivo, system-ui, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 5vw, 52px); line-height: .98; letter-spacing: -.035em; color: var(--ink); margin: 0 0 18px; }
.rf-on-dark { color: #fff; }
.rf-intro { font-size: 18px; line-height: 1.6; color: #C9D4E0; max-width: 62ch; margin: 0 0 36px; }
.rf-intro-dark { color: var(--muted); }
.rf-small { font-size: 15px; color: #C9D4E0; line-height: 1.6; }

/* ---------- cards ---------- */
.rf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 28px; }
.rf-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px 22px; }
.rf-card h3 { font-family: Archivo, system-ui, sans-serif; font-weight: 800; font-size: 21px; line-height: 1.2; margin: 6px 0 8px; color: var(--ink); }
.rf-card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.rf-label { font: 700 11px/1.2 "Space Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #3F6B14; }
.rf-cards-dark .rf-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); box-shadow: none; }
.rf-cards-dark .rf-card h3 { color: #fff; }
.rf-cards-dark .rf-card p { color: #C9D4E0; }

/* ---------- navy bands ---------- */
.rf-band, .rf-leaders { background: #0E1B2C; color: #fff; }
.rf-leaders { background: #0B1524; }

/* ---------- referrer steps ---------- */
.rf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.rf-step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.rf-step.rf-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; align-items: start; }
.rf-step h3 { font-family: Archivo, system-ui, sans-serif; font-weight: 800; font-size: 22px; margin: 8px 0 8px; color: #fff; }
.rf-step p { margin: 0; font-size: 16px; line-height: 1.6; color: #C9D4E0; }
.rf-step strong { color: #fff; }
.rf-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--lime); color: var(--navy); font: 700 15px/1 "Space Mono", ui-monospace, monospace; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); background: #fff; }
figcaption { font-size: 13.5px; line-height: 1.5; color: #93A2B2; margin-top: 10px; }
@media (max-width: 860px) {
  .rf-steps { grid-template-columns: 1fr; }
  .rf-step.rf-wide { grid-template-columns: 1fr; }
}

/* ---------- friend phone screens ---------- */
.rf-phones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 22px; }
.rf-phone { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 16px 22px; }
.rf-phone figure img { border-radius: 18px; border: 6px solid #0E1B2C; box-shadow: none; }
.rf-phone .rf-num { margin-top: 16px; }
.rf-phone h3 { display: inline; font-family: Archivo, system-ui, sans-serif; font-weight: 800; font-size: 19px; margin-left: 8px; color: var(--ink); vertical-align: middle; }
.rf-phone p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.rf-phone-hero { outline: 3px solid var(--lime); outline-offset: -3px; }

/* ---------- after ---------- */
.rf-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .rf-split { grid-template-columns: 1fr; } }
.rf-status-list { margin: 0 0 16px; padding-left: 22px; color: #C9D4E0; font-size: 16.5px; line-height: 1.6; }
.rf-status-list li { margin-bottom: 10px; }
.rf-status-list strong { color: #fff; }

/* ---------- terms ---------- */
.rf-table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: var(--shadow); margin-top: 24px; }
.rf-table-wrap:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.rf-table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 560px; }
.rf-table thead th { background: #0E1B2C; color: #fff; font: 700 12px/1.2 "Space Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; text-align: left; padding: 14px 18px; }
.rf-table tbody th { text-align: left; font-weight: 700; color: var(--ink); padding: 14px 18px; width: 34%; }
.rf-table td { padding: 14px 18px; color: var(--ink); font-weight: 600; }
.rf-table tbody tr + tr { border-top: 1px solid var(--line); }
.rf-fine { margin: 26px 0 0; padding-left: 20px; color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 80ch; }
.rf-fine strong { color: var(--ink); }

.rf-disclaimer { margin: 34px 0 0; font-size: 13.5px; line-height: 1.65; color: #93A2B2; max-width: 90ch; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
