/* Product details — How It Works section */
.pd-how-it-works {
	--pd-hiw-bg: #f4f4f4;
	--pd-hiw-card: #ade1f5;
	--pd-hiw-heading: #0b1f3a;
	--pd-hiw-subtitle: #6d6d6d;
	--pd-hiw-body: #0b1f3a;
	--pd-hiw-plain-body: #5a5a5a;
	--pd-hiw-footnote: #8a8a8a;
	--pd-hiw-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--pd-hiw-sans: 'Nunito', sans-serif;

	/* Full-bleed background while keeping content aligned with .pd-shell */
	background: var(--pd-hiw-bg);
	box-sizing: border-box;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 40px 16px 36px;
	width: 100vw;
}

.pd-how-it-works__inner {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1200px;
	width: 100%;
	padding: 0 20px;
}

.pd-how-it-works__header {
	margin: 0 0 32px;
	text-align: center;
}

.pd-how-it-works__title {
	color: var(--pd-hiw-heading);
	font-family: var(--pd-hiw-serif);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 14px;
}

.pd-how-it-works__subtitle {
	color: var(--pd-hiw-subtitle);
	font-family: var(--pd-hiw-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}

.pd-how-it-works__steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pd-how-it-works__step {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: 0;
	text-align: left;
}

/* Steps 01 and 03 — light blue cards */
.pd-how-it-works__step--card {
	background: var(--pd-hiw-card);
	border-radius: 24px;
	padding: 24px 22px;
}

.pd-how-it-works__step-number {
	color: #1f74a6;
	display: block;
	font-family: var(--pd-hiw-serif);
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
}

.pd-how-it-works__step-title {
	color: #052248;
	font-family: var(--pd-hiw-serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.pd-how-it-works__step-text {
	color: #2d5a84;
	font-family: var(--pd-hiw-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
	margin: 0;
}

/* Steps 02 and 04 — plain text on section background */
.pd-how-it-works__step:not(.pd-how-it-works__step--card) {
	padding: 4px 0;
}

.pd-how-it-works__footnote {
	color: var(--pd-hiw-footnote);
	font-family: var(--pd-hiw-sans);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	margin: 28px 0 0;
	text-align: center;
}

/* Tablet — two-column grid */
@media (min-width: 768px) {
	.pd-how-it-works {
		padding: 48px 24px 40px;
	}

	.pd-how-it-works__header {
		margin-bottom: 40px;
	}

	.pd-how-it-works__title {
		font-size: 38px;
		margin-bottom: 16px;
	}

	.pd-how-it-works__subtitle {
		font-size: 16px;
	}

	.pd-how-it-works__steps {
		display: grid;
		gap: 20px 18px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pd-how-it-works__step--card {
		border-radius: 26px;
		padding: 26px 24px;
	}

	.pd-how-it-works__step-number {
		font-size: 44px;
	}

	.pd-how-it-works__step-title {
		font-size: 19px;
	}

	.pd-how-it-works__footnote {
		margin-top: 36px;
	}
}

/* Desktop — four-column row matching reference */
@media (min-width: 1024px) {
	.pd-how-it-works {
		padding: 56px 32px 48px;
	}

	.pd-how-it-works__title {
		font-size: 42px;
	}

	.pd-how-it-works__steps {
		align-items: stretch;
		gap: 22px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.pd-how-it-works__step--card {
		border-radius: 28px;
		padding: 30px;
		max-width: 263px;
	}

	.pd-how-it-works__step:not(.pd-how-it-works__step--card) {
		padding: 28px 8px 28px 0;
	}

	.pd-how-it-works__step-number {
		font-size: 46px;
	}

	.pd-how-it-works__step-title {
		font-size: 18px;
	}

	.pd-how-it-works__step-text {
		font-size: 18px;
		line-height: 26px;
	}

	.pd-how-it-works__footnote {
		font-size: 13px;
		margin-top: 40px;
	}
}

@media (min-width: 1440px) {
	.pd-how-it-works__inner {
		max-width: 1280px;
	}

	.pd-how-it-works__steps {
		gap: 50px;
	}
}