/* Hover targets over the painted network. The wrapper ignores the pointer. */

body.vx-body {
	position: relative;
}

.vx-tech-nodes {
	position: absolute;
	z-index: 4;
	top: 34rem;
	left: 0;
	width: 100%;
	aspect-ratio: 1600 / 760;
	height: auto;
	margin: 0;
	padding: 0;
	pointer-events: none;
	overflow: visible;
}

.vx-tech-node {
	position: absolute;
	width: 2.75rem;
	height: 2.75rem;
	margin: -1.375rem 0 0 -1.375rem;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: radial-gradient(circle, #0055D4 0 4px, rgba(20, 147, 196, 0.2) 5px 11px, transparent 12px);
	color: inherit;
	font: inherit;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	pointer-events: auto;
	appearance: none;
	-webkit-appearance: none;
}

.vx-tech-node:hover,
.vx-tech-node:focus,
.vx-tech-node:focus-visible {
	border-color: #0055D4;
	background: radial-gradient(circle, #0055D4 0 5px, rgba(0, 85, 212, 0.16) 6px 14px, transparent 15px);
	outline: 2px solid #1493c4;
	outline-offset: 3px;
}

.vx-tech-node__tip {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: calc(100% + 0.55rem);
	right: auto;
	transform: translateY(-50%);
	display: block;
	width: max-content;
	max-width: min(32rem, 54vw);
	padding: 0.5rem 0.7rem;
	border: 1px solid rgba(0, 85, 212, 0.35);
	border-radius: 10px;
	background: #ffffff;
	color: #1b2430;
	box-shadow: 0 10px 28px rgba(13, 27, 46, 0.14);
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0;
	text-align: start;
	text-transform: none;
	white-space: normal;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.16s ease;
}

.vx-tech-node--end .vx-tech-node__tip {
	left: auto;
	right: calc(100% + 0.55rem);
}

.vx-tech-node__name {
	color: #0055D4;
	font-weight: 700;
}

.vx-tech-node__claim,
.vx-tech-node__legal {
	display: block;
	margin-top: 0.28rem;
	color: #1b2430;
	font-weight: 700;
}

/* Visible statement under the header. Nodes may hide on small screens; this card does not. */
.vx-choice {
	position: absolute;
	z-index: 5;
	top: calc(var(--header) + 3px + 0.4rem);
	left: 50%;
	transform: translateX(-50%);
	box-sizing: border-box;
	width: min(48rem, calc(100% - 1.5rem));
	margin: 0;
	padding: 0.5rem 0.85rem 0.55rem 0.95rem;
	border: 1px solid rgba(0, 85, 212, 0.28);
	border-inline-start: 4px solid #0055D4;
	border-radius: 12px;
	background: #ffffff;
	color: #1b2430;
	box-shadow: 0 10px 24px rgba(13, 27, 46, 0.1);
	text-align: start;
	pointer-events: auto;
}

body.vx-body .vx-choice p {
	margin: 0;
	color: #1b2430;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
}

body.vx-body .vx-choice__am {
	font-weight: 700;
}

body.vx-body .vx-choice__en {
	margin-top: 0.1rem;
	color: #0055D4;
	font-weight: 700;
}

body.vx-body .vx-choice__line {
	margin-top: 0.1rem;
}

body.vx-body main#content {
	padding-top: 12rem;
}

.vx-tech-node:hover .vx-tech-node__tip,
.vx-tech-node:focus .vx-tech-node__tip,
.vx-tech-node:focus-visible .vx-tech-node__tip {
	opacity: 1;
	visibility: visible;
}

body.vx-body .vx-footer {
	position: relative;
	z-index: 6;
}

@media (min-width: 640px) {
	body.vx-body main#content {
		padding-top: 8.25rem;
	}
}

@media (min-width: 960px) {
	body.vx-body main#content {
		padding-top: 7.25rem;
	}
}

@media (max-height: 520px) {
	.vx-choice {
		width: min(48rem, calc(100% - 5.5rem));
		left: 0.75rem;
		transform: none;
	}
}

@media (max-width: 720px) {
	.vx-tech-nodes {
		display: none;
	}

	.vx-choice {
		display: block;
		width: min(48rem, calc(100% - 1.25rem));
	}
}

@media (max-width: 720px) and (max-height: 520px) {
	.vx-choice {
		width: min(48rem, calc(100% - 5.5rem));
		left: 0.75rem;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vx-tech-node,
	.vx-tech-node__tip {
		transition: none;
	}
}
