.how-it-works {
	background-color: #F5F5F5;
	position: relative;
	z-index: 1;
}

.how-it-works-container {
	padding-left: 16px;
	padding-right: 16px;
	padding-top: 52px;
	padding-bottom: 52px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.how-it-works-subtitle {
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 6px;
	padding-right: 6px;
	font-family: Metropolis, Sans-Serif;
	font-weight: 600;
	font-size: 12px;
	line-height: 100%;
	letter-spacing: 0%;
	background-color: #ED4A541A;
	color: #ED513B;
	border-radius: 100px;
	width: fit-content;
	margin-bottom: 5px;
}

.how-it-works-title {
	font-family: Bricolage Grotesque, Sans-Serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 34px;
	letter-spacing: 0%;
	color: #00194C;
	max-width: 244px;
	margin-bottom: 8px;
}

.how-it-works-description {
	font-family: Avenir, Sans-Serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0%;
	color: #596780;
	max-width: 320px;
	margin-bottom: 30px;
}

.how-it-works-steps-container {
	background-color: #FDFDFD;
	padding-top: 24px;
	padding-bottom: 16px;
	padding-left: 16px;
	padding-right: 16px;
	border-radius: 12px;
	margin-bottom: 30px;
}

.how-it-works-step-parent {
	display: flex;
	gap: 16px;
	min-height: 145px;
	margin-bottom: 10px;
}

.how-it-works-step-parent.step-3 {
	min-height: 110px;
}

.step-parent-number-line-parent {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
}

.how-it-works-step-number {
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	border-radius: 6px;
	background-color: #FFD55C;
	flex-shrink: 0;
	font-family: Plus Jakarta Sans, Sans-Serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 150%;
	letter-spacing: 0%;
	text-align: center;
	margin-top: -3px;
}

.how-it-works-step-number.step-number-2 {
	background-color: #FCF6E2;
	color: #FFD55C;
}

.how-it-works-step-number.step-number-3 {
	background-color: #E9EDF9;
	color: #244FC2;
}

.how-it-works-step-line.step-line-1 {
	width: 2px;
	flex-grow: 1;
	background-color: #F9D146;
}

.how-it-works-step-line.step-line-2 {
	width: 2px;
	flex-grow: 1;
	background-image: linear-gradient(to bottom, #E5EAF2 60%, transparent 60%);
	background-size: 2px 12px;
	background-repeat: repeat-y;
}

.how-it-works-step-title {
	font-family: Bricolage Grotesque, Sans-Serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: 0%;
	color: #00194C;
	max-width: unset;
	margin-bottom: 8px;
}

.how-it-works-step-description {
	font-family: Metropolis, Sans-Serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0%;
	color: #596780;
}

.how-it-works-main-image-parent-mobile {
	background-color: #F4F6F9;
	position: relative;
	border-radius: 12px;
	min-height: 173px;
	overflow: hidden;
}

.how-it-works-main-image-parent-desktop {
	background-color: #F4F6F9;
	position: relative;
	border-radius: 12px;
	min-height: 173px;
	overflow: hidden;
	display: none;
}

.how-it-works-iphone-image-mobile {
	position: relative;
	z-index: 1;
}

.how-it-works-iphone-image-tablet {
	display: none;
	width: 352px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 1;
}

.how-it-works-iphone-image-desktop {
	display: none;
}

.how-it-works-yellow-circle {
	width: 69px;
	height: 69px;
	background-color: #F9D146;
	border-radius: 50%;
	position: absolute;
	right: -10px;
	/*bottom: 18px;*/
	top: 85px;
}

.how-it-works-orange-circle {
	width: 85px;
	height: 85px;
	background-color: #FF8228;
	left: -23px;
	position: absolute;
	border-radius: 50%;
	/*bottom: 25px;*/
	top: 63px;
}

.how-it-works-red-triangle {
	position: absolute;
	/*bottom: 32px;*/
	top: 110px;
	width: 31px;
	height: 31px;
	left: 65px;
	z-index: 1;
}

/* Mobile face overlays (Figma 13732:48249). Each face uses a flex-centered
   wrapper + inner rotated element so rotations compose as Figma designed.
   z-index: 0 keeps tranquilo + surpreendido behind the iPhone (which is z:1);
   radiante overrides to sit on top of the iPhone alongside the red triangle. */
.how-it-works-face {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 0;
}

.how-it-works-face__inner img {
	display: block;
	width: 100%;
	height: 100%;
}

.how-it-works-face--tranquilo {
	left: -8.93px;
	top: 91.1px;
	width: 52.25px;
	height: 56.501px;
}

.how-it-works-face--tranquilo .how-it-works-face__inner {
	width: 49.829px;
	height: 27.795px;
	transform: rotate(-127.16deg);
}

.how-it-works-face--surpreendido {
	right: -8.355px;
	top: 87px;
	width: 57.355px;
	height: 57.989px;
}

.how-it-works-face--surpreendido .how-it-works-face__inner {
	width: 44.481px;
	height: 45.539px;
	transform: rotate(19.96deg);
}

.how-it-works-face--radiante {
	left: 73px;
	top: 114px;
	width: 21.935px;
	height: 21.074px;
	z-index: 2;
}

.how-it-works-face--radiante .how-it-works-face__inner {
	width: 17.923px;
	height: 16.643px;
	transform: rotate(-16.62deg);
}

.how-it-works-button-mobile {
	background-color: #244FC2;
	border-radius: 10px;
	padding-top: 13px;
	padding-bottom: 13px;
	padding-right: 24px;
	padding-left: 24px;
	width: 100%;
	border: unset;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	height: 50px;
}

.how-it-works-button-desktop {
	background-color: #244FC2;
	border-radius: 10px;
	padding-top: 13px;
	padding-bottom: 13px;
	padding-right: 24px;
	padding-left: 24px;
	width: 100%;
	border: unset;
	display: none;
	justify-content: center;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.how-it-works-curly-arrow {
	display: none;
}

.how-it-works span {
	color: #FDFDFD;
	font-family: Plus Jakarta Sans, Sans-Serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: center;
}


@media (min-width: 768px) {
	.how-it-works-title {
		max-width: unset;
	}

	.how-it-works-description {
		max-width: unset;
		margin-bottom: 40px;
		font-family: Metropolis, Sans-Serif;
	}

	.how-it-works-step-parent {
		min-height: 90px;
	}

	.how-it-works-step-parent.step-3 {
		min-height: 90px;
	}

	.how-it-works-iphone-image-mobile {
		display: none;
	}

	.how-it-works-iphone-image-tablet {
		display: block;
	}

	.how-it-works-iphone-image-desktop {
		display: none;
	}

	/* 768+ shape positions per Figma 13730:47667 (container = 704 wide). */
	.how-it-works-orange-circle {
		left: 114px;
		top: 27.28px;
	}

	.how-it-works-yellow-circle {
		width: 153px;
		height: 153px;
		right: 84px;
		top: 76.28px;
	}

	/* Red triangle scaled up + rotated to match Figma polygon at 768+.
	   SVG swapped via content: url() to the larger 768 asset. */
	.how-it-works-red-triangle {
		content: url('polygon2-768.svg?v=1');
		width: 61.429px;
		height: 61.425px;
		left: 198px;
		top: 89px;
		transform: rotate(-136.43deg) skewX(-0.07deg);
	}

	/* 768+ face overlays (Figma 13730:47667). Override mobile sizes + positions. */
	.how-it-works-face {
		display: flex;
	}

	.how-it-works-face--tranquilo {
		left: 128px;
		top: 33px;
		width: 56.681px;
		height: 44.792px;
	}

	.how-it-works-face--tranquilo .how-it-works-face__inner {
		width: 49.829px;
		height: 27.795px;
		transform: rotate(-22.57deg);
	}

	.how-it-works-face--surpreendido {
		right: 93.619px;
		top: 88px;
		width: 102.381px;
		height: 103.512px;
	}

	.how-it-works-face--surpreendido .how-it-works-face__inner {
		width: 79.4px;
		height: 81.289px;
		transform: rotate(19.96deg);
	}

	.how-it-works-face--surpreendido .how-it-works-face__inner img {
		content: url('surpreendido-768.svg?v=1');
	}

	.how-it-works-face--radiante {
		left: 212px;
		top: 99px;
		width: 38.606px;
		height: 37.092px;
	}

	.how-it-works-face--radiante .how-it-works-face__inner {
		width: 31.545px;
		height: 29.292px;
		transform: rotate(-16.62deg);
	}

	.how-it-works-face--radiante .how-it-works-face__inner img {
		content: url('radiante-768.svg?v=1');
	}

	.how-it-works-step-parent:last-child {
		min-height: 80px;
	}
}

@media (min-width: 1250px) {
	.how-it-works-container {
		padding-top: 120px;
		padding-bottom: 120px;
		display: flex;
		justify-content: space-between;
	}

	.how-it-works-steps-container {
		padding-top: 24px;
		padding-bottom: 24px;
		padding-left: 24px;
		padding-right: 24px;
		margin-bottom: 0;
	}

	.how-it-works-subtitle {
		font-size: 12px;
		line-height: 18px;
		text-transform: uppercase;
		padding-left: 8px;
		padding-right: 8px;
		padding-top: 0;
		padding-bottom: 0;
		letter-spacing: 0;
		margin-bottom: 8px;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 24px;
	}

	.how-it-works-title {
		font-size: 32px;
		line-height: 50px;
		letter-spacing: 0%;
	}

	.how-it-works-description {
		font-size: 18px;
		letter-spacing: 0%;
		margin-bottom: 32px;
	}

	.how-it-works-right-side {
		width: 597px;
	}

	.how-it-works-left-side {
		width: 497px;
		display: flex;
		flex-direction: column;
		position: relative;
	}

	.how-it-works-curly-arrow {
		display: block;
		position: absolute;
		left: 415px;
		bottom: 450px;
		width: 114px;
		height: 53px;
		transform: scaleY(-1);
		z-index: 2;
	}

	.how-it-works-main-image-parent-mobile {
		display: none;
	}

	.how-it-works-main-image-parent-desktop {
		display: block;
		background-color: #FDFDFD;
		flex: 1;
		min-height: 0;
	}

	.how-it-works-button-mobile {
		display: none;
	}

	.how-it-works-iphone-image-desktop {
		display: block;
		width: 382px;
		margin-left: auto;
		margin-right: auto;
		z-index: 1;
		position: relative;
	}

	.how-it-works-orange-circle {
		bottom: unset;
		left: 7px;
		top: 56px;
	}

	.how-it-works-yellow-circle {
		width: 110px;
		height: 110px;
		right: 10px;
		top: 187px;
	}

	/* 1250+ red triangle (Figma 13730:46755). Inner polygon 68.21×68.206 rotated,
	   centered in Figma's 96.493×96.371 outer box at (20, 129) → inner at (34, 143).
	   SVG swapped to the 1250 asset. */
	.how-it-works-red-triangle {
		content: url('polygon2-1250.svg?v=1');
		width: 68.21px;
		height: 68.206px;
		left: 34px;
		top: 143px;
		transform: rotate(-136.43deg) skewX(-0.07deg);
	}

	/* 1250+ face overlays (Figma 13730:46755). Tranquilo + radiante reuse the 768
	   values exactly; surpreendido is smaller and NOT rotated at 1250+. */
	.how-it-works-face {
		display: flex;
	}

	.how-it-works-face--tranquilo {
		left: 16.35px;
		top: 60.22px;
		width: 56.681px;
		height: 44.792px;
	}

	.how-it-works-face--tranquilo .how-it-works-face__inner {
		width: 49.829px;
		height: 27.795px;
		transform: rotate(-22.57deg);
	}

	.how-it-works-face--surpreendido {
		right: 19.6px;
		top: 219px;
		width: 66.4px;
		height: 67.98px;
	}

	.how-it-works-face--surpreendido .how-it-works-face__inner {
		width: 66.4px;
		height: 67.98px;
		transform: none;
	}

	.how-it-works-face--surpreendido .how-it-works-face__inner img {
		content: url('surpreendido-1250.svg?v=1');
	}

	.how-it-works-face--radiante {
		left: 54px;
		top: 156px;
		width: 38.606px;
		height: 37.092px;
	}

	.how-it-works-face--radiante .how-it-works-face__inner {
		width: 31.545px;
		height: 29.292px;
		transform: rotate(-16.62deg);
	}

	.how-it-works-button-desktop {
		display: flex;
		margin-top: 32px;
		height: 50px;
	}

	.how-it-works-step-parent {
		min-height: 112px;
		gap: 24px;
		/*margin-bottom: 0;*/
	}

	.how-it-works-step-parent.step-2 {
		min-height: 120px;
	}

	.how-it-works-step-parent.step-3 {
		min-height: auto;
	}

	.how-it-works-step-number {
		width: 36px;
		height: 36px;
		font-size: 18px;
		margin-top: -1px;
	}

	.how-it-works-step-title {
		font-size: 20px;
		margin-bottom: 6px;
	}

	.how-it-works-step-description {
		font-size: 16px;
	}
}

/* 1920px disabled
@media (min-width: 1920px) {
	.how-it-works-container {
		max-width: 1632px;
		padding-left: 0;
		padding-right: 0;
	}

	.how-it-works-subtitle {
		font-size: 14px;
		height: 24px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding-top: 0;
		padding-bottom: 0;
	}

	.how-it-works-title {
		line-height: 48px;
	}

	.how-it-works-container {
		align-items: flex-start;
	}

	.how-it-works-left-side {
		width: 677px;
		height: 444px;
	}

	.how-it-works-right-side {
		width: 813px;
	}

	.how-it-works-main-image-parent-desktop {
		border-radius: 20px;
	}

	.how-it-works-iphone-image-desktop {
		top: -90px;
		width: 539px;
	}

	.how-it-works-steps-container {
		border-radius: 20px;
	}

	.how-it-works-step-number {
		width: 48px;
		height: 48px;
		border-radius: 10px;
		margin-top: 0;
	}

	.how-it-works-step-parent {
		min-height: 106px;
	}

	.how-it-works-step-parent.step-2 {
		min-height: 118px;
	}

	.how-it-works-step-parent.step-3 {
		min-height: 90px;
	}

	.how-it-works-yellow-circle {
		left: 536px;
		right: unset;
	}

	.how-it-works-red-triangle {
		left: 34px;
		top: 130px;
		width: 55px;
		height: 55px;
	}

	.how-it-works-curly-arrow {
		left: 558px;
		bottom: 415px;
		width: 160px;
		height: 75px;
	}
}
*/

/* Floating animation — referenced by JS-set inline animation style for parallax pause/resume,
   but applied here so the float runs without depending on JS execution timing (Delay JS, etc.). */
@keyframes hiw-float-0 {
	0%, 100% { transform: translate(0, 0); }
	25% { transform: translate(8px, -10px); }
	50% { transform: translate(-5px, 6px); }
	75% { transform: translate(6px, 8px); }
}
@keyframes hiw-float-1 {
	0%, 100% { transform: translate(0, 0); }
	25% { transform: translate(-12px, 6px); }
	50% { transform: translate(8px, -8px); }
	75% { transform: translate(-6px, -10px); }
}
@keyframes hiw-float-2 {
	0%, 100% { transform: translate(0, 0); }
	25% { transform: translate(6px, 10px); }
	50% { transform: translate(-10px, -6px); }
	75% { transform: translate(8px, -8px); }
}
.how-it-works-yellow-circle,
.how-it-works-face--surpreendido {
	animation: hiw-float-0 3s ease-in-out 0s infinite;
}
.how-it-works-orange-circle,
.how-it-works-face--tranquilo {
	animation: hiw-float-1 4s ease-in-out 0.5s infinite;
}
.how-it-works-red-triangle,
.how-it-works-face--radiante {
	animation: hiw-float-2 3.5s ease-in-out 1s infinite;
}

