/* Figma: left column ~636px steps; right ~571px image + heading. Cards: 122px min-height, 8px radius, #dee2e6 border */

.dmf-home-steps {
	position: relative;
	padding: clamp(2.5rem, 6vw, 4rem) 0;
	overflow: hidden;
	background: var(--dmf-bg-page);
}

.dmf-home-steps__bg {
	position: absolute;
	inset: 0;
	background-image: var(--dmf-steps-bg);
	background-size: cover;
	background-position: center top;
	opacity: 0.22;
	z-index: 0;
	pointer-events: none;
}

.dmf-home-steps__inner {
	position: relative;
	z-index: 1;
	max-width: var(--dmf-max);
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 1.5rem);
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	align-items: stretch;
}

@media (min-width: 64rem) {
	.dmf-home-steps__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: clamp(1.5rem, 3vw, 3rem);
	}
}

/* Left: intro + steps — ~52% in Figma */
.dmf-home-steps__col--steps {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 39.75rem;
}

/* Right: label + title + photo — image max 571px per Figma */
.dmf-home-steps__col--visual {
	flex: 0 1 35.6875rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

@media (min-width: 64rem) {
	.dmf-home-steps__col--visual {
		position: sticky;
		top: 6rem;
	}
}

.dmf-home-steps__eyebrow {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
}

.dmf-home-steps__eyebrow img {
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
}

.dmf-home-steps__intro {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--dmf-green);
	margin: 0 0 1.25rem;
	max-width: 39.75rem;
}

.dmf-home-steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

/* Card: h~122px, border #dee2e6, radius 8px — row: icon column + copy */
.dmf-home-steps__item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
	min-height: 7.625rem;
	padding: 1rem 1.25rem 1rem 1rem;
	border: 1px solid var(--dmf-border);
	border-radius: 0.5rem;
	background: #fff;
	box-sizing: border-box;
}

.dmf-home-steps__item-icon {
	flex: 0 0 3.5rem;
	width: 3.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dmf-home-steps__item-icon img {
	width: 3.5rem;
	height: 3.5rem;
	object-fit: contain;
	display: block;
}

.dmf-home-steps__item-icon--num {
	align-items: center;
	padding-bottom: 0;
}

.dmf-home-steps__item-icon--num span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border: 1px solid var(--dmf-border);
	border-radius: 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--dmf-green);
	background: #fff;
}

.dmf-home-steps__item-icon--lime {
	width: 3.5rem;
	height: 3.5rem;
	flex: 0 0 3.5rem;
	align-items: center;
	justify-content: center;
	padding-bottom: 0;
	background: var(--dmf-lime);
	border-radius: 1.75rem;
	align-self: center;
}

.dmf-home-steps__item-icon--lime img {
	width: 1.5rem;
	height: 1.5rem;
}

.dmf-home-steps__item-body {
	flex: 1;
	min-width: 0;
}

.dmf-home-steps__item-title {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--dmf-green);
}

.dmf-home-steps__item-text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--dmf-green);
}

/* Figma 46:1744 — 48px / lh 52.8px; line1 bold + light “for Your Financial”; line2 light “Future!” */
.dmf-home-steps__heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	margin: 0 0 1.25rem;
	font-size: clamp(1.75rem, 2.5vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--dmf-green);
	max-width: 35.6875rem;
}

.dmf-home-steps__heading-line1 {
	display: block;
	margin: 0;
	line-height: 1.1;
	margin-bottom: 20px;
}

.dmf-home-steps__heading-line2 {
	display: block;
	margin: 0;
	line-height: 1.1;
}

.dmf-home-steps__heading-bold {
	font-weight: 700;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.dmf-home-steps__heading-light {
	font-weight: 300;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

/* Photo: Figma 45:1046 — 571×582; frame keeps ratio; image fills frame (cover) */
.dmf-home-steps__photo {
	width: 100%;
	max-width: 35.6875rem; /* 571px */
	aspect-ratio: 571 / 582;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.dmf-home-steps__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

@media (max-width: 63.99rem) {
	.dmf-home-steps__col--visual {
		flex: 0 1 auto;
		order: -1;
		align-items: center;
		text-align: center;
		width: 100%;
	}

	.dmf-home-steps__eyebrow {
		justify-content: center;
	}

	.dmf-home-steps__heading {
		align-items: center;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}

	.dmf-home-steps__photo {
		max-width: min(35.6875rem, 100%);
		margin: 0 auto;
	}
}
