/**
 * Page 12015: four merchant-centred ways to sell with EET 2.0.
 * The scope is deliberately limited to this section; the theme stays intact.
 */

.kf-benefits {
	position: relative;
	overflow: hidden;
	scroll-margin-top: 100px;
	background: #fdfaf5;
	color: #17181d;
	font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.kf-benefits *,
.kf-benefits *::before,
.kf-benefits *::after {
	box-sizing: border-box;
}

.kf-benefits .kf-benefits__inner {
	width: min(1170px, calc(100% - 40px));
	margin: 0 auto;
	padding: 60px 0 72px;
}

.kf-benefits .kf-benefits__intro {
	max-width: 800px;
	margin: 0 0 30px;
}

.kf-benefits .kf-benefits__eyebrow {
	margin: 0 0 10px;
	color: #c51d24;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.kf-benefits .kf-benefits__title {
	margin: 0;
	color: #17181d;
	font-family: 'Nunito', sans-serif;
	font-size: clamp(30px, 3vw, 42px);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.kf-benefits .kf-benefits__title span {
	color: #c51d24;
}

.kf-benefits .kf-benefits__lead {
	margin: 12px 0 0;
	color: #4b4d54;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
}

.kf-benefits .kf-benefits__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.kf-benefits .kf-benefits__card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 22px 22px;
	border: 1px solid #e8e0d5;
	background: #fff;
	box-shadow: 0 14px 34px -30px rgba(35, 31, 25, 0.28);
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.kf-benefits .kf-benefits__card:hover {
	border-color: #cfbbb0;
	box-shadow: 0 18px 38px -27px rgba(35, 31, 25, 0.25);
	transform: translateY(-3px);
}

.kf-benefits .kf-benefits__visual {
	display: flex;
	height: 72px;
	align-items: center;
	margin-bottom: 16px;
}

.kf-benefits .kf-benefits__platform {
	display: inline-flex;
	min-width: 67px;
	min-height: 58px;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
	border-radius: 12px;
	background: #eef1f6;
	color: #253850;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.025em;
}

.kf-benefits .kf-benefits__card:nth-child(2) .kf-benefits__platform {
	background: #ecf4f2;
	color: #215d59;
}

.kf-benefits .kf-benefits__card:nth-child(3) .kf-benefits__platform {
	background: #f1eff8;
	color: #4a3f69;
}

.kf-benefits .kf-benefits__card:nth-child(4) .kf-benefits__platform {
	background: #fff0e8;
	color: #a54622;
}

.kf-benefits .kf-benefits__card-title {
	margin: 0;
	color: #17181d;
	font-family: 'Nunito', sans-serif;
	font-size: 21px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.kf-benefits .kf-benefits__description {
	margin: 12px 0 20px;
	color: #4b4d54;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
}

.kf-benefits .kf-benefits__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding: 4px 0;
	color: #b71c22;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.4;
	text-decoration: none;
}

.kf-benefits .kf-benefits__link span {
	font-size: 21px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.kf-benefits .kf-benefits__link:hover,
.kf-benefits .kf-benefits__link:focus {
	color: #92151b;
	text-decoration: underline;
}

.kf-benefits .kf-benefits__link:hover span,
.kf-benefits .kf-benefits__link:focus span {
	transform: translateX(4px);
}

.kf-benefits .kf-benefits__link:focus-visible {
	outline: 3px solid #17181d;
	outline-offset: 3px;
}

@media (max-width: 991px) {
	.kf-benefits .kf-benefits__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.kf-benefits .kf-benefits__inner {
		padding: 42px 0 54px;
	}

	.kf-benefits .kf-benefits__intro {
		margin-bottom: 24px;
	}

	.kf-benefits .kf-benefits__title {
		font-size: clamp(30px, 8vw, 37px);
	}

	.kf-benefits .kf-benefits__lead {
		font-size: 16px;
	}

	.kf-benefits .kf-benefits__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.kf-benefits .kf-benefits__card {
		padding: 20px;
	}

	.kf-benefits .kf-benefits__visual {
		height: 62px;
		margin-bottom: 14px;
	}

	.kf-benefits .kf-benefits__description {
		margin-bottom: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kf-benefits .kf-benefits__card,
	.kf-benefits .kf-benefits__link span {
		transition: none;
	}
}
