/* Everything stays connected. The art carries the tablet and its ring; the five
   features are glass pills over it, positioned from the reference at desktop and
   laid out as a plain grid when stacked. */
.vamora-home-connected {
	position: relative;
	padding: 1.5rem 1.25rem 2rem;
	overflow: clip;
	background:
		radial-gradient(38% 60% at 0% 50%, #f6eefd 0%, transparent 100%),
		var(--home-page);
}

.vamora-home-connected__title {
	font-size: clamp(2.125rem, 9vw, 3rem);
	line-height: 1.03;
	letter-spacing: var(--home-track-tight);
}

.vamora-home-connected__lead {
	margin-top: 1rem;
	color: var(--home-text);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.3;
}

.vamora-home-connected__rule {
	display: block;
	width: 2.75rem;
	height: 0.1875rem;
	margin-top: 0.75rem;
	border-radius: 2px;
	background: var(--home-rule-bar);
}

.vamora-home-connected__stage {
	position: relative;
	margin-top: 1rem;
}

.vamora-home-connected__art {
	position: relative;
	width: 124%;
	margin-left: -12%;
}

.vamora-home-connected__image {
	width: 100%;
	height: auto;
}

.vamora-home-connected__chart {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.vamora-home-connected__chart-line {
	fill: none;
	stroke: none;
}

.vamora-home-connected__wires {
	display: none;
}

.vamora-home-connected__pills {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.vamora-home-pill {
	--icon-size: 2rem;

	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--home-glass-edge);
	border-radius: 1.25rem;
	background: var(--home-glass-strong);
	box-shadow: 0 6px 22px var(--home-glass-shadow);
}

.vamora-home-pill__icon {
	flex: none;
	color: var(--home-violet);
}

.vamora-home-pill__copy {
	display: grid;
	gap: 0.125rem;
}

.vamora-home-pill__title {
	color: var(--home-ink);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.15;
}

.vamora-home-pill__text {
	color: var(--home-soft);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.22;
}

@media (min-width: 37.5em) {
	.vamora-home-connected {
		padding-inline: 2.5rem;
	}
}

@media (min-width: 64em) {
	.vamora-home-connected {
		height: calc(230 * var(--u));
		padding: 0;
		overflow: visible;
		background:
			linear-gradient(180deg, var(--home-page) 0%, transparent 18%, transparent 74%, var(--home-page) 100%),
			radial-gradient(calc(420 * var(--u)) calc(190 * var(--u)) at 0% 55%, #f6eefd 0%, transparent 100%),
			radial-gradient(calc(330 * var(--u)) calc(190 * var(--u)) at 100% 50%, #f5effd 0%, transparent 100%),
			#f7f2fd;
	}

	.vamora-home-connected__head {
		z-index: 2;
	}

	.vamora-home-connected__head,
	.vamora-home-connected__stage {
		position: absolute;
		top: 0;
		left: 50%;
		width: calc(1024 * var(--u));
		height: 100%;
		margin: 0;
		transform: translateX(-50%);
	}

	.vamora-home-connected__title {
		position: absolute;
		top: calc(44 * var(--u));
		left: calc(50 * var(--u));
		font-size: calc(36 * var(--u));
		line-height: calc(33 * var(--u));
		white-space: nowrap;
	}

	.vamora-home-connected__lead {
		position: absolute;
		top: calc(125 * var(--u));
		left: calc(50.5 * var(--u));
		margin: 0;
		font-size: calc(13 * var(--u));
		line-height: calc(16 * var(--u));
		white-space: nowrap;
	}

	.vamora-home-connected__rule {
		position: absolute;
		top: calc(182 * var(--u));
		left: calc(51 * var(--u));
		width: calc(44 * var(--u));
		height: calc(3 * var(--u));
		margin: 0;
	}

	.vamora-home-connected__art {
		position: absolute;
		top: calc(-70 * var(--u));
		left: calc(229 * var(--u));
		width: calc(710 * var(--u));
		margin: 0;
	}

	.vamora-home-connected__wires {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		overflow: visible;
		pointer-events: none;
	}

	.vamora-home-connected__wire {
		fill: none;
		stroke: none;
	}

	.vamora-home-connected__pills {
		display: block;
		margin: 0;
	}

	.vamora-home-pill {
		--icon-size: calc(28 * var(--u));

		position: absolute;
		gap: calc(11 * var(--u));
		padding: 0;
		border-radius: calc(23 * var(--u));
		background: var(--home-glass);
		box-shadow:
			0 calc(4 * var(--u)) calc(13 * var(--u)) var(--home-glass-shadow),
			inset 0 0 calc(9 * var(--u)) rgb(176 138 250 / 0.2);
		-webkit-backdrop-filter: blur(calc(5 * var(--u)));
		backdrop-filter: blur(calc(5 * var(--u)));
	}

	.vamora-home-pill--orders {
		top: calc(24 * var(--u));
		left: calc(356 * var(--u));
		width: calc(146 * var(--u));
		height: calc(47 * var(--u));
		padding-left: calc(14 * var(--u));
	}

	.vamora-home-pill--inventory {
		top: calc(86 * var(--u));
		left: calc(352 * var(--u));
		width: calc(157 * var(--u));
		height: calc(49 * var(--u));
		padding-left: calc(18 * var(--u));
	}

	.vamora-home-pill--reports {
		top: calc(151 * var(--u));
		left: calc(320 * var(--u));
		width: calc(157 * var(--u));
		height: calc(48 * var(--u));
		padding-left: calc(18 * var(--u));
	}

	.vamora-home-pill--billing {
		top: calc(34 * var(--u));
		left: calc(822 * var(--u));
		width: calc(154 * var(--u));
		height: calc(57 * var(--u));
		padding-left: calc(20 * var(--u));
	}

	.vamora-home-pill--members {
		top: calc(127 * var(--u));
		left: calc(826 * var(--u));
		width: calc(150 * var(--u));
		height: calc(58 * var(--u));
		padding-left: calc(19 * var(--u));
	}

	.vamora-home-pill--billing,
	.vamora-home-pill--members {
		gap: calc(15 * var(--u));
	}

	.vamora-home-pill__copy {
		gap: calc(2.5 * var(--u));
	}

	.vamora-home-pill__title {
		font-size: calc(11.5 * var(--u));
		letter-spacing: -0.02em;
		white-space: nowrap;
	}

	.vamora-home-pill__text {
		font-size: max(calc(7.9 * var(--u)), 0.625rem);
		line-height: calc(10 * var(--u));
		white-space: nowrap;
	}
}

/* Small print keeps a legible floor, so on a narrow desktop what sits beside it
   gives up the room. */
@media (min-width: 64em) and (max-width: 73.75em) {
	.vamora-home-pill {
		--icon-size: calc(22 * var(--u));

		gap: calc(7 * var(--u));
		padding-left: calc(10 * var(--u));
	}
}
