/**
 * SCBL — Growth Band block.
 *
 * Figma node 10010:108. Dark band: title + paragraph + outlined button (left)
 * + three orange stat badges (right). Two columns at desktop, stacked on mobile.
 */

.growth-band {
	width: 100%;
	background: var(--color-indigo-900);
	color: var(--color-white);
	padding: 0;
}

.growth-band__inner {
	width: 100%;
	max-width: var(--container-wide); /* matches the hero — 1680px */
	margin-inline: auto;
	padding: clamp(2rem, 4vw, 4rem) var(--container-padding);
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.growth-band__content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: flex-start;
}

.growth-band__title {
	font-family: var(--font-primary);
	font-weight: var(--fw-semibold);
	font-size: clamp(2rem, 3vw + 1rem, 3rem);
	line-height: var(--lh-tight);
	color: var(--color-white);
	margin: 0;
	max-width: 28rem; /* 448px — keeps the headline tight */
}

.growth-band__desc {
	font-family: var(--font-primary);
	font-weight: var(--fw-regular);
	font-size: var(--fs-r3);
	line-height: var(--lh-snug);
	color: var(--color-dark-300);
	margin: 0;
	max-width: 40rem;
}

.growth-band__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--color-white);
	border-radius: 0.5rem;
	background: transparent;
	color: var(--color-white);
	text-decoration: none;
	font-family: var(--font-primary);
	font-weight: var(--fw-medium);
	font-size: var(--fs-r4);
	line-height: var(--lh-snug);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.growth-band__btn:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--color-white);
}

.growth-band__btn:focus { outline: none; }
.growth-band__btn:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 3px;
}

.growth-band__btn-icon {
	width: 1.5rem;
	height: 1.5rem;
	display: inline-flex;
	flex-shrink: 0;
}
.growth-band__btn-icon svg { width: 100%; height: 100%; display: block; }

/* ─── Stat badges ────────────────────────────────────────────────────── */
.growth-band__stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.growth-band__stat {
	background: var(--color-orange-500);
	border-radius: 1rem;
	padding: 1rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 0.25rem;
	width: 13rem;
}

.growth-band__stat-value {
	font-family: var(--font-primary);
	font-weight: var(--fw-semibold);
	font-size: var(--fs-h3);
	line-height: var(--lh-tight);
	color: var(--color-white);
}

.growth-band__stat-label {
	font-family: var(--font-primary);
	font-weight: var(--fw-medium);
	font-size: var(--fs-r5);
	line-height: var(--lh-snug);
	letter-spacing: var(--ls-uppercase-lg);
	text-transform: uppercase;
	color: var(--color-orange-100);
}

@media (max-width: 63.9375rem) {
	.growth-band__inner,
	.growth-band__content,
	.growth-band__stats {
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.growth-band__title,
	.growth-band__desc {
		margin-inline: auto;
	}

	.growth-band__stats {
		width: 100%;
	}

	.growth-band__title {
		font-size: clamp(1.25rem, 7vw, 1.75rem);
	}

	.growth-band__desc,
	.growth-band__btn {
		font-size: var(--fs-r3);
	}

	.growth-band__stat-value {
		font-size: clamp(1.125rem, 6vw, 1.5rem);
	}

	.growth-band__stat-label {
		font-size: var(--fs-r5);
	}
}

/* ─── Medium desktop: 2-column row, stats can shrink so they don't overflow. */
@media (min-width: 64rem) {
	.growth-band__inner {
		flex-direction: row;
		align-items: center;
		gap: clamp(1.5rem, 3vw, 3rem);
		padding: clamp(2.5rem, 4vw, 5.5rem) var(--container-padding);
	}

	.growth-band__content {
		flex: 1 1 0;
		min-width: 0;
	}

	.growth-band__stats {
		flex: 0 0 auto;
		flex-wrap: nowrap;
		gap: 1rem;
	}

	.growth-band__stat {
		width: 9rem;
		padding: 1rem 1.25rem;
	}
}

/* ─── Wide desktop: stats settle at their full Figma size. ───────────── */
@media (min-width: 80rem) {
	.growth-band__inner {
		gap: 3rem;
	}

	.growth-band__stats {
		gap: 1.5rem;
	}

	.growth-band__stat {
		width: 14rem;
		padding: 1rem 2rem;
	}
}

/* ─── Editor preview tweak ───────────────────────────────────────────── */
.growth-band.is-editor-preview {
	min-height: 14rem;
}
