/* The six things it does. The heading holds the left column and the cards take the rest, the
   way the home page's flow does. */
.vamora-serve-features {
	display: grid;
	gap: 1.5rem;
	padding: var(--serve-block) var(--serve-inset);
	background: radial-gradient(40% 50% at 0% 30%, #f5ebfd 0%, transparent 100%);
}

.vamora-serve-features__list {
	display: grid;
	gap: 0.75rem;
}

.vamora-serve-feature {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 0.875rem;
	padding: 1rem;
	border: 1px solid var(--serve-glass-edge);
	border-radius: 1.125rem;
	background: var(--serve-glass);
	box-shadow: var(--serve-glass-shadow);
}

.vamora-serve-feature__icon {
	--icon-size: 1.375rem;

	display: grid;
	grid-row: span 2;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.75rem;
	background: var(--serve-tile);
	color: #5a14d8;
}

.vamora-serve-feature__title {
	align-self: center;
	font-size: 1.0625rem;
	line-height: 1.2;
	letter-spacing: var(--home-track-snug);
}

.vamora-serve-feature__text {
	grid-column: 2;
	margin-top: 0.25rem;
	color: var(--home-soft);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.36;
}

@media (min-width: 37.5em) {
	.vamora-serve-features__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64em) {
	.vamora-serve-features {
		grid-template-columns: calc(280 * var(--u)) minmax(0, 1fr);
		gap: calc(26 * var(--u));
		align-items: center;
		width: calc(1024 * var(--u));
		margin-inline: auto;
		background: none;
	}

	.vamora-serve-features .vamora-serve-head__title {
		font-size: calc(31 * var(--u));
		line-height: calc(33 * var(--u));
		white-space: nowrap;
	}

	.vamora-serve-features__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: calc(10 * var(--u));
	}

	.vamora-serve-feature {
		display: block;
		padding: calc(13 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u));
		border-radius: calc(16 * var(--u));
	}

	.vamora-serve-feature__icon {
		--icon-size: calc(18 * var(--u));

		width: calc(34 * var(--u));
		height: calc(34 * var(--u));
		border-radius: calc(10 * var(--u));
	}

	.vamora-serve-feature__title {
		margin-top: calc(9 * var(--u));
		font-size: max(calc(13.4 * var(--u)), 0.875rem);
		line-height: calc(16.5 * var(--u));
	}

	.vamora-serve-feature__text {
		margin-top: calc(4 * var(--u));
		font-size: var(--serve-small);
		line-height: calc(14.2 * var(--u));
	}
}
