.pe-steps,
.pe-steps *,
.pe-steps *::before,
.pe-steps *::after {
	box-sizing: border-box;
	min-width: 0;
}

.pe-steps {
	--pe-brand: #7e33ff;
	--pe-line: #8b8b8d;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: 487px;
	margin-inline: calc(var(--pe-header-gutter, 40px) * -1);
	border-top: 1px solid var(--pe-line);
	border-bottom: 1px solid var(--pe-line);
	background: #2b2b2f;
	color: #fff;
	font: 400 16px/1.55 Play, Arial, sans-serif;
}

body:has(.pe-header.is-overlay) .pe-steps {
	margin-inline: 0;
}

.pe-steps__empty {
	margin: 0;
	padding: 24px;
	background: #2b2b2f;
	color: #fff;
}

.pe-steps__visual {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 487px;
	padding: 60px 40px;
	isolation: isolate;
	overflow: hidden;
}

.pe-steps__photo {
	position: absolute;
	inset: 0;
	z-index: -3;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 280ms ease;
}

.pe-steps__photo.is-active {
	z-index: -2;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.pe-steps__photo {
		transition: none;
	}
}

.pe-steps__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(124.5deg, rgb(43, 43, 47) 19.3%, rgba(43, 43, 47, 0) 100%),
		linear-gradient(rgba(27, 27, 34, 0.27), rgba(27, 27, 34, 0.27));
	pointer-events: none;
}

.pe-steps h2,
.pe-steps h3 {
	margin: 0;
	color: #fff;
	font-family: Tektur, Play, sans-serif;
	font-weight: 500;
	letter-spacing: -0.5px;
	overflow-wrap: anywhere;
	white-space: pre-line;
}

.pe-steps h2 {
	font-size: 48px;
	line-height: 1.18;
	text-wrap: balance;
}

.pe-steps h3 {
	max-width: 740px;
	font-size: 32px;
	line-height: 1.3;
}

.pe-steps p {
	margin: 0;
	font: 400 16px/1.55 Play, Arial, sans-serif;
}

.pe-steps__panel {
	--pe-grid: rgba(139, 139, 141, 0.105);
	position: relative;
	display: flex;
	min-height: 487px;
	border-left: 1px solid var(--pe-line);
	background-color: #2b2b2f;
	background-image:
		linear-gradient(90deg, var(--pe-grid) 1px, transparent 1px),
		linear-gradient(0deg, var(--pe-grid) 1px, transparent 1px);
	background-size: calc(100vw / 16) calc(100vw / 16);
}

.pe-steps__controls {
	position: absolute;
	top: 40px;
	right: 40px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.pe-steps__counter {
	margin-right: 14px;
	color: #777;
	font: 500 20px/1.3 Tektur, Play, sans-serif;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.pe-steps__counter span {
	color: #b4b0b0;
}

.pe-steps__arrow {
	display: inline-grid;
	place-items: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	min-height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: #fff;
	line-height: 0;
	cursor: pointer;
}

.pe-steps__arrow:disabled {
	opacity: 0.4;
	cursor: default;
}

.pe-steps__arrow:focus-visible,
.pe-steps__pager:focus-visible {
	outline: 2px solid #7e33ff;
	outline-offset: 4px;
}

.pe-steps__orbit {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	color: inherit;
	border-radius: 50%;
	transition: background-color 180ms, box-shadow 180ms;
}

.pe-steps__ring,
.pe-steps__glyph {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pe-steps__ring {
	position: absolute;
	inset: 0;
	width: 46px;
	height: 46px;
	stroke-width: 1;
}

.pe-steps__glyph {
	position: relative;
	width: 18px;
	height: 18px;
	stroke-width: 1.15;
}

.pe-steps__orbit--prev .pe-steps__glyph {
	transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
	.pe-steps__arrow:not(:disabled):hover .pe-steps__orbit,
	.pe-steps__arrow:not(:disabled):focus-visible .pe-steps__orbit {
		background: var(--pe-brand);
		box-shadow: inset 0 0 0 1px var(--pe-brand);
	}

	.pe-steps__arrow:not(:disabled):hover .pe-steps__ring,
	.pe-steps__arrow:not(:disabled):focus-visible .pe-steps__ring {
		opacity: 0;
	}
}

.pe-steps__pager {
	position: relative;
	display: flex;
	align-items: stretch;
	flex: 1 1 auto;
	width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: auto;
	scrollbar-width: none;
}

.pe-steps__pager::-webkit-scrollbar {
	display: none;
}

.pe-steps__pager.is-dragging {
	scroll-snap-type: none;
}

.pe-steps__page {
	flex: 0 0 100%;
	width: 100%;
	min-height: 100%;
	padding: 112px 40px 60px;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	background: radial-gradient(120px 100px at 85% 78%, rgba(219, 170, 125, 0.2), transparent);
}

.pe-steps__copy {
	max-width: 680px;
	margin-top: 16px;
}

.pe-steps__rail {
	--rail-ink: #c9a9ff;
	--rail-line: rgba(185, 182, 197, 0.2);
	--rail-thumb: 36px;
	position: absolute;
	left: 40px;
	right: 40px;
	bottom: 18px;
	z-index: 2;
	display: flex;
	align-items: center;
	width: auto;
	height: 28px;
	margin: 0;
	color: var(--rail-ink);
}

.pe-steps__rail::before,
.pe-steps__rail::after {
	content: "";
	position: absolute;
	top: 10px;
	width: 1px;
	height: 8px;
	background: var(--rail-ink);
	opacity: 0.45;
	pointer-events: none;
}

.pe-steps__rail::before {
	left: 0;
}

.pe-steps__rail::after {
	right: 0;
}

.pe-steps__range {
	appearance: none;
	display: block;
	width: 100%;
	height: 28px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: none;
	background: transparent;
	cursor: ew-resize;
	touch-action: pan-y;
}

.pe-steps__range::-webkit-slider-runnable-track {
	height: 1px;
	border: 0;
	background: var(--rail-line);
}

.pe-steps__range::-webkit-slider-thumb {
	appearance: none;
	width: var(--rail-thumb);
	height: 9px;
	margin-top: -4px;
	border: 1px solid var(--rail-ink);
	border-radius: 0;
	background:
		linear-gradient(90deg, transparent calc(50% - 3px), rgba(41, 41, 47, 0.6) calc(50% - 3px), rgba(41, 41, 47, 0.6) calc(50% - 2px), transparent calc(50% - 2px), transparent calc(50% + 2px), rgba(41, 41, 47, 0.6) calc(50% + 2px), rgba(41, 41, 47, 0.6) calc(50% + 3px), transparent calc(50% + 3px)),
		var(--rail-ink);
}

.pe-steps__range::-moz-range-track {
	height: 1px;
	border: 0;
	background: var(--rail-line);
}

.pe-steps__range::-moz-range-thumb {
	width: var(--rail-thumb);
	height: 9px;
	border: 1px solid var(--rail-ink);
	border-radius: 0;
	background: var(--rail-ink);
}

.pe-steps__range:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 3px;
}

@media (max-width: 1360px) {
	.pe-steps h2 {
		font-size: 40px;
	}

	.pe-steps h3 {
		font-size: 28px;
	}

	.pe-steps__page {
		padding-inline: 32px;
	}

	.pe-steps__controls {
		right: 32px;
	}
}

@media (max-width: 960px) {
	.pe-steps {
		grid-template-columns: 1fr;
	}

	.pe-steps h2 {
		font-size: 36px;
	}

	.pe-steps h3 {
		font-size: 26px;
	}

	.pe-steps__visual {
		min-height: 320px;
		padding: 48px 24px;
	}

	.pe-steps__panel {
		min-height: 410px;
		border-left: 0;
		border-top: 1px solid var(--pe-line);
	}

	.pe-steps__page {
		padding: 104px 24px 48px;
	}

	.pe-steps__controls {
		top: 30px;
		right: 24px;
	}
}

@media (max-width: 600px) {
	.pe-steps h2 {
		font-size: 28px;
	}

	.pe-steps h3 {
		font-size: 24px;
	}

	.pe-steps__visual {
		min-height: 280px;
		padding: 40px 16px;
	}

	.pe-steps__panel {
		min-height: 0;
	}

	.pe-steps__page {
		padding: 100px 24px 58px;
		background: none;
	}

	.pe-steps__controls {
		top: 24px;
		right: 24px;
	}

	.pe-steps__counter {
		font-size: 18px;
	}

	.pe-steps__copy {
		max-width: none;
	}

	.pe-steps__rail {
		left: 24px;
		right: 24px;
		bottom: 10px;
	}
}
