/*
 * NPU Timeline block.
 * Figma reference: 0277aepgvQrSa8qJCDLosA — node 293:464.
 */

.npu-timeline {
	background: var(--npu-purple);
	color: var(--npu-text-on-dark);
	padding: var(--npu-block-padding-top) 0 var(--npu-block-padding-bottom);
}

.npu-timeline__inner {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.npu-timeline__title {
	font-family: var(--npu-font-display);
	font-weight: 700;
	font-size: 50px;
	line-height: 1.2;
	text-transform: uppercase;
	color: inherit;
	text-align: center;
	margin: 0;
}

.npu-timeline__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.npu-timeline__step {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
}

.npu-timeline__marker {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.npu-timeline__line {
	flex: 1 1 0;
	min-width: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.2);
}

.npu-timeline__line.is-empty {
	background: transparent;
}

.npu-timeline__number {
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--npu-text-on-dark);
	color: var(--npu-purple);
	border-radius: 999px;
	font-family: var(--npu-font-body);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	text-transform: uppercase;
}

.npu-timeline__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
	text-align: center;
	padding: 0 40px;
}

.npu-timeline__step-title {
	font-family: var(--npu-font-body);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	color: inherit;
	margin: 0;
}

.npu-timeline__step-body {
	font-family: var(--npu-font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	color: inherit;
	margin: 0;
}

.npu-timeline__footer {
	display: flex;
	justify-content: center;
}

@media (max-width: 980px) {
	.npu-timeline__inner {
		gap: 56px;
	}

	.npu-timeline__title {
		font-size: 38px;
	}

	.npu-timeline__steps {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 0;
	}

	.npu-timeline__copy {
		padding: 0 16px;
	}
}

@media (max-width: 600px) {
	.npu-timeline__steps {
		grid-template-columns: 1fr;
	}
}
