/* ==========================================================================
   Why choose us — four numbered reasons
   ========================================================================== */

.sc-why {
	--sc-why-cols: 4;

	display: grid;
	grid-template-columns: repeat(var(--sc-why-cols), minmax(0, 1fr));
	gap: clamp(1.5rem, 2.6vw, 2.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-why--cols-2 {
	--sc-why-cols: 2;
}

.sc-why--cols-3 {
	--sc-why-cols: 3;
}

/* The accent is a yellow that cannot carry 13px text on white, so it appears
   here as a rule and the number stays ink. Same motif as the section heading
   mark used further up the page. */
.sc-why__item {
	padding-block-start: 1.15rem;
	border-block-start: 3px solid var(--sc-accent);
}

.sc-why__num {
	display: block;
	font-family: var(--sc-font-display);
	font-size: .75rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .16em;
	color: var(--sc-gray);
}

.sc-why__title {
	margin: .55rem 0 0;
	font-family: var(--sc-font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -.005em;
	color: var(--sc-ink);
}

.sc-why__text {
	margin: .5rem 0 0;
	font-size: .9375rem;
	line-height: 1.62;
	color: #5D5A55;
}

@media (max-width: 1024px) {
	.sc-why {
		--sc-why-cols: 2;
	}
}

@media (max-width: 560px) {
	.sc-why {
		--sc-why-cols: 1;
	}

	.sc-why__item {
		padding-block-start: 1rem;
	}
}
