/**
 * Harmony Live Metrics — styles.
 *
 * These styles ONLY apply to the optional [harmony_live_metrics] drop-in grid.
 * If you are injecting numbers into your existing Bricks counters (the
 * recommended path), you don't need any of this — your Bricks styling stays
 * untouched. Restyle freely to match harmonymsp.kinsta.cloud.
 */

.harmony-metrics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
	width: 100%;
	max-width: 1100px;
	margin-inline: auto;
}

.harmony-metric {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.75rem 1.25rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(6px);
}

.harmony-metric__value {
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	/* Uses the site's accent by default; override to match your brand. */
	color: var(--harmony-accent, #35c6a5);
	font-variant-numeric: tabular-nums;
}

.harmony-metric__label {
	margin-top: 0.6rem;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--harmony-label, #9aa7b2);
	max-width: 22ch;
}

@media (prefers-reduced-motion: reduce) {
	.harmony-metric__value {
		transition: none;
	}
}
