/*
 * Home block "How it works" (3 steps). Source: wordpress/aronex mvp/Home.dc.html.
 * Mobile first: stacked cards. Desktop from 1024px: three columns.
 * Colors and sizes come only from assets/css/tokens.css.
 */

.aronex-steps {
	padding: var(--space-6) var(--space-5);
	background: var(--color-bg-alt);
}

.aronex-steps__title {
	margin: 0 0 var(--space-5);
	font-size: var(--text-xl);
	line-height: var(--leading-h3);
	font-weight: var(--font-weight-medium);
	color: var(--color-text);
}

.aronex-steps__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.aronex-steps__item {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-5) var(--space-4);
	background: var(--color-bg-muted);
	border-radius: var(--radius-lg);
}

.aronex-steps__number {
	font-size: var(--text-3xl);
	line-height: 1;
	font-weight: 300;
	color: var(--color-accent-strong);
}

.aronex-steps__name {
	font-size: var(--text-md);
	font-weight: var(--font-weight-medium);
	color: var(--color-text);
}

.aronex-steps__text {
	font-size: var(--text-sm);
	line-height: var(--leading-body);
	color: var(--color-text-muted);
}

/* Desktop */
@media (min-width: 1024px) {
	.aronex-steps {
		padding: var(--space-7) var(--gutter-desktop);
	}

	.aronex-steps__title {
		max-width: var(--container-max);
		margin: 0 auto var(--space-7);
		font-size: var(--text-3xl);
		line-height: var(--leading-h2);
	}

	.aronex-steps__list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--space-4);
		max-width: var(--container-max);
		margin: 0 auto;
	}

	.aronex-steps__item {
		gap: var(--space-4);
		padding: var(--space-6) var(--space-6);
	}

	.aronex-steps__number {
		font-size: var(--text-display);
	}

	.aronex-steps__name {
		font-size: var(--text-lg);
	}

	.aronex-steps__text {
		font-size: var(--text-base);
	}
}
