/**
 * Returning Members Page Styles
 * Scoped to .returning-members-page
 */

/* Hero */
.rm-hero {
	padding: 100px 0 80px;
	background: linear-gradient(135deg, #F3FFE6 0%, #fff 100%);
	text-align: center;
}

.rm-hero__headline {
	font-size: 52px;
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 25px;
	color: #1A202C;
}

.rm-hero__sub {
	font-size: 22px;
	line-height: 1.6;
	color: #4A5568;
	max-width: 700px;
	margin: 0 auto 40px;
}

.rm-hero__cta {
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.rm-hero__cta .sfd-btn {
	min-width: 240px;
}

.rm-hero__cta .sfd-btn-secondary {
	border: 2px solid #569E03;
}

/* All section titles on this page are centered */
.returning-members-page .section__heading,
.returning-members-page .rm-hero__headline,
.returning-members-page .rm-hero__sub {
	text-align: center;
}

.returning-members-page .section__heading {
	margin-left: auto;
	margin-right: auto;
	max-width: 900px;
}

/* What's New */
.rm-whats-new {
	padding: 100px 0;
	background: #fff;
}

.rm-updates {
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* force 4 columns on desktop */
	gap: 24px;
	margin-top: 60px;
}

.rm-update {
	/* Mild gradient from bottom (soft grey) to top (white) */
	background: linear-gradient(to top, #F7FAFC 0%, #ffffff 60%);
	padding: 28px 24px;
	border-radius: 14px;
	border: 1px solid rgba(226, 232, 240, 0.7);
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rm-update:hover {
	transform: translateY(-2px);
	border-color: rgba(140, 217, 51, 0.5);
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05), 0 14px 32px rgba(140, 217, 51, 0.14);
}

.rm-update__name {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 12px;
	color: #569E03;
	line-height: 1.25;
}

.rm-update__desc {
	font-size: 1.125rem;
	line-height: 1.6;
	color: #2D3748;
	margin: 0;
}

/* Fell Off Section */
.rm-fell-off {
	padding: 100px 0;
	background: #F7FAFC;
}

.rm-fell-off__content {
	max-width: 800px;
	margin: 40px auto 0;
}

.rm-fell-off__content p {
	font-size: 20px;
	line-height: 1.8;
	color: #2D3748;
	margin: 0 0 25px;
	text-align: center;
}

.rm-fell-off__content strong {
	color: #569E03;
	font-weight: 800;
}

/* The Offer */
.rm-offer {
	padding: 100px 0;
	background: #fff;
}

.rm-offer__content {
	max-width: 800px;
	margin: 40px auto 50px;
	text-align: center;
}

.rm-offer__content p {
	font-size: 19px;
	line-height: 1.8;
	color: #2D3748;
	margin: 0 0 25px;
}

.rm-offer__cta {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.rm-offer__microcopy {
	font-size: 15px;
	color: #718096;
	margin: 16px 0 0;
}

/* Testimonial */
.rm-testimonial {
	padding: 100px 0;
	background: #F7FAFC;
}

.rm-testimonial__quote {
	max-width: 900px;
	margin: 50px auto 0;
	background: #fff;
	padding: 60px;
	border-radius: 12px;
	border-left: 6px solid #8CD933;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.rm-testimonial__quote p {
	font-size: 24px;
	line-height: 1.7;
	font-style: italic;
	color: #2D3748;
	margin: 0 0 30px;
}

.rm-testimonial__attr {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-style: normal;
}

.rm-testimonial__name {
	font-size: 18px;
	font-weight: 700;
	color: #569E03;
}

.rm-testimonial__result {
	font-size: 15px;
	color: #718096;
}

/* Responsive */
@media (max-width: 768px) {
	.rm-hero__headline {
		font-size: 36px;
	}
	
	.rm-hero__sub {
		font-size: 18px;
	}

	.rm-hero__cta {
		flex-direction: column;
	}

	.rm-hero__cta .sfd-btn {
		min-width: min(100%, 320px);
	}
	
	/* Tablet: 2 columns */
	.rm-updates {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.rm-update {
		padding: 28px 22px;
	}
	
	.rm-fell-off__content p,
	.rm-offer__content p {
		font-size: 18px;
	}
	
	.rm-testimonial__quote {
		padding: 40px 30px;
	}
	
	.rm-testimonial__quote p {
		font-size: 20px;
	}
}

@media (max-width: 640px) {
	.rm-hero {
		padding: 60px 0 50px;
	}

	.rm-hero__headline {
		font-size: 28px;
	}

	.rm-testimonial__quote {
		padding: 30px 20px;
	}

	/* Phone: stack updates one per row so body copy has room to breathe */
	.rm-updates {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.rm-update {
		padding: 24px 20px;
	}
}
