.fa-play-circle {
	font-size: 3rem;
}

.padding-top {
	padding-top: 4rem;
}

#substitute {
	font-family: 'Chelsea Market', cursive;
	font-size: 3.5em;
}

.littleBitLarger {
	font-size: 18px;
	line-height: 2em;
}

/* https://storage.needpix.com/rsynced_images/superhero-304713_1280.png */
.taller {
	min-height: 14em
}

.hero-trophy {
	width: 25%;
	/* Smaller default for mobile */
	max-width: 120px;
}

@media (min-width: 992px) {
	.hero-trophy {
		width: 40%;
		/* Restoration for desktop */
		max-width: 200px;
	}
}

.sd-hero {
	position: relative;
	padding: 40px 0 24px;
	background:
		linear-gradient(180deg, #ffffff 0%, #fbfbfb 70%, #f1f1f1 100%);
	overflow: hidden;
}

.sd-hero-copy {
	background: linear-gradient(to left, rgba(180,180,180,0.3) 0%, rgba(200,200,200,0.15) 30%, rgba(255,255,255,0) 70%);
	padding: 2rem 2rem 2rem 0;
	border-radius: 0.5rem;
}

.sd-hero-img {
	max-width: 200px !important;
	width: 100% !important;
}

.sd-hero:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 70px;
	background: #ffffff;
	clip-path: ellipse(70% 100% at 50% 100%);
}

.sd-hero .container {
	position: relative;
	z-index: 2;
}

/* --- SwatchLabels-Style Hero Section Styles --- */
.sl-hero {
	padding: 5rem 0 4rem;
	background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 70%, #f7f7f7 100%);
	border-left: 1px solid rgba(0, 0, 0, .125);
	border-right: 1px solid rgba(0, 0, 0, .125);
	border-top: 0;
	border-bottom: 0;
	border-radius: 0;
	position: relative;
	overflow: hidden;
	min-height: 480px;
	display: flex;
	align-items: center;
}

.sd-market-callout {
	border-left: 1px solid rgba(0, 0, 0, .125);
	border-right: 1px solid rgba(0, 0, 0, .125);
	border-top: 0;
	border-bottom: 0;
	border-radius: 0;
	margin-top: 0;
}

.sl-hero-img-container {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 35%;
	z-index: 1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sl-hero-right .sl-hero-img-container {
	left: auto;
	right: 0;
}

.sl-hero-bg-img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: contain;
	object-position: center;
}

.sl-hero-right .sl-hero-bg-img {
	object-position: center;
}

.sl-hero-title {
	margin: 0 0 1.5rem;
	line-height: 1.15;
}

.sl-line-one {
	display: block;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(1.6rem, 3.5vw, 2.5rem) !important;
	font-weight: 700 !important;
	color: #b30000 !important;
	margin-bottom: 0.5rem;
}

.sl-line-two {
	display: block;
	font-family: 'Chelsea Market', cursive;
	font-size: clamp(2.7rem, 6vw, 4.8rem) !important;
	font-weight: 900 !important;
	color: #000000 !important;
	letter-spacing: -0.01em;
}

.sl-hero-subtext {
	font-family: "Montserrat", sans-serif;
	font-size: clamp(1.1rem, 2.2vw, 1.35rem);
	line-height: 1.6;
	color: #222222;
	font-weight: 500;
	max-width: 600px;
	margin: 0;
}

.th-how-it-works {
	background-color: #f2f2f2 !important;
	border: 1px solid rgba(0, 0, 0, .125) !important;
	border-radius: 0 !important;
}

.th-ready-to-tally {
	background-color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, .125) !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-radius: 0 !important;
}

.th-how-it-works .card-header,
.th-how-it-works .card-body,
.th-how-it-works .card-footer,
.th-ready-to-tally .card-header,
.th-ready-to-tally .card-body,
.th-ready-to-tally .card-footer {
	border-radius: 0;
}

@media (min-width: 992px) {
	.sl-hero {
		min-height: 380px;
		padding: 3rem 0;
	}
	.sl-hero-bg-img {
		object-position: center;
	}
	.sl-line-one {
		font-size: 2.8rem !important;
	}
	.sl-line-two {
		font-size: 3.56rem !important;
	}
	.sl-hero-subtext {
		font-size: 1.6rem;
		max-width: 720px;
	}
	.sl-hero-text {
		padding-right: 0;
	}
}

@media (max-width: 991px) {
	.sl-hero {
		padding: 3rem 0;
		min-height: auto;
		text-align: center;
	}
	.sl-hero-img-container {
		width: 100%;
		opacity: 0.12;
	}
	.sl-hero-bg-img {
		mask-image: none;
		-webkit-mask-image: none;
		object-position: center;
	}
	.sl-hero-subtext {
		margin: 0 auto;
	}
}


.sd-hero-copy {
	max-width: 640px;
}

.sd-script {
	font-family: "Chelsea Market", cursive;
	font-size: 2rem;
	line-height: 1;
	color: #222;
	transform: rotate(-4deg);
	display: inline-block;
	margin-right: 0.5rem;
	margin-bottom: 0;
}

.sd-hero h1 {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-weight: 800;
	color: #222;
	line-height: 1.05;
}

.sd-hero h1 span:not(.sd-script) {
	display: block;
	width: fit-content;
	font-family: "Chelsea Market", cursive;
	font-size: clamp(3rem, 7vw, 5rem);
	letter-spacing: .03em;
	color: #bd2a26;
	position: relative;
	line-height: .95;
	margin-bottom: 7px;
	padding-bottom: 0.35rem;
}

.sd-hero h1 span:not(.sd-script)::after {
	content: "";
	position: absolute;
	left: -8px;
	width: calc(100% + 16px);
	bottom: -0.35rem;
	height: 0.95rem;
	background:
		radial-gradient(circle at 10% 70%, rgba(255, 255, 255, 0.35) 0%, transparent 18%),
		radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.22) 0%, transparent 18%),
		radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.22) 0%, transparent 18%),
		linear-gradient(90deg, rgba(189, 42, 38, 0.94) 0%, rgba(189, 42, 38, 0.94) 100%);
	background-blend-mode: screen;
	transform: skewX(-12deg) rotate(-2deg);
	clip-path: polygon(0 25%, 10% 22%, 18% 18%, 30% 22%, 40% 17%, 52% 18%, 60% 22%, 70% 18%, 85% 20%, 100% 24%, 100% 85%, 0 90%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 5px rgba(0, 0, 0, 0.12);
	z-index: -1;
}

.sd-hero h1 small {
	display: block;
	font-size: clamp(1.4rem, 2.5vw, 2.2rem);
	font-weight: 700;
	line-height: 1.25;
}

.sd-subline {
	margin-top: 14px;
	font-family: "Chelsea Market", cursive;
	font-size: clamp(1.4rem, 2.5vw, 2.2rem);
	font-style: italic;
	color: #222;
}

.sd-hero-img {
	max-width: 560px;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 2;
}

@media (min-width: 992px) {
    .sd-hero-img {
        max-width: 720px;
        width: 100%;
    }
}

.sd-feature-strip {
    background-color: #f6f6f6;
    padding: 2rem 0;
	border: 1px solid rgba(0, 0, 0, .125) !important;
	border-radius: 0;
}

.th-ready-to-tally.sd-feature-strip {
	border-left: 0 !important;
	border-right: 0 !important;
}

.sd-feature-strip.sd-feature-strip-bordered {
	border: var(--bs-card-border-width) solid var(--bs-card-border-color) !important;
	border-radius: var(--bs-card-border-radius);
}

.sd-feature-strip.sd-feature-strip-bordered .card-body .row > .col-md-4 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
}

.sd-feature-strip.sd-feature-strip-bordered .card-body .row > .col-md-4 h4 {
	min-height: 3rem;
	margin-bottom: 0.9rem;
}

.sd-feature-strip.sd-feature-strip-bordered .card-body .row > .col-md-4 ul {
	margin-bottom: 0;
	padding-left: 1.1rem;
	line-height: 1.45;
}

@media (min-width: 1200px) {
	.sd-feature-strip.sd-feature-strip-bordered .card-body .row > .col-md-4 ul {
		font-size: 0.94rem;
	}
}

@media (min-width: 1400px) {
	.sd-feature-strip.sd-feature-strip-bordered .card-body .row > .col-md-4 ul {
		font-size: 0.9rem;
	}
}

.sd-market-callout {
	position: relative;
	z-index: 3;
	margin-top: 0;
	padding: 72px 0;
}

.sd-market-callout + .row {
	margin-top: 0.75rem;
}

.sd-market-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	padding: 34px 32px 32px 138px;
	border-radius: 10px;
	background: linear-gradient(135deg, #c9221c 0%, #8f140f 100%);
	color: #ffffff;
	box-shadow: 0 16px 35px rgba(0, 0, 0, .18);
	position: relative;
	overflow: visible;
	min-height: 140px;
}

.sd-market-icon {
	position: absolute;
	left: -24px;
	top: -26px;
	z-index: 2;
	width: 144px;
	height: 144px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #ffffff;
	border: 5px solid rgba(255, 255, 255, .96);
	box-shadow: 0 20px 48px rgba(0, 0, 0, .28);
}

.sd-market-icon::before {
	content: "";
	position: absolute;
	inset: 12px;
	border-radius: 50%;
	background: linear-gradient(135deg, #d63b31 0%, #a11710 100%);
}

.sd-market-icon i {
	position: relative;
	z-index: 1;
	font-size: 4.15rem;
	line-height: 1;
	color: #ffffff;
}

.sd-market-text {
	text-align: center;
}

.sd-market-text h2 {
	margin: 0 0 8px;
	font-size: 2rem;
	font-weight: 700;
}

.sd-market-text p {
	margin: 0;
	font-size: 1.05rem;
}

.sd-market-actions {
	display: flex;
	gap: 14px;
	white-space: nowrap;
}

.sd-market-actions .btn {
	min-width: 130px;
	font-weight: 600;
}

@media (max-width: 991px) {
	.sd-hero {
		text-align: center;
		padding-top: 40px;
	}

	.sd-hero h1 {
		justify-content: center;
		align-items: flex-start;
	}

	.sd-script,
	.sd-hero h1 span {
		margin-left: auto;
		margin-right: auto;
	}

	.sd-script {
		margin-right: 0;
		margin-bottom: 0;
	}

	.sd-hero h1 span:not(.sd-script) {
		margin-top: -0.3rem;
		margin-bottom: 0;
		padding-bottom: 0.2rem;
	}

	.sd-market-card {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 26px 24px 24px;
		min-height: 0;
	}

	.sd-market-callout {
		padding: 24px 0;
	}

	.sd-market-icon {
		position: relative;
		left: auto;
		top: auto;
		width: 96px;
		height: 96px;
		margin: 0 auto;
	}

	.sd-market-icon::before {
		inset: 10px;
	}

	.sd-market-icon i {
		font-size: 2.9rem;
	}

	.sd-market-actions {
		justify-content: center;
		flex-wrap: wrap;
	}
}

/* Responsive Typography and Spacing */
@media (max-width: 768px) {
	.display-1 {
		font-size: 2.5rem !important;
	}

	.display-3 {
		font-size: 2rem !important;
	}

	.display-6 {
		font-size: 1.5rem !important;
	}

	.fs-4 {
		font-size: 1.15rem !important;
	}

	.py-5 {
		padding-top: 2.5rem !important;
		padding-bottom: 2.5rem !important;
	}
}

/* Specific Section Adjustments */
@media (max-width: 991px) {
	.hero-trophy {
		margin-top: 2rem;
		/* Space below text when stacked */
	}
}

/* Ensure display classes win over ChelseaMarket fixed size on all screens */
.ChelseaMarket.display-1 {
	font-size: 3rem !important;
}

.ChelseaMarket.display-3 {
	font-size: 2.5rem !important;
}

/* Existing responsive overrides for smaller screens */
@media (max-width: 768px) {
	.ChelseaMarket.display-1 {
		font-size: 2rem !important;
	}

	.ChelseaMarket.display-3 {
		font-size: 1.75rem !important;
	}
}

h4.ChelseaMarket {
	font-size: 1.25rem !important;
}

/* Attention-Grabbing Animations */
@keyframes entry-pop {
	0% {
		opacity: 0;
		transform: scale(0.5);
	}

	70% {
		transform: scale(1.1);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes pulse-subtle {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.03);
	}

	100% {
		transform: scale(1);
	}
}

.attention-animation {
	display: inline-block;
	/* Required for transform animations */
	animation: entry-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
		pulse-subtle 2s ease-in-out infinite 1s;
}