/* ============================================================
   Homepage "In numbers" strip (#numbers) - one slim dark bar under the hero.
   Dividers are little wires with a pulse running between the figures.
   ============================================================ */
.numstrip { position: relative; z-index: 2; padding: 32px 0 8px; }

.numbar {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 22px 8px;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(420px 120px at 0% 0%, rgba(76, 141, 255, .22), transparent 70%),
		radial-gradient(420px 120px at 100% 100%, rgba(124, 58, 237, .26), transparent 70%),
		#0d1424;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	isolation: isolate;
}
.numbar::before { /* gradient hairline border */
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
	background: linear-gradient(120deg, rgba(76, 141, 255, .6), rgba(255, 255, 255, .06) 40%, rgba(124, 58, 237, .6));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
}

.numbar__item {
	position: relative;
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 0 16px;
}
/* Wire divider with a travelling pulse */
.numbar__item + .numbar__item::before {
	content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px;
	background: rgba(255, 255, 255, .1);
}
.numbar__item + .numbar__item::after {
	content: ""; position: absolute; left: -2px; top: 10%; width: 5px; height: 14px; border-radius: 3px;
	background: linear-gradient(180deg, transparent, #8fb2ff, transparent);
	animation: numbar-pulse 2.8s ease-in-out infinite;
	animation-delay: calc(var(--d, 0) * .45s);
	opacity: 0;
}
.numbar__item:nth-child(3) { --d: 1; }
.numbar__item:nth-child(4) { --d: 2; }
@keyframes numbar-pulse {
	0% { transform: translateY(0); opacity: 0; }
	15% { opacity: 1; }
	85% { opacity: 1; }
	100% { transform: translateY(calc(80px - 14px)); opacity: 0; }
}

.numbar__fig {
	font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em;
	font-size: 38px; line-height: 1.05;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(180deg, #fff 35%, #a9bcff);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.numbar__lbl { margin-top: 4px; font-size: 13.5px; font-weight: 500; color: #9aa6bf; }

@media (max-width: 760px) {
	.numbar { grid-template-columns: repeat(2, 1fr); row-gap: 20px; padding: 20px 4px; }
	.numbar__item:nth-child(3)::before, .numbar__item:nth-child(3)::after { display: none; }
	.numbar__fig { font-size: 30px; }
	.numbar__lbl { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
	.numbar__item + .numbar__item::after { animation: none; }
}
