/* Price cards: white tiles with the amount as the anchor. Equal heights in a row, with the
   button pinned to the bottom so buttons line up across cards. */

.price-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	max-width: 52rem;
	gap: var(--grid-gap);
	padding: 0;
	list-style: none;
}

.price-card {
	display: flex;
	flex-direction: column;
	padding: var(--space-4) var(--space-3);
	background-color: var(--color-bg-card);
	border: var(--border-hairline) solid var(--color-border);
	border-radius: var(--radius-sm);
	text-align: center;
	color: var(--tst-charcoal);
}

.price-card__name {
	margin: 0 0 var(--space-1);
	color: var(--tst-ink);
}

.price-card__amount {
	margin-block-end: var(--space-2);
	font-family: var(--font-display);
	font-size: var(--font-8);
	line-height: 1;
	color: var(--tst-ink);
}

.price-card__summary {
	margin-block-end: var(--space-1);
	font-size: var(--font-2);
}

.price-card__duration {
	font-size: var(--font-2);
	color: var(--tst-muted);
}

.price-card__action {
	margin-block-start: auto;
	padding-block-start: var(--space-3);
}
