/* Scoped to the two home rows; the production shell, typography and palette remain untouched. */
.cws-demo-home-hero,
.cws-demo-home-top3 {
	box-sizing: border-box;
	width: 100%;
}

.cws-demo-home-hero {
	position: relative;
	background: #f7f9fc;
	color: #172033;
	padding: clamp(10rem, 12vw, 11rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 4vw, 4.5rem);
}

.cws-demo-home-hero::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: clamp(6.6rem, 11vw, 10rem);
	background: #111214;
	content: "";
}

.cws-demo-home-hero__copy {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.cws-demo-home-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
	gap: clamp(2rem, 5vw, 5.5rem);
	align-items: center;
	max-width: 1240px;
	margin: 0 auto;
}

.cws-demo-home-hero__copy,
.cws-demo-home-hero__snapshot {
	min-width: 0;
}

.cws-demo-home-hero__eyebrow,
.cws-demo-home-hero__title,
.cws-demo-home-hero__lead,
.cws-demo-home-hero__note,
.cws-demo-home-hero__snapshot h2,
.cws-demo-home-hero__snapshot p,
.cws-demo-home-hero__snapshot dl {
	margin: 0 !important;
}

.cws-demo-home-hero__eyebrow {
	position: static !important;
	display: block !important;
	float: none !important;
	clear: both;
	transform: none !important;
	visibility: visible !important;
	color: #9a6400;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.cws-demo-home-hero__title {
	box-sizing: border-box;
	max-width: 16ch;
	margin-top: 1.25rem !important;
	color: #172033;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2.65rem, 5.5vw, 5rem);
	font-weight: 400;
	letter-spacing: .01em;
	line-height: .98;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
	white-space: normal;
	text-wrap: balance;
}

.cws-demo-home-hero__lead {
	max-width: 58ch;
	margin-top: 1.35rem !important;
	color: #42506a;
	font-size: clamp(1.05rem, 1.7vw, 1.28rem);
	line-height: 1.55;
}

.cws-demo-home-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.65rem !important;
}

.cws-demo-home-actions > a {
	box-sizing: border-box;
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: .75rem 1.2rem;
	border: 1px solid #2453e6;
	border-radius: 999px;
	font-size: .95rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	white-space: normal;
}

.cws-demo-home-actions__primary {
	background: #2453e6;
	color: #fff !important;
}

.cws-demo-home-actions__secondary {
	background: #fff;
	color: #2453e6 !important;
}

.cws-demo-home-actions > a:hover,
.cws-demo-home-actions > a:focus-visible,
.cws-demo-home-hero__snapshot-link:hover,
.cws-demo-home-hero__snapshot-link:focus-visible {
	border-color: #2453e6;
	box-shadow: 0 0 0 3px rgba(36, 83, 230, .2);
	outline: none;
}

.cws-demo-home-actions__primary:hover,
.cws-demo-home-actions__primary:focus-visible {
	background: #1d45c4;
	color: #fff !important;
}

.cws-demo-home-hero__note {
	max-width: 58ch;
	margin-top: 1rem !important;
	color: #667085;
	font-size: .92rem;
	line-height: 1.5;
}

.cws-demo-home-hero__snapshot {
	box-sizing: border-box;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: #fff;
	border: 1px solid #dfe5ef;
	border-top: 4px solid #f4b230;
	border-radius: 20px;
	box-shadow: 0 18px 48px rgba(23, 32, 51, .1);
}

.cws-demo-home-hero__snapshot-status {
	display: flex;
	align-items: center;
	gap: .5rem;
	color: #2453e6;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.cws-demo-home-hero__status-dot {
	display: inline-block;
	width: .55rem;
	height: .55rem;
	border-radius: 50%;
	background: #2ca56f;
}

.cws-demo-home-hero__snapshot-update {
	margin-top: .65rem !important;
	color: #667085;
	font-size: .85rem;
}

.cws-demo-home-hero__snapshot h2 {
	margin-top: 1.1rem !important;
	color: #172033;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.45rem);
	font-weight: 400;
	line-height: 1;
}

.cws-demo-home-hero__snapshot-price {
	display: flex;
	align-items: baseline;
	gap: .55rem;
	margin-top: 1.15rem !important;
}

.cws-demo-home-hero__snapshot-price strong {
	color: #172033;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	line-height: 1;
}

.cws-demo-home-hero__snapshot-price span {
	color: #667085;
	font-size: .9rem;
	line-height: 1.35;
}

.cws-demo-home-hero__snapshot-list {
	display: grid;
	gap: .8rem;
	margin-top: 1.25rem !important;
}

.cws-demo-home-hero__snapshot-list > div {
	display: grid;
	grid-template-columns: 7rem minmax(0, 1fr);
	gap: .75rem;
	padding-top: .8rem;
	border-top: 1px solid #edf0f5;
}

.cws-demo-home-hero__snapshot-list dt {
	color: #667085;
	font-size: .78rem;
	font-weight: 800;
	text-transform: uppercase;
	white-space: nowrap;
}

.cws-demo-home-hero__snapshot-list dd {
	margin: 0;
	color: #172033;
	font-size: .92rem;
	line-height: 1.4;
	word-break: break-word;
}

.cws-demo-home-hero__snapshot-link {
	display: inline-flex;
	gap: .45rem;
	margin-top: 1.35rem !important;
	color: #2453e6 !important;
	font-size: .92rem;
	font-weight: 800;
	text-decoration: none;
}

.cws-demo-home-top3 {
	background: #f7f9fc;
	padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 4vw, 3rem);
	color: #172033;
}

.cws-demo-home-top3__inner {
	max-width: 1240px;
	margin: 0 auto;
}

.cws-demo-home-top3__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
}

.cws-demo-home-top3__heading-copy {
	min-width: 0;
}

.cws-demo-home-top3__eyebrow {
	margin: 0;
	color: #2453e6;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.cws-demo-home-top3__heading h2 {
	margin: .45rem 0 0 !important;
	color: #172033;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 400;
	line-height: 1;
}

.cws-demo-home-top3__metric {
	max-width: 36ch;
	min-height: 2.9em;
	margin: 0;
	color: #667085;
	font-size: .92rem;
	line-height: 1.45;
	text-align: right;
}

.cws-demo-home-top3__tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .55rem;
	margin-top: 1.25rem;
}

.cws-demo-home-top3__tab {
	appearance: none;
	min-height: 3.2rem;
	box-sizing: border-box;
	border: 1px solid #dfe5ef;
	border-radius: 12px;
	padding: .7rem .8rem;
	background: #fff;
	color: #667085;
	cursor: pointer;
	font: inherit;
	font-size: .92rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-wrap: balance;
	white-space: normal;
}

.cws-demo-home-top3__tab.is-active,
.cws-demo-home-top3__tab[aria-selected="true"] {
	border-color: #2453e6;
	background: #eef3ff;
	color: #2453e6;
}

.cws-demo-home-top3__panel {
	padding-top: 1rem;
}

.cws-demo-home-top3__panel[hidden] {
	display: none;
}

.cws-demo-home-top3__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.cws-demo-home-top3__card {
	display: flex;
	min-width: 0;
	box-sizing: border-box;
	flex-direction: column;
	gap: .6rem;
	padding: clamp(1rem, 2vw, 1.35rem);
	border: 1px solid #dfe5ef;
	border-radius: 16px;
	background: #fff;
}

.cws-demo-home-top3__card--store {
	border-color: #aebdf4;
	box-shadow: 0 12px 30px rgba(36, 83, 230, .08);
}

.cws-demo-home-top3__card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
}

.cws-demo-home-top3__rank {
	color: #2453e6;
	font-size: 1.35rem;
	font-weight: 800;
}

.cws-demo-home-top3__badge {
	color: #667085;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-align: right;
	text-transform: uppercase;
}

.cws-demo-home-top3__card--store .cws-demo-home-top3__badge {
	padding: .28rem .5rem;
	border-radius: 999px;
	background: rgba(44, 165, 111, .12);
	color: #237b56;
}

.cws-demo-home-top3__card:not(.cws-demo-home-top3__card--store) .cws-demo-home-top3__badge {
	color: #667085;
}

.cws-demo-home-top3__card h3,
.cws-demo-home-top3__producer,
.cws-demo-home-top3__reason,
.cws-demo-home-top3__price,
.cws-demo-home-top3__muted {
	margin: 0 !important;
}

.cws-demo-home-top3__card h3 {
	color: #172033;
	font-family: inherit;
	font-size: clamp(1.05rem, 1.6vw, 1.22rem);
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	overflow-wrap: anywhere;
}

.cws-demo-home-top3__producer,
.cws-demo-home-top3__muted {
	color: #667085;
	font-size: .88rem;
}

.cws-demo-home-top3__reason {
	color: #42506a;
	font-size: .93rem;
	line-height: 1.5;
}

.cws-demo-home-top3__price {
	display: flex;
	align-items: baseline;
	gap: .65rem;
	margin-top: .15rem;
}

.cws-demo-home-top3__price strong {
	color: #172033;
	font-size: 1.45rem;
}

.cws-demo-home-top3__price span {
	color: #667085;
	font-size: .82rem;
	line-height: 1.35;
}

.cws-demo-home-top3__cta {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: .45rem;
	margin-top: .25rem;
	padding: .7rem 1rem;
	border: 1px solid #2453e6;
	border-radius: 10px;
	background: #2453e6;
	color: #fff !important;
	font-weight: 800;
	text-decoration: none;
}

.cws-demo-home-top3__cta:hover,
.cws-demo-home-top3__cta:focus-visible {
	background: #1d45c4;
	box-shadow: 0 0 0 3px rgba(36, 83, 230, .2);
	color: #fff !important;
	outline: none;
}

.cws-demo-home-top3__footnote {
	max-width: 80ch;
	margin: 1.5rem 0 0;
	color: #667085;
	font-size: .9rem;
	line-height: 1.5;
}

.cws-demo-home-top3__footnote a {
	color: #2453e6 !important;
	font-weight: 800;
}

.cws-demo-home-top3__footnote a:hover,
.cws-demo-home-top3__footnote a:focus-visible,
.cws-demo-home-top3__tab:focus-visible {
	border-radius: 4px;
	box-shadow: 0 0 0 3px rgba(36, 83, 230, .2);
	outline: none;
}

.cws-demo-home-top3__fallback h2,
.cws-demo-home-top3__fallback {
	margin: 0;
	color: #667085;
}

.cws-demo-home-top3__fallback h2 {
	color: #172033;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 400;
}

@media (max-width: 900px) {
	.cws-demo-home-hero__inner,
	.cws-demo-home-top3__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.cws-demo-home-hero__title {
		max-width: 18ch;
	}

	.cws-demo-home-top3__heading {
		align-items: start;
		flex-direction: column;
		gap: .6rem;
	}

	.cws-demo-home-top3__metric {
		text-align: left;
	}

	.cws-demo-home-top3__tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.cws-demo-home-hero,
	.cws-demo-home-top3 {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.cws-demo-home-hero__inner {
		gap: 2rem;
	}

	.cws-demo-home-hero__title {
		max-width: none;
		font-size: clamp(2.15rem, 10vw, 4rem);
		line-height: 1;
	}

	.cws-demo-home-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.cws-demo-home-actions > a {
		width: 100%;
	}

	.cws-demo-home-hero__snapshot-list > div {
		grid-template-columns: minmax(0, 1fr);
		gap: .25rem;
	}

	.cws-demo-home-top3__tab {
		min-height: 3.5rem;
		font-size: .82rem;
	}

	.cws-demo-home-top3__cta {
		width: 100%;
	}

	.cws-demo-home-top3__price {
		align-items: flex-start;
		flex-direction: column;
		gap: .2rem;
	}
}
