/* dec 2026 "Find the Yeti" hero. One DOM for every breakpoint, laid out in flex.
   Desktop numbers are the Figma desktop frame's (1:22, stage = the 1920x890 band under the NAV mock):
   evergreen copy group g2 at 294,203 (605 wide), promo card 1:32 at 991,116 (630x659).
   Phones are the 390 frame's own numbers (45:7222, stage under the 85px NAV mock), in cqw of the section.
   Only art is absolute (the photos, the card background, the peeking yeti, the wood sign). */
#dec-promo {
	position: relative;
	overflow: hidden;
	background-color: #000;
	container-type: inline-size;
}
#dec-promo p,
#dec-promo h2 {
	margin: 0;
}
#dec-promo picture img {
	display: block;
	max-width: none;
}
#dec-promo .dec-photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#dec-promo .dec-inner {
	justify-content: space-between;
	align-items: flex-start;
	width: 1327px;
	max-width: calc(100% - 40px);
	padding: 116px 0 115px;
}

/* evergreen copy (g2): 1:30, 1:29, 1:28, gaps 35/35 */
#dec-promo .dec-top {
	flex: 0 1 605px;
	min-width: 0;
	margin-top: 87px;
}
#dec-promo .dec-left {
	width: 100%;
	gap: 35px;
}
#dec-promo .dec-deals {
	/* Figma's box is 581, but the site's Roboto Black sets "Great Rent to Own Deals on" at 582px, which pushed "on"
	   to line 2: 3px of room keeps Figma's four lines (the box stays centred, within the 8px layout limit) */
	max-width: 584px;
	font-size: 47px;
	line-height: 59px;
	text-box: trim-both cap alphabetic;
	/* text-box trim doesn't close the gap in this build's Chromium: Figma's box starts at 204px from the stage
	   top, the rendered line box at 192px (12px short). Nudge it down without moving dec-offering/dec-cta below it. */
	margin-top: 12px;
	margin-bottom: -12px;
}
#dec-promo .dec-offering {
	max-width: 605px;
	font-size: 25px;
	line-height: 40px;
}
#dec-promo .dec-cta {
	width: 235px;
	height: 45px;
	padding: 0;
	border-radius: 54px;
	font-size: 20px;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}
#dec-promo .dec-cta:hover,
#dec-promo .dec-cta:focus-visible {
	filter: brightness(1.12);
}
#dec-promo .dec-shop {
	background-color: #ff0009;
}
#dec-promo .dec-play {
	background-color: #009546;
}

/* the promo card (1:31): background 1:32, headline group g1 (2:3618, 2:3640, the form title), the form, Play Now */
#dec-promo .dec-card {
	flex: 0 0 630px;
	width: 630px;
	height: 659px;
}
#dec-promo .dec-card-bg img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#dec-promo .dec-peek img {
	position: absolute;
	left: -120px;
	top: 411px;
	width: 154px;
	height: 295px;
	z-index: 3;
	pointer-events: none;
}
#dec-promo .dec-head {
	z-index: 1;
	flex: 0 0 auto;
	width: 664.1px;
	margin-top: 30.8px;
}
/* Figma's text nodes are navy (#073767) with their characters set to white: the same here */
#dec-promo .dec-title {
	color: #073767;
	font-size: 85.07px;
	line-height: 81.6px;
	font-weight: 400;
	letter-spacing: 0;
	white-space: nowrap;
	/* line-height is shorter than Boogaloo/Orange Crayon's natural metrics at this size, so the line box's ink
	   overflows above it: Figma's box starts at 147.8px, the rendered one at 136.4px (11.4px short). Nudge it down
	   without moving dec-guess/dec-journey below it. */
	margin-top: 11.4px;
	margin-bottom: -11.4px;
}
#dec-promo .dec-find,
#dec-promo .dec-yeti,
#dec-promo .dec-guess .dec-l1,
#dec-promo .dec-guess .dec-l2 {
	color: #fff;
}
#dec-promo .dec-guess .dec-l1,
#dec-promo .dec-guess .dec-l2 {
	display: block;
}
#dec-promo .dec-yeti {
	font-size: 88.92px;
	line-height: 81.6px;
}
#dec-promo .dec-guess {
	color: #073767;
	margin-top: 6px;
	font-size: 30px;
	line-height: 29.7px;
	letter-spacing: 0;
}
#dec-promo .dec-journey {
	margin-top: 63.2px;
	color: #000;
	font-size: 24.42px;
	line-height: 27px;
	letter-spacing: 0.45px;
}

/* the inline form (template-form, Form Master 1:2755): fields 564 wide, 53 tall, 25 between rows, 20 between columns */
#dec-promo .dec-form {
	z-index: 2;
	margin-top: 23.1px;
}
#dec-hero-form form.uni-style {
	--form-width: 583.94px;
	--form-field-padding: 12.5px 9.97px;
	--form-input-height: 53px;
	--form-input-radius: 6px;
	--form-input-font-size: 16px;
	--form-label-font-size: 16px;
	--form-label-offset-x: 17.75px;
	--form-input-text-indent: 17.75px;
	--form-label-margin-top: 0;
	--form-placeholder-color: #2a2a2a;
	--form-select-arrow-width: 12px;
	--form-select-arrow-height: 6px;
	--form-select-arrow-right: 18px;
	max-width: 100%;
	margin: 0 auto;
	color: #2a2a2a;
	font-family: 'Avenir Medium', 'Avenir-Roman', sans-serif;
}
#dec-hero-form form.uni-style input,
#dec-hero-form form.uni-style select,
#dec-hero-form form.uni-style textarea {
	border: 1.315px solid #c3c3c5;
	font-family: 'Avenir-Roman', sans-serif;
	color: #373737;
}
#dec-hero-form label .f-red {
	color: #fc5147;
}
#dec-hero-form .form-action {
	display: flex;
	justify-content: center;
	padding-top: 29.5px;
	text-align: center;
}
#dec-hero-form .form-action .button {
	width: 235px;
	height: 45px;
	margin: 0 auto;
	padding: 0;
	border-radius: 54px;
	background-color: #009546;
	color: #fff;
	font-size: 20px;
	line-height: 1;
}

/* in-between desktops: the two columns shrink, then stack */
@media screen and (max-width: 1360px) {
	#dec-promo .dec-inner {
		justify-content: center;
		gap: 30px;
	}
	#dec-promo .dec-deals {
		font-size: clamp(32px, 3.4vw, 47px);
		line-height: 1.255;
	}
	#dec-promo .dec-offering {
		font-size: clamp(18px, 1.85vw, 25px);
		line-height: 1.6;
	}
}
@media screen and (min-width: 768px) and (max-width: 991px) {
	#dec-promo .dec-inner {
		flex-direction: column;
		align-items: center;
		gap: 60px;
		padding: 60px 0 80px;
	}
	#dec-promo .dec-top {
		flex: 0 0 auto;
		width: 605px;
		max-width: 100%;
		margin-top: 0;
	}
}

/* phones: the 390 frame. Top Hero (45:7223) then the GB block (45:9956), each its frame's own numbers */
@media screen and (max-width: 767px) {
	#dec-promo .dec-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		max-width: none;
		padding: 0;
	}
	#dec-promo .dec-top {
		flex: 0 0 auto;
		width: 100%;
		height: 107.436cqw;
		margin-top: 0;
	}
	#dec-promo .dec-photo img {
		position: absolute;
		top: -3.077cqw;
		left: 0;
		width: 100%;
		height: 112.564cqw;
	}
	#dec-promo .dec-left {
		width: 89.744cqw;
		margin: 15.385cqw auto 0;
		gap: 7.692cqw;
	}
	#dec-promo .dec-deals {
		max-width: none;
		font-size: 5.897cqw;
		line-height: 7.949cqw;
		/* the desktop nudge above is for that font size only; this frame's "Great Rent to Own..." already
		   measured inside tolerance (top 54.8px vs Figma 60px) without it */
		margin-top: 0;
		margin-bottom: 0;
	}
	#dec-promo .dec-offering {
		max-width: none;
		font-size: 3.59cqw;
		line-height: 5.897cqw;
		text-box: trim-both cap alphabetic;
	}
	#dec-promo .dec-cta {
		width: 60.256cqw;
		height: 11.538cqw;
		border-radius: 13.846cqw;
		font-size: 5.128cqw;
	}
	#dec-promo .dec-card {
		flex: 0 0 auto;
		width: 100%;
		height: 104.359cqw;
	}
	#dec-promo .dec-peek img {
		position: absolute;
		z-index: 0;
		left: 5.897cqw;
		top: -0.256cqw;
		width: 88.205cqw;
		height: 61.538cqw;
	}
	#dec-promo .dec-head {
		width: 99.744cqw;
		margin-top: 22.769cqw;
	}
	#dec-promo .dec-title {
		font-size: 18.7cqw;
		line-height: 17.931cqw;
		/* same line-box overflow as desktop, scaled to this frame: Figma's box starts at 507.8px of 390, the
		   rendered one at 498.3px (9.5px / 2.436cqw short). */
		margin-top: 2.436cqw;
		margin-bottom: -2.436cqw;
	}
	#dec-promo .dec-yeti {
		display: block;
		font-size: 21.744cqw;
		line-height: 17.931cqw;
	}
	#dec-promo .dec-guess {
		color: #fff;
		margin-top: 8.718cqw;
		font-size: 5.128cqw;
		line-height: 4.103cqw;
		letter-spacing: 0.103cqw;
		-webkit-text-stroke: 0.07cqw #fff;
	}
	#dec-promo .dec-guess .dec-l2 {
		margin-top: 2.863cqw;
	}
	#dec-promo .dec-play-m {
		z-index: 1;
		margin-top: 4.923cqw;
	}
}
