.afc-how-It-works-section-block {
	background-color: #F9F9F9;
	box-sizing: border-box;
}
.afc-how-It-works-section-block .container {
    max-width: 1400px;
}
.how-it-works.narrow-mobile {
    padding: 0 16px;
    margin: 0;
}
.afc-how-It-works-section-block *,
.afc-how-It-works-section-block *::before,
.afc-how-It-works-section-block *::after {
	box-sizing: inherit;
}

.afc-how-it-works__outer {
	
	padding: 0 16px 0;
}

.afc-how-it-works__surface {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	min-height: 420px;
	background-position: bottom center;
	background-size: cover;
}
.mobile-list { display: none; }

.afc-how-it-works__surface::after {
	content: "";
	position: absolute;
	inset: 0;
}

.afc-how-it-works__gradient {
	position: absolute;
	inset: 0;
	pointer-events: none;
	
	width: 100%;
	height: 100%;
}

.afc-how-it-works__inner {
	position: relative;
	z-index: 1;
	padding: 41px 26px 58px 40px;
}

.afc-how-it-works__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: end;
}

.afc-how-it-works__intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-self: end;
	padding-bottom: clamp(4px, 1vw, 0px);
	max-width: 470px;
}

.afc-how-it-works__heading {
	color: #FFF;
	font-family: Poppins;
	font-size: clamp(1.75rem, 2.2vw + 1rem, 3.5rem);
	font-style: normal;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.56px;
	margin: 0;
}

.afc-how-it-works__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	padding: 16px 32px;
	border-radius: 40px;
	background-color: #ffffff;
	color: #0061FF;
	font-family: Poppins;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	text-transform: inherit;
	text-decoration: none;
}

.afc-how-it-works__cta:hover,
.afc-how-it-works__cta:focus-visible {
	background-color: #0A1B5F;
	color: #ffffff !important;
	outline: none;
}

.afc-how-it-works__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 2vw, 12px);
	max-width: 520px;
	margin: 0 0 0 auto;
}

.afc-how-it-works__step {
	position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding: 24px 34px 25px 24px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.80);
}

.afc-how-it-works__step-main {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
	flex: 1;
}

.afc-how-it-works__step-num {
	color: #0061FF;
	font-family: Poppins !important;
	font-size: 40px;
	font-style: normal;
	font-weight: 400;
	line-height: 44px; 
	letter-spacing: -0.4px;
	max-width: 56px;
    width: 100%;
}

.afc-how-it-works__step-body {
	min-width: 0;
}

.afc-how-it-works__step-title {
	color: #0A1B5F;
	font-size: 24px;
	font-style: normal;
	font-weight: 600;
	line-height: 28.8px;
	letter-spacing: -0.24px;
	margin: 0 0 8px 0;
}

.afc-how-it-works__step-copy {
	margin: 0;
	color: #0A1B5F;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 30px;
}
.how-it-works .universal-h2 {
    color: #0A1B5F !important;
    text-align: center;
    font-family: Montserrat;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 52.8px;
    letter-spacing: -0.48px;
    margin: 0;
}

@media (max-width: 991px) {
	.mobile-list { display: block; margin: 16px 0 0 0; }
	.how-it-works.narrow-mobile { padding: 0; }
	.afc-how-it-works__steps { display: none; }
	.mobile-list .afc-how-it-works__steps { 
		display: flex;
        margin: 0 auto;
        flex-wrap: wrap;
        gap: 8px;
	}
	.how-it-works .universal-h2 {
		text-align: left;
		padding: 0 25px;
	}
	.afc-how-it-works__outer { padding: 0; }
	.mobile-list .afc-how-it-works__cta {
		border-radius: 94px;
		background: #0061FF;
        color: #FFF !important;
		font-family: 'Poppins';
		font-size: 18px;
		font-style: normal;
		font-weight: 600;
		line-height: 24px;
		letter-spacing: 0;
		padding: 16px 32px;
		max-width: 200px;
		width: 100%;
		text-decoration: none;
		margin: 16px auto 0;
		align-items: center;
		justify-content: center;
		display: flex;
		border: 3px solid transparent;
	}
	.mobile-list .afc-how-it-works__cta:hover {
		color: #fff;
		background: #0A1B5F;
		border-color: #0A1B5F;
		box-shadow: none;
	}
	.afc-how-it-works__step-main {
		flex-wrap: wrap;
		gap: 24px;
	}

	.afc-how-it-works__step {
		background-color: transparent;
		padding: 24px 16px;
		border-bottom: 1px solid #C3C3C3;
		border-radius: 0;
	}

	.afc-how-it-works__step:last-child {
		border: 0;
	}
	.afc-how-it-works__grid {
		grid-template-columns: 1fr;
		align-items: stretch;
		gap: 28px;
	}

	.afc-how-it-works__intro {
		align-self: start;
		max-width: none;
		padding-bottom: 0;
		order: 1;
	}

	.afc-how-it-works__steps {
		order: 2;
	}

	.afc-how-it-works__surface {
		min-height: 310px;
        max-width: 644px;
        margin: 0 auto;
        width: 100%;
	}

	.afc-how-it-works__bg::after {
		background: linear-gradient(
			180deg,
			rgba(10, 12, 16, 0.78) 0%,
			rgba(10, 12, 16, 0.65) 35%,
			rgba(245, 246, 248, 0.97) 100%
		);
	}
	.afc-how-it-works__intro {
		max-width: 380px;
	}
	.afc-how-it-works__inner {
    	padding: 24px;
		width: 100%;
		position: absolute;
		bottom: 0;
	}

	.afc-how-it-works__intro a.afc-how-it-works__cta {
		display: none;
	}
	.afc-how-it-works__steps {
		max-width: 600px;
	}
}
@media (max-width: 767px) {
    .how-it-works .universal-h2 {
        color: #0A1B5F;
        font-size: 32px;
        font-weight: 600;
        line-height: 35.2px;
        letter-spacing: -0.32px;
        padding: 0;
    }
    .how-it-works .container {
        max-width: 674px;
    }
	.afc-how-it-works__intro { max-width: 280px; }
	.feature-highlight-hero-block .content-wrapper p {
		color: #F5F5F5;
		font-size: 18px;
		font-style: normal;
		font-weight: 400;
		line-height: 27px;
	}
}
@media (max-width: 480px) {
	.afc-how-it-works__outer {
		padding: 0 0 0;
	}
}
@media (max-width: 390px) {
	.mobile-list .afc-how-it-works__cta { max-width: 350px; }
}
