/*
 * The text sections of the hubs /vps/, /host/ and /dedicated-server/ under
 * their lists of services, which the owner asked for on 2026-11-24 in place of
 * the old ones:
 * - vps-common (.hd-vcm): what every service has in every country, a bento
 *   of a picture (the mark of HiData, the icons of the features round it, the
 *   flags on a wider ring) and six cards of features (on the three hubs);
 * - vps-uses (.hd-vus): six cards of what people run on a service, each a
 *   small picture over its title, its text, its tags and its link (on the
 *   three hubs, with the pictures of each);
 * - vps-anatomy (.hd-van): what a VPS is, the text and its two keys beside a
 *   map of one physical server and its resources (/vps/);
 * - host-how (.hd-vhw): what hosting is, the text and its keys beside the way
 *   of one visit, browser, domain and host (/host/);
 * - vps-dedicated (.hd-vdw): what a dedicated server is, the text and its keys
 *   beside a dedicated server and a VPS side by side (/dedicated-server/).
 * With base.css (tokens, .hd-ic, .hd-lead, .hd-go). Sizes are in rem: at
 * 1440px the root is 14px. Motion: transform and opacity only, paused off
 * screen ([data-hd].is-off, base.css), none with less motion. Logical
 * properties mirror the sections on the English pages; the pictures of the
 * cards keep their own direction.
 */

.hd-vcm,
.hd-van,
.hd-vus,
.hd-vhw,
.hd-vdw {
	padding-block: 4.86rem 5.14rem;
}

.hd-vcm .step-title :is(h1, h2),
.hd-van .step-title :is(h1, h2),
.hd-vus .step-title :is(h1, h2),
.hd-vhw .step-title :is(h1, h2),
.hd-vdw .step-title :is(h1, h2) {
	font-size: 2.14rem;
	font-weight: 900;
	text-wrap: balance;
}

.hd-vcm .hd-lead,
.hd-vus .hd-lead {
	max-width: 60rem;
	margin-bottom: 2.4rem;
	text-wrap: pretty;
}

@media (max-width: 991.98px) {
	.hd-vcm,
	.hd-van,
	.hd-vus,
	.hd-vhw,
	.hd-vdw {
		padding-block: 3.6rem 3.9rem;
	}

	.hd-vcm .step-title :is(h1, h2),
	.hd-van .step-title :is(h1, h2),
	.hd-vus .step-title :is(h1, h2),
	.hd-vhw .step-title :is(h1, h2),
	.hd-vdw .step-title :is(h1, h2) {
		font-size: 1.75rem;
	}
}

@media (max-width: 575.98px) {
	.hd-vcm,
	.hd-van,
	.hd-vus,
	.hd-vhw,
	.hd-vdw {
		padding-block: 3.1rem 3.4rem;
	}

	.hd-vcm .step-title :is(h1, h2),
	.hd-van .step-title :is(h1, h2),
	.hd-vus .step-title :is(h1, h2),
	.hd-vhw .step-title :is(h1, h2),
	.hd-vdw .step-title :is(h1, h2) {
		font-size: 1.6rem;
	}

	.hd-vcm .hd-lead,
	.hd-vus .hd-lead {
		text-align: start;
	}
}

/* ------------------------------------------------------------------------
 * vps-common: the bento, the picture of the rings, the cards of features.
 * --------------------------------------------------------------------- */

.hd-vcm-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 1.15rem;
}

.hd-vcm-grid.no-orb,
.hd-vcm-grid.no-list {
	grid-template-columns: minmax(0, 1fr);
}

/* The picture: a soft card, its grid of dots fading out towards the rings;
   all its sizes follow the side of the square of the rings (--S). */
.hd-vcm-orb {
	--t: 6.4s;
	position: relative;
	display: grid;
	place-items: center;
	min-width: 0;
	padding: 2rem 1.4rem;
	border-radius: 1.6rem;
	background: radial-gradient(circle at 50% 50%, #FFFFFF 0, #F5F9FE 38%, #E5EFFA 100%);
	box-shadow: inset 0 0 0 1px #DCE9F5, 0 1px 2px rgba(16, 63, 99, .04), 0 1.85rem 3.7rem -2.15rem rgba(16, 63, 99, .22);
	container-type: inline-size;
}

.hd-vcm-orb::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(circle, #B6D0EB 1px, transparent 1.4px) center / 1.15rem 1.15rem;
	-webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 42%, #000 92%);
	mask-image: radial-gradient(circle at 50% 50%, transparent 42%, #000 92%);
	pointer-events: none;
}

.hd-vcm-orbit {
	--S: min(25rem, 100cqi);
	--R: calc(var(--S) * .365);
	--r: calc(var(--S) * .19);
	position: relative;
	width: var(--S);
	height: var(--S);
}

.hd-vcm-spin,
.hd-vcm-ring,
.hd-vcm-wave,
.hd-vcm-core,
.hd-vcm-dot,
.hd-vcm-loc {
	position: absolute;
	left: 50%;
	top: 50%;
	width: var(--d);
	height: var(--d);
	margin: calc(var(--d) / -2);
	border-radius: 50%;
}

/* The ring of dots round everything, turning slowly. */
.hd-vcm-spin {
	--d: calc(var(--R) * 2 + var(--S) * .16);
	display: block;
	fill: none;
	stroke: #8DB8E4;
	stroke-width: .6;
	stroke-linecap: round;
	stroke-dasharray: 0 1;
	animation: hd-vcm-spin 90s linear infinite;
}

/* The ring of the flags, and the ring of the icons with its glow. */
.hd-vcm-ring.is-out {
	--d: calc(var(--R) * 2);
	border: 1px solid rgba(2, 71, 174, .15);
}

.hd-vcm-ring.is-in {
	--d: calc(var(--r) * 2);
	border: 1px dashed rgba(2, 71, 174, .26);
	background: radial-gradient(circle, rgba(2, 71, 174, .08), rgba(2, 71, 174, 0) 70%);
}

/* The wave that runs from the mark out to the flags. */
.hd-vcm-wave {
	--d: calc(var(--R) * 2);
	border: 2px solid #4C97E6;
	opacity: 0;
	transform: scale(.27);
	animation: hd-vcm-wave var(--t) cubic-bezier(.25, .6, .35, 1) infinite;
}

/* The mark of HiData in the middle. */
.hd-vcm-core {
	--d: calc(var(--S) * .21);
	z-index: 2;
	display: grid;
	place-items: center;
	background: #FFFFFF;
	box-shadow: 0 0 0 calc(var(--S) * .024) rgba(255, 255, 255, .85), 0 0 0 calc(var(--S) * .024 + 1px) #D3E3F3, 0 1.1rem 2rem -1rem rgba(16, 63, 99, .5);
	animation: hd-vcm-beat var(--t) ease-out infinite;
}

.hd-vcm-core img {
	width: 52%;
	height: auto;
}

/* The icons of the features on the inner ring. */
.hd-vcm-dot {
	--d: calc(var(--S) * .102);
	z-index: 1;
	left: calc(50% + var(--x) * var(--r));
	top: calc(50% + var(--y) * var(--r));
	display: grid;
	place-items: center;
	background: #FFFFFF;
	color: #0B5CC4;
	box-shadow: inset 0 0 0 1px #CFE1F4, 0 .45rem .9rem -.5rem rgba(2, 71, 174, .5);
}

.hd-vcm-dot svg {
	display: block;
	width: 50%;
	height: 50%;
}

.hd-vcm-dot::after,
.hd-vcm-loc::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid #5DA2E8;
	opacity: 0;
}

.hd-vcm-dot::after {
	animation: hd-vcm-ping var(--t) ease-out calc(var(--k) * .3s) infinite;
}

/* The flags on the outer ring, each with its tick and its name outside the
   ring: above the flags of the upper half, below the others. */
.hd-vcm-loc {
	--d: calc(var(--S) * .148);
	z-index: 3;
	left: calc(50% + var(--x) * var(--R));
	top: calc(50% + var(--y) * var(--R));
}

.hd-vcm-loc::after {
	inset: -7px;
	animation: hd-vcm-halo var(--t) ease-out infinite;
}

.hd-vcm-flag {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 4px #CFE1F4, 0 .9rem 1.5rem -.7rem rgba(16, 63, 99, .45);
}

.hd-vcm-flag img {
	width: 100%;
	height: 100%;
}

.hd-vcm-ok {
	position: absolute;
	inset-inline-end: -.3rem;
	bottom: -.2rem;
	z-index: 1;
	display: grid;
	place-items: center;
	width: max(calc(var(--S) * .06), 14px);
	height: max(calc(var(--S) * .06), 14px);
	border-radius: 50%;
	background: var(--hd-green);
	color: #FFFFFF;
	box-shadow: 0 0 0 2px #FFFFFF;
	animation: hd-vcm-tick var(--t) ease-out infinite;
}

.hd-vcm-ok svg {
	display: block;
	width: 74%;
	height: 74%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hd-vcm-loc b {
	position: absolute;
	left: 50%;
	top: calc(100% + .55rem);
	transform: translateX(-50%);
	padding: .08rem .7rem;
	border-radius: 99rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #D8E6F4, 0 .4rem .9rem -.55rem rgba(16, 63, 99, .4);
	font-size: .86rem;
	line-height: 1.7;
	font-weight: 800;
	color: var(--hd-ink);
	white-space: nowrap;
}

.hd-vcm-loc.is-up b {
	top: auto;
	bottom: calc(100% + .55rem);
}

/* The lights: the icons one after the other, the mark beats and sends the
   wave out, the flags answer and their ticks jump; then a rest. */
@keyframes hd-vcm-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes hd-vcm-ping {
	0% {
		opacity: 0;
		transform: scale(1);
	}

	2% {
		opacity: .9;
	}

	12%,
	100% {
		opacity: 0;
		transform: scale(1.7);
	}
}

@keyframes hd-vcm-beat {
	0%,
	31% {
		transform: scale(1);
	}

	35% {
		transform: scale(1.07);
	}

	44%,
	100% {
		transform: scale(1);
	}
}

@keyframes hd-vcm-wave {
	0%,
	33% {
		opacity: 0;
		transform: scale(.27);
	}

	35% {
		opacity: .8;
	}

	52% {
		opacity: .25;
		transform: scale(1);
	}

	57%,
	100% {
		opacity: 0;
		transform: scale(1.04);
	}
}

@keyframes hd-vcm-halo {
	0%,
	50% {
		opacity: 0;
		transform: scale(.92);
	}

	53% {
		opacity: .9;
	}

	68%,
	100% {
		opacity: 0;
		transform: scale(1.5);
	}
}

@keyframes hd-vcm-tick {
	0%,
	50% {
		transform: scale(1);
	}

	54% {
		transform: scale(1.35);
	}

	62%,
	100% {
		transform: scale(1);
	}
}

/* The cards of the features, two a row beside the picture. */
.hd-vcm-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
}

.hd-vcm-grid.no-orb .hd-vcm-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hd-vcm-it {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	min-width: 0;
	padding: 1.5rem 1.55rem 1.55rem;
	border-radius: 1.6rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #E1ECF6, 0 1px 2px rgba(16, 63, 99, .04), 0 1.85rem 3.7rem -2.15rem rgba(16, 63, 99, .22);
}

.hd-vcm-hd {
	display: flex;
	align-items: center;
	gap: .85rem;
	min-width: 0;
}

.hd-vcm .hd-vcm-ic {
	--s: 2.9rem;
	border-radius: .95rem;
	background: linear-gradient(150deg, #EEF5FE 0%, #D4E6FA 100%);
	color: #0A57C2;
	box-shadow: inset 0 0 0 1px #C6DCF3, inset 0 1px 0 #FFFFFF, 0 .5rem 1rem -.7rem rgba(2, 71, 174, .45);
}

.hd-vcm-t {
	min-width: 0;
	font-size: 1.07rem;
	line-height: 1.55;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-vcm-p {
	font-size: .93rem;
	line-height: 1.95;
	font-weight: 500;
	color: #3A5F80;
	text-wrap: pretty;
}

/* A link in a feature's line (the sales ticket of /dedicated-server/). */
.hd-vcm-p a {
	color: #0163A9;
	font-weight: 700;
}

.hd-vcm-p a:hover,
.hd-vcm-p a:focus-visible {
	text-decoration: underline;
}

/* Below 1140px the picture goes over the cards, as a band. */
@media (max-width: 1139.98px) {
	.hd-vcm-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hd-vcm-orb {
		padding-block: 2.3rem;
	}

	.hd-vcm-orbit {
		--S: min(24rem, 100cqi);
	}

	.hd-vcm-grid.no-orb .hd-vcm-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.hd-vcm-grid,
	.hd-vcm-list {
		gap: .8rem;
	}

	.hd-vcm-orb {
		padding: 1.9rem .8rem;
		border-radius: 1.3rem;
	}

	.hd-vcm-orbit {
		--S: min(23rem, 100cqi);
	}

	.hd-vcm-loc b {
		padding-inline: .5rem;
		font-size: max(.78rem, 9px);
	}

	.hd-vcm-list,
	.hd-vcm-grid.no-orb .hd-vcm-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.hd-vcm-it {
		gap: .6rem;
		padding: 1.15rem 1.1rem 1.2rem;
		border-radius: 1.3rem;
	}

	.hd-vcm .hd-vcm-ic {
		--s: 2.6rem;
	}
}

/* ------------------------------------------------------------------------
 * vps-anatomy: the text, the keys, the box, the map.
 * --------------------------------------------------------------------- */

.hd-van-body,
.hd-vhw-body,
.hd-vdw-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 36rem;
	grid-template-rows: auto 1fr;
	grid-template-areas: "head map" "keys map";
	column-gap: 4.3rem;
}

.hd-van-head,
.hd-vhw-head,
.hd-vdw-head {
	grid-area: head;
	min-width: 0;
}

.hd-van-map,
.hd-vhw-map,
.hd-vdw-map {
	grid-area: map;
	align-self: center;
	min-width: 0;
	margin: 0;
}

.hd-van-keys,
.hd-vhw-keys,
.hd-vdw-keys {
	grid-area: keys;
	min-width: 0;
}

.hd-van-lead,
.hd-vhw-lead,
.hd-vdw-lead {
	font-size: 1.05rem;
	line-height: 2.1;
	font-weight: 500;
	color: var(--hd-text);
	text-wrap: pretty;
}

.hd-van-lead a,
.hd-vhw-lead a,
.hd-vdw-lead a {
	color: #0163A9;
	font-weight: 700;
}

.hd-van-kl,
.hd-vhw-kl,
.hd-vdw-kl {
	display: grid;
	gap: 1.3rem;
	margin-top: 1.9rem;
}

.hd-van-k,
.hd-vhw-k,
.hd-vdw-k {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.hd-van-sw {
	width: 1.6rem;
	height: 1.6rem;
	flex: none;
	margin-top: .3rem;
	border-radius: .45rem;
}

.hd-van-k.is-res .hd-van-sw {
	background: linear-gradient(135deg, #2B7BE5, #0247AE);
	box-shadow: 0 .35rem .8rem -.3rem rgba(2, 71, 174, .6);
}

.hd-van-k.is-sh .hd-van-sw {
	background: repeating-linear-gradient(135deg, #FFCC00 0 .3rem, #FFE680 .3rem .6rem);
	box-shadow: inset 0 0 0 1px rgba(196, 150, 0, .35);
}

.hd-van-t,
.hd-vhw-t,
.hd-vdw-t {
	font-size: 1.14rem;
	line-height: 1.6;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-van-p,
.hd-vhw-p,
.hd-vdw-p {
	margin-top: .3rem;
	font-size: .98rem;
	line-height: 2;
	font-weight: 500;
	color: #2F5677;
	text-wrap: pretty;
}

.hd-van-p a,
.hd-vhw-p a,
.hd-vdw-p a {
	color: #0163A9;
	font-weight: 700;
}

.hd-van-note {
	display: flex;
	align-items: flex-start;
	gap: .9rem;
	margin-top: 1.8rem;
	padding: 1.15rem 1.3rem 1.2rem;
	border: 1px dashed #B5CEE6;
	border-radius: 1.3rem;
	background: rgba(255, 255, 255, .65);
}

.hd-van-ni {
	display: grid;
	place-items: center;
	width: 2.3rem;
	height: 2.3rem;
	flex: none;
	border-radius: 50%;
	background: #FFF3C4;
	color: #8A6A00;
}

.hd-van-ni svg {
	width: 1.3rem;
	height: 1.3rem;
}

.hd-van-box {
	position: relative;
	padding: 1.1rem 1.4rem 1.6rem;
	border-radius: 2rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #DCE9F5, 0 2rem 4rem -2.6rem rgba(16, 63, 99, .38);
}

.hd-van-top {
	display: flex;
	align-items: center;
	gap: .7rem;
	margin-bottom: 1.5rem;
	padding: .55rem .9rem;
	border-radius: .9rem;
	background: #F2F7FC;
	box-shadow: inset 0 0 0 1px #E1ECF6;
}

.hd-van-top b {
	font-size: .86rem;
	font-weight: 800;
	color: var(--hd-ink);
}

.hd-van-leds {
	display: flex;
	gap: .35rem;
}

.hd-van-leds i {
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: #23A55A;
}

.hd-van-leds i:nth-child(2) {
	background: #FFCC00;
	animation: hd-van-led 1.8s steps(1, end) infinite;
}

.hd-van-grid {
	position: relative;
	display: grid;
	grid-template-columns: 4.6rem repeat(4, minmax(0, 1fr));
	align-items: center;
	column-gap: .55rem;
	row-gap: .85rem;
}

/* The buyer's column: behind its server and its two slices, not the
   processor. Every cell of the map is placed by the template (grid-area), so
   the band takes no cell of its own. */
.hd-van-band {
	align-self: stretch;
	margin: -.45rem -.3rem -.4rem;
	border-radius: 1rem;
	background: linear-gradient(180deg, #E6F1FC, #D8E8FA);
	box-shadow: inset 0 0 0 1px #C3DBF3;
	animation: hd-van-glow 3.6s ease-in-out infinite;
}

.hd-van-lab {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .25rem;
	min-width: 0;
	font-size: .86rem;
	line-height: 1.4;
}

.hd-van-lab b {
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-van-lab em {
	padding: .05rem .5rem;
	border-radius: 99px;
	background: #E3EEFB;
	color: #0247AE;
	font-size: .7rem;
	font-style: normal;
	font-weight: 800;
	white-space: nowrap;
}

.hd-van-lab.is-sh em {
	background: #FFF3C4;
	color: #7A5D00;
}

.hd-van-vm {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .35rem;
	min-width: 0;
	padding: .65rem .25rem .55rem;
	border-radius: .9rem;
	background: #F6F9FC;
	box-shadow: inset 0 0 0 1px #E2ECF5;
}

.hd-van-vm img {
	width: 2rem;
	height: 2rem;
	object-fit: contain;
	opacity: .75;
}

.hd-van-vm b {
	max-width: 100%;
	font-size: .74rem;
	line-height: 1.5;
	font-weight: 700;
	color: #6E8DA8;
	text-align: center;
}

.hd-van-vm.is-you {
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1.5px #0247AE, 0 .6rem 1.2rem -.6rem rgba(2, 71, 174, .55);
}

.hd-van-vm.is-you img {
	opacity: 1;
}

.hd-van-vm.is-you b {
	font-weight: 900;
	color: var(--hd-blue);
}

.hd-van-hv {
	position: relative;
	z-index: 1;
	padding: .3rem;
	border: 1.5px dashed #A9C6E2;
	border-radius: .7rem;
	background: rgba(255, 255, 255, .8);
	text-align: center;
	font-size: .8rem;
	line-height: 1.6;
	font-weight: 800;
	color: #4F7697;
}

.hd-van-seg {
	position: relative;
	z-index: 1;
	height: 1.35rem;
	border-radius: .45rem;
	background: #DFE8F1;
	box-shadow: inset 0 0 0 1px #D2DEEA;
}

.hd-van-seg.is-you {
	background: linear-gradient(90deg, #2B7BE5, #0247AE);
	box-shadow: 0 .35rem .8rem -.35rem rgba(2, 71, 174, .7);
}

/* The shared processor: stripes that run under all four servers. */
.hd-van-cpu {
	position: relative;
	z-index: 1;
	height: 1.35rem;
	overflow: hidden;
	border-radius: .45rem;
	background: #FFD84D;
	box-shadow: inset 0 0 0 1px rgba(196, 150, 0, .3);
}

.hd-van-cpu i {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: -2rem;
	background: repeating-linear-gradient(135deg, #FFCC00 0 .6rem, #FFE680 .6rem 1.2rem);
	animation: hd-van-run 2.4s linear infinite;
}

@keyframes hd-van-run {
	to {
		transform: translateX(-1.697rem);
	}
}

@keyframes hd-van-glow {
	50% {
		opacity: .72;
	}
}

@keyframes hd-van-led {
	50% {
		opacity: .2;
	}
}

@media (max-width: 1139.98px) {
	.hd-van-body,
	.hd-vhw-body,
	.hd-vdw-body {
		grid-template-columns: minmax(0, 1fr) 33rem;
		column-gap: 3rem;
	}
}

@media (max-width: 991.98px) {
	.hd-van-body,
	.hd-vhw-body,
	.hd-vdw-body {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-template-areas: "head" "map" "keys";
	}

	.hd-van-lead,
	.hd-vhw-lead,
	.hd-vdw-lead {
		text-align: center;
	}

	.hd-van-map,
	.hd-vhw-map,
	.hd-vdw-map {
		width: 100%;
		max-width: 36rem;
		margin: 2rem auto 0;
	}

	.hd-van-kl,
	.hd-vhw-kl,
	.hd-vdw-kl {
		margin-top: 2.2rem;
	}
}

@media (max-width: 575.98px) {
	.hd-van-lead,
	.hd-vhw-lead,
	.hd-vdw-lead {
		text-align: start;
	}

	.hd-van-box {
		padding: .9rem .8rem 1.1rem;
		border-radius: 1.5rem;
	}

	.hd-van-top {
		margin-bottom: 1.2rem;
	}

	.hd-van-grid {
		grid-template-columns: 3.9rem repeat(4, minmax(0, 1fr));
		column-gap: .4rem;
		row-gap: .7rem;
	}

	.hd-van-vm {
		padding: .5rem .15rem .45rem;
		border-radius: .75rem;
	}

	.hd-van-vm img {
		width: 1.7rem;
		height: 1.7rem;
	}

	/* The root is 10px on the narrowest phones: the small words of the map
	   keep a size that still reads. */
	.hd-van-vm b {
		font-size: max(.68rem, 8.5px);
	}

	.hd-van-lab {
		font-size: max(.8rem, 10px);
	}

	.hd-van-lab em {
		padding: 0 .4rem;
		font-size: max(.64rem, 8.5px);
	}

	.hd-van-hv {
		font-size: max(.74rem, 9px);
	}

	.hd-van-seg,
	.hd-van-cpu {
		height: 1.15rem;
	}

	.hd-van-note {
		padding: 1rem;
	}
}

/* Too narrow for four labels: the other servers keep their logos. */
@media (max-width: 419.98px) {
	.hd-van-vm:not(.is-you) b {
		display: none;
	}
}

/* ------------------------------------------------------------------------
 * vps-uses: the cards and their pictures.
 * --------------------------------------------------------------------- */

.hd-vus-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.45rem;
}

.hd-vus-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border-radius: 1.6rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #DCE9F5, 0 1.2rem 2.4rem -1.8rem rgba(16, 63, 99, .3);
	transition: box-shadow .2s ease;
}

.hd-vus-card:hover {
	box-shadow: inset 0 0 0 1px #BCD5EC, 0 1.4rem 2.6rem -1.7rem rgba(16, 63, 99, .38);
}

.hd-vus-art {
	background: linear-gradient(180deg, #F5F9FE, #E8F1FA);
	border-bottom: 1px solid #DCE9F5;
}

.hd-vus-svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.hd-vus-svg text {
	font-family: inherit;
}

.hd-vus-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.25rem 1.4rem 1.4rem;
}

.hd-vus-t {
	font-size: 1.12rem;
	line-height: 1.6;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-vus-p {
	margin-top: .45rem;
	font-size: .93rem;
	line-height: 1.95;
	font-weight: 500;
	color: #2F5677;
	text-wrap: pretty;
}

/* A Latin name of a few words («Remote Desktop», «Virtual Private Server»,
   «Self Managed») in <bdi> stays on one line. */
.hd-vus-p bdi,
.hd-van-lead bdi,
.hd-vdw-lead bdi,
.hd-vdw-p bdi {
	white-space: nowrap;
}

.hd-vus-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-top: .95rem;
}

.hd-vus-tags li {
	padding: .2rem .75rem;
	border-radius: 99px;
	background: #EDF6FD;
	color: #1C5B8A;
	font-size: .78rem;
	line-height: 1.7;
	font-weight: 700;
}

.hd-vus-go {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin-top: auto;
	padding-top: 1.05rem;
	font-size: .93rem;
	font-weight: 800;
	color: var(--hd-blue);
}

.hd-vus-go:hover,
.hd-vus-go:focus-visible {
	color: #0163A9;
	text-decoration: underline;
}

/* The pieces that move, each about its own box. */
.hd-vus-pop,
.hd-vus-ok,
.hd-vus-ring,
.hd-vus-bar {
	transform-box: fill-box;
	transform-origin: center;
}

.hd-vus-pop {
	animation: hd-vus-pop 3.2s ease-in-out infinite;
}

.hd-vus-ok {
	animation: hd-vus-pop 3.2s ease-in-out infinite 1.2s;
}

.hd-vus-dot {
	animation: hd-vus-type 1.4s ease-in-out infinite;
}

.hd-vus-dot + .hd-vus-dot {
	animation-delay: .2s;
}

.hd-vus-dot + .hd-vus-dot + .hd-vus-dot {
	animation-delay: .4s;
}

.hd-vus-cur {
	animation: hd-vus-cur 4.2s ease-in-out infinite;
}

.hd-vus-pk {
	animation: hd-vus-pk 2.6s ease-in-out infinite;
}

.hd-vus-caret,
.hd-vus-led.is-a {
	animation: hd-vus-blink 1.1s steps(1, end) infinite;
}

.hd-vus-bar {
	transform-origin: left center;
	animation: hd-vus-fill 3.4s ease-in-out infinite;
}

.hd-vus-ring {
	animation: hd-vus-ring 3s ease-out infinite;
}

.hd-vus-ring.is-b {
	animation-delay: 1.5s;
}

@keyframes hd-vus-pop {
	0%,
	68%,
	100% {
		transform: scale(1);
	}

	76% {
		transform: scale(1.3);
	}

	84% {
		transform: scale(.92);
	}
}

@keyframes hd-vus-type {
	0%,
	60%,
	100% {
		opacity: .3;
	}

	30% {
		opacity: 1;
	}
}

@keyframes hd-vus-cur {
	0%,
	100% {
		transform: translate(0, 0);
	}

	45%,
	60% {
		transform: translate(-14px, -10px);
	}
}

@keyframes hd-vus-pk {
	0% {
		opacity: 0;
		transform: translate(0, 0);
	}

	12% {
		opacity: 1;
	}

	78% {
		opacity: 1;
		transform: translate(22px, -24px);
	}

	90%,
	100% {
		opacity: 0;
		transform: translate(22px, -24px);
	}
}

@keyframes hd-vus-blink {
	50% {
		opacity: 0;
	}
}

@keyframes hd-vus-fill {
	0% {
		opacity: 1;
		transform: scaleX(.05);
	}

	70%,
	88% {
		opacity: 1;
		transform: scaleX(1);
	}

	100% {
		opacity: 0;
		transform: scaleX(1);
	}
}

@keyframes hd-vus-ring {
	0% {
		opacity: .75;
		transform: scale(1);
	}

	70%,
	100% {
		opacity: 0;
		transform: scale(1.7);
	}
}

/* The pictures of the hosts: the pen bobs, the speed lines run, the
   sparkles of the gift shine in turn. */
.hd-vus-star {
	transform-box: fill-box;
	transform-origin: center;
	animation: hd-vus-star 2.4s ease-in-out infinite;
}

.hd-vus-star.is-b {
	animation-delay: .8s;
}

.hd-vus-star.is-c {
	animation-delay: 1.6s;
}

.hd-vus-pen {
	animation: hd-vus-pen 3s ease-in-out infinite;
}

.hd-vus-speed {
	animation: hd-vus-speed 1.6s ease-in-out infinite;
}

@keyframes hd-vus-star {
	0%,
	100% {
		opacity: .35;
		transform: scale(.7);
	}

	50% {
		opacity: 1;
		transform: scale(1.15);
	}
}

@keyframes hd-vus-pen {
	0%,
	100% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(-2px, -4px);
	}
}

@keyframes hd-vus-speed {
	0% {
		opacity: .2;
		transform: translateX(-8px);
	}

	50% {
		opacity: 1;
	}

	100% {
		opacity: .2;
		transform: translateX(6px);
	}
}

/* The pictures of the dedicated servers: the highlight runs down the rows of
   the database's answer; the third virtual server is switched on and off. */
.hd-vus-scan {
	animation: hd-vus-scan 3.6s ease-in-out infinite;
}

.hd-vus-vm {
	transform-box: fill-box;
	transform-origin: center;
	animation: hd-vus-vm 4.4s ease-in-out infinite;
}

@keyframes hd-vus-scan {
	0% {
		opacity: 0;
		transform: translateY(0);
	}

	8%,
	22% {
		opacity: 1;
		transform: translateY(0);
	}

	30%,
	44% {
		opacity: 1;
		transform: translateY(16px);
	}

	52%,
	66% {
		opacity: 1;
		transform: translateY(32px);
	}

	74%,
	88% {
		opacity: 1;
		transform: translateY(48px);
	}

	100% {
		opacity: 0;
		transform: translateY(48px);
	}
}

@keyframes hd-vus-vm {
	0%,
	10% {
		opacity: 0;
		transform: scale(.72);
	}

	22%,
	82% {
		opacity: 1;
		transform: scale(1);
	}

	94%,
	100% {
		opacity: 0;
		transform: scale(.72);
	}
}

@media (max-width: 991.98px) {
	.hd-vus-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.2rem;
	}
}

@media (max-width: 575.98px) {
	.hd-vus-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.hd-vus-card {
		border-radius: 1.4rem;
	}

	/* One card a row: the picture keeps its height of a smaller card, in
	   the middle of its band. */
	.hd-vus-art {
		display: flex;
		justify-content: center;
	}

	.hd-vus-svg {
		width: auto;
		max-width: 100%;
		height: 10.5rem;
	}

	.hd-vus-body {
		padding: 1.1rem 1.1rem 1.2rem;
	}

	.hd-vus-tags li {
		font-size: max(.78rem, 9px);
	}
}

/* ------------------------------------------------------------------------
 * host-how: the keys, the link and the card of one visit. Its text column is
 * that of vps-anatomy (the .hd-van-… rules above name it too).
 * --------------------------------------------------------------------- */

/* The way the page reads: a request runs from the browser at the start side
   to the host at the end side, the answer runs back. Each lane's dot is drawn
   at one end of a strip as wide as the lane, and the strip slides across. */
.hd-vhw {
	--t: 4.4s;
	--rq-at: .3rem;
	--rq-from: 100%;
	--rq-to: -20%;
	--rs-at: calc(100% - .3rem);
	--rs-from: -100%;
	--rs-to: 20%;
}

[dir=ltr] .hd-vhw {
	--rq-at: calc(100% - .3rem);
	--rq-from: -100%;
	--rq-to: 20%;
	--rs-at: .3rem;
	--rs-from: 100%;
	--rs-to: -20%;
}

.hd-vhw .hd-vhw-ic,
.hd-vdw .hd-vdw-ic {
	--s: 2.75rem;
	border-radius: .9rem;
	background: #FFFFFF;
	color: var(--hd-blue);
	box-shadow: inset 0 0 0 1px #D6E6F5, 0 .5rem 1rem -.6rem rgba(2, 71, 174, .35);
}

.hd-vhw-more,
.hd-vdw-more {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin-top: 1.7rem;
	font-size: .98rem;
	font-weight: 800;
	color: var(--hd-blue);
}

.hd-vhw-more:hover,
.hd-vhw-more:focus-visible,
.hd-vdw-more:hover,
.hd-vdw-more:focus-visible {
	color: #0163A9;
	text-decoration: underline;
}

.hd-vhw-box {
	position: relative;
	padding: 2.7rem 1.5rem 2.4rem;
	border-radius: 2rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #DCE9F5, 0 2rem 4rem -2.6rem rgba(16, 63, 99, .38);
}

.hd-vhw-flow {
	display: flex;
	align-items: flex-start;
}

.hd-vhw-step {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	gap: .25rem;
	min-width: 0;
	text-align: center;
}

.hd-vhw-step.is-dns {
	flex: 0 1 6.2rem;
}

.hd-vhw-pic {
	display: grid;
	place-items: center;
	width: 100%;
	height: 8.6rem;
	margin-bottom: .55rem;
}

.hd-vhw-step b {
	font-size: .98rem;
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-vhw-step span {
	font-size: .8rem;
	line-height: 1.75;
	font-weight: 600;
	color: var(--hd-text);
	text-wrap: balance;
}

/* The browser: its bar with the address, the page with a hero and two lines,
   and the bar of loading on top of the page. */
.hd-vhw-win {
	width: 100%;
	max-width: 10.6rem;
	overflow: hidden;
	border-radius: .8rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #D3E2F1, 0 .9rem 1.6rem -1rem rgba(16, 63, 99, .4);
}

.hd-vhw-bar {
	display: flex;
	align-items: center;
	gap: .25rem;
	height: 1.35rem;
	padding: 0 .5rem;
	border-bottom: 1px solid #E6EEF6;
	background: #F4F8FC;
	direction: ltr;
}

.hd-vhw-bar i {
	width: .38rem;
	height: .38rem;
	flex: none;
	border-radius: 50%;
	background: #DCE7F2;
}

.hd-vhw-bar i:first-child {
	background: #FF8A7A;
}

.hd-vhw-bar i:nth-child(2) {
	background: #FFCC00;
}

.hd-vhw-bar span {
	min-width: 0;
	margin-left: auto;
	padding: 0 .4rem;
	overflow: hidden;
	border-radius: 99px;
	background: #E6EFF8;
	color: #2F5677;
	font-size: max(.58rem, 8px);
	line-height: 1.6;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.hd-vhw-page {
	position: relative;
	display: grid;
	gap: .3rem;
	padding: .6rem .55rem .7rem;
}

.hd-vhw-page i {
	display: block;
	height: .35rem;
	border-radius: .2rem;
	background: #DCE7F2;
}

.hd-vhw-page i:last-child {
	width: 60%;
}

.hd-vhw-page .hd-vhw-hero {
	height: 2.1rem;
	background: linear-gradient(135deg, #E3EEFB, #CFE2F6);
}

.hd-vhw-page .hd-vhw-load {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: .18rem;
	border-radius: 0;
	background: #239E40;
	transform: scaleX(0);
	transform-origin: left center;
	animation: hd-vhw-load var(--t) ease-out infinite;
}

/* The domain: a globe on a white ring. */
.hd-vhw-globe {
	display: grid;
	place-items: center;
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	background: #FFFFFF;
	color: var(--hd-blue);
	box-shadow: inset 0 0 0 1px #D6E6F5, 0 0 0 .45rem #F1F7FD, 0 .9rem 1.6rem -1rem rgba(16, 63, 99, .45);
}

.hd-vhw-globe svg {
	width: 46%;
	height: 46%;
}

/* The host: two units of a server and the labels of what it holds. */
.hd-vhw-srv {
	display: grid;
	gap: .3rem;
	width: 100%;
	max-width: 10.6rem;
	padding: .5rem;
	border-radius: .8rem;
	background: linear-gradient(180deg, #F4F8FC, #EAF2FB);
	box-shadow: inset 0 0 0 1px #D3E2F1, 0 .9rem 1.6rem -1rem rgba(16, 63, 99, .4);
}

.hd-vhw-unit {
	display: flex;
	align-items: center;
	gap: .25rem;
	height: 1.1rem;
	padding: 0 .4rem;
	border-radius: .35rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #DCE7F2;
}

.hd-vhw-unit i {
	width: .32rem;
	height: .32rem;
	flex: none;
	border-radius: 50%;
	background: #239E40;
}

.hd-vhw-unit i + i {
	background: #8FB0CC;
}

.hd-vhw-unit:first-child i:first-child {
	animation: hd-van-led 1.6s steps(1, end) infinite;
}

.hd-vhw-unit em {
	flex: 1;
	height: .22rem;
	margin-inline-start: .3rem;
	border-radius: .2rem;
	background: repeating-linear-gradient(90deg, #C9DCEE 0 .3rem, transparent .3rem .45rem);
}

.hd-vhw-items {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .2rem;
	margin-top: .15rem;
}

.hd-vhw-items em {
	padding: 0 .35rem;
	border-radius: 99px;
	background: var(--hd-blue);
	color: #FFFFFF;
	font-size: max(.56rem, 8px);
	font-style: normal;
	line-height: 1.7;
	font-weight: 800;
	white-space: nowrap;
}

/* A lane between two steps: two dashed lines, the request on the first and
   the answer on the second; in the middle of the pictures' height. */
.hd-vhw-ln {
	position: relative;
	flex: 0 1 3.2rem;
	min-width: 1.4rem;
	height: 1.6rem;
	margin-top: 3.5rem;
	overflow: hidden;
}

.hd-vhw-ln::before,
.hd-vhw-ln::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	border-top: 2px dashed #BFD6EA;
}

.hd-vhw-ln::before {
	top: 25%;
}

.hd-vhw-ln::after {
	top: 72%;
}

.hd-vhw-ln i {
	position: absolute;
	left: 0;
	width: 100%;
	height: .7rem;
	margin-top: -.3rem;
	animation: var(--t) ease-in-out infinite both;
}

.hd-vhw-ln i.is-rq {
	top: 25%;
	background: radial-gradient(circle at var(--rq-at) 50%, #0247AE 0 .26rem, transparent .3rem);
	transform: translateX(var(--rq-from));
	animation-name: hd-vhw-rq;
}

.hd-vhw-ln i.is-rs {
	top: 72%;
	background: radial-gradient(circle at var(--rs-at) 50%, #239E40 0 .26rem, transparent .3rem);
	transform: translateX(var(--rs-from));
	animation-name: hd-vhw-rs;
}

/* The request crosses the first lane, then the second; the page comes back
   on the second, then the first, and the browser's bar fills. */
.hd-vhw-step.is-dns + .hd-vhw-ln i.is-rq {
	animation-delay: calc(var(--t) * .22);
}

.hd-vhw-step.is-dns + .hd-vhw-ln i.is-rs {
	animation-delay: calc(var(--t) * .5);
}

.hd-vhw-step.is-br + .hd-vhw-ln i.is-rs {
	animation-delay: calc(var(--t) * .72);
}

@keyframes hd-vhw-rq {
	0% {
		transform: translateX(var(--rq-from));
	}

	22%,
	100% {
		transform: translateX(var(--rq-to));
	}
}

@keyframes hd-vhw-rs {
	0% {
		transform: translateX(var(--rs-from));
	}

	22%,
	100% {
		transform: translateX(var(--rs-to));
	}
}

@keyframes hd-vhw-rq-down {
	0% {
		transform: translateY(-100%);
	}

	22%,
	100% {
		transform: translateY(20%);
	}
}

@keyframes hd-vhw-rs-up {
	0% {
		transform: translateY(100%);
	}

	22%,
	100% {
		transform: translateY(-20%);
	}
}

@keyframes hd-vhw-load {
	0%,
	90% {
		opacity: 1;
		transform: scaleX(0);
	}

	98% {
		opacity: 1;
		transform: scaleX(1);
	}

	100% {
		opacity: 0;
		transform: scaleX(1);
	}
}

@media (max-width: 1139.98px) {
	.hd-vhw-box {
		padding-inline: 1rem;
	}

	.hd-vhw-step span {
		font-size: .76rem;
	}
}

/* One under the other: the lanes stand up between the steps, the request
   runs down and the answer up. */
@media (max-width: 575.98px) {
	.hd-vhw-box {
		padding: 1.5rem 1rem 1.3rem;
		border-radius: 1.5rem;
	}

	.hd-vhw-flow {
		flex-direction: column;
		align-items: center;
	}

	.hd-vhw-step,
	.hd-vhw-step.is-dns {
		flex: none;
		width: 100%;
		max-width: 15rem;
	}

	.hd-vhw-pic {
		height: auto;
		margin-bottom: .45rem;
	}

	.hd-vhw-step span {
		font-size: max(.8rem, 10px);
	}

	.hd-vhw-ln {
		flex: none;
		width: 1.6rem;
		min-width: 0;
		height: 2.6rem;
		margin: .7rem 0 .5rem;
	}

	.hd-vhw-ln::before,
	.hd-vhw-ln::after {
		top: 0;
		bottom: 0;
		right: auto;
		border-top: 0;
		border-left: 2px dashed #BFD6EA;
	}

	.hd-vhw-ln::before {
		left: 25%;
	}

	.hd-vhw-ln::after {
		left: 72%;
	}

	.hd-vhw-ln i {
		top: 0;
		width: .7rem;
		height: 100%;
		margin: 0 0 0 -.3rem;
	}

	.hd-vhw-ln i.is-rq {
		top: 0;
		left: 25%;
		background: radial-gradient(circle at 50% calc(100% - .3rem), #0247AE 0 .26rem, transparent .3rem);
		transform: translateY(-100%);
		animation-name: hd-vhw-rq-down;
	}

	.hd-vhw-ln i.is-rs {
		top: 0;
		left: 72%;
		background: radial-gradient(circle at 50% .3rem, #239E40 0 .26rem, transparent .3rem);
		transform: translateY(100%);
		animation-name: hd-vhw-rs-up;
	}
}

/* ------------------------------------------------------------------------
 * vps-dedicated: the keys, the link and the card of two servers. Its text
 * column is that of vps-anatomy and its keys and link those of host-how (the
 * rules above name it too).
 * --------------------------------------------------------------------- */

/* The light on the dedicated bars runs the way the page reads. */
.hd-vdw {
	--sx: -1;
}

[dir=ltr] .hd-vdw {
	--sx: 1;
}

.hd-vdw-box {
	position: relative;
	padding: 1.5rem 1.6rem 1.7rem;
	border-radius: 2rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #DCE9F5, 0 2rem 4rem -2.6rem rgba(16, 63, 99, .38);
}

/* Two boxes and the names of their rows between them. Every cell is placed
   by the template (grid-area); the boxes are two panes behind columns 1
   and 3, so they take no cell of their own. */
.hd-vdw-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 4.4rem minmax(0, 1fr);
	align-items: center;
	column-gap: .9rem;
	row-gap: .85rem;
}

.hd-vdw-grid > * {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.hd-vdw-grid > .hd-vdw-pane {
	z-index: 0;
	align-self: stretch;
	margin: -.6rem -.55rem -.65rem;
	border-radius: 1.25rem;
}

.hd-vdw-pane.is-ded {
	background: linear-gradient(180deg, #E6F1FC, #D8E8FA);
	box-shadow: inset 0 0 0 1px #C3DBF3;
	animation: hd-van-glow 3.6s ease-in-out infinite;
}

.hd-vdw-pane.is-vps {
	background: #F6F9FC;
	box-shadow: inset 0 0 0 1px #E2ECF5;
}

.hd-vdw-top {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .45rem .7rem;
	border-radius: .8rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #E1ECF6;
}

.hd-vdw-top b {
	overflow: hidden;
	font-size: .82rem;
	line-height: 1.6;
	font-weight: 900;
	color: var(--hd-navy);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.hd-vdw-top.is-vps b {
	font-weight: 800;
	color: #4F7697;
}

.hd-vdw-leds {
	display: flex;
	flex: none;
	gap: .3rem;
}

.hd-vdw-leds i {
	width: .45rem;
	height: .45rem;
	border-radius: 50%;
	background: #23A55A;
}

.hd-vdw-leds i:nth-child(2) {
	background: #FFCC00;
	animation: hd-van-led 1.8s steps(1, end) infinite;
}

.hd-vdw-top.is-vps .hd-vdw-leds i:nth-child(2) {
	animation-delay: -.9s;
}

/* The tenants: one on the dedicated box, three on the VPS. */
.hd-vdw-you,
.hd-vdw-vms {
	align-self: stretch;
}

.hd-vdw-you {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .3rem;
	padding: .6rem .5rem .55rem;
	border-radius: .9rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1.5px #0247AE, 0 .6rem 1.2rem -.6rem rgba(2, 71, 174, .55);
}

.hd-vdw-you img {
	width: 2rem;
	height: 2rem;
	object-fit: contain;
}

.hd-vdw-you b {
	max-width: 100%;
	font-size: .8rem;
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-blue);
	text-align: center;
}

.hd-vdw-vms {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .4rem;
}

.hd-vdw-vms i {
	display: grid;
	place-items: center;
	min-width: 0;
	border-radius: .8rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #E2ECF5;
}

.hd-vdw-vms img {
	width: 1.6rem;
	height: 1.6rem;
	object-fit: contain;
	opacity: .7;
}

.hd-vdw-vms i.is-you {
	box-shadow: inset 0 0 0 1.5px #0247AE, 0 .5rem 1rem -.6rem rgba(2, 71, 174, .55);
}

.hd-vdw-vms i.is-you img {
	opacity: 1;
}

/* The rows: memory, disk and processor. */
.hd-vdw-lab {
	font-size: .86rem;
	line-height: 1.4;
	font-weight: 900;
	color: var(--hd-navy);
	text-align: center;
}

.hd-vdw-full,
.hd-vdw-segs i,
.hd-vdw-cpu {
	height: 1.35rem;
	border-radius: .45rem;
}

.hd-vdw-full {
	overflow: hidden;
	background: linear-gradient(90deg, #2B7BE5, #0247AE);
	box-shadow: 0 .35rem .8rem -.35rem rgba(2, 71, 174, .7);
}

/* A light runs along each bar of the dedicated box, one after the other. */
.hd-vdw-full i {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-start: 0;
	width: 35%;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
	transform: translateX(calc(var(--sx) * -110%));
	animation: hd-vdw-shine 3.6s ease-in-out infinite;
}

.hd-vdw-full.is-disk i {
	animation-delay: .3s;
}

.hd-vdw-full.is-cpu i {
	animation-delay: .6s;
}

.hd-vdw-segs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .4rem;
}

.hd-vdw-segs i {
	background: #DFE8F1;
	box-shadow: inset 0 0 0 1px #D2DEEA;
}

.hd-vdw-segs i.is-you {
	background: linear-gradient(90deg, #2B7BE5, #0247AE);
	box-shadow: 0 .35rem .8rem -.35rem rgba(2, 71, 174, .7);
}

/* The shared processor of the VPS: the stripes of vps-anatomy. */
.hd-vdw-cpu {
	overflow: hidden;
	background: #FFD84D;
	box-shadow: inset 0 0 0 1px rgba(196, 150, 0, .3);
}

.hd-vdw-cpu i {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: -2rem;
	background: repeating-linear-gradient(135deg, #FFCC00 0 .6rem, #FFE680 .6rem 1.2rem);
	animation: hd-van-run 2.4s linear infinite;
}

.hd-vdw-cap {
	justify-self: center;
	max-width: 100%;
	padding: .1rem .75rem;
	border-radius: 99px;
	font-size: .76rem;
	line-height: 1.7;
	font-weight: 800;
	text-align: center;
}

.hd-vdw-cap.is-ded {
	background: #0247AE;
	color: #FFFFFF;
}

.hd-vdw-cap.is-vps {
	background: #E6EEF6;
	color: #4F7697;
}

@keyframes hd-vdw-shine {
	0% {
		transform: translateX(calc(var(--sx) * -110%));
	}

	55%,
	100% {
		transform: translateX(calc(var(--sx) * 320%));
	}
}

@media (max-width: 1139.98px) {
	.hd-vdw-box {
		padding-inline: 1.2rem;
	}

	.hd-vdw-grid {
		column-gap: .7rem;
	}
}

@media (max-width: 575.98px) {
	.hd-vdw-box {
		padding: 1.2rem .9rem 1.3rem;
		border-radius: 1.5rem;
	}

	.hd-vdw-grid {
		grid-template-columns: minmax(0, 1fr) 3.6rem minmax(0, 1fr);
		column-gap: .55rem;
		row-gap: .7rem;
	}

	.hd-vdw-grid > .hd-vdw-pane {
		margin: -.45rem -.4rem -.5rem;
		border-radius: 1rem;
	}

	.hd-vdw-top {
		gap: .35rem;
		padding: .4rem .5rem;
		border-radius: .65rem;
	}

	/* The root is 10px on the narrowest phones: the small words of the card
	   keep a size that still reads. */
	.hd-vdw-top b {
		font-size: max(.74rem, 9px);
	}

	.hd-vdw-you b {
		font-size: max(.74rem, 9px);
	}

	.hd-vdw-you img {
		width: 1.7rem;
		height: 1.7rem;
	}

	.hd-vdw-vms,
	.hd-vdw-segs {
		gap: .3rem;
	}

	.hd-vdw-vms img {
		width: 1.35rem;
		height: 1.35rem;
	}

	.hd-vdw-lab {
		font-size: max(.8rem, 10px);
	}

	.hd-vdw-full,
	.hd-vdw-segs i,
	.hd-vdw-cpu {
		height: 1.15rem;
	}

	.hd-vdw-cap {
		padding-inline: .5rem;
		font-size: max(.7rem, 9px);
	}
}

/* Too narrow for the lights beside the names of the boxes. */
@media (max-width: 419.98px) {
	.hd-vdw-leds {
		display: none;
	}

	.hd-vdw-top {
		justify-content: center;
	}
}

/* With less motion everything stands in its first pose: the wave and the
   rings of light of vps-common are not drawn and its ring of dots, mark and
   ticks keep still; the lights of the ways are not drawn; the stripes, the
   dots and the pieces of the pictures keep still. */
@media (prefers-reduced-motion: reduce) {
	.hd-vcm-wave,
	.hd-vcm-dot::after,
	.hd-vcm-loc::after,
	.hd-vhw-ln i,
	.hd-vdw-full i {
		display: none;
	}

	.hd-vcm-spin,
	.hd-vcm-core,
	.hd-vcm-ok,
	.hd-van-band,
	.hd-van-leds i,
	.hd-van-cpu i,
	.hd-vus-svg *,
	.hd-vhw-unit i,
	.hd-vdw-pane,
	.hd-vdw-leds i,
	.hd-vdw-cpu i {
		animation: none !important;
	}

	/* The page has arrived. */
	.hd-vhw-page .hd-vhw-load {
		animation: none;
		transform: none;
	}
}

/* High contrast draws no backgrounds: the green ticks of the flags, and the
   swatches and the slices that carry the meaning of the maps, keep their
   colours. */
@media (forced-colors: active) {
	.hd-vcm-ok,
	.hd-van-sw,
	.hd-van-seg,
	.hd-van-cpu,
	.hd-van-band,
	.hd-vdw-pane,
	.hd-vdw-full,
	.hd-vdw-segs i,
	.hd-vdw-cpu,
	.hd-vdw-cap {
		forced-color-adjust: none;
	}
}
