/*
 * /services/: the close (VOY-1521, Round 5 boards Services-Final and
 * Services-Mobile).
 *
 * Not the hubs' bordered panel (svc-close.css): a full-width band under a
 * hairline, centred on desktop and left-aligned on a phone, with a magenta
 * glow behind it. "Not sure where you fit?" in mono, the audit ask at 60px,
 * one line of copy and two buttons. The glow is a pseudo-element of the
 * section, which has content. CSS only.
 */

.vy-svc-page > .vy-svc-sxclose {
	position: relative;
	isolation: isolate;
	overflow: clip;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	margin-bottom: 0;
	padding-block: 136px;
	border-top: 1px solid var(--border-hair);
	text-align: center;
}
.vy-svc-page > .vy-svc-sxclose::before {
	content: "";
	position: absolute;
	top: -200px;
	left: 50%;
	z-index: -1;
	width: 900px;
	height: 700px;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in oklab, var(--accent-bright) 12%, transparent), transparent);
	transform: translateX(-50%);
	pointer-events: none;
}

.vy-svc-page .vy-svc-sxclose__ask {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fg-3);
}

.vy-svc-page.vy-svc-sx .vy-svc-sxclose .vy-svc-h2 {
	max-width: none;
	margin: 0;
	font-size: 60px;
	line-height: 1.04;
}

.vy-svc-page .vy-svc-sxclose__copy {
	max-width: 600px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--fg-2);
}

.vy-svc-page .vy-svc-sxclose .vy-svc-actions { justify-content: center; }

@media (max-width: 767px) {
	.vy-svc-page > .vy-svc-sxclose {
		align-items: stretch;
		gap: 18px;
		padding-block: 72px;
		text-align: left;
	}
	.vy-svc-page > .vy-svc-sxclose::before { top: -120px; left: -200px; width: 700px; height: 500px; transform: none; }
	.vy-svc-page.vy-svc-sx .vy-svc-sxclose .vy-svc-h2 { font-size: 38px; line-height: 1.05; }
	.vy-svc-page .vy-svc-sxclose__copy { font-size: 16px; }
}
