/*
 * /referral-program/ page only (template-referral-program.php). The card
 * grid below the hero reuses .jfh-why__grid/.jfh-why__card from home.css
 * as-is - only this small hero block is genuinely new markup.
 */

.jfrp-hero {
	padding: 65px 20px 50px;
	text-align: center;
	background: var(--jfpub-surface-blue, #eaf6fd);
}

.jfrp-hero__inner {
	max-width: 720px;
	margin: 0 auto;
}

.jfrp-hero__kicker {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--jfpub-dark-blue, #07b1e5);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.jfrp-hero h1 {
	margin: 0 0 14px;
	color: var(--jfpub-navy, #0b2668);
	font-size: 40px;
	font-weight: 500;
	line-height: 1.15;
}

.jfrp-hero__lede {
	margin: 0;
	color: var(--jfpub-muted, #65708a);
	font-size: 16px;
	line-height: 1.6;
}

.jfrp-how {
	padding-top: 85px;
	padding-bottom: 12px;
}

.jfrp-how__grid {
	grid-template-columns: repeat(3, 1fr);
}

/* Scoped to this page only - .jfh-why__grid/card are shared with home.css,
   but this h2 size/weight is specific to the referral program pitch page. */
.jfrp .jfh-why h2 {
	font-size: clamp(40px, 3.4vw, 60px);
	font-weight: 600;
}

@media (max-width: 767px) {
	.jfrp-hero h1 {
		font-size: 28px;
	}

	.jfrp-how__grid {
		grid-template-columns: 1fr;
	}
}
