.zeta-counter {
	--zeta-counter-gap: 12px;
	--zeta-counter-metric-gap: 3px;
	--zeta-counter-copy-gap: 4px;
	display: flex;
	width: fit-content;
	max-width: 100%;
}

.zeta-counter--width-full {
	width: 100%;
}

.zeta-counter__inner {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: var(--zeta-counter-gap);
	min-width: 0;
	max-width: 100%;
	background: transparent;
}

.zeta-counter--layout-stacked .zeta-counter__inner {
	flex-direction: column;
	align-items: flex-start;
}

.zeta-counter__metric {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: baseline;
	gap: var(--zeta-counter-metric-gap);
	min-width: 0;
	max-width: 100%;
	line-height: 1;
	white-space: nowrap;
}

.zeta-counter__prefix,
.zeta-counter__suffix,
.zeta-counter__unit,
.zeta-counter__value {
	display: inline-block;
	line-height: 1;
}

.zeta-counter__value {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: #0f172a;
}

.zeta-counter__prefix,
.zeta-counter__suffix,
.zeta-counter__unit {
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	color: #334155;
}

.zeta-counter__copy {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: var(--zeta-counter-copy-gap);
	min-width: 0;
}

.zeta-counter__label {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	color: #0f172a;
}

.zeta-counter__subtext {
	display: block;
	font-size: 13px;
	line-height: 1.5;
	color: #64748b;
}

.zeta-counter.has-no-copy .zeta-counter__inner {
	gap: 0;
}

@media (max-width: 767px) {
	.zeta-counter__value {
		font-size: clamp(28px, 10vw, 44px);
	}
}
