/*
 * The home page (template/home/network.php and the sections after it, from
 * service-cards.php to clients.php), with base.css: one file, printed once on
 * the pages that use any of them (hidata_component_stylesheets()). Sizes are
 * in rem: the values of the wide screens are those of the design at 1440px
 * (root 14px), those of the phones the design at 390px (root 12px).
 *
 * First the header with the map of the server locations and the domain
 * search (home-network).
 *
 * The map is the dotted world on a plane, seen in real perspective from
 * behind Iran toward Europe and, far off, America: the near dots are large,
 * the far ones small, and everything thins out with distance, so the plane
 * has no edge. The owner picked it on 2026-11-23 (the design hh1 of the round
 * dev/design-rounds/home-hero-2026-11-23), with the links on the ground, not
 * in the air, and the top of the map not cut. It is three layers with one
 * camera, which dev/tools/scenes/home-network.py holds:
 *
 * - the floor, an image drawn ahead (assets/img/home-network-floor.svg): the
 *   land in dots, the sea in small ones, Iran in yellow;
 * - the ground (.hd-net-plane), a layer in the map's own units that the
 *   browser lays back with the camera of the floor: the links between the
 *   places, their packets (a yellow one out, a blue one back, moved by
 *   transforms), the points of the places and their rings;
 * - upright in the picture, a beam of light on each place with its label.
 *
 * --cw is the width of the picture, which is 900 units wide and 640 high:
 * everything in it is in percent of it or in shares of --cw, so the three
 * layers stay on one another at every width. The box of the ground layer,
 * its transform and the places are generated, at the end of this part.
 */

/* Clipped at the sides: the picture is wider than the half it shows in, and
   though its mask hides what is past the sides, it would still widen the
   page. Above the section after it, for the glow of the search card. */
.hd-net {
	--hd-page: #EDF6FD;
	container-type: inline-size;
	z-index: 1;
	padding: 0;
	overflow-x: clip;
}

/* The light behind the title fades in under the top edge, which is the
   colour of the page, as the navigation above it; the tint fades back into
   the page toward the foot, so nothing separates the header from the page
   (no line). --glow places the light, --tint holds the stops of the tint
   between the page colours. Each layer covers the box: none repeats, or at
   a fractional pixel ratio the top row of the glow would repeat into the
   last device row, a faint line at the foot. */
.hd-net-top {
	--glow: 50% 60% at 12% 18%;
	--tint: #E9F3FC 55%, #E1EDF9 74%, #E3EFFA 82%, #E8F2FC 90%, #ECF5FD 96%;
	position: relative;
	min-height: 45.71rem;
	background:
		linear-gradient(180deg, var(--hd-page), transparent 6rem),
		radial-gradient(var(--glow), rgba(2, 71, 174, .09), rgba(2, 71, 174, 0) 70%),
		linear-gradient(180deg, var(--hd-page) 0%, var(--tint), var(--hd-page) 100%);
	background-repeat: no-repeat;
}

:where(html[dir=rtl]) .hd-net-top {
	--glow: 50% 60% at 88% 18%;
}

/* The text: above the map, which stays under the mouse beside it. */
.hd-net-in {
	position: relative;
	z-index: 1;
	pointer-events: none;
}

.hd-net-text {
	max-width: 45rem;
	padding: 6.86rem 0 11.6rem;
	pointer-events: auto;
}

.hd-net-text > *,
.hd-net-form {
	animation: hd-net-up .9s cubic-bezier(.2, .7, .2, 1) both;
}

.hd-net-text > :nth-child(2) {
	animation-delay: .1s;
}

.hd-net-text > :nth-child(3) {
	animation-delay: .2s;
}

/* The size of the h1 of the inner pages' headers. */
.hd-net-title {
	margin: 0;
	font-size: 3.57rem;
	line-height: 1.45;
	font-weight: 900;
	letter-spacing: -.02rem;
	color: var(--hd-navy);
	text-wrap: balance;
}

/* The phrase set apart (hidata_ui_highlight()): blue, on a rounded yellow
   band under its lower half, in one piece. */
.hd-net .hd-hl {
	position: relative;
	z-index: 0;
	padding: 0;
	white-space: nowrap;
	background: none;
}

.hd-net .hd-hl::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset-inline: -.21rem;
	bottom: .5rem;
	height: 1.07rem;
	border-radius: .43rem;
	background: #FFDD55;
}

.hd-net-lead {
	max-width: 41.43rem;
	margin-top: 1.14rem;
	font-size: 1.21rem;
	line-height: 2.05;
	font-weight: 500;
	color: #3F6E8E;
	text-wrap: pretty;
}

.hd-net-points {
	display: flex;
	flex-wrap: wrap;
	gap: .71rem 1.71rem;
	margin-top: 1.57rem;
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 800;
	color: #2F5677;
}

.hd-net-points li {
	display: inline-flex;
	align-items: center;
	gap: .64rem;
}

/* The icon of a point, on a white round tile. */
.hd-net-pi {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 2.43rem;
	height: 2.43rem;
	border-radius: 50%;
	background: #fff;
	color: var(--hd-blue);
	box-shadow: 0 .57rem 1.14rem -.57rem rgba(2, 71, 174, .4), 0 0 0 1px rgba(2, 71, 174, .07);
}

.hd-net-pi svg {
	width: 1.29rem;
	height: 1.29rem;
}

/* --- The map. */

/* --cw, the width of the picture: on wide screens 900px at the design's
   width, and no more than fits the half of the section beside the title. */
.hd-net-map {
	--cw: min(64.29rem, 62.5cqw);
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* The picture, the frame of the camera. On the right-to-left pages it is in
   the left half: the point 80% across it, just past the label of Iran, is on
   the middle of the section, so the USA is at least a tenth of the picture
   off the left edge. On the others it is in the right half, a little
   narrower, its left edge 2rem past the middle: the USA, far off on its left,
   stays clear of the title and the label of Iran inside the screen. */
.hd-net-cam {
	position: absolute;
	top: 0;
	left: calc(50% - .8 * var(--cw));
	width: var(--cw);
	aspect-ratio: 900 / 640;
}

@media (min-width: 992px) {
	:where(html[dir=ltr]) .hd-net-map {
		--cw: min(64.29rem, 58cqw);
	}

	:where(html[dir=ltr]) .hd-net-cam {
		left: calc(50% + 2rem);
	}
}

/* The floor and the ground are one masked surface: it fades in under the
   navigation, fades out at the side of the title (--sides: on the
   right-to-left pages its right side is under the title and its left side on
   the edge of the screen; on the others only its left side is beside the
   title) and dissolves into the page at its foot, under the search. The
   beams and the labels are over it, not masked. */
.hd-net-pic {
	--sides: linear-gradient(90deg, transparent 0, #000 9%);
	position: absolute;
	inset: 0;
	-webkit-mask-image:
		linear-gradient(180deg, transparent 0, #000 13%),
		var(--sides),
		radial-gradient(120% 100% at 42% 0, #000 68%, rgba(0, 0, 0, .8) 76%, rgba(0, 0, 0, .5) 84%, rgba(0, 0, 0, .22) 92%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image:
		linear-gradient(180deg, transparent 0, #000 13%),
		var(--sides),
		radial-gradient(120% 100% at 42% 0, #000 68%, rgba(0, 0, 0, .8) 76%, rgba(0, 0, 0, .5) 84%, rgba(0, 0, 0, .22) 92%, transparent 100%);
	mask-composite: intersect;
}

:where(html[dir=rtl]) .hd-net-pic {
	--sides: linear-gradient(90deg, transparent 0, #000 8%, #000 73%, transparent 90%);
}

.hd-net-floor {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
}

/* The ground: its box and its transform are generated (the end of this
   part). --k is a unit of the map in px, --pw the thickness of a packet in
   units. */
.hd-net-plane {
	--k: calc(var(--cw) / 900);
	--pw: 4.6;
	position: absolute;
}

.hd-net-links {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.hd-net-lk {
	transition: opacity .3s ease;
}

/* A link between two of the other places is thin and faint; a link of Iran
   is strong, yellow where it leaves Iran (its gradient is in the template). */
.hd-net-line {
	stroke: #0247AE;
	stroke-opacity: .34;
	stroke-width: 1.4;
	transition: stroke-opacity .2s ease, stroke-width .2s ease;
}

.hd-net-lk.is-main .hd-net-line {
	stroke-opacity: 1;
	stroke-width: 2.3;
}

/* A wider, invisible line under each link, to point at it. */
.hd-net-hit {
	stroke: transparent;
	stroke-width: 16;
}

/* The packets (hidata_ui_network_links()): a rounded dash, yellow out and
   blue back, --pw units thick. On a straight link the dash slides along the
   link (translateX); on a bowed one it turns around the centre of its arc
   (rotate). Transform and opacity only, off the main thread. */
.hd-net-lk:not(.is-main) {
	--pw: 3.8;
}

.hd-net-pk {
	position: absolute;
	left: calc(var(--x) * 1%);
	top: calc(var(--y) * 1%);
	width: 0;
	height: 0;
	color: #FFC400;
}

.hd-net-pk.is-back {
	color: #2F80ED;
}

.hd-net-pk.is-line {
	width: calc(var(--len) * 1%);
	transform: rotate(var(--a));
	transform-origin: 0 0;
}

.hd-net-pk.is-line > span {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	animation: hd-net-move var(--t) linear var(--d) infinite;
}

.hd-net-pk.is-line > span::before {
	content: "";
	position: absolute;
	left: calc(var(--k) * var(--pw) / -2);
	top: calc(var(--k) * var(--pw) / -2);
	width: calc(var(--dash) * 1% + var(--k) * var(--pw));
	height: calc(var(--k) * var(--pw));
	border-radius: 99rem;
	background: currentColor;
}

.hd-net-pk.is-arc {
	animation: hd-net-turn var(--t) linear var(--d) infinite;
}

.hd-net-pk.is-arc > span {
	position: absolute;
	left: calc(var(--k) * (var(--r) - var(--pw) / 2));
	top: calc(var(--k) * (var(--dl) + var(--pw)) / -2);
	width: calc(var(--k) * var(--pw));
	height: calc(var(--k) * (var(--dl) + var(--pw)));
	border-radius: 99rem;
	background: currentColor;
}

.hd-net-pk.is-back,
.hd-net-pk.is-back > span {
	animation-direction: reverse;
}

/* The motion of each place: when its rings start (--rd), when its beam
   glows (--bd), when its label comes in (--pd). */
.hd-net .hd-ir { --rd: 0s; --bd: 0s; --pd: .35s; }
.hd-net .hd-ru { --rd: -.6s; --bd: -.6s; --pd: .5s; }
.hd-net .hd-fi { --rd: -1.5s; --bd: -1.2s; --pd: .65s; }
.hd-net .hd-de { --rd: -2.1s; --bd: -1.8s; --pd: .8s; }
.hd-net .hd-us { --rd: -1s; --bd: -.9s; --pd: .95s; }

/* A place on the ground: a soft disc, its point and its rings, flat on the
   map (--x/--y are generated). Sizes in units of the map. */
.hd-net-spot {
	--r0: 7.5;
	--ink: #0247AE;
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 0;
	height: 0;
}

.hd-net-spot.is-home {
	--r0: 9.5;
	--ink: #E9A800;
}

.hd-net-spot::before,
.hd-net-spot::after,
.hd-net-ring {
	content: "";
	position: absolute;
	left: calc(var(--k) * var(--r0) * var(--f) * -1);
	top: calc(var(--k) * var(--r0) * var(--f) * -1);
	width: calc(var(--k) * var(--r0) * var(--f) * 2);
	height: calc(var(--k) * var(--r0) * var(--f) * 2);
	border-radius: 50%;
}

.hd-net-spot::before {
	--f: 2.7;
	background: rgba(2, 71, 174, .16);
}

.hd-net-spot.is-home::before {
	background: rgba(255, 204, 0, .24);
}

.hd-net-spot::after {
	--f: 1;
	background: radial-gradient(circle, #fff 0 40%, var(--ink) 43% 100%);
}

.hd-net-ring {
	--f: 1.7;
	box-sizing: border-box;
	border: calc(var(--k) * 2.4) solid var(--ink);
	opacity: 0;
	animation: hd-net-ring 2.6s ease-out var(--rd) infinite;
}

.hd-net-ring + .hd-net-ring {
	animation-delay: -1.3s;
}

/* A place in the picture: the beam of light that stands on it, and its label
   on the top of the beam. The pin is at the foot of the beam (--x/--y and the
   rest are generated). */
.hd-net-pin {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 0;
	height: 0;
}

/* The area that answers the mouse, round the foot. */
.hd-net-pin::before {
	content: "";
	position: absolute;
	left: -2rem;
	top: -2rem;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
}

/* The beam: solid at its foot, thinning toward its top, with a soft light
   round it that breathes. */
.hd-net-beam {
	position: absolute;
	left: calc(var(--cw) * var(--bw) / -2);
	bottom: 0;
	width: calc(var(--cw) * var(--bw));
	height: calc(var(--cw) * var(--bl));
	border-radius: 99rem;
	transform-origin: 50% 100%;
	transform: rotate(var(--ba));
	background: linear-gradient(to top, #0247AE, rgba(2, 71, 174, .5) 70%, rgba(2, 71, 174, .15));
}

.hd-net-beam::before {
	content: "";
	position: absolute;
	inset: 0 -70%;
	border-radius: inherit;
	background: rgba(2, 71, 174, .22);
	transition: background-color .3s ease;
	animation: hd-net-glow 2.4s ease-in-out var(--bd) infinite;
}

.hd-net-pin.is-home .hd-net-beam {
	background: linear-gradient(to top, #E9A800, rgba(255, 204, 0, .75) 70%, rgba(255, 204, 0, .25));
}

.hd-net-pin.is-home .hd-net-beam::before {
	background: rgba(255, 204, 0, .38);
}

/* The label, at the top of the beam: on it, or hung beside it (--tx). */
.hd-net-tag {
	position: absolute;
	left: calc(var(--cw) * var(--dx));
	top: calc(var(--cw) * var(--dy));
	width: max-content;
	transform: translate(var(--tx), -100%);
	animation: hd-net-pop .7s cubic-bezier(.2, .7, .2, 1) var(--pd) backwards;
}

.hd-net-chip {
	display: inline-flex;
	align-items: center;
	gap: .36rem;
	padding-block: .21rem;
	padding-inline: .21rem .64rem;
	border-radius: 99rem;
	background: #fff;
	color: var(--hd-navy);
	font-size: .82rem;
	line-height: 1.5;
	font-weight: 900;
	white-space: nowrap;
	/* The same three shadows in every state: only the alpha of the ring
	   changes, so it fades in and out. */
	box-shadow: 0 0 0 2px rgba(2, 71, 174, 0), 0 .86rem 1.57rem -.86rem rgba(16, 63, 99, .55), 0 0 0 1px rgba(16, 63, 99, .06);
	transition: box-shadow .3s ease, opacity .3s ease;
}

/* The flags at their size: the max-width of base.css let the label be laid
   out without them, and the name ran past its end. */
.hd-net-chip img,
.hd-net-edge img {
	flex: none;
	max-width: none;
	width: 1.36rem;
	height: 1.36rem;
	border-radius: 50%;
}

.hd-net-pin.is-home .hd-net-chip {
	background: var(--hd-yellow);
	box-shadow: 0 0 0 2px rgba(16, 63, 99, 0), 0 1rem 1.86rem -.86rem rgba(120, 90, 0, .6), 0 0 0 1px rgba(16, 63, 99, 0);
}

/* On phones the USA is past the edge of the picture: this chip points to it. */
.hd-net-edge {
	display: none;
}

/* Pointing at a place lights its links and dims the other labels; pointing
   at a link thickens it and dims the others. */
@media (hover: hover) and (min-width: 992px) {
	.hd-net-pin::before,
	.hd-net-chip {
		pointer-events: auto;
	}

	.hd-net-hit {
		pointer-events: stroke;
	}

	.hd-net-pin:hover .hd-net-chip {
		box-shadow: 0 0 0 2px rgba(2, 71, 174, 1), 0 .86rem 1.57rem -.86rem rgba(16, 63, 99, .55), 0 0 0 1px rgba(16, 63, 99, .06);
	}

	.hd-net-pin:hover .hd-net-beam::before {
		background: rgba(2, 71, 174, .42);
	}

	.hd-net-pin.is-home:hover .hd-net-chip {
		box-shadow: 0 0 0 2px rgba(16, 63, 99, 1), 0 1rem 1.86rem -.86rem rgba(120, 90, 0, .6), 0 0 0 1px rgba(16, 63, 99, 0);
	}

	.hd-net-pin.is-home:hover .hd-net-beam::before {
		background: rgba(255, 204, 0, .62);
	}

	.hd-net-map:has(.hd-net-pin:hover) .hd-net-lk {
		opacity: .1;
	}

	.hd-net-map:has(.hd-net-pin.hd-ir:hover) .hd-net-lk.hd-ir,
	.hd-net-map:has(.hd-net-pin.hd-ru:hover) .hd-net-lk.hd-ru,
	.hd-net-map:has(.hd-net-pin.hd-fi:hover) .hd-net-lk.hd-fi,
	.hd-net-map:has(.hd-net-pin.hd-de:hover) .hd-net-lk.hd-de,
	.hd-net-map:has(.hd-net-pin.hd-us:hover) .hd-net-lk.hd-us {
		opacity: 1;
	}

	.hd-net-map:has(.hd-net-pin:hover) .hd-net-pin:not(:hover) .hd-net-chip {
		opacity: .5;
	}

	.hd-net-map:has(.hd-net-lk:hover) .hd-net-lk:not(:hover) {
		opacity: .12;
	}

	/* The packets of the link pointed at stay with its line. */
	.hd-net-map:has(.hd-l1:hover) .hd-net-lk.hd-l1,
	.hd-net-map:has(.hd-l2:hover) .hd-net-lk.hd-l2,
	.hd-net-map:has(.hd-l3:hover) .hd-net-lk.hd-l3,
	.hd-net-map:has(.hd-l4:hover) .hd-net-lk.hd-l4,
	.hd-net-map:has(.hd-l5:hover) .hd-net-lk.hd-l5,
	.hd-net-map:has(.hd-l6:hover) .hd-net-lk.hd-l6,
	.hd-net-map:has(.hd-l7:hover) .hd-net-lk.hd-l7,
	.hd-net-map:has(.hd-l8:hover) .hd-net-lk.hd-l8,
	.hd-net-map:has(.hd-l9:hover) .hd-net-lk.hd-l9,
	.hd-net-map:has(.hd-l10:hover) .hd-net-lk.hd-l10 {
		opacity: 1;
	}

	.hd-net-lk:hover .hd-net-line {
		stroke-opacity: 1;
		stroke-width: 2.8;
	}

	.hd-net-lk.is-main:hover .hd-net-line {
		stroke-width: 3.6;
	}
}

/* --- The domain search, at the foot of the header, where the tint and the
   dots of the map dissolve into the page: a white card with a faint blue
   glow, its extensions under it on the page. .hd-net-tab is the foot of the
   header that holds the search: the bottom --base of it, which it rises over
   by as much. --base keeps the section as tall as it was with the tab
   outlined in yellow that came before (140 units and half its 3-unit line),
   so the next section does not move. --u is a px of the design at the root
   size it was drawn at; --tw, the width of the card and its extensions, is
   in cqw, so it narrows with the section. */

.hd-net-tab {
	--u: calc(1rem / 14);
	--base: calc(141.5 * var(--u));
	--tw: min(1040 * var(--u), 100cqw - 132 * var(--u) - 3rem);
	position: relative;
	z-index: 2;
	min-height: var(--base);
	margin-top: calc(-1 * var(--base));
	pointer-events: none;
}

.hd-net-form {
	position: relative;
	width: var(--tw);
	margin: 0 auto;
	padding-top: .5rem;
	pointer-events: auto;
	animation-delay: .3s;
}

/* The card: a pill, as round as the box and the button in it, 12px in. */
.hd-net-row {
	display: flex;
	align-items: center;
	gap: 1.29rem;
	padding: .86rem;
	padding-inline-start: 1.21rem;
	border-radius: 99rem;
	background: #fff;
	box-shadow:
		0 0 0 1px rgba(2, 71, 174, .06),
		0 1.43rem 3.21rem -1.43rem rgba(2, 71, 174, .28),
		0 0 3.57rem rgba(2, 71, 174, .1);
}

.hd-net-ic {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 3.57rem;
	height: 3.57rem;
	border-radius: 1.14rem;
	background: var(--hd-yellow);
	color: var(--hd-navy);
}

.hd-net-ic svg {
	width: 1.71rem;
	height: 1.71rem;
}

.hd-net-label {
	display: flex;
	flex: none;
	flex-direction: column;
	margin-inline-start: -.43rem;
	line-height: 1.55;
}

.hd-net-label label {
	font-size: 1.21rem;
	font-weight: 900;
	color: var(--hd-navy);
	cursor: pointer;
}

.hd-net-label span {
	font-size: .89rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-net-bar {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 1.29rem;
	min-width: 0;
}

/* The box: a pale tint of the page on the white card, so it reads as a box;
   white, with a ring, while it has the focus. */
.hd-net-field {
	display: flex;
	flex: 1;
	align-items: center;
	gap: .71rem;
	min-width: 0;
	height: 4.29rem;
	padding: 0 1.43rem;
	border-radius: 99rem;
	background: #F3F8FD;
	box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .07);
	transition: background-color .2s ease, box-shadow .2s ease;
}

.hd-net-field:focus-within {
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--hd-blue), 0 0 0 4px rgba(2, 71, 174, .14);
}

.hd-net-field svg {
	flex: none;
	width: 1.43rem;
	height: 1.43rem;
	color: #7C9AB2;
}

.hd-net-field input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: max(16px, 1.14rem);
	font-weight: 600;
	color: var(--hd-navy);
	text-overflow: ellipsis;
}

.hd-net-field input::placeholder {
	opacity: 1;
	font-weight: 500;
	color: #557894;
}

.hd-net-field input:focus-visible {
	outline: none;
}

.hd-net-go {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: .57rem;
	height: 4.29rem;
	padding: 0 2.29rem;
	border: 0;
	border-radius: 99rem;
	background: var(--hd-blue);
	color: #fff;
	font: inherit;
	font-size: 1.14rem;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 1.14rem 2.14rem -1rem rgba(2, 71, 174, .65);
}

.hd-net-go svg {
	width: 1.29rem;
	height: 1.29rem;
}

:where(html[dir=rtl]) .hd-net-go svg {
	transform: scaleX(-1);
}

/* The extensions, under the card on the page, in line with its content. */
.hd-net-tlds {
	display: flex;
	align-items: center;
	gap: .57rem .71rem;
	margin-top: 1rem;
	padding-inline: 1.14rem .86rem;
}

.hd-net-tlds-label {
	flex: none;
	font-size: .93rem;
	font-weight: 700;
	color: var(--hd-text);
}

.hd-net-tlds ul {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	align-items: center;
	gap: .57rem;
}

/* The extensions: the theme's ripple (site.js), yellow, as on the domain
   section (#home-domain .domain). */
.hd-net-tld {
	display: inline-flex;
	align-items: center;
	min-height: 2.43rem;
	padding: 0 1rem;
	border-radius: 99rem;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .08);
	color: var(--hd-navy);
	font-size: .93rem;
	font-weight: 800;
	text-decoration: none;
	transition: all .3s ease, background-color 0s ease;
}

.hd-net-tld:hover {
	background: var(--hd-yellow);
	color: var(--hd-blue);
	transition-delay: 0s, .5s;
}

.hd-net-tld .ripple {
	background: var(--hd-yellow);
	opacity: 1;
}

.hd-net-more {
	margin-inline-start: auto;
}

.hd-net-more a {
	display: inline-flex;
	align-items: center;
	min-height: 2.43rem;
	font-size: .93rem;
	font-weight: 800;
	color: var(--hd-blue);
	text-decoration: none;
	transition: color .2s ease;
}

.hd-net-more a:hover {
	color: var(--hd-navy);
}

/* Up to 1139px the title starts nearer the middle of the screen: the picture
   sits a little lower, its labels clear of the title's first line. On the
   left-to-right pages the box of the text is narrower, so the label of the
   USA, the nearest to it, is not under it. */
@media (min-width: 992px) and (max-width: 1139.98px) {
	.hd-net-cam {
		top: 2.5rem;
	}

	:where(html[dir=ltr]) .hd-net-text {
		max-width: 40rem;
	}
}

/* --- Tablets and phones: the text, then the map, then the search. */
@media (max-width: 991.98px) {
	.hd-net-top {
		--tint: #E9F3FC 45%, #E1EDF9 76%, #E4F0FA 86%, #EAF4FC 94%;
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.hd-net-top,
	:where(html[dir=rtl]) .hd-net-top {
		--glow: 90% 40% at 80% 12%;
	}

	.hd-net-in {
		order: -1;
	}

	.hd-net-text {
		max-width: none;
		padding: 2.17rem 0 0;
	}

	.hd-net-title {
		font-size: 2.77rem;
		line-height: 1.55;
	}

	.hd-net-lead {
		max-width: none;
		margin-top: .92rem;
		font-size: 1.15rem;
		line-height: 2;
	}

	.hd-net-points {
		margin-top: 1.23rem;
		font-size: 1.04rem;
	}

	/* The map is a box of its own here, under the text: a window on the
	   picture, which is wider than it and centred on the five places. The
	   window fades in at its top and dissolves into the page at its foot,
	   under the search, which rises over it. */
	.hd-net-map {
		--cw: min(132cqw, 78rem);
		position: relative;
		inset: auto;
		height: calc(.53 * var(--cw));
		margin-top: .6rem;
		-webkit-mask-image:
			linear-gradient(180deg, transparent 0, #000 12%),
			radial-gradient(140% 100% at 50% 0, #000 70%, rgba(0, 0, 0, .8) 78%, rgba(0, 0, 0, .5) 86%, rgba(0, 0, 0, .2) 94%, transparent 100%);
		-webkit-mask-composite: source-in;
		mask-image:
			linear-gradient(180deg, transparent 0, #000 12%),
			radial-gradient(140% 100% at 50% 0, #000 70%, rgba(0, 0, 0, .8) 78%, rgba(0, 0, 0, .5) 86%, rgba(0, 0, 0, .2) 94%, transparent 100%);
		mask-composite: intersect;
	}

	/* The point 39% across the picture on the middle of the window: the
	   labels of the USA and of Iran, the two outermost, stay inside it down
	   to 576px. */
	.hd-net-cam {
		top: calc(-.085 * var(--cw));
		left: calc(50% - .39 * var(--cw));
	}

	.hd-net-pic {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.hd-net-chip,
	.hd-net-edge {
		gap: .33rem;
		padding-block: .17rem;
		padding-inline: .17rem .67rem;
		font-size: .92rem;
		box-shadow: 0 .83rem 1.67rem -.83rem rgba(16, 63, 99, .55), 0 0 0 1px rgba(16, 63, 99, .06);
	}

	.hd-net-pin.is-home .hd-net-chip {
		box-shadow: 0 1rem 1.83rem -.83rem rgba(120, 90, 0, .6);
	}

	.hd-net-chip img,
	.hd-net-edge img {
		width: 1.42rem;
		height: 1.42rem;
	}
}

/* With the search in a column the card is taller: a little more of the map
   stays over it. */
@media (max-width: 767.98px) {
	.hd-net-map {
		margin-bottom: 1rem;
	}
}

/* Phones: the picture larger, Iran and Europe in the window and the USA past
   its left edge, which the chip points to. The window itself is not masked
   here, so the labels near its top stay whole: the floor and the ground fade
   in under them and thin out toward the search (in the picture's own rem,
   from its top, which is 12.5rem above the window's). */
@media (max-width: 575.98px) {
	.hd-net-title {
		font-size: min(2.33rem, (100cqw - 3rem) / 11.6);
		line-height: 1.6;
		letter-spacing: 0;
	}

	.hd-net .hd-hl::after {
		bottom: .42rem;
		height: .83rem;
	}

	.hd-net-lead {
		font-size: 1.17rem;
	}

	.hd-net-points {
		gap: .67rem 1.33rem;
		font-size: 1.08rem;
	}

	.hd-net-map {
		--cw: 82.5rem;
		height: 36.8rem;
		margin-top: 0;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.hd-net-cam {
		top: -12.5rem;
		left: calc(50% - 49.96rem);
	}

	.hd-net-pic {
		-webkit-mask-image: linear-gradient(180deg, transparent 12.5rem, #000 17rem, #000 38rem, rgba(0, 0, 0, .45) 44rem, transparent 49.3rem);
		mask-image: linear-gradient(180deg, transparent 12.5rem, #000 17rem, #000 38rem, rgba(0, 0, 0, .45) 44rem, transparent 49.3rem);
	}

	.hd-net-pin.hd-us .hd-net-tag {
		display: none;
	}

	.hd-net-edge {
		position: absolute;
		z-index: 1;
		left: .67rem;
		top: 4rem;
		display: inline-flex;
		align-items: center;
		padding-inline: .67rem .17rem;
		border-radius: 99rem;
		background: #fff;
		color: var(--hd-navy);
		line-height: 1.5;
		font-weight: 900;
		white-space: nowrap;
	}

	.hd-net-edge svg {
		width: 1.08rem;
		height: 1.08rem;
		color: var(--hd-blue);
		stroke-width: 2.6;
		transform: scaleX(-1);
	}
}

/* Phones: the search in a column, the button inside the box. */
@media (max-width: 767.98px) {
	/* The units of the design at 390px (root 12px). The card's padding is
	   taken from above it and from under the extensions, so the section
	   keeps its height. */
	.hd-net-tab {
		--u: calc(1rem / 12);
		--base: calc(125.5 * var(--u));
		--tw: min(336 * var(--u), 100cqw - 4rem);
		padding-bottom: 1rem;
	}

	.hd-net-form {
		padding-top: .83rem;
	}

	.hd-net-row {
		flex-wrap: wrap;
		gap: 1rem .83rem;
		padding: 1rem;
		border-radius: 3.33rem;
	}

	.hd-net-ic {
		width: 3.5rem;
		height: 3.5rem;
		border-radius: 1.08rem;
	}

	.hd-net-ic svg {
		width: 1.75rem;
		height: 1.75rem;
	}

	.hd-net-label {
		margin-inline-start: 0;
		line-height: 1.5;
	}

	.hd-net-label label {
		font-size: 1.33rem;
	}

	.hd-net-label span {
		font-size: 1rem;
	}

	.hd-net-bar {
		flex: 1 0 100%;
		gap: .67rem;
		height: 4.67rem;
		box-sizing: border-box;
		padding-block: .33rem;
		padding-inline: 1.17rem .33rem;
		background: #F3F8FD;
		border-radius: 99rem;
		box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .07);
		transition: background-color .2s ease, box-shadow .2s ease;
	}

	.hd-net-bar:focus-within {
		background: #fff;
		box-shadow: inset 0 0 0 2px var(--hd-blue), 0 0 0 4px rgba(2, 71, 174, .14);
	}

	.hd-net-field,
	.hd-net-field:focus-within {
		height: 100%;
		padding: 0;
		background: none;
		box-shadow: none;
	}

	.hd-net-field svg {
		display: none;
	}

	.hd-net-go {
		gap: .5rem;
		height: 100%;
		padding: 0 1.5rem;
		font-size: 1.17rem;
		box-shadow: 0 1rem 2rem -1rem rgba(2, 71, 174, .65);
	}

	.hd-net-go svg {
		width: 1.33rem;
		height: 1.33rem;
	}

	.hd-net-tlds {
		padding-inline: 0;
	}

	/* The title of the extensions only for screen readers: the chips say
	   what they are. */
	.hd-net-tlds-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.hd-net-tlds ul {
		gap: .67rem;
	}

	.hd-net-tld,
	.hd-net-more a {
		min-height: 3rem;
		font-size: 1.08rem;
	}

	.hd-net-tld {
		padding: 0 1.08rem;
	}

	.hd-net-more {
		margin-inline-start: 0;
	}

	.hd-net-more a {
		padding: 0 .33rem;
	}
}

/* Less motion: no packets nor rings, the beams lit, the labels in place.
   main.css plays the other animations once, for 1ms, so the text and the
   search are there at once. */
@media (prefers-reduced-motion: reduce) {
	.hd-net-pk,
	.hd-net-ring {
		display: none;
	}

	.hd-net-beam::before,
	.hd-net-tag {
		animation: none;
	}
}

/* High contrast draws no backgrounds and no shadows, which are all that
   shape the card, its box and the buttons. The card and the box, which
   take no focus, get a line inside their edge (an outline, so nothing
   moves), the box the system's highlight while it has the focus; the button
   and the extensions a border, as the buttons of the sections below have,
   since main.css takes the outline off what the mouse focuses. On phones the
   box is the bar, round the button too. */
@media (forced-colors: active) {
	.hd-net-row,
	.hd-net-field {
		outline: 1px solid CanvasText;
		outline-offset: -1px;
	}

	.hd-net-go,
	.hd-net-tld {
		border: 1px solid ButtonText;
	}

	.hd-net-field:focus-within {
		outline: 2px solid Highlight;
		outline-offset: -2px;
	}
}

@media (forced-colors: active) and (max-width: 767.98px) {
	.hd-net-field,
	.hd-net-field:focus-within {
		outline: none;
	}

	.hd-net-bar {
		outline: 1px solid CanvasText;
		outline-offset: -1px;
	}

	.hd-net-bar:focus-within {
		outline: 2px solid Highlight;
		outline-offset: -2px;
	}
}

@keyframes hd-net-up {
	from {
		opacity: 0;
		transform: translateY(1.14rem);
	}
}

@keyframes hd-net-pop {
	from {
		opacity: 0;
	}
}

@keyframes hd-net-ring {
	0% {
		transform: scale(.6);
		opacity: .9;
	}

	100% {
		transform: scale(2.7);
		opacity: 0;
	}
}

@keyframes hd-net-glow {
	0%,
	100% {
		opacity: .55;
	}

	50% {
		opacity: 1;
	}
}

@keyframes hd-net-move {
	0% {
		transform: translateX(0);
		opacity: 0;
	}

	10%,
	88% {
		opacity: 1;
	}

	100% {
		transform: translateX(100%);
		opacity: 0;
	}
}

@keyframes hd-net-turn {
	0% {
		transform: rotate(var(--a0));
		opacity: 0;
	}

	10%,
	88% {
		opacity: 1;
	}

	100% {
		transform: rotate(var(--a1));
		opacity: 0;
	}
}

/* home-network scene: generated by dev/tools/scenes/home-network.py, do not edit */

/* The ground: the box of the links in the picture (percent of it), laid back about the point
   looked at by the picture's own camera. One unit of the map is --k. */
.hd-net-plane {
	left: -0.806%;
	top: 31.263%;
	width: 73.889%;
	height: 37.344%;
	transform-origin: 72.18% 51.883%;
	transform: perspective(calc(var(--cw) * 0.752)) rotateX(50deg) rotateZ(20deg);
}

/* The places on the ground, in percent of that box. */
.hd-net-spot.hd-ir {
	--x: 92.154%;
	--y: 78.043%;
}

.hd-net-spot.hd-ru {
	--x: 83.376%;
	--y: 33.546%;
}

.hd-net-spot.hd-fi {
	--x: 75.361%;
	--y: 22.123%;
}

.hd-net-spot.hd-de {
	--x: 67.092%;
	--y: 46.852%;
}

.hd-net-spot.hd-us {
	--x: 7.935%;
	--y: 70.892%;
}

/* The beams, upright in the picture: the foot (percent of the picture), the length and the width
   (shares of its width), the lean, the top from the foot (--dx, --dy, shares of the width), where
   the label is, on it or hung beside it (--tx). */
.hd-net-pin.hd-ir {
	--x: 65.556%;
	--y: 62.5%;
	--bl: 0.126;
	--bw: 0.0068;
	--ba: 9.12deg;
	--dx: 0.02;
	--dy: -0.1256;
	--tx: 0%;
}

.hd-net-pin.hd-ru {
	--x: 61.801%;
	--y: 49.087%;
	--bl: 0.0916;
	--bw: 0.0046;
	--ba: 5.84deg;
	--dx: 0.0093;
	--dy: -0.0922;
	--tx: 0%;
}

.hd-net-pin.hd-fi {
	--x: 57.128%;
	--y: 45.03%;
	--bl: 0.1313;
	--bw: 0.0044;
	--ba: 2.81deg;
	--dx: 0.0064;
	--dy: -0.1322;
	--tx: -50%;
}

.hd-net-pin.hd-de {
	--x: 49.529%;
	--y: 48.399%;
	--bl: 0.0689;
	--bw: 0.0045;
	--ba: -1.88deg;
	--dx: -0.0023;
	--dy: -0.07;
	--tx: -50%;
}

.hd-net-pin.hd-us {
	--x: 11.049%;
	--y: 41.338%;
	--bl: 0.0895;
	--bw: 0.0042;
	--ba: -23.32deg;
	--dx: -0.0354;
	--dy: -0.0833;
	--tx: -50%;
}

/* end of home-network scene */


/* ==========================================================================
 * The sections of the home page redesigned in 2026-10, under the header, in
 * the order of the page (hidata_home_section_files(): template/home/
 * service-cards.php to clients.php). What they share comes first, then each
 * section under a header of its own, its selectors all within its classes.
 * ======================================================================= */

/* One rhythm: the same space above and below each of them. */
:is(.hd-sc, .hd-traffic, .hd-fb, .hd-cb, .hd-sb, .hd-svl, .hd-loc, .hd-lcd, .hd-rev, .hd-blf, .hd-clients) {
	padding-block: 5.71rem;
}

@media (max-width: 991.98px) {
	:is(.hd-sc, .hd-traffic, .hd-fb, .hd-cb, .hd-sb, .hd-svl, .hd-loc, .hd-lcd, .hd-rev, .hd-blf, .hd-clients) {
		padding-block: 4.5rem;
	}
}

@media (max-width: 575.98px) {
	:is(.hd-sc, .hd-traffic, .hd-fb, .hd-cb, .hd-sb, .hd-svl, .hd-loc, .hd-lcd, .hd-rev, .hd-blf, .hd-clients) {
		padding-block: 4.33rem;
	}
}

/* The reset of base.css has no weight (:where), so the margins MojoCSS gives
   p and the headings when the page runs (p .4rem above and below, headings
   .5rem below) outweighed it. This one weighs a class: it beats those, and
   the rules of the sections, as heavy and later, still set their own. */
:is(.hd-sc, .hd-traffic, .hd-fb, .hd-cb, .hd-sb, .hd-svl, .hd-loc, .hd-lcd, .hd-rev, .hd-blf, .hd-clients) :where(h2, h3, h4, p, ul, ol, figure, blockquote):where(:not(.screen-reader-text)) {
	margin: 0;
}

/* special-offer, an older component, ends in a pale curve (#F6FBFF) that its
   section cuts off in a straight line. The section after it carries that
   colour on at its top and fades it into the page, under its content. */
#special-offer + .hd-sec {
	isolation: isolate;
}

#special-offer + .hd-sec::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: -1;
	height: 9rem;
	background: linear-gradient(#F6FBFF, rgba(246, 251, 255, 0));
	pointer-events: none;
}

/* Its red label and the name of the product after it, beside the prices,
   break into lines of about one length, so no word stays alone. */
#special-offer a:not(.button) {
	text-wrap: balance;
}

/* The two older components kept between them, where they follow one of
   them, take the same rhythm: features2 above and below (its own MojoCSS
   padding is a third of it), special-offer above (its curve ends it below,
   and runs on into the next section). */
.hd-sec + #features2 {
	padding-block: 5.71rem;
}

.hd-sec + #special-offer {
	padding-top: 5.71rem;
}

@media (max-width: 991.98px) {
	.hd-sec + #features2 {
		padding-block: 4.5rem;
	}

	.hd-sec + #special-offer {
		padding-top: 4.5rem;
	}
}

@media (max-width: 575.98px) {
	.hd-sec + #features2 {
		padding-block: 4.33rem;
	}

	.hd-sec + #special-offer {
		padding-top: 4.33rem;
	}
}


/* === home-service-cards: template/home/service-cards.php === */

/*
 * home-service-cards (template/home/service-cards.php): the services as white
 * cards over a light arc, with base.css. Sizes are in rem: the values of the
 * wide screens are those of the design at 1440px (root 14px), those of the
 * phones the design at 390px (root 12px).
 *
 * The arc is the design's, stretched to the width of the section. Its dashes
 * stay still and two packets run along it, moved by transforms only: the
 * curve is a parabola whose x grows evenly, so one box slides across at an
 * even pace while the one inside it rises and falls with the eases of a
 * parabola (the dashes of the design flowed by stroke-dashoffset, which
 * repaints every frame).
 */

.hd-sc {
	--arc-top: 17.86rem;
	--arc-h: 21.43rem;
	overflow: hidden;
}

.hd-sc-in {
	position: relative;
	z-index: 1;
}

/* --- The arc. */

.hd-sc-arc,
.hd-sc-run {
	position: absolute;
	inset-inline: 0;
	top: var(--arc-top);
	width: 100%;
	height: var(--arc-h);
	pointer-events: none;
}

.hd-sc-arc {
	overflow: visible;
}

/* The design runs left to right on the right-to-left page: mirrored on the
   others. */
[dir=ltr] .hd-sc-arc,
[dir=ltr] .hd-sc-run {
	transform: scaleX(-1);
}

.hd-sc-road {
	stroke: #DCEBF8;
	stroke-width: 20px;
	vector-effect: non-scaling-stroke;
}

.hd-sc-dash {
	stroke: rgba(2, 71, 174, .28);
	stroke-width: 2px;
	stroke-linecap: round;
	stroke-dasharray: 2 10;
	vector-effect: non-scaling-stroke;
}

/* A packet: the outer box, as wide as the arc and flat, slides from x -40 to
   1480 of its 1440 units; the inner one, as tall as the arc and thin, from y
   290 to 130 and back of its 300. The dot is on the corner they share, and
   the layers they move on stay the size of the dot. */
.hd-sc-pk,
.hd-sc-pk > i {
	position: absolute;
	top: 0;
	left: 0;
}

.hd-sc-pk {
	width: 100%;
	height: 0;
	animation: hd-sc-x 9s linear infinite;
}

.hd-sc-pk > i {
	width: 0;
	height: var(--arc-h);
	animation: hd-sc-y 9s infinite;
}

.hd-sc-pk > i::before {
	content: "";
	position: absolute;
	top: -.25rem;
	left: -.25rem;
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: var(--hd-blue);
	box-shadow: 0 0 0 .21rem rgba(2, 71, 174, .14);
	animation: hd-sc-fade 9s linear infinite;
}

.hd-sc-pk.is-y,
.hd-sc-pk.is-y > i,
.hd-sc-pk.is-y > i::before {
	animation-delay: -4.5s;
}

.hd-sc-pk.is-y > i::before {
	background: var(--hd-yellow);
	box-shadow: 0 0 0 .21rem rgba(255, 204, 0, .25);
}

@keyframes hd-sc-x {
	from {
		transform: translateX(-2.78%);
	}

	to {
		transform: translateX(102.78%);
	}
}

@keyframes hd-sc-y {
	0% {
		transform: translateY(96.67%);
		animation-timing-function: cubic-bezier(.333, .667, .667, 1);
	}

	50% {
		transform: translateY(43.33%);
		animation-timing-function: cubic-bezier(.333, 0, .667, .333);
	}

	100% {
		transform: translateY(96.67%);
	}
}

@keyframes hd-sc-fade {
	0%,
	100% {
		opacity: 0;
	}

	8%,
	92% {
		opacity: 1;
	}
}

/* --- The title. */

.hd-sc-title {
	margin: 0;
	font-size: 2.14rem;
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
	text-align: center;
	text-wrap: balance;
	overflow-wrap: break-word;
}

/* The phrase set apart: blue only, as designed. */
.hd-sc .hd-hl {
	padding: 0;
	background: none;
	color: var(--hd-blue);
}

.hd-sc-lead {
	max-width: 44.29rem;
	margin: .71rem auto 0;
	font-size: 1.07rem;
	line-height: 2;
	font-weight: 500;
	color: #4F6F8C;
	text-align: center;
	text-wrap: pretty;
}

/* --- The cards: three a row, a shorter last row in the middle. */

.hd-sc-grid {
	--gap: 1.71rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--gap);
	margin-top: 2.86rem;
}

.hd-sc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 0 0 calc((100% - var(--gap) * 2) / 3);
	min-width: 0;
	box-sizing: border-box;
	padding: 2rem;
	border-radius: 1.71rem;
	background: #fff;
	box-shadow: 0 0 0 1px #E3ECF4, 0 1.43rem 2.86rem -2.14rem rgba(16, 63, 99, .35);
	transition: box-shadow .35s ease;
}

/* Pointing at a card deepens its shadow and turns its tile yellow; the card
   stays where it is. */
.hd-sc-card:hover {
	box-shadow: 0 0 0 1px #D3E3F1, 0 2.29rem 3.86rem -2.14rem rgba(16, 63, 99, .45);
}

.hd-sc-card:has(.hd-sc-btn:focus-visible) {
	box-shadow: 0 0 0 3px var(--hd-blue), 0 2.29rem 3.86rem -2.14rem rgba(16, 63, 99, .45);
}

.hd-sc-head {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.hd-sc-ico {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 1.29rem;
	background: #EDF6FD;
	color: var(--hd-blue);
	transition: background-color .3s ease, color .3s ease, transform .4s cubic-bezier(.2, .7, .2, 1);
}

.hd-sc-ico svg {
	display: block;
	width: 1.86rem;
	height: 1.86rem;
}

.hd-sc-card:hover .hd-sc-ico {
	background: var(--hd-yellow);
	color: var(--hd-navy);
	transform: rotate(-8deg);
}

[dir=ltr] .hd-sc-card:hover .hd-sc-ico {
	transform: rotate(8deg);
}

/* Long words (Russian compounds) break rather than leave the card. */
.hd-sc-name {
	min-width: 0;
	margin: 0;
	font-size: 1.43rem;
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
	overflow-wrap: break-word;
}

.hd-sc-list {
	display: flex;
	flex-direction: column;
	gap: .71rem;
	margin: 1.43rem 0 1.71rem;
	font-size: 1.04rem;
	line-height: 1.8;
	font-weight: 600;
	color: #1C5B8A;
}

.hd-sc-list li {
	display: flex;
	align-items: flex-start;
	gap: .71rem;
}

.hd-sc-list li > :last-child {
	min-width: 0;
	overflow-wrap: break-word;
}

.hd-sc-tick {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 1.57rem;
	height: 1.57rem;
	margin-top: .14rem;
	border-radius: 50%;
	background: #EDF6FD;
	color: var(--hd-blue);
}

.hd-sc-tick svg {
	display: block;
	width: .93rem;
	height: .93rem;
}

.hd-sc-foot {
	margin-top: auto;
	padding-top: 1.29rem;
	border-top: 1px dashed #D5E4F1;
}

.hd-sc-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .43rem;
	margin: 0;
	font-size: .93rem;
	font-weight: 700;
	color: #4F6F8C;
}

.hd-sc-num {
	font-size: 2rem;
	line-height: 1.4;
	font-weight: 900;
	color: var(--hd-blue);
	white-space: nowrap;
}

.hd-sc-sign {
	font-size: .75em;
}

/* A price without a number («تماس بگیرید») is a line of text: the size of the
   card's title, and it may wrap. */
.hd-sc-num.is-text {
	min-width: 0;
	font-size: 1.43rem;
	line-height: 1.6;
	white-space: normal;
	overflow-wrap: break-word;
}

/* The buy button: blue, lightened from where the mouse came in by the
   theme's ripple (site.js, its white tint), as the blue buttons of the other
   pages (.button). */
.hd-sc-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .57rem;
	/* 44px at least where the root is 12px (992-1139px). */
	min-height: max(3.57rem, 44px);
	margin-top: 1rem;
	padding: .5rem 1rem;
	border-radius: 99rem;
	background: var(--hd-blue);
	color: #fff;
	font-size: 1.07rem;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 1rem 2rem -1.14rem rgba(2, 71, 174, .75);
}

.hd-sc-btn:focus-visible {
	outline: 3px solid var(--hd-blue);
	outline-offset: 3px;
}

/* The arrow points the way the text reads, and steps that way while the card
   is pointed at. */
.hd-sc-arw {
	display: block;
	flex: none;
	width: 1.29rem;
	height: 1.29rem;
	transition: transform .3s ease;
}

.hd-sc-card:hover .hd-sc-arw {
	transform: translateX(-.29rem);
}

[dir=ltr] .hd-sc-arw {
	transform: scaleX(-1);
}

[dir=ltr] .hd-sc-card:hover .hd-sc-arw {
	transform: scaleX(-1) translateX(-.29rem);
}

/* --- Narrower screens: lighter padding, then two cards a row. */
@media (max-width: 1139.98px) {
	.hd-sc-card {
		padding: 1.71rem;
	}
}

@media (max-width: 991.98px) {
	.hd-sc-card {
		flex-basis: calc((100% - var(--gap)) / 2);
	}
}

/* --- Phones: one card a row, the sizes of the design at 390px. */
@media (max-width: 767.98px) {
	.hd-sc {
		--arc-top: 10rem;
		--arc-h: 20rem;
	}

	.hd-sc-lead {
		margin-top: .5rem;
		line-height: 1.95;
	}

	.hd-sc-grid {
		--gap: 1.17rem;
		margin-top: 2.17rem;
	}

	.hd-sc-card {
		flex-basis: 100%;
		padding: 1.67rem;
		border-radius: 1.83rem;
		box-shadow: 0 0 0 1px #E3ECF4, 0 1.67rem 3.33rem -2.5rem rgba(16, 63, 99, .35);
	}

	.hd-sc-card:hover {
		box-shadow: 0 0 0 1px #D3E3F1, 0 2.67rem 4.5rem -2.5rem rgba(16, 63, 99, .45);
	}

	.hd-sc-head {
		gap: 1.17rem;
	}

	.hd-sc-ico {
		width: 4rem;
		height: 4rem;
		border-radius: 1.25rem;
	}

	.hd-sc-ico svg {
		width: 2.17rem;
		height: 2.17rem;
	}

	.hd-sc-name {
		font-size: 1.5rem;
	}

	.hd-sc-list {
		gap: .83rem;
		margin: 1.17rem 0 1.5rem;
		font-size: 1.17rem;
	}

	.hd-sc-list li {
		gap: .83rem;
	}

	.hd-sc-tick {
		width: 1.83rem;
		height: 1.83rem;
		margin-top: .17rem;
	}

	.hd-sc-tick svg {
		width: 1.08rem;
		height: 1.08rem;
	}

	.hd-sc-foot {
		padding-top: 1.5rem;
	}

	.hd-sc-price {
		gap: .5rem;
		font-size: 1.08rem;
	}

	.hd-sc-num {
		font-size: 2rem;
	}

	.hd-sc-btn {
		gap: .67rem;
		margin-top: 1.17rem;
		box-shadow: 0 1.17rem 2.33rem -1.33rem rgba(2, 71, 174, .75);
	}

	.hd-sc-arw {
		width: 1.5rem;
		height: 1.5rem;
	}
}

/* Phones: the title, the lead and the button of every section of the page. */
@media (max-width: 575.98px) {
	.hd-sc-title {
		font-size: 1.83rem;
	}

	.hd-sc-lead {
		font-size: 1.17rem;
	}

	.hd-sc-btn {
		min-height: 4.17rem;
		font-size: 1.25rem;
	}
}

/* Less motion: no packets; the tile and the arrow keep still. */
@media (prefers-reduced-motion: reduce) {
	.hd-sc-run {
		display: none;
	}

	.hd-sc-ico,
	.hd-sc-arw,
	.hd-sc-card {
		transition: none;
	}
}


/* === home-traffic-host: template/home/traffic-host.php === */

/*
 * home-traffic-host: the special service of the home page with the traffic
 * of a site (template/home/traffic-host.php), with base.css. Sizes are px of
 * the design times --u, a px of it at the root size it was drawn at: 1440px
 * wide (root 14px) on wide screens, 390px (root 12px) on phones.
 *
 * The window shows the normal state, or the heavy one under .is-heavy
 * (assets/js/components.js). Visitors walk along the lane to the site, the
 * bars of the heavy chart rise in over those of the normal one and the meter
 * fills. A change of state runs on the compositor only: one opacity and
 * transform transition for the chart (its two states are drawn once each),
 * one transform for the meter, and no transition of colours or shadows: on
 * this long page each frame that needs the main thread costs milliseconds.
 */

.hd-traffic {
	--u: calc(1rem / 14);
	/* The way the text reads: 1 left to right, -1 right to left. */
	--fx: 1;
	--g: 90deg;
	/* The end of the meter's track where it starts filling. */
	--fe: 0%;
}

:where(html[dir=rtl]) .hd-traffic {
	--fx: -1;
	--g: 270deg;
	--fe: 100%;
}

/* The text and the buttons in the first column, centred together beside the
   window: the empty rows above and below them share the rest of its height.
   In the markup the window comes between them, as on phones. */
.hd-traffic-card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 1fr auto auto 1fr;
	grid-template-areas:
		". sim"
		"text sim"
		"acts sim"
		". sim";
	align-items: center;
	column-gap: calc(40 * var(--u));
	padding: calc(40 * var(--u));
	border-radius: calc(24 * var(--u));
	background: #fff;
	box-shadow: 0 0 0 1px #E3ECF4, 0 calc(24 * var(--u)) calc(48 * var(--u)) calc(-32 * var(--u)) rgba(16, 63, 99, .45);
}

.hd-traffic-text {
	grid-area: text;
	min-width: 0;
}

.hd-traffic-text ~ .hd-traffic-acts {
	margin-top: calc(28 * var(--u));
}

.hd-traffic-title {
	font-size: calc(30 * var(--u));
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
	text-wrap: balance;
}

.hd-traffic-sub {
	margin: calc(8 * var(--u)) 0 0;
	font-size: calc(16 * var(--u));
	line-height: 1.9;
	font-weight: 600;
	color: #1C5B8A;
	text-wrap: balance;
}

.hd-traffic-desc {
	max-width: calc(460 * var(--u));
	margin: calc(12 * var(--u)) 0 0;
	font-size: calc(15 * var(--u));
	line-height: 1.9;
	font-weight: 500;
	color: #4F6F8C;
	text-wrap: pretty;
}

.hd-traffic-acts {
	grid-area: acts;
	display: flex;
	flex-wrap: wrap;
	gap: calc(12 * var(--u));
}

/* The buttons, of the size and type of the other buttons of the home page.
   The theme's ripple (site.js) spreads from where the mouse came in: on the
   blue one its white tint lightens it, as on the blue buttons of the other
   pages (.button); the light one it fills with yellow, which stays as its
   background once it has filled it. */
.hd-traffic-buy,
.hd-traffic-help {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	/* At least 44px, a finger's width, at every root size. */
	min-height: max(3.57rem, 44px);
	border-radius: 99rem;
	color: var(--hd-blue);
	font-size: 1.07rem;
	font-weight: 800;
	text-decoration: none;
}

.hd-traffic-buy {
	gap: calc(10 * var(--u));
	padding: 0 calc(28 * var(--u));
	background: var(--hd-blue);
	color: #fff;
	box-shadow: 0 calc(16 * var(--u)) calc(30 * var(--u)) calc(-14 * var(--u)) rgba(2, 71, 174, .65);
}

.hd-traffic-help {
	gap: calc(8 * var(--u));
	padding: 0 calc(22 * var(--u));
	background: #F3F8FD;
	box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .08);
	transition: color .3s ease, background-color 0s ease;
}

.hd-traffic-help:hover {
	background: var(--hd-yellow);
	color: var(--hd-blue);
	transition-delay: 0s, .5s;
}

.hd-traffic-help .ripple {
	background: var(--hd-yellow);
	opacity: 1;
}

/* The arrow points the way the text reads, and on to it under the mouse. */
.hd-traffic-go {
	display: flex;
	flex: none;
}

.hd-traffic-buy svg {
	width: calc(18 * var(--u));
	height: calc(18 * var(--u));
	stroke-width: 2.4;
	transform: scaleX(var(--fx));
	transition: transform .3s ease;
}

.hd-traffic-buy:hover svg {
	transform: translateX(calc(var(--fx) * 4 * var(--u))) scaleX(var(--fx));
}

.hd-traffic-ic {
	display: flex;
	flex: none;
}

.hd-traffic-ic svg {
	width: calc(18 * var(--u));
	height: calc(18 * var(--u));
}

.hd-traffic-help .hd-traffic-ic svg {
	width: calc(19 * var(--u));
	height: calc(19 * var(--u));
	stroke-width: 2;
}

/* --- The window and its toggles. */

.hd-traffic-sim {
	grid-area: sim;
	min-width: 0;
	padding: calc(20 * var(--u));
	border-radius: calc(20 * var(--u));
	background: #F3F8FD;
	box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .06);
}

/* Two halves, unless a word of a name is too wide for its half (Посещаемый
   on a phone): that toggle then keeps the word whole and the other one takes
   the rest. If the two cannot share a row at all, they go one under the
   other rather than cutting a word. */
.hd-traffic-segs {
	display: flex;
	flex-wrap: wrap;
	gap: calc(4 * var(--u));
	margin-bottom: calc(16 * var(--u));
	padding: calc(4 * var(--u));
	border-radius: 99rem;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .08);
}

.hd-traffic-seg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	gap: calc(8 * var(--u));
	/* Not narrower than its longest word, which the overflow: hidden of
	   .ripple-button (main.css) would otherwise allow. */
	min-width: min-content;
	min-height: max(44px, calc(44 * var(--u)));
	padding: calc(4 * var(--u)) calc(10 * var(--u));
	border: 0;
	border-radius: 99rem;
	background: transparent;
	color: var(--hd-blue);
	font: inherit;
	font-size: calc(14 * var(--u));
	line-height: 1.4;
	font-weight: 800;
	cursor: pointer;
	/* Only the background, switched once the ripple has filled the toggle;
	   a change of state shows at once. */
	transition: background-color 0s ease;
}

/* A name too long for its toggle wraps in balanced lines between its words,
   never inside one (no hyphens either, which some phones would add): only a
   word wider than a whole row would break. */
.hd-traffic-seg span {
	overflow-wrap: break-word;
	text-wrap: balance;
}

.hd-traffic-seg:hover {
	background: #FFF2BF;
	transition-delay: .5s;
}

/* The ripple grows and shrinks as the theme's (site.js, .5s), by its
   transform alone: its colour, which follows the toggle's, does not fade. */
.hd-traffic-seg .ripple {
	background: #FFF2BF;
	opacity: 1;
	transition: transform .5s ease;
}

/* The state shown: blue at once, the ripple of the mouse hidden. */
.hd-traffic-seg[aria-pressed=true] {
	background: var(--hd-blue);
	color: #fff;
	box-shadow: 0 calc(10 * var(--u)) calc(20 * var(--u)) calc(-10 * var(--u)) rgba(2, 71, 174, .7);
	transition-delay: 0s;
}

.hd-traffic-seg[aria-pressed=true] .ripple {
	opacity: 0;
	transition: none;
}

.hd-traffic-win {
	overflow: hidden;
	border-radius: calc(16 * var(--u));
	background: #fff;
	box-shadow: 0 0 0 1px #E3ECF4, 0 calc(18 * var(--u)) calc(36 * var(--u)) calc(-28 * var(--u)) rgba(16, 63, 99, .5);
}

.hd-traffic-top {
	display: flex;
	align-items: center;
	gap: calc(10 * var(--u));
	box-sizing: border-box;
	height: calc(40 * var(--u));
	padding: 0 calc(14 * var(--u));
	border-bottom: 1px solid #E3ECF4;
}

.hd-traffic-dt {
	flex: none;
	width: calc(8 * var(--u));
	height: calc(8 * var(--u));
	border-radius: 50%;
	background: #CFE0F0;
}

.hd-traffic-dt.is-y {
	background: var(--hd-yellow);
}

.hd-traffic-url {
	display: flex;
	flex: 1;
	align-items: center;
	gap: calc(6 * var(--u));
	min-width: 0;
	box-sizing: border-box;
	height: calc(24 * var(--u));
	padding: 0 calc(12 * var(--u));
	border-radius: 99rem;
	background: #F3F8FD;
	color: #4F6F8C;
	font-size: calc(12 * var(--u));
	font-weight: 700;
	white-space: nowrap;
}

.hd-traffic-url svg {
	flex: none;
	width: calc(13 * var(--u));
	height: calc(13 * var(--u));
	stroke-width: 2.2;
}

.hd-traffic-url span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.hd-traffic-body {
	display: flex;
	flex-direction: column;
	gap: calc(14 * var(--u));
	padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(18 * var(--u));
}

/* The lane: the site at its end, the visitors walking to it. */
.hd-traffic-lane {
	position: relative;
	height: calc(34 * var(--u));
	overflow: hidden;
	border-radius: 99rem;
	background: #F3F8FD;
}

.hd-traffic-site {
	position: absolute;
	z-index: 1;
	top: calc(3 * var(--u));
	inset-inline-end: calc(3 * var(--u));
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(28 * var(--u));
	height: calc(28 * var(--u));
	border-radius: 50%;
	background: var(--hd-yellow);
	color: var(--hd-navy);
}

.hd-traffic-site svg {
	width: calc(16 * var(--u));
	height: calc(16 * var(--u));
}

/* A visitor: a box from just past the start of the lane to the site, slid
   its own width along it, with the dot at its start. */
.hd-traffic-dot {
	position: absolute;
	top: calc(var(--y, 12) * var(--u));
	inset-inline-start: calc(-10 * var(--u));
	width: calc(100% - 24 * var(--u));
	height: calc(10 * var(--u));
	opacity: 0;
	animation: hd-traffic-walk 4.2s linear var(--d) infinite;
}

.hd-traffic-dot::before {
	content: "";
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	width: calc(10 * var(--u));
	height: calc(10 * var(--u));
	border-radius: 50%;
	background: var(--hd-blue);
}

.hd-traffic-dot.is-x {
	display: none;
}

.hd-traffic-dot.is-x::before {
	background: #5B9BEF;
}

.is-heavy .hd-traffic-dot {
	animation-duration: 2.3s;
}

.is-heavy .hd-traffic-dot.is-x {
	display: block;
}

/* The chart: the bars of each state in a layer of their own, the heavy one
   over the normal one (each of its bars is taller). It rises in from a
   little lower as it fades in: one transition of one layer. */
.hd-traffic-chart {
	position: relative;
	height: calc(110 * var(--u));
	overflow: hidden;
	border-bottom: 1px solid #E3ECF4;
}

.hd-traffic-bars {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	gap: calc(6 * var(--u));
	padding: 0 calc(2 * var(--u));
}

.hd-traffic-bars span {
	flex: 1;
	height: var(--b);
	border-radius: calc(6 * var(--u)) calc(6 * var(--u)) calc(2 * var(--u)) calc(2 * var(--u));
	background: #CCE2F2;
}

/* The layers that move keep a layer of their own (will-change), and their
   transitions end together: each start and end of a transition costs the
   main thread a few frames of the whole page. */
.hd-traffic-bars.is-h {
	opacity: 0;
	transform: translateY(14%);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
	will-change: opacity, transform;
}

.hd-traffic-bars.is-h span {
	background: var(--hd-blue);
}

.hd-traffic-bars.is-h .is-hot {
	background: var(--hd-yellow);
}

.is-heavy .hd-traffic-bars.is-h {
	opacity: 1;
	transform: none;
}

.hd-traffic-meter {
	display: flex;
	align-items: center;
	gap: calc(12 * var(--u));
	font-size: calc(12.5 * var(--u));
	line-height: 1.6;
	font-weight: 800;
	color: #4F6F8C;
	white-space: nowrap;
}

/* The meter: the fill lies along the whole track, blue up to the normal
   level (26%) and warming to yellow at the heavy one (74%). A cover of the
   colour of the track hides it past the level shown, its end hollowed round
   the tip of the fill (--r, half the track), and slides: one transform. */
.hd-traffic-track {
	--r: calc(5 * var(--u));
	position: relative;
	flex: 1;
	height: calc(10 * var(--u));
	overflow: hidden;
	border-radius: 99rem;
	background: #EDF6FD;
}

.hd-traffic-fill {
	position: absolute;
	inset: 0;
	background: linear-gradient(var(--g), var(--hd-blue) 26%, var(--hd-yellow) 74%);
}

.hd-traffic-fill::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at var(--fe) 50%, rgba(237, 246, 253, 0) calc(var(--r) - .6px), #EDF6FD var(--r));
	transform: translateX(calc(var(--fx) * (26% - var(--r))));
	transition: transform .7s cubic-bezier(.2, .7, .2, 1);
	will-change: transform;
}

.is-heavy .hd-traffic-fill::after {
	transform: translateX(calc(var(--fx) * (74% - var(--r))));
}

.hd-traffic-lv {
	min-width: calc(34 * var(--u));
	text-align: center;
	color: var(--hd-blue);
}

/* The words of both states take the same place, the hidden ones keeping
   their room: the track and the caption stay as large in either state, so
   nothing under them jumps when the state changes. */
.hd-traffic-lv,
.hd-traffic-cap {
	display: grid;
}

.hd-traffic-lv > span,
.hd-traffic-cap > p {
	grid-area: 1 / 1;
}

/* Only the words: the bars of the normal state stay under the heavy ones,
   which fade both ways (the window is hidden from screen readers anyway). */
.hd-traffic-sim:not(.is-heavy) :is(.hd-traffic-lv, .hd-traffic-cap) > .is-h,
.hd-traffic-sim.is-heavy :is(.hd-traffic-lv, .hd-traffic-cap) > .is-n {
	visibility: hidden;
}

.hd-traffic-cap {
	min-height: calc(52 * var(--u));
	margin-top: calc(14 * var(--u));
	font-size: calc(14 * var(--u));
	line-height: 1.85;
	font-weight: 600;
	color: #1C5B8A;
}

.hd-traffic-cap p {
	margin: 0;
}

.hd-traffic-cap strong {
	font-weight: 900;
	color: var(--hd-navy);
}

@media (max-width: 1139.98px) {
	.hd-traffic-card {
		column-gap: calc(28 * var(--u));
		padding: calc(32 * var(--u));
	}
}

/* Tablets and phones: the text, the window, then the buttons, in the order
   of the markup. */
@media (max-width: 991.98px) {
	.hd-traffic-card {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-template-areas: none;
		row-gap: calc(28 * var(--u));
	}

	.hd-traffic-text,
	.hd-traffic-sim,
	.hd-traffic-acts {
		grid-area: auto;
	}

	.hd-traffic-text ~ .hd-traffic-acts {
		margin-top: 0;
	}
}

/* Phones: the design at 390px, the buttons one under the other. */
@media (max-width: 575.98px) {
	.hd-traffic {
		--u: calc(1rem / 12);
	}

	.hd-traffic-card {
		row-gap: calc(20 * var(--u));
		padding: calc(22 * var(--u));
	}

	.hd-traffic-title {
		font-size: calc(22 * var(--u));
	}

	.hd-traffic-sub {
		font-size: calc(14.5 * var(--u));
	}

	.hd-traffic-desc {
		font-size: 1.17rem;
	}

	.hd-traffic-acts {
		flex-direction: column;
		align-items: stretch;
		gap: calc(10 * var(--u));
	}

	.hd-traffic-buy,
	.hd-traffic-help {
		min-height: 4.17rem;
		font-size: 1.25rem;
	}

	.hd-traffic-sim {
		padding: calc(14 * var(--u));
	}

	.hd-traffic-seg {
		gap: calc(6 * var(--u));
		padding-inline: calc(6 * var(--u));
		font-size: calc(13.5 * var(--u));
	}

	.hd-traffic-chart {
		height: calc(90 * var(--u));
	}

	.hd-traffic-bars {
		gap: calc(4 * var(--u));
	}
}

/* The narrowest phones: a little less room round the icons, so that a long
   word and the other toggle still share the row. */
@media (max-width: 359.98px) {
	.hd-traffic-seg {
		gap: calc(4 * var(--u));
		padding-inline: calc(4 * var(--u));
	}
}

/* Less motion: no visitors, the bars and the meter change at once. */
@media (prefers-reduced-motion: reduce) {
	.hd-traffic-dot {
		display: none !important;
	}

	.hd-traffic-bars.is-h,
	.hd-traffic-fill::after,
	.hd-traffic-buy svg {
		transition: none;
	}
}

@keyframes hd-traffic-walk {
	0% {
		transform: translateX(0);
		opacity: 0;
	}

	12%,
	85% {
		opacity: 1;
	}

	100% {
		transform: translateX(calc(var(--fx) * 100%));
		opacity: 0;
	}
}


/* === home-features-bento: template/home/features-bento.php === */

/*
 * The features of the home page as a bento (template/home/features-bento.php),
 * with base.css: a big card with the brand's tile, the title and links to the
 * main services, beside four features in cards; on phones the features are
 * one card, a list with lines between its items. Sizes are in rem: those of
 * the wide screens are the design at 1440px (root 14px), those of the phones
 * the design at 390px (root 12px).
 *
 * Hovers move nothing up: a card gets a deeper shadow and its icon tile a
 * colour, the links fill with yellow from where the mouse came in (the ripple
 * of site.js) and their arrow nudges the way the text reads.
 */

.hd-fb {
	/* 1 where the text runs left to right, -1 in Persian: the arrows point the
	   way the text reads and the decorations mirror. */
	--hd-fb-dir: 1;
	/* A long word typed into a field («Высокопроизводительный») wraps
	   rather than widening the page. */
	overflow-wrap: anywhere;
}

:where(html[dir=rtl]) .hd-fb {
	--hd-fb-dir: -1;
}

.hd-fb-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 1.71rem;
	align-items: stretch;
}

.hd-fb-grid.is-solo {
	grid-template-columns: minmax(0, 1fr);
}

/* Alone, the big card is as tall as its content: its height was that of the
   features beside it. */
.hd-fb-grid.is-solo .hd-fb-lead {
	min-height: 0;
}

/* --- The big card: a yellow light in its starting corner, the mark of the
   tile faint in the opposite one. */
.hd-fb-lead {
	--hd-fb-glow: 90% 70% at 0% 0%;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 27.43rem;
	padding: 2.43rem 2.43rem 2.29rem;
	border-radius: 2rem;
	background:
		radial-gradient(var(--hd-fb-glow), rgba(255, 204, 0, .2), rgba(255, 204, 0, 0) 60%),
		linear-gradient(195deg, #fff 0%, #F3F8FD 100%);
	box-shadow: 0 0 0 1px #E3ECF4, 0 1.43rem 2.86rem -2.14rem rgba(16, 63, 99, .35);
}

:where(html[dir=rtl]) .hd-fb-lead {
	--hd-fb-glow: 90% 70% at 100% 0%;
	background:
		radial-gradient(var(--hd-fb-glow), rgba(255, 204, 0, .2), rgba(255, 204, 0, 0) 60%),
		linear-gradient(165deg, #fff 0%, #F3F8FD 100%);
}

.hd-fb-mark {
	position: absolute;
	inset-inline-end: -2.57rem;
	bottom: -4.29rem;
	width: 17.86rem;
	height: 19.86rem;
	color: var(--hd-blue);
	opacity: .06;
	pointer-events: none;
	transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.hd-fb-mark svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* Sideways and turned, never up. */
.hd-fb-lead:hover .hd-fb-mark {
	transform: translateX(calc(var(--hd-fb-dir) * -.57rem)) rotate(calc(var(--hd-fb-dir) * 6deg));
}

.hd-fb-tile {
	position: relative;
	flex: none;
	width: 4.29rem;
	height: 4.29rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 1.29rem;
	background: var(--hd-yellow);
	color: var(--hd-navy);
	box-shadow: 0 1rem 1.86rem -1.14rem rgba(120, 90, 0, .65);
	transition: background-color .4s ease, color .4s ease;
}

.hd-fb-tile svg {
	display: block;
	width: 2.29rem;
	height: 2.57rem;
}

.hd-fb-tile .hd-fb-l2 {
	fill: var(--hd-blue);
	transition: fill .4s ease;
}

.hd-fb-lead:hover .hd-fb-tile {
	background: var(--hd-blue);
	color: #fff;
}

.hd-fb-lead:hover .hd-fb-tile .hd-fb-l2 {
	fill: var(--hd-yellow);
}

.hd-fb-h2 {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 1.57rem 0 0;
	line-height: 1.3;
}

.hd-fb-kick {
	margin-bottom: .43rem;
	font-size: 1.14rem;
	font-weight: 700;
	color: #4F6F8C;
}

/* The big heading of the page after the h1 of its header, and smaller than
   it at every width (.hd-net-title: 3.29rem, 2.33rem from 991px). */
.hd-fb-title {
	font-size: 2.86rem;
	font-weight: 900;
	color: var(--hd-blue);
	text-wrap: balance;
}

.hd-fb-desc {
	position: relative;
	max-width: 30rem;
	margin: 1rem 0 0;
	font-size: 1.07rem;
	line-height: 1.95;
	font-weight: 500;
	color: #4F6F8C;
	text-wrap: pretty;
}

.hd-fb-links {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: .57rem;
	margin-top: auto;
	padding-top: 1.57rem;
}

/* The links: white pills that the ripple of site.js fills with yellow from
   where the mouse came in; the yellow stays behind once it is full. They stay
   44px tall, a finger's width, where the root size is 12 or 13px. */
.hd-fb-chip {
	display: inline-flex;
	align-items: center;
	gap: .43rem;
	min-height: max(3.14rem, 44px);
	padding: 0 1.14rem;
	border-radius: 99rem;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .1);
	color: var(--hd-navy);
	font-size: .93rem;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
	/* Not `all`: the focus ring would grow in as well. */
	transition: color .3s ease, box-shadow .3s ease, background-color 0s ease;
}

.hd-fb-chip:hover {
	background: var(--hd-yellow);
	color: var(--hd-blue);
	box-shadow: inset 0 0 0 1px rgba(233, 168, 0, .7);
	transition-delay: 0s, 0s, .5s;
}

.hd-fb-chip .ripple {
	background: var(--hd-yellow);
	opacity: 1;
}

.hd-fb-chip svg {
	flex: none;
	width: 1rem;
	height: 1rem;
	stroke-width: 2.4;
	transform: scaleX(var(--hd-fb-dir));
	transition: transform .3s ease;
}

.hd-fb-chip:hover svg {
	transform: translateX(calc(var(--hd-fb-dir) * .21rem)) scaleX(var(--hd-fb-dir));
}

/* --- The features: two columns of cards. */
.hd-fb-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.14rem;
}

.hd-fb-item {
	display: flex;
	align-items: flex-start;
	gap: 1.14rem;
	min-height: 13.14rem;
	padding: 1.71rem 1.57rem;
	border-radius: 1.71rem;
	background: #fff;
	box-shadow: 0 0 0 1px #E3ECF4, 0 1.43rem 2.86rem -2.14rem rgba(16, 63, 99, .35);
	transition: box-shadow .3s ease;
}

/* An odd last feature takes the whole row, so no cell is left empty. */
.hd-fb-item:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.hd-fb-item:hover {
	box-shadow: 0 0 0 1px #CFE0EE, 0 1.71rem 3.14rem -2rem rgba(16, 63, 99, .45);
}

.hd-fb-ico {
	flex: none;
	width: 3.43rem;
	height: 3.43rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 1.07rem;
	background: #EDF6FD;
	color: var(--hd-blue);
	transition: background-color .3s ease, color .3s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}

.hd-fb-ico svg {
	display: block;
	width: 1.71rem;
	height: 1.71rem;
}

/* The tile turns yellow and tilts the way the text reads; it does not rise. */
.hd-fb-item:hover .hd-fb-ico {
	background: var(--hd-yellow);
	color: var(--hd-navy);
	transform: rotate(calc(var(--hd-fb-dir) * 6deg));
}

.hd-fb-txt {
	min-width: 0;
}

.hd-fb-h3 {
	display: flex;
	flex-direction: column;
	gap: .14rem;
	margin: 0;
	line-height: 1.5;
}

.hd-fb-pre {
	font-size: .93rem;
	font-weight: 600;
	color: #4F6F8C;
}

.hd-fb-t {
	font-size: 1.29rem;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-fb-p {
	margin: .57rem 0 0;
	font-size: 1rem;
	line-height: 1.9;
	font-weight: 500;
	color: #1C5B8A;
	text-wrap: pretty;
}

/* --- Tablets: the big card over the features. */
@media (max-width: 991.98px) {
	.hd-fb-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hd-fb-lead {
		min-height: 0;
	}

	.hd-fb-title {
		font-size: 2.17rem;
	}

	.hd-fb-item {
		min-height: 0;
	}
}

/* --- Phones: the design at 390px, root 12px. The features are one card, a
   list with lines between its items. */
@media (max-width: 767.98px) {
	.hd-fb-grid {
		gap: 1.17rem;
	}

	.hd-fb-lead {
		padding: 2rem 1.83rem;
		border-radius: 2rem;
	}

	.hd-fb-mark {
		inset-inline-end: -3rem;
		bottom: -3.67rem;
		width: 14.17rem;
		height: 15.83rem;
	}

	.hd-fb-tile {
		width: 4.17rem;
		height: 4.17rem;
		border-radius: 1.25rem;
	}

	.hd-fb-tile svg {
		width: 2.25rem;
		height: 2.5rem;
	}

	.hd-fb-h2 {
		margin-top: 1.33rem;
	}

	.hd-fb-kick {
		font-size: 1.17rem;
	}

	.hd-fb-links {
		padding-top: 1.5rem;
		gap: .67rem;
	}

	.hd-fb-chip {
		min-height: max(3.67rem, 44px);
		padding: 0 1.33rem;
		gap: .5rem;
		font-size: 1.08rem;
	}

	.hd-fb-chip svg {
		width: 1.17rem;
		height: 1.17rem;
	}

	.hd-fb-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding: .5rem 1.5rem;
		border-radius: 2rem;
		background: #fff;
		box-shadow: 0 0 0 1px #E3ECF4, 0 1.67rem 3.33rem -2.5rem rgba(16, 63, 99, .35);
	}

	.hd-fb-item,
	.hd-fb-item:hover {
		min-height: 0;
		padding: 1.5rem 0;
		gap: 1.17rem;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.hd-fb-item + .hd-fb-item {
		border-top: 1px solid #E3ECF4;
	}

	.hd-fb-ico {
		width: 3.67rem;
		height: 3.67rem;
		border-radius: 1.17rem;
	}

	.hd-fb-ico svg {
		width: 1.83rem;
		height: 1.83rem;
	}

	.hd-fb-pre {
		font-size: 1.08rem;
	}

	.hd-fb-t {
		font-size: 1.42rem;
	}

	.hd-fb-p {
		margin-top: .67rem;
		font-size: 1.125rem;
		line-height: 1.85;
	}
}

@media (max-width: 575.98px) {
	.hd-fb-desc {
		font-size: 1.17rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hd-fb-mark,
	.hd-fb-ico,
	.hd-fb-chip svg {
		transition: none;
	}

	.hd-fb-lead:hover .hd-fb-mark {
		transform: none;
	}
}


/* === home-consult-band: template/home/consult-band.php === */

/*
 * home-consult-band (template/home/consult-band.php): the free buying advice
 * as a blue band, with base.css. Sizes are in rem: the values of the wide
 * screens are those of the design at 1440px (root 14px), those of the phones
 * the design at 390px (root 12px).
 *
 * On wide screens a pill: the mark, the text, the chip and the button in a
 * row; on phones a card, the button across its foot. The light and the
 * turning circles sit at the button's end, mirrored on left-to-right pages.
 */

.hd-cb-band {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 1.57rem;
	min-height: 8.86rem;
	box-sizing: border-box;
	padding-block: 1.57rem;
	padding-inline: 1.86rem 1.57rem;
	border-radius: 99rem;
	background: radial-gradient(ellipse 40% 140% at 0% 50%, #1A5BC0 0%, rgba(26, 91, 192, 0) 70%), var(--hd-blue);
	box-shadow: 0 1.86rem 3.29rem -2.14rem rgba(2, 71, 174, .85);
	color: #fff;
	/* Its own layer, so the rounded clip holds the turning circles. */
	isolation: isolate;
}

[dir=ltr] .hd-cb-band {
	background: radial-gradient(ellipse 40% 140% at 100% 50%, #1A5BC0 0%, rgba(26, 91, 192, 0) 70%), var(--hd-blue);
}

.hd-cb-band :focus-visible {
	outline: 3px solid var(--hd-yellow);
	outline-offset: 3px;
}

/* The circles: the whole drawing turns, so it moves on the compositor. */
.hd-cb-deco {
	position: absolute;
	inset-inline-end: -4.29rem;
	top: 50%;
	z-index: -1;
	width: 30rem;
	height: 30rem;
	margin-top: -15rem;
	pointer-events: none;
	animation: hd-cb-spin 40s linear infinite;
}

[dir=ltr] .hd-cb-deco {
	animation-direction: reverse;
}

/* The mark in a yellow circle, with two rings spreading from it. */
.hd-cb-orb {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 5.43rem;
	height: 5.43rem;
	border-radius: 50%;
	background: var(--hd-yellow);
	box-shadow: 0 1rem 2rem -.86rem rgba(255, 204, 0, .55);
}

.hd-cb-orb::before,
.hd-cb-orb::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(255, 204, 0, .75);
	animation: hd-cb-ring 3s ease-out infinite;
}

.hd-cb-orb::after {
	animation-delay: -1.5s;
}

.hd-cb-mark {
	position: relative;
	display: block;
	width: 2.71rem;
	height: auto;
	transition: transform .5s cubic-bezier(.3, 1.5, .5, 1);
}

/* Pointing at the band tilts the mark; nothing rises. */
.hd-cb-band:hover .hd-cb-mark {
	transform: rotate(-10deg);
}

[dir=ltr] .hd-cb-band:hover .hd-cb-mark {
	transform: rotate(10deg);
}

.hd-cb-text {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.hd-cb-title {
	margin: 0;
	font-size: 1.86rem;
	line-height: 1.55;
	font-weight: 900;
	color: #fff;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.hd-cb-sub {
	margin: .14rem 0 0;
	font-size: 1.07rem;
	line-height: 1.8;
	font-weight: 500;
	color: #D6E6FA;
	text-wrap: pretty;
}

.hd-cb-chip {
	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: .57rem;
	min-height: 2.57rem;
	box-sizing: border-box;
	padding-inline: 1rem 1.14rem;
	border-radius: 99rem;
	background: rgba(255, 255, 255, .1);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
	font-size: .93rem;
	font-weight: 800;
	color: #fff;
	white-space: nowrap;
}

.hd-cb-chip-ic {
	display: flex;
	flex: none;
	color: var(--hd-yellow);
}

.hd-cb-chip-ic svg {
	display: block;
	width: 1.21rem;
	height: 1.21rem;
}

/* The button: the theme's ripple (site.js) fills it yellow from where the
   mouse came in, then its colours follow. */
.hd-cb-btn {
	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	gap: 1.14rem;
	min-height: 4.14rem;
	box-sizing: border-box;
	padding-inline: 1.71rem .64rem;
	border-radius: 99rem;
	background: #fff;
	color: var(--hd-blue);
	font-size: 1.14rem;
	line-height: 1.4;
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
	text-wrap: balance;
	box-shadow: 0 1rem 1.86rem -1.14rem rgba(0, 20, 60, .6);
	transition: color .25s ease, background-color 0s;
}

.hd-cb-btn:hover {
	background: var(--hd-yellow);
	color: var(--hd-navy);
	transition-delay: .1s, .5s;
}

.hd-cb-btn .ripple {
	background: var(--hd-yellow);
	opacity: 1;
}

.hd-cb-btn-ic {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 2.86rem;
	height: 2.86rem;
	border-radius: 50%;
	background: var(--hd-blue);
	color: #fff;
	transition: transform .25s ease;
}

.hd-cb-btn-ic svg {
	display: block;
	width: 1.29rem;
	height: 1.29rem;
}

/* The arrow points the way the text reads and steps that way on hover. */
.hd-cb-btn:hover .hd-cb-btn-ic {
	transform: translateX(-.29rem);
}

[dir=ltr] .hd-cb-btn-ic svg {
	transform: scaleX(-1);
}

[dir=ltr] .hd-cb-btn:hover .hd-cb-btn-ic {
	transform: translateX(.29rem);
}

/* --- Tablets: a card, the mark and the text over the chip and the button,
   which would squeeze the title into two lines in a row. */
@media (max-width: 991.98px) {
	.hd-cb-band {
		flex-wrap: wrap;
		gap: 1.33rem 1.57rem;
		border-radius: 2.33rem;
	}

	/* The text fills the row of the mark, so the chip starts a row. */
	.hd-cb-text {
		flex: 1 1 calc(100% - 7rem);
	}

	.hd-cb-band.is-bare .hd-cb-text {
		flex-basis: 100%;
	}

	/* A long chip or button text wraps inside the card instead of leaving
	   it. */
	.hd-cb-chip,
	.hd-cb-btn {
		max-width: 100%;
		white-space: normal;
	}

	.hd-cb-chip {
		padding-block: .36rem;
	}

	.hd-cb-btn {
		margin-inline-start: auto;
		padding-block: .5rem;
	}
}

/* --- Phones: the button across the foot of the card. */
@media (max-width: 767.98px) {
	.hd-cb-band {
		gap: 1.33rem 1.17rem;
		min-height: 0;
		padding: 1.83rem 1.67rem;
	}

	.hd-cb-deco {
		inset-inline-end: -14.17rem;
		top: -10rem;
		width: 35rem;
		height: 35rem;
		margin-top: 0;
	}

	.hd-cb-orb {
		width: 5rem;
		height: 5rem;
	}

	.hd-cb-mark {
		width: 2.5rem;
	}

	.hd-cb-text {
		flex-basis: calc(100% - 6.17rem);
	}

	.hd-cb-band.is-bare .hd-cb-text {
		flex-basis: 100%;
	}

	.hd-cb-title {
		font-size: 1.67rem;
	}

	.hd-cb-sub {
		font-size: 1.17rem;
	}

	.hd-cb-chip {
		gap: .67rem;
		min-height: 3rem;
		padding-inline: 1.17rem 1.33rem;
		font-size: 1.08rem;
	}

	.hd-cb-chip-ic svg {
		width: 1.42rem;
		height: 1.42rem;
	}

	.hd-cb-btn {
		flex: 1 0 100%;
		margin-inline-start: 0;
		gap: 1.33rem;
		min-height: 4.83rem;
		padding-inline: 2rem .75rem;
		font-size: 1.33rem;
		box-shadow: 0 1.17rem 2.17rem -1.33rem rgba(0, 20, 60, .6);
	}

	.hd-cb-btn-ic {
		width: 3.33rem;
		height: 3.33rem;
	}

	.hd-cb-btn-ic svg {
		width: 1.5rem;
		height: 1.5rem;
	}
}

/* Less motion: the circles and the rings keep still. */
@media (prefers-reduced-motion: reduce) {
	.hd-cb-deco,
	.hd-cb-orb::before,
	.hd-cb-orb::after {
		animation: none;
	}

	.hd-cb-orb::before,
	.hd-cb-orb::after {
		opacity: 0;
	}

	.hd-cb-mark,
	.hd-cb-btn-ic {
		transition: none;
	}
}

@keyframes hd-cb-spin {
	to {
		transform: rotate(360deg);
	}
}

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

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

/* --- The short links under the band (/about-us/ has two; the home page none):
   in the middle, each with its gift icon, underlined on hover. */
.hd-cb-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .29rem 2.43rem;
	margin: 1.29rem 0 0;
}

.hd-cb-links a {
	display: inline-flex;
	align-items: center;
	gap: .57rem;
	min-height: 44px;
	font-size: 1rem;
	font-weight: 800;
	color: var(--hd-blue);
	text-decoration: none;
}

.hd-cb-links a:hover span {
	text-decoration: underline;
	text-underline-offset: .3em;
}

.hd-cb-links-ic {
	display: inline-flex;
	flex: none;
}

.hd-cb-links-ic svg {
	display: block;
	width: 1.29rem;
	height: 1.29rem;
}

@media (max-width: 575.98px) {
	.hd-cb-links {
		justify-content: flex-start;
		gap: 0 1.67rem;
		margin-top: .83rem;
		padding-inline: .5rem;
	}

	.hd-cb-links a {
		gap: .58rem;
		font-size: 1.13rem;
	}

	.hd-cb-links-ic svg {
		width: 1.42rem;
		height: 1.42rem;
	}
}


/* === home-services-bento: template/home/services-bento.php === */

/*
 * Four services of the home page in a bento of two columns
 * (template/home/services-bento.php), with base.css: a blue card with a price,
 * two tall cards with a label and a picture, and a card with a photo; one
 * column on phones. Sizes are in rem: those of the wide screens are the design
 * at 1440px (root 14px), those of the phones the design at 390px (root 12px).
 *
 * Every card is a link. Its hover moves and grows nothing (the design's
 * rising card, growing bars and zooming photo are left out): the ripple of
 * site.js tints it from where the mouse came in, its shadow deepens, and its
 * round arrow turns yellow and nudges the way the text reads.
 */

.hd-sb {
	/* 1 where the text runs left to right, -1 in Persian: the arrows point the
	   way the text reads. */
	--hd-sb-dir: 1;
	/* A long word typed into a field wraps rather than being cut off. */
	overflow-wrap: anywhere;
}

:where(html[dir=rtl]) .hd-sb {
	--hd-sb-dir: -1;
}

.hd-sb-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(3, minmax(10.86rem, auto));
	gap: 1.43rem;
}

.hd-sb-c1 {
	grid-column: 1;
	grid-row: 1;
}

.hd-sb-c2 {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.hd-sb-c3 {
	grid-column: 1;
	grid-row: 2 / span 2;
}

.hd-sb-c4 {
	grid-column: 2;
	grid-row: 3;
}

/* Fewer than four cards: one after the other. */
.hd-sb-grid.is-flow {
	grid-template-rows: none;
}

.hd-sb-grid.is-flow > .hd-sb-card {
	grid-column: auto;
	grid-row: auto;
}

.hd-sb-card {
	position: relative;
	overflow: hidden;
	display: flex;
	border-radius: 1.71rem;
	background: #fff;
	color: var(--hd-navy);
	text-decoration: none;
	box-shadow: 0 0 0 1px #E3ECF4, 0 1.43rem 2.86rem -2.14rem rgba(16, 63, 99, .35);
	transition: box-shadow .35s ease;
}

a.hd-sb-card:hover {
	color: var(--hd-navy);
	box-shadow: 0 0 0 1px #D3E2EF, 0 2.14rem 3.57rem -2.14rem rgba(16, 63, 99, .5);
}

/* The ripple of site.js: a light tint that spreads from where the mouse came
   in, under the content. */
.hd-sb-card .ripple {
	background: rgba(2, 71, 174, .04);
	opacity: 1;
}

.hd-sb-h {
	font-size: 1.57rem;
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-sb-p {
	font-weight: 500;
	color: #4F6F8C;
	text-wrap: pretty;
}

/* The round arrow: yellow when its card is pointed at, nudged sideways. */
.hd-sb-go {
	position: relative;
	flex: none;
	width: 3.14rem;
	height: 3.14rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #EDF6FD;
	color: var(--hd-blue);
	transition: color .3s ease, transform .3s ease;
}

.hd-sb-go::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--hd-yellow);
	opacity: 0;
	transition: opacity .3s ease;
}

.hd-sb-go svg {
	position: relative;
	width: 1.43rem;
	height: 1.43rem;
	stroke-width: 2.2;
	transform: scaleX(var(--hd-sb-dir));
}

a.hd-sb-card:is(:hover, :focus-visible) .hd-sb-go {
	color: var(--hd-blue);
	transform: translateX(calc(var(--hd-sb-dir) * .29rem));
}

a.hd-sb-card:is(:hover, :focus-visible) .hd-sb-go::before {
	opacity: 1;
}

/* --- The blue card, its dots fading out from its far end. */
.hd-sb-blue {
	background: linear-gradient(245deg, #0247AE 0%, #0757CC 100%);
	color: #fff;
}

:where(html[dir=rtl]) .hd-sb-blue {
	background: linear-gradient(115deg, #0247AE 0%, #0757CC 100%);
}

a.hd-sb-blue:hover {
	color: #fff;
	box-shadow: 0 0 0 1px var(--hd-blue), 0 2.14rem 3.57rem -2rem rgba(2, 71, 174, .75);
}

.hd-sb-blue .ripple {
	background: rgba(255, 255, 255, .07);
}

.hd-sb-dots {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .24) 1.2px, transparent 1.7px);
	background-size: 1rem 1rem;
	-webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 55%);
	mask-image: linear-gradient(270deg, #000 0%, transparent 55%);
}

:where(html[dir=rtl]) .hd-sb-dots {
	-webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
	mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}

.hd-sb-c1in {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.14rem;
	width: 100%;
	padding: 1.43rem 2rem;
}

.hd-sb-ico {
	flex: none;
	width: 4rem;
	height: 4rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 1.29rem;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.hd-sb-ico svg {
	display: block;
	width: 1.86rem;
	height: 1.86rem;
}

.hd-sb-c1txt {
	flex: 1;
	min-width: 0;
}

.hd-sb-blue .hd-sb-h {
	color: #fff;
}

.hd-sb-c1 .hd-sb-p {
	margin-top: .14rem;
	font-size: 1rem;
	line-height: 1.8;
	color: #D6E4F7;
}

.hd-sb-c1end {
	flex: none;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.hd-sb-cost {
	display: flex;
	flex-direction: column;
	margin: 0;
	line-height: 1.3;
}

.hd-sb-plabel {
	font-size: .89rem;
	font-weight: 700;
	color: #D6E4F7;
}

.hd-sb-price {
	display: flex;
	align-items: baseline;
	gap: .43rem;
	margin-top: .14rem;
	white-space: nowrap;
}

.hd-sb-price b {
	font-size: 2rem;
	font-weight: 900;
	color: var(--hd-yellow);
}

.hd-sb-price .hd-unit {
	font-size: .93rem;
	font-weight: 700;
	color: #D6E4F7;
}

.hd-sb-blue .hd-sb-go {
	background: rgba(255, 255, 255, .14);
	color: #fff;
}

/* --- The tall cards: the text, and the picture in a light frame. */
.hd-sb-tall {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 15.71rem;
	gap: 1.43rem;
	padding: 2.14rem;
}

.hd-sb-tall.is-bare {
	grid-template-columns: minmax(0, 1fr);
}

.hd-sb-txt {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	min-width: 0;
}

/* A pill on one line; a long label wraps into a rounded box. */
.hd-sb-tag {
	display: inline-flex;
	align-items: center;
	gap: .43rem;
	max-width: 100%;
	min-height: 2rem;
	padding: .29rem .86rem;
	border-radius: 1rem;
	background: #F3F8FD;
	box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .08);
	color: var(--hd-blue);
	font-size: .89rem;
	font-weight: 800;
	line-height: 1.4;
}

.hd-sb-tag-ic,
.hd-sb-tag-ic svg {
	display: block;
	flex: none;
	width: 1.14rem;
	height: 1.14rem;
}

.hd-sb-tall .hd-sb-h {
	margin-top: .71rem;
}

.hd-sb-tall .hd-sb-p {
	margin-top: .43rem;
	font-size: 1.04rem;
	line-height: 1.85;
}

.hd-sb-flags {
	display: flex;
	align-items: center;
	margin-top: .71rem;
}

.hd-sb-flag,
.hd-sb-hflag {
	flex: none;
	width: 1.86rem;
	height: 1.86rem;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 2px #fff, 0 .29rem .71rem -.29rem rgba(16, 63, 99, .45);
}

.hd-sb-flag + .hd-sb-flag {
	margin-inline-start: -.43rem;
}

.hd-sb-cta {
	display: inline-flex;
	align-items: center;
	gap: .86rem;
	margin-top: 1rem;
	font-size: 1rem;
	font-weight: 800;
	color: var(--hd-blue);
}

.hd-sb-art {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 1.43rem;
	background: #F3F8FD;
	box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .06);
}

.hd-sb-fig {
	position: relative;
	width: 100%;
	max-width: 15rem;
	aspect-ratio: 1;
}

.hd-sb-fig svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* The yellow dot of the picture and its pulse, in percent of the drawing. */
.hd-sb-dot,
.hd-sb-pulse {
	position: absolute;
	left: 76%;
	top: 40%;
	border-radius: 50%;
}

.is-globe .hd-sb-dot,
.is-globe .hd-sb-pulse {
	left: 62%;
	top: 55%;
}

.hd-sb-dot {
	width: 7%;
	height: 7%;
	transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, #FFCC00 70%, #E9A800 73%, #E9A800 96%, rgba(233, 168, 0, 0) 100%);
}

.is-globe .hd-sb-dot {
	width: 7.5%;
	height: 7.5%;
}

.hd-sb-pulse {
	width: 9%;
	height: 9%;
	background: var(--hd-yellow);
	opacity: 0;
	transform: translate(-50%, -50%) scale(.6);
	animation: hd-sb-pulse 2.4s ease-out infinite;
}

/* --- The card with the photo at its far end, fading into the text. */
.hd-sb-photo {
	align-items: center;
}

.hd-sb-ptxt {
	position: relative;
	z-index: 1;
	width: 58%;
	padding: 1.43rem 2.14rem;
}

.hd-sb-photo.is-bare .hd-sb-ptxt {
	width: 100%;
}

.hd-sb-photo .hd-sb-h {
	display: flex;
	align-items: center;
	gap: .71rem;
	font-size: 1.5rem;
}

.hd-sb-hflag {
	width: 1.71rem;
	height: 1.71rem;
}

.hd-sb-photo .hd-sb-p {
	margin-top: .29rem;
	font-size: 1rem;
	line-height: 1.8;
}

/* The pin stays on the first line when the text wraps. */
.hd-sb-note {
	display: flex;
	align-items: flex-start;
	gap: .43rem;
	margin: .57rem 0 0;
	font-size: .89rem;
	line-height: 1.6;
	font-weight: 700;
	color: #4F6F8C;
}

.hd-sb-note svg {
	flex: none;
	width: 1.07rem;
	height: 1.07rem;
	margin-top: calc(.8em - .535rem);
	color: var(--hd-blue);
}

.hd-sb-ptxt > .hd-sb-go {
	margin-top: .86rem;
}

.hd-sb-ph {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-end: 0;
	width: 46%;
	overflow: hidden;
}

.hd-sb-ph img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.hd-sb-fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(270deg, rgba(255, 255, 255, 0) 45%, #fff 100%);
}

:where(html[dir=rtl]) .hd-sb-fade {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 45%, #fff 100%);
}

.hd-sb-go.is-ph {
	position: absolute;
	inset-inline-end: 1.43rem;
	top: calc(50% - 1.57rem);
	background: #fff;
	box-shadow: 0 .71rem 1.71rem -.71rem rgba(16, 63, 99, .5);
}

/* --- Narrower screens: a smaller picture beside the text. */
@media (max-width: 1139.98px) {
	.hd-sb-tall {
		grid-template-columns: minmax(0, 1fr) 12.5rem;
	}

	.hd-sb-ptxt {
		width: 64%;
	}
}

/* --- Tablets: one column, each card laid out as on wide screens. */
@media (max-width: 991.98px) {
	.hd-sb-grid,
	.hd-sb-grid.is-flow {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	.hd-sb-grid > .hd-sb-card {
		grid-column: auto;
		grid-row: auto;
	}

	.hd-sb-ptxt {
		width: 58%;
		padding-block: 2.14rem;
	}
}

/* --- Phones: the design at 390px, root 12px. The price under the title of
   the blue card, the picture of the tall cards a small square at their top,
   the photo on top of its card. */
@media (max-width: 767.98px) {
	.hd-sb-grid,
	.hd-sb-grid.is-flow {
		gap: 1.17rem;
	}

	.hd-sb-card {
		border-radius: 2rem;
	}

	.hd-sb-c1in {
		flex-wrap: wrap;
		gap: 1.17rem;
		padding: 1.83rem;
	}

	.hd-sb-c1end {
		width: 100%;
		justify-content: space-between;
		margin-top: .33rem;
		padding-top: 1.33rem;
		border-top: 1px solid rgba(255, 255, 255, .18);
	}

	.hd-sb-tall {
		grid-template-columns: minmax(0, 1fr) 7.67rem;
		gap: 1.17rem;
		padding: 1.83rem;
	}

	/* The text beside the small picture, the button under both, so a long
	   button text («Посмотреть тарифы») stays on one line. */
	.hd-sb-tall .hd-sb-txt {
		display: contents;
	}

	.hd-sb-top {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
	}

	.hd-sb-tall .hd-sb-art {
		grid-column: 2;
		grid-row: 1;
	}

	.hd-sb-tall .hd-sb-cta {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: start;
		margin-top: 0;
	}

	.hd-sb-art {
		height: 7.67rem;
		border-radius: 1.33rem;
		align-self: start;
	}

	.hd-sb-ico {
		width: 4rem;
		height: 4rem;
		border-radius: 1.25rem;
	}

	.hd-sb-ico svg {
		width: 2.17rem;
		height: 2.17rem;
	}

	.hd-sb-h,
	.hd-sb-photo .hd-sb-h {
		font-size: 1.5rem;
	}

	.hd-sb-c1 .hd-sb-p,
	.hd-sb-tall .hd-sb-p,
	.hd-sb-photo .hd-sb-p {
		font-size: 1.125rem;
	}

	.hd-sb-plabel {
		font-size: 1.04rem;
	}

	.hd-sb-price b {
		font-size: 2rem;
	}

	.hd-sb-price .hd-unit {
		font-size: 1.08rem;
	}

	.hd-sb-go {
		width: 3.67rem;
		height: 3.67rem;
	}

	.hd-sb-go svg {
		width: 1.67rem;
		height: 1.67rem;
	}

	.hd-sb-tag {
		gap: .5rem;
		min-height: 2.33rem;
		padding: .33rem 1rem;
		border-radius: 1.17rem;
		font-size: 1.04rem;
	}

	.hd-sb-tag-ic,
	.hd-sb-tag-ic svg {
		width: 1.33rem;
		height: 1.33rem;
	}

	.hd-sb-tall .hd-sb-h {
		margin-top: .83rem;
	}

	.hd-sb-tall .hd-sb-p {
		margin-top: .5rem;
	}

	.hd-sb-flags {
		margin-top: .83rem;
	}

	.hd-sb-flag,
	.hd-sb-hflag {
		width: 2rem;
		height: 2rem;
	}

	.hd-sb-flag + .hd-sb-flag {
		margin-inline-start: -.5rem;
	}

	.hd-sb-cta {
		gap: 1rem;
		font-size: 1.17rem;
	}

	.hd-sb-photo {
		flex-direction: column;
		align-items: stretch;
	}

	.hd-sb-ph {
		position: relative;
		order: -1;
		width: 100%;
		height: 11.67rem;
	}

	.hd-sb-fade,
	:where(html[dir=rtl]) .hd-sb-fade {
		background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #fff 100%);
	}

	.hd-sb-ptxt {
		width: 100%;
		padding: .33rem 1.83rem 1.83rem;
	}

	/* No photo above it: the text keeps the padding of the other cards. */
	.hd-sb-photo.is-bare .hd-sb-ptxt {
		padding-top: 1.83rem;
	}

	.hd-sb-photo .hd-sb-h {
		gap: .83rem;
	}

	.hd-sb-photo .hd-sb-p {
		margin-top: .33rem;
	}

	.hd-sb-note {
		gap: .5rem;
		margin-top: .67rem;
		font-size: 1.04rem;
	}

	.hd-sb-note svg {
		width: 1.25rem;
		height: 1.25rem;
		margin-top: calc(.8em - .625rem);
	}

	.hd-sb-go.is-ph {
		top: 1.33rem;
		inset-inline-end: 1.33rem;
	}
}

/* The narrowest phones: beside their picture, the titles of the tall cards
   a size smaller, so a long word (Высокоскоростные) still fits whole. */
@media (max-width: 359.98px) {
	.hd-sb-tall .hd-sb-h {
		font-size: 1.33rem;
	}
}

/* Less motion: no pulses, the arrows still. */
@media (prefers-reduced-motion: reduce) {
	.hd-sb-pulse {
		display: none;
	}

	.hd-sb-go,
	.hd-sb-go::before {
		transition: none;
	}
}

@keyframes hd-sb-pulse {
	0% {
		opacity: .7;
		transform: translate(-50%, -50%) scale(.6);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(2.3);
	}
}


/* === home-services-list: template/home/services-list.php === */

/*
 * The other services of the home page (template/home/services-list.php), with
 * base.css: the title beside a white panel of links in two columns, split by
 * hairlines. Sizes are in rem: those of the wide screens are the design's at
 * 1440px (root 14px), those of the phones the design's at 390px (root 12px).
 *
 * Hover keeps every box where it is: a light tint, the icon tile turning blue
 * and the arrow turning yellow and nudging the way the text reads. The button
 * fills with the theme's ripple from where the mouse came in (site.js).
 */

.hd-svl {
	--hd-svl-mute: #4F6F8C;
	--hd-svl-line: #E3ECF4;
}

.hd-svl-in {
	display: grid;
	grid-template-columns: 22.86rem minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	grid-template-areas: "head panel" "help panel";
	column-gap: 4rem;
	row-gap: 1.71rem;
	align-items: start;
}

/* Without items, the title and the button take the whole width. */
.hd-svl-in:not(:has(> .hd-svl-panel)) {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "head" "help";
}

.hd-svl-head {
	grid-area: head;
}

/* A long word wraps rather than running out of its box. */
.hd-svl-title,
.hd-svl-lead,
.hd-svl-name,
.hd-svl-sub,
.hd-svl-ask {
	overflow-wrap: anywhere;
}

.hd-svl-title {
	font-size: 2.14rem;
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
	text-wrap: balance;
}

/* The phrase set apart (hidata_ui_highlight()): blue, without the yellow
   line of the other sections. */
.hd-svl .hd-hl {
	padding: 0;
	background: none;
	color: var(--hd-blue);
}

.hd-svl-lead {
	margin-top: .86rem;
	font-size: 1.07rem;
	line-height: 2;
	font-weight: 500;
	color: var(--hd-svl-mute);
	text-wrap: pretty;
}

/* No title, or no button under the question: no space for them. */
.hd-svl-lead:first-child {
	margin-top: 0;
}

.hd-svl-ask:last-child {
	margin-bottom: 0;
}

/* The panel: the gap of 1px between the white items is the hairline. */
.hd-svl-panel {
	grid-area: panel;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	background: var(--hd-svl-line);
	border-radius: 1.71rem;
	box-shadow: 0 0 0 1px var(--hd-svl-line), 0 1.43rem 2.86rem -2.14rem rgba(16, 63, 99, .35);
}

.hd-svl-panel > li {
	background: #fff;
}

/* An odd last item takes the whole row, rather than leaving a grey hole. */
.hd-svl-panel.is-odd > li:last-child {
	grid-column: 1 / -1;
}

.hd-svl-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: 100%;
	min-height: 6.86rem;
	box-sizing: border-box;
	padding: 1.29rem 1.43rem;
	background: #fff;
	color: var(--hd-navy);
	text-decoration: none;
	transition: background-color .3s ease;
}

.hd-svl-item:focus-visible {
	outline-offset: -4px;
	border-radius: 1.57rem;
}

.hd-svl-ico {
	width: 3.71rem;
	height: 3.71rem;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 1.14rem;
	background: #EDF6FD;
	color: var(--hd-blue);
	transition: background-color .3s ease, color .3s ease;
}

.hd-svl-ico svg {
	width: 1.86rem;
	height: 1.86rem;
	display: block;
}

.hd-svl-text {
	flex: 1;
	min-width: 0;
}

.hd-svl-name {
	font-size: 1.14rem;
	line-height: 1.6;
	font-weight: 800;
	color: var(--hd-navy);
}

.hd-svl-sub {
	margin-top: .14rem;
	font-size: .96rem;
	line-height: 1.8;
	font-weight: 500;
	color: var(--hd-svl-mute);
}

.hd-svl-chev {
	width: 2.57rem;
	height: 2.57rem;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #F3F8FD;
	color: var(--hd-blue);
	transition: background-color .3s ease, transform .3s ease;
}

.hd-svl-chev svg {
	width: 1.29rem;
	height: 1.29rem;
	display: block;
}

/* The arrow points the way the text reads. */
[dir=ltr] .hd-svl-chev svg {
	transform: scaleX(-1);
}

@media (hover: hover) {
	a.hd-svl-item:hover {
		background: #F7FBFF;
		color: var(--hd-navy);
	}

	a.hd-svl-item:hover .hd-svl-ico {
		background: var(--hd-blue);
		color: #fff;
	}

	a.hd-svl-item:hover .hd-svl-chev {
		background: var(--hd-yellow);
		transform: translateX(-.29rem);
	}

	[dir=ltr] a.hd-svl-item:hover .hd-svl-chev {
		transform: translateX(.29rem);
	}
}

.hd-svl-help {
	grid-area: help;
}

.hd-svl-ask {
	margin-bottom: .71rem;
	font-size: 1.04rem;
	line-height: 1.8;
	font-weight: 800;
	color: var(--hd-navy);
}

/* The button to the sales team: white, filled yellow by the ripple. */
.hd-svl-btn {
	display: inline-flex;
	align-items: center;
	gap: .57rem;
	/* The size of the other buttons of the page, and never under 44px for
	   a finger where the root size is 12px. */
	min-height: max(3.57rem, 44px);
	box-sizing: border-box;
	padding: 0 1.29rem;
	border-radius: 99rem;
	background: #fff;
	box-shadow: 0 0 0 1px var(--hd-svl-line), 0 1rem 2rem -1.57rem rgba(16, 63, 99, .4);
	color: var(--hd-blue);
	font-size: 1.07rem;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
	transition: color .3s ease, background-color 0s ease;
}

.hd-svl-btn:hover {
	background: var(--hd-yellow);
	color: var(--hd-blue);
	transition-delay: 0s, .5s;
}

.hd-svl-btn .ripple {
	background: var(--hd-yellow);
	opacity: 1;
}

.hd-svl-btn-ic {
	display: flex;
	flex: none;
}

.hd-svl-btn-ic svg {
	width: 1.29rem;
	height: 1.29rem;
	display: block;
}

/* --- Tablets: the title, the panel, then the button. */
@media (max-width: 1139.98px) {
	.hd-svl-in {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
		grid-template-areas: "head" "panel" "help";
	}

	.hd-svl-lead {
		max-width: 45.71rem;
	}
}

/* --- Phones: one column of items. */
@media (max-width: 767.98px) {
	.hd-svl-in {
		row-gap: 1.83rem;
	}

	.hd-svl-lead {
		margin-top: .67rem;
		line-height: 1.95;
	}

	.hd-svl-panel {
		grid-template-columns: minmax(0, 1fr);
		border-radius: 1.83rem;
	}

	.hd-svl-item {
		gap: 1.17rem;
		min-height: 6.17rem;
		padding: 1.17rem 1.33rem;
	}

	.hd-svl-ico {
		width: 3.67rem;
		height: 3.67rem;
		border-radius: 1.17rem;
	}

	.hd-svl-ico svg {
		width: 1.92rem;
		height: 1.92rem;
	}

	.hd-svl-name {
		font-size: 1.25rem;
		line-height: 1.55;
	}

	.hd-svl-sub {
		margin-top: 0;
		font-size: 1.08rem;
		line-height: 1.75;
	}

	.hd-svl-chev {
		width: 2.67rem;
		height: 2.67rem;
	}

	.hd-svl-chev svg {
		width: 1.5rem;
		height: 1.5rem;
	}

	.hd-svl-ask {
		margin-bottom: .83rem;
		font-size: 1.21rem;
	}

	.hd-svl-btn {
		gap: .67rem;
		padding: 0 1.5rem;
	}

	.hd-svl-btn-ic svg {
		width: 1.5rem;
		height: 1.5rem;
	}
}

@media (max-width: 575.98px) {
	.hd-svl-title {
		font-size: 1.83rem;
	}

	.hd-svl-lead {
		font-size: 1.17rem;
	}

	.hd-svl-btn {
		min-height: 4.17rem;
		font-size: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hd-svl-item,
	.hd-svl-ico,
	.hd-svl-chev,
	.hd-svl-btn {
		transition: none;
	}
}


/* === home-locations: template/home/locations.php === */

/*
 * The server locations of the home page (template/home/locations.php), with
 * base.css. Sizes are in rem: those of the wide screens are the design's at
 * 1440px (root 14px), those of the phones the design's at 390px (root 12px).
 *
 * A white box: on top a dotted track with a rail of round flags, each a tab;
 * the rail's dashed line has a blue path from the first flag (the home, ringed
 * in yellow) to the one chosen, on which yellow and blue packets run. Under it
 * the panel of the location chosen. The path grows by transform, the packets
 * move by transform and opacity; --n is the number of flags and --i the place
 * of the one chosen (set by the template and components.js).
 */

.hd-loc {
	--node: 4rem;
	--pk: 1.29rem;
	--sx: 1;
}

:where(html[dir=rtl]) .hd-loc {
	--sx: -1;
}

.hd-loc-head {
	margin-bottom: 2rem;
}

.hd-loc-title {
	margin: 0;
	font-size: 2.14rem;
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-loc-lead {
	margin: .57rem 0 0;
	font-size: 1.07rem;
	line-height: 1.7;
	font-weight: 500;
	color: #4F6F8C;
}

.hd-loc-box {
	overflow: hidden;
	border-radius: 1.71rem;
	background: #fff;
	box-shadow: 0 0 0 1px #E3ECF4, 0 1.43rem 2.86rem -2.14rem rgba(16, 63, 99, .35);
}

/* --- The track and its rail. */
.hd-loc-track {
	padding: 2rem 1.71rem 1.71rem;
	background-color: #F7FBFF;
	background-image: radial-gradient(rgba(2, 71, 174, .14) 1px, transparent 1.5px);
	background-size: 1rem 1rem;
	border-bottom: 1px solid #E3ECF4;
}

.hd-loc-rail {
	--n: 5;
	--i: 0;
	position: relative;
}

/* The dashed line from the middle of the first flag to the middle of the last. */
.hd-loc-line {
	position: absolute;
	top: calc(var(--node) / 2 - 1px);
	inset-inline: calc(50% / var(--n));
	height: 2px;
	background: repeating-linear-gradient(90deg, #9DBCD8 0 6px, transparent 6px 12px);
}

/* The path: as long as the line, scaled down to the flag chosen. */
.hd-loc-seg {
	position: absolute;
	top: calc(var(--node) / 2 - 2px);
	inset-inline-start: calc(50% / var(--n));
	width: calc(100% - 100% / var(--n));
	height: 4px;
	border-radius: 4px;
	background: var(--hd-blue);
	box-shadow: 0 0 12px rgba(2, 71, 174, .35);
	transform: scaleX(calc(var(--i) / max(1, var(--n) - 1)));
	transform-origin: left center;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

:where(html[dir=rtl]) .hd-loc-seg {
	transform-origin: right center;
}

/* The packets run on the path: each in a lane as wide as it, which moves
   across it. Hidden while the path changes. */
.hd-loc-run {
	position: absolute;
	top: calc(var(--node) / 2 - 2px);
	inset-inline-start: calc(50% / var(--n));
	width: calc(100% / var(--n) * var(--i));
	height: 4px;
	overflow: hidden;
	transition: opacity .3s ease;
}

.hd-loc-rail.is-go .hd-loc-run {
	opacity: 0;
	transition-duration: .15s;
}

.hd-loc-run i {
	position: absolute;
	inset: 0;
	animation: hd-loc-run 1.7s linear infinite;
}

.hd-loc-run i::before {
	content: "";
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	width: var(--pk);
	height: 4px;
	border-radius: 4px;
	background: var(--hd-yellow);
}

.hd-loc-run i.is-b {
	animation-duration: 2.3s;
	animation-delay: -1.1s;
}

.hd-loc-run i.is-b::before {
	background: #8EC2FF;
}

@keyframes hd-loc-run {
	0% {
		opacity: 0;
		transform: none;
	}
	12%,
	88% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateX(calc((100% - var(--pk)) * var(--sx)));
	}
}

.hd-loc-stations {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--n), minmax(0, 1fr));
}

/* A station: its flag on the rail and its name. */
.hd-loc-st {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .71rem;
	min-width: 0;
	margin: 0;
	padding: 0 .29rem .29rem;
	border: 0;
	border-radius: 1.14rem;
	background: none;
	font: inherit;
	color: var(--hd-navy);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.hd-loc-node {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--node);
	height: var(--node);
	flex: none;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 1px #D5E4F1, 0 .86rem 1.57rem -1rem rgba(16, 63, 99, .6);
	transition: transform .3s ease, box-shadow .3s ease;
}

.hd-loc-node img {
	width: 2.43rem;
	height: 2.43rem;
	border-radius: 50%;
}

.hd-loc-st.is-home .hd-loc-node {
	box-shadow: 0 0 0 3px var(--hd-yellow), 0 .86rem 1.57rem -1rem rgba(120, 90, 0, .6);
}

/* The flag chosen: a blue ring (and the yellow one of the home outside it),
   a little larger, with a ring that spreads from it. */
.hd-loc-st.is-on .hd-loc-node {
	transform: scale(1.08);
	box-shadow: 0 0 0 3px var(--hd-blue), 0 1rem 1.86rem -.86rem rgba(2, 71, 174, .6);
}

.hd-loc-st.is-on.is-home .hd-loc-node {
	box-shadow: 0 0 0 3px var(--hd-blue), 0 0 0 7px var(--hd-yellow), 0 1rem 1.86rem -.86rem rgba(2, 71, 174, .6);
}

.hd-loc-st.is-on .hd-loc-node::before {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 3px solid rgba(2, 71, 174, .45);
	animation: hd-loc-ring 2.2s ease-out infinite;
}

@keyframes hd-loc-ring {
	0% {
		transform: scale(.95);
		opacity: .9;
	}
	100% {
		transform: scale(1.7);
		opacity: 0;
	}
}

/* The name: the theme's ripple fills it yellow from where the mouse came in
   (the station passes its mouse to it, assets/js/components.js); the one
   chosen is blue. */
.hd-loc-name {
	max-width: 100%;
	padding: 1px .86rem;
	border-radius: 99rem;
	font-size: 1.07rem;
	line-height: 1.6;
	font-weight: 900;
	white-space: nowrap;
	text-overflow: ellipsis;
	pointer-events: none;
	transition: all .3s ease, background-color 0s ease;
}

.hd-loc-name .ripple {
	background: var(--hd-yellow);
	opacity: 1;
}

.hd-loc-st.is-on .hd-loc-name {
	background: var(--hd-blue);
	color: #fff;
}

.hd-loc-st.is-on .hd-loc-name .ripple {
	opacity: 0;
}

@media (hover: hover) {
	.hd-loc-st:not(.is-on):hover .hd-loc-node {
		box-shadow: 0 0 0 2px #9DBCD8, 0 .86rem 1.57rem -1rem rgba(16, 63, 99, .6);
	}

	.hd-loc-st.is-home:not(.is-on):hover .hd-loc-node {
		box-shadow: 0 0 0 3px var(--hd-yellow), 0 0 0 5px #9DBCD8, 0 .86rem 1.57rem -1rem rgba(120, 90, 0, .6);
	}

	.hd-loc-st:not(.is-on):hover .hd-loc-name {
		background: var(--hd-yellow);
		color: var(--hd-blue);
		transition-delay: 0s, .5s;
	}
}

.hd-loc-st:focus-visible {
	outline: 2px solid var(--hd-blue);
	outline-offset: 2px;
}

/* --- The panel of the location chosen. */
.hd-loc-panel {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 2.29rem;
	padding: 2.29rem;
}

/* A panel chosen comes in softly (components.js marks those it switches;
   the one printed by the server is there at once). */
.hd-loc-panel.is-in {
	animation: hd-loc-in .5s cubic-bezier(.2, .7, .2, 1) both;
}

.hd-loc-panel.is-solo {
	grid-template-columns: minmax(0, 1fr);
}

@keyframes hd-loc-in {
	from {
		opacity: 0;
		transform: translateY(.71rem);
	}
}

.hd-loc-place {
	display: inline-flex;
	margin: 0;
	align-items: center;
	gap: .57rem;
	font-size: .93rem;
	line-height: 1.7;
	font-weight: 800;
	color: var(--hd-blue);
}

.hd-loc-place img {
	width: 1.57rem;
	height: 1.57rem;
	flex: none;
	border-radius: 50%;
}

.hd-loc-h3 {
	margin: .71rem 0 0;
	font-size: 1.57rem;
	line-height: 1.55;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-loc-text > .hd-loc-h3:first-child {
	margin-top: 0;
}

.hd-loc-sub {
	margin: .29rem 0 0;
	font-size: 1.07rem;
	line-height: 1.7;
	font-weight: 800;
	color: var(--hd-blue);
}

.hd-loc-desc {
	margin: .71rem 0 0;
	font-size: 1.07rem;
	line-height: 2;
	font-weight: 500;
	color: #1C5B8A;
}

.hd-loc-desc p {
	margin: 0;
}

.hd-loc-desc p + p {
	margin-top: .71rem;
}

.hd-loc-svcs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .86rem;
	margin-top: 1.57rem;
}

/* A service: a tile with the ripple of the theme, white from where the mouse
   came in; its icon turns yellow and its arrow moves on. */
.hd-loc-svc {
	display: flex;
	align-items: center;
	gap: .86rem;
	min-height: 5.43rem;
	padding: .86rem 1rem;
	border-radius: 1.29rem;
	background: #F3F8FD;
	box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .08);
	color: var(--hd-navy);
	text-decoration: none;
	transition: all .3s ease, background-color 0s ease;
}

.hd-loc-svc .ripple {
	background: #fff;
	opacity: 1;
}

.hd-loc-svc:hover {
	background: #fff;
	color: var(--hd-navy);
	box-shadow: inset 0 0 0 1px #C9DCEC, 0 1.29rem 2.14rem -1.57rem rgba(16, 63, 99, .5);
	transition-delay: 0s, .5s;
}

.hd-loc-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.14rem;
	height: 3.14rem;
	flex: none;
	border-radius: 1rem;
	background: #fff;
	color: var(--hd-blue);
	box-shadow: 0 0 0 1px #E3ECF4;
	transition: background-color .25s ease;
}

.hd-loc-ico svg {
	width: 1.57rem;
	height: 1.57rem;
	display: block;
}

.hd-loc-svc:hover .hd-loc-ico {
	background: var(--hd-yellow);
}

.hd-loc-svc-t {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hd-loc-svc-t b {
	font-size: 1.07rem;
	line-height: 1.6;
	font-weight: 900;
}

.hd-loc-svc-t span {
	font-size: .89rem;
	line-height: 1.7;
	font-weight: 600;
	color: #4F6F8C;
}

.hd-loc-arr {
	display: flex;
	flex: none;
	margin-inline-start: auto;
	color: var(--hd-blue);
	transition: transform .25s ease;
}

.hd-loc-arr svg {
	width: 1.29rem;
	height: 1.29rem;
	stroke-width: 2.2;
}

:where(html[dir=rtl]) .hd-loc-arr svg {
	transform: scaleX(-1);
}

.hd-loc-svc:hover .hd-loc-arr {
	transform: translateX(calc(.29rem * var(--sx)));
}

/* A link set apart under the services, on a yellow marker line. */
.hd-loc-extra {
	display: inline-flex;
	align-items: center;
	gap: .57rem;
	min-height: 3.14rem;
	margin-top: .86rem;
	font-size: 1rem;
	font-weight: 800;
	color: var(--hd-navy);
	text-decoration: none;
	transition: color .2s ease;
}

/* The marker is on an inline box, so a text that wraps is marked under each
   of its lines, not once under the whole block. */
.hd-loc-extra-t {
	line-height: 1.7;
}

.hd-loc-extra-t > span {
	background: linear-gradient(transparent 62%, rgba(255, 204, 0, .55) 62% 92%, transparent 92%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.hd-loc-extra:hover {
	color: var(--hd-blue);
}

.hd-loc-gift {
	display: flex;
	flex: none;
	color: var(--hd-blue);
}

.hd-loc-gift svg {
	width: 1.29rem;
	height: 1.29rem;
}

.hd-loc-fig {
	position: relative;
	min-height: 21.43rem;
	overflow: hidden;
	border-radius: 1.43rem;
	background: #DCE9F5;
}

.hd-loc-fig img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Tablets: the services one under the other. */
@media (max-width: 991.98px) {
	.hd-loc-svcs {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --- Phones: the design at 390px (root 12px); the picture over the text. */
@media (max-width: 767.98px) {
	.hd-loc {
		--node: 3.67rem;
		--pk: 1.5rem;
	}

	.hd-loc-head {
		margin-bottom: 1.67rem;
	}

	.hd-loc-lead {
		margin-top: .67rem;
	}

	.hd-loc-box {
		border-radius: 2rem;
		box-shadow: 0 0 0 1px #E3ECF4, 0 1.67rem 3.33rem -2.5rem rgba(16, 63, 99, .35);
	}

	.hd-loc-track {
		padding: 1.67rem .5rem 1.5rem;
		background-size: 1.17rem 1.17rem;
	}

	.hd-loc-st {
		gap: .67rem;
		padding: 0 0 .33rem;
	}

	.hd-loc-node img {
		width: 2.33rem;
		height: 2.33rem;
	}

	.hd-loc-name {
		padding: 1px .58rem;
		font-size: 1.04rem;
	}

	.hd-loc-panel {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.5rem;
		padding: 1.67rem;
	}

	.hd-loc-fig {
		order: -1;
		min-height: 0;
		height: 15rem;
		border-radius: 1.33rem;
	}

	.hd-loc-place {
		gap: .67rem;
		font-size: 1.08rem;
	}

	.hd-loc-place img {
		width: 1.83rem;
		height: 1.83rem;
	}

	.hd-loc-h3 {
		margin-top: .83rem;
		font-size: 1.58rem;
	}

	.hd-loc-sub {
		margin-top: .33rem;
		font-size: 1.25rem;
	}

	.hd-loc-desc {
		margin-top: .83rem;
		font-size: 1.25rem;
	}

	.hd-loc-svcs {
		gap: .83rem;
		margin-top: 1.83rem;
	}

	.hd-loc-svc {
		gap: 1rem;
		min-height: 6rem;
		padding: 1rem 1.17rem;
		border-radius: 1.5rem;
	}

	.hd-loc-ico {
		width: 3.67rem;
		height: 3.67rem;
		border-radius: 1.17rem;
	}

	.hd-loc-ico svg {
		width: 1.83rem;
		height: 1.83rem;
	}

	.hd-loc-svc-t b {
		font-size: 1.25rem;
	}

	.hd-loc-svc-t span {
		font-size: 1.04rem;
	}

	.hd-loc-arr svg {
		width: 1.5rem;
		height: 1.5rem;
	}

	.hd-loc-extra {
		gap: .67rem;
		min-height: 3.67rem;
		margin-top: 1rem;
		font-size: 1.17rem;
	}

	.hd-loc-gift svg {
		width: 1.5rem;
		height: 1.5rem;
	}
}

@media (max-width: 575.98px) {
	.hd-loc-title {
		font-size: 1.83rem;
	}

	.hd-loc-lead {
		font-size: 1.17rem;
	}
}

/* --- Narrow phones: names of a column, like «Финляндия», keep their room. */
@media (max-width: 389.98px) {
	.hd-loc-name {
		padding-inline: .33rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hd-loc-run,
	.hd-loc-st.is-on .hd-loc-node::before {
		display: none;
	}

	.hd-loc-panel.is-in {
		animation: none;
	}

	.hd-loc-seg,
	.hd-loc-node,
	.hd-loc-name,
	.hd-loc-svc,
	.hd-loc-arr {
		transition: none;
	}
}


/* === home-location-cards: template/home/location-cards.php === */

/*
 * The server locations as cards (template/home/location-cards.php), with
 * base.css. Sizes are in rem: those of the wide screens are the design's at
 * 1440px (root 14px), those of the phones the design's at 390px (root 12px).
 *
 * A row of tall cards that slides sideways, snapping, from the start of the
 * text to the edge of the screen past its end; round buttons beside the title
 * move it by a card (on phones they are under it). Each card is its photo
 * under a navy shade that deepens to the foot, with the flag, the datacenter
 * and a line on it, the services on a navy strip along the foot, and on
 * the first a yellow tag on the top corner. Nothing moves up on hover.
 *
 * .hd-lcd-in is a container as wide as the text: in its units (cqw) and those
 * of the screen (vw), the row reaches out to the edges of the screen
 * (--bleed), and a card is as wide as --per of them, with --gaps gaps, fill
 * the room from the start of the text to the end of the screen.
 */

.hd-lcd {
	--sx: 1;
	--gap: 1.43rem;
	--per: 3.6;
	--gaps: 3;
	/* 100vw has the scrollbar of a desktop in it: the row reaches past the
	   screen by its width, which the section clips. */
	overflow-x: clip;
}

:where(html[dir=rtl]) .hd-lcd {
	--sx: -1;
}

.hd-lcd-in {
	container-type: inline-size;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "intro navs" "track track";
	align-items: end;
	gap: 1.57rem 1.71rem;
}

.hd-lcd-intro {
	grid-area: intro;
}

.hd-lcd-title {
	margin: 0;
	font-size: 2.14rem;
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
	text-wrap: balance;
}

.hd-lcd-lead {
	margin: .57rem 0 0;
	font-size: 1.07rem;
	line-height: 1.7;
	font-weight: 500;
	color: #4F6F8C;
}

/* --- The buttons: white rounds that the theme's ripple (site.js) fills
   yellow from where the mouse came in; the arrow points the way the row
   moves and nudges that way. Greyed at the ends of the row. */
.hd-lcd-navs {
	grid-area: navs;
	display: flex;
	gap: .86rem;
}

/* Until components.js runs them, and while all the cards are in view: out
   of sight, their room kept, so nothing moves when they come. */
.hd-lcd-navs[hidden] {
	display: flex;
	visibility: hidden;
}

.hd-lcd-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: max(3.71rem, 44px);
	height: max(3.71rem, 44px);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--hd-navy);
	font: inherit;
	cursor: pointer;
	box-shadow: inset 0 0 0 1px #D5E4F1, 0 .86rem 1.71rem -1.29rem rgba(16, 63, 99, .6);
	transition: box-shadow .3s ease, color .3s ease, background-color 0s ease;
	-webkit-tap-highlight-color: transparent;
}

.hd-lcd-nav .ripple {
	background: var(--hd-yellow);
	opacity: 1;
}

.hd-lcd-nav svg {
	display: block;
	width: 1.43rem;
	height: 1.43rem;
	stroke-width: 2.2;
	transition: transform .3s ease;
}

/* The arrow of the theme points right: back is toward the start of the line,
   on the right of the right-to-left pages. */
.hd-lcd-prev svg {
	transform: scaleX(calc(-1 * var(--sx)));
}

.hd-lcd-next svg {
	transform: scaleX(var(--sx));
}

.hd-lcd-nav[aria-disabled=true] {
	cursor: default;
	color: #9DB3C7;
	box-shadow: inset 0 0 0 1px #E3ECF4;
}

.hd-lcd-nav[aria-disabled=true] .ripple {
	opacity: 0;
}

.hd-lcd-nav:focus-visible {
	outline: 3px solid var(--hd-blue);
	outline-offset: 3px;
}

@media (hover: hover) {
	.hd-lcd-nav:not([aria-disabled=true]):hover {
		background: var(--hd-yellow);
		box-shadow: inset 0 0 0 1px var(--hd-yellow), 0 1rem 1.86rem -1.14rem rgba(120, 90, 0, .45);
		transition-delay: 0s, 0s, .5s;
	}

	.hd-lcd-prev:not([aria-disabled=true]):hover svg {
		transform: translateX(calc(-.21rem * var(--sx))) scaleX(calc(-1 * var(--sx)));
	}

	.hd-lcd-next:not([aria-disabled=true]):hover svg {
		transform: translateX(calc(.21rem * var(--sx))) scaleX(var(--sx));
	}
}

/* --- The row: from the edge of the screen to the other, the cards starting
   in line with the text and snapping to it. It fades at the end of the
   screen, where a card is cut (--end), and a little at its start, outside
   the text. At its end (.is-end, components.js) the fade keeps out of the
   last card. */
.hd-lcd-track {
	--bleed: calc(50vw - 50cqw);
	--end-w: 3.14rem;
	--end: var(--end-w);
	--fade: linear-gradient(to left, transparent 0, #000 var(--end), #000 calc(100% - min(1.43rem, var(--bleed))), transparent 100%);
	grid-area: track;
	display: flex;
	gap: var(--gap);
	margin: 0 calc(var(--bleed) * -1);
	padding: 1rem var(--bleed) 2.57rem;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--bleed);
	scrollbar-width: none;
	-webkit-mask-image: var(--fade);
	mask-image: var(--fade);
}

:where(html[dir=rtl]) .hd-lcd-track {
	--fade: linear-gradient(to right, transparent 0, #000 var(--end), #000 calc(100% - min(1.43rem, var(--bleed))), transparent 100%);
}

.hd-lcd-track.is-end {
	--end: min(var(--end-w), var(--bleed));
}

/* Dragged by the mouse (components.js): it follows the mouse, without
   snapping, and no text is chosen. */
.hd-lcd-track.is-grab {
	cursor: grab;
}

.hd-lcd-track.is-drag {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
	-webkit-user-select: none;
	user-select: none;
}

.hd-lcd-track.is-drag a {
	cursor: grabbing;
}

.hd-lcd-track::-webkit-scrollbar {
	display: none;
}

/* The row as wide as the screen fades at its sides, and a ring round it
   would too: the cards in it are ringed instead. */
.hd-lcd-track:focus-visible {
	outline: none;
}

.hd-lcd-track:focus-visible > .hd-lcd-card {
	outline: 2px solid var(--hd-blue);
	outline-offset: 3px;
}

/* --- A card: the photo behind, the text and the services at its foot. */
.hd-lcd-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex: 0 0 calc((50vw + 50cqw - var(--gaps) * var(--gap)) / var(--per));
	flex-direction: column;
	justify-content: flex-end;
	min-width: 0;
	min-height: 42.86rem;
	overflow: hidden;
	border-radius: 1.71rem;
	background: #0D3352;
	color: #fff;
	scroll-snap-align: start;
	box-shadow: 0 1.57rem 2.86rem -2rem rgba(16, 63, 99, .6);
	transition: box-shadow .35s ease;
}

@media (hover: hover) {
	.hd-lcd-card:hover {
		box-shadow: 0 2rem 3.43rem -2rem rgba(16, 63, 99, .75);
	}
}

.hd-lcd-photo {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background: #0D3352;
}

/* A light shade on top, under the tag. */
.hd-lcd-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(9, 33, 54, .3) 0, rgba(9, 33, 54, 0) 24%);
	pointer-events: none;
}

/* The crop of the template (--pos, --lift, --zoom): the point kept in view,
   from which it is zoomed, and the lift that shows more of its lower part. */
.hd-lcd-photo > img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--pos, 50% 50%);
	transform: translateY(var(--lift, 0%)) scale(var(--zoom, 1));
	transform-origin: var(--pos, 50% 50%);
}

/* No photo: a navy glow, and the flag large on the top corner with two
   faint rings. */
.hd-lcd-art {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: radial-gradient(120% 70% at 30% 18%, #1E5C8F 0%, #123F64 50%, #0B2D48 100%);
}

.hd-lcd-art::before {
	content: "";
	position: absolute;
	left: 4%;
	top: 12%;
	width: 70%;
	aspect-ratio: 1.4;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(110, 178, 240, .3), rgba(110, 178, 240, 0));
}

.hd-lcd-art img {
	position: absolute;
	top: -2.43rem;
	inset-inline-start: -2.43rem;
	display: block;
	width: 10.71rem;
	height: 10.71rem;
	border-radius: 50%;
	box-shadow: 0 0 0 .86rem rgba(255, 255, 255, .07), 0 0 0 1.86rem rgba(255, 255, 255, .04);
}

/* The text, on a shade that is dark enough under it for its colours over a
   white photo (4.5:1 from the line of the flag down). */
.hd-lcd-cap {
	position: relative;
	padding: 5.14rem 1.57rem 1.29rem;
	background: linear-gradient(180deg, rgba(13, 51, 82, 0) 0, rgba(13, 51, 82, .18) 1.29rem, rgba(13, 51, 82, .46) 2.86rem, rgba(13, 51, 82, .72) 4.71rem, rgba(13, 51, 82, .86) 8rem, rgba(13, 51, 82, .9) 100%);
}

.hd-lcd-id {
	display: flex;
	align-items: center;
	gap: .86rem;
}

.hd-lcd-badge {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 3.57rem;
	height: 3.57rem;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .22), 0 .86rem 1.57rem -.71rem rgba(0, 0, 0, .55);
}

.hd-lcd-badge img {
	display: block;
	width: 2.71rem;
	height: 2.71rem;
	border-radius: 50%;
}

/* The home, ringed in yellow. */
.hd-lcd-card.is-home .hd-lcd-badge {
	box-shadow: 0 0 0 3px var(--hd-yellow), 0 .86rem 1.57rem -.71rem rgba(0, 0, 0, .55);
}

.hd-lcd-place {
	margin: 0;
	font-size: .93rem;
	line-height: 1.5;
	font-weight: 800;
	color: #fff;
}

.hd-lcd-h3 {
	margin: 1rem 0 0;
	font-size: 1.5rem;
	line-height: 1.5;
	font-weight: 900;
	color: #fff;
}

.hd-lcd-cap > .hd-lcd-h3:first-child {
	margin-top: 0;
}

.hd-lcd-sub {
	margin: .14rem 0 0;
	font-size: 1rem;
	line-height: 1.65;
	font-weight: 800;
	color: #A9D5FF;
	text-wrap: pretty;
}

.hd-lcd-line {
	margin: .57rem 0 0;
	font-size: .96rem;
	line-height: 1.85;
	font-weight: 500;
	color: #D6E4F1;
	text-wrap: pretty;
}

/* --- The services, on a navy strip along the foot (all but opaque, so no
   blur behind it: it would not show). A row is tinted by the ripple from
   where the mouse came in; its icon turns yellow and its arrow moves on. */
.hd-lcd-foot {
	position: relative;
	padding: .43rem .57rem .57rem;
	background: linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .08)), rgba(13, 51, 82, .9);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.hd-lcd-svcs {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hd-lcd-svcs li + li {
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.hd-lcd-svc {
	display: flex;
	align-items: center;
	gap: .86rem;
	min-height: max(4.14rem, 44px);
	padding: .64rem .86rem;
	border-radius: 1rem;
	color: #fff;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.hd-lcd-svc .ripple {
	background: rgba(255, 255, 255, .07);
	opacity: 1;
}

.hd-lcd-svc:hover,
.hd-lcd-svc:focus {
	color: #fff;
}

.hd-lcd-svc:focus-visible {
	outline: 3px solid var(--hd-yellow);
	outline-offset: -3px;
}

.hd-lcd-ico {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 2.71rem;
	height: 2.71rem;
	border-radius: .79rem;
	background: rgba(255, 255, 255, .1);
	color: #CFE6FB;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
	transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.hd-lcd-ico svg {
	display: block;
	width: 1.43rem;
	height: 1.43rem;
}

.hd-lcd-svc-t {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hd-lcd-svc-t b {
	font-size: 1.04rem;
	line-height: 1.55;
	font-weight: 900;
	color: #fff;
	text-wrap: pretty;
}

.hd-lcd-svc-t span {
	font-size: .89rem;
	line-height: 1.65;
	font-weight: 600;
	color: #CFE0EF;
	text-wrap: pretty;
}

.hd-lcd-arr {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 2.14rem;
	height: 2.14rem;
	margin-inline-start: auto;
	border-radius: 50%;
	color: #fff;
	transition: transform .25s ease, background-color .25s ease;
}

.hd-lcd-arr svg {
	width: 1.29rem;
	height: 1.29rem;
	stroke-width: 2.2;
}

:where(html[dir=rtl]) .hd-lcd-arr svg {
	transform: scaleX(-1);
}

.hd-lcd-svc:active .hd-lcd-ico {
	background: var(--hd-yellow);
	color: var(--hd-navy);
	box-shadow: inset 0 0 0 1px var(--hd-yellow);
}

@media (hover: hover) {
	.hd-lcd-svc:hover .hd-lcd-ico {
		background: var(--hd-yellow);
		color: var(--hd-navy);
		box-shadow: inset 0 0 0 1px var(--hd-yellow);
	}

	.hd-lcd-svc:hover .hd-lcd-arr {
		transform: translateX(calc(.29rem * var(--sx)));
		background: rgba(255, 255, 255, .14);
	}
}

/* --- The yellow tag on the top corner of the photo, filled with a light
   white by the ripple. Over .ripple-button (main.css), which sets the
   position. */
.hd-lcd-card .hd-lcd-free {
	position: absolute;
	z-index: 3;
	top: 1.14rem;
	inset-inline-start: 1.14rem;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	max-width: calc(100% - 2.29rem);
	min-height: max(3.14rem, 44px);
	box-sizing: border-box;
	padding: 0 1.14rem;
	border-radius: 99rem;
	background: var(--hd-yellow);
	color: var(--hd-navy);
	font-size: .93rem;
	line-height: 1.4;
	font-weight: 900;
	text-decoration: none;
	/* A longer text on two lines of about one length, no word alone. */
	text-wrap: balance;
	box-shadow: 0 .86rem 1.71rem -.86rem rgba(0, 0, 0, .7);
	-webkit-tap-highlight-color: transparent;
}

.hd-lcd-free .ripple {
	background: rgba(255, 255, 255, .3);
	opacity: 1;
}

.hd-lcd-card .hd-lcd-free:hover,
.hd-lcd-card .hd-lcd-free:focus {
	color: var(--hd-navy);
}

.hd-lcd-card .hd-lcd-free:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 8px var(--hd-navy);
}

.hd-lcd-gift {
	display: flex;
	flex: none;
}

.hd-lcd-gift svg {
	width: 1.21rem;
	height: 1.21rem;
}

/* --- Narrower screens: fewer cards in view. */
@media (max-width: 1199.98px) {
	.hd-lcd {
		--per: 2.6;
		--gaps: 2;
	}
}

@media (max-width: 859.98px) {
	.hd-lcd {
		--per: 1.7;
		--gaps: 1;
	}
}

/* --- Phones: the design at 390px (root 12px); the buttons under the row, at
   its end, and the row fades only there. */
@media (max-width: 767.98px) {
	.hd-lcd {
		--gap: 1rem;
	}

	.hd-lcd-in {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "intro" "track" "navs";
		row-gap: 1.33rem;
	}

	.hd-lcd-lead {
		margin-top: .5rem;
	}

	/* Right under the room the row keeps for the shadows of the cards. */
	.hd-lcd-navs {
		justify-content: flex-end;
		gap: .67rem;
		margin-top: -1.33rem;
	}

	.hd-lcd-nav {
		width: 4rem;
		height: 4rem;
	}

	.hd-lcd-nav svg {
		width: 1.67rem;
		height: 1.67rem;
	}

	.hd-lcd-track {
		--end-w: 1.33rem;
		--fade: linear-gradient(to left, transparent 0, #000 var(--end));
		padding-block: .67rem 2.33rem;
	}

	:where(html[dir=rtl]) .hd-lcd-track {
		--fade: linear-gradient(to right, transparent 0, #000 var(--end));
	}

	.hd-lcd-card {
		min-height: 45rem;
		border-radius: 1.83rem;
		scroll-snap-stop: always;
		box-shadow: 0 1.5rem 2.83rem -2rem rgba(16, 63, 99, .6);
	}

	.hd-lcd-art img {
		top: -2.33rem;
		inset-inline-start: -2.33rem;
		width: 10.33rem;
		height: 10.33rem;
		box-shadow: 0 0 0 .83rem rgba(255, 255, 255, .07), 0 0 0 1.83rem rgba(255, 255, 255, .04);
	}

	.hd-lcd-cap {
		padding: 5rem 1.5rem 1.33rem;
		background: linear-gradient(180deg, rgba(13, 51, 82, 0) 0, rgba(13, 51, 82, .18) 1.33rem, rgba(13, 51, 82, .46) 2.83rem, rgba(13, 51, 82, .72) 4.67rem, rgba(13, 51, 82, .86) 8rem, rgba(13, 51, 82, .9) 100%);
	}

	.hd-lcd-id {
		gap: 1rem;
	}

	.hd-lcd-badge {
		width: 3.83rem;
		height: 3.83rem;
	}

	.hd-lcd-badge img {
		width: 2.83rem;
		height: 2.83rem;
	}

	.hd-lcd-place {
		font-size: 1.08rem;
	}

	.hd-lcd-h3 {
		font-size: 1.58rem;
	}

	.hd-lcd-sub {
		margin-top: .17rem;
		font-size: 1.13rem;
	}

	.hd-lcd-line {
		margin-top: .67rem;
		font-size: 1.13rem;
		line-height: 1.8;
	}

	.hd-lcd-foot {
		padding: .33rem .5rem .5rem;
	}

	.hd-lcd-svc {
		gap: 1rem;
		min-height: 4.67rem;
		padding: .67rem .83rem;
		border-radius: 1.17rem;
	}

	.hd-lcd-ico {
		width: 3.17rem;
		height: 3.17rem;
		border-radius: .92rem;
	}

	.hd-lcd-ico svg {
		width: 1.67rem;
		height: 1.67rem;
	}

	.hd-lcd-svc-t b {
		font-size: 1.21rem;
	}

	.hd-lcd-svc-t span {
		font-size: 1.04rem;
	}

	.hd-lcd-arr {
		width: 2.5rem;
		height: 2.5rem;
	}

	.hd-lcd-arr svg {
		width: 1.5rem;
		height: 1.5rem;
	}

	.hd-lcd-card .hd-lcd-free {
		top: 1.17rem;
		inset-inline-start: 1.17rem;
		max-width: calc(100% - 2.33rem);
		padding: 0 1.17rem;
		font-size: 1.04rem;
	}

	.hd-lcd-gift svg {
		width: 1.42rem;
		height: 1.42rem;
	}
}

@media (max-width: 575.98px) {
	.hd-lcd {
		--per: 1.22;
	}

	.hd-lcd-title {
		font-size: 1.83rem;
	}

	.hd-lcd-lead {
		font-size: 1.17rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hd-lcd-nav,
	.hd-lcd-nav svg,
	.hd-lcd-card,
	.hd-lcd-ico,
	.hd-lcd-arr {
		transition: none;
	}
}


/* === home-reviews: template/home/reviews.php === */

/*
 * The opinions of the customers on the home page (template/home/reviews.php),
 * with base.css. Sizes are in rem: those of the wide screens are the design's
 * at 1440px (root 14px), those of the phones the design's at 390px (root
 * 12px).
 *
 * Three columns: the first opinion in a tall card with a yellow quote mark
 * and a large faint one behind, the others in white cards around it. On
 * tablets and phones the large card is on top and the others slide side by
 * side under it, snapping, with a hint under them.
 */

.hd-rev-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.43rem 2.29rem;
}

.hd-rev-intro {
	min-width: 0;
}

.hd-rev-title {
	margin: 0;
	font-size: 2.14rem;
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
	text-wrap: balance;
}

.hd-rev-lead {
	max-width: 42.86rem;
	margin: .43rem 0 0;
	font-size: 1.07rem;
	line-height: 1.9;
	font-weight: 500;
	color: #4F6F8C;
}

/* The button: blue, lightened from where the mouse came in by the theme's
   ripple (site.js, its white tint), as the blue buttons of the other pages
   (.button); its arrow moves on. */
.hd-rev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .71rem;
	min-height: max(3.57rem, 44px);
	padding: 0 1.86rem;
	border-radius: 99rem;
	background: var(--hd-blue);
	color: #fff;
	font-size: 1.07rem;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 1.14rem 2.14rem -1rem rgba(2, 71, 174, .65);
}

.hd-rev-btn:focus-visible {
	outline: 2px solid var(--hd-navy);
	outline-offset: 3px;
}

.hd-rev-btn-ic,
.hd-rev-go {
	display: flex;
	flex: none;
}

.hd-rev-btn-ic svg {
	width: 1.43rem;
	height: 1.43rem;
	stroke-width: 2;
}

.hd-rev-go {
	transition: transform .25s ease;
}

.hd-rev-go svg {
	width: 1.29rem;
	height: 1.29rem;
	stroke-width: 2.2;
}

:where(html[dir=rtl]) .hd-rev-go svg,
:where(html[dir=rtl]) .hd-rev-hint svg {
	transform: scaleX(-1);
}

.hd-rev-btn:hover .hd-rev-go {
	transform: translateX(.29rem);
}

:where(html[dir=rtl]) .hd-rev-btn:hover .hd-rev-go {
	transform: translateX(-.29rem);
}

/* --- The grid: the large card spans two rows of the first column. */
.hd-rev-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.43rem;
	margin-top: 2.57rem;
}

.hd-rev-rest {
	display: contents;
}

.hd-rev-feat {
	position: relative;
	grid-row: span 2;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 2.43rem;
	border-radius: 2rem;
	background: linear-gradient(165deg, #fff 0%, #fff 52%, #E6F0FB 100%);
	box-shadow: 0 0 0 1px #E3ECF4, 0 2.14rem 4.29rem -2.57rem rgba(16, 63, 99, .5);
}

.hd-rev-feat.is-rows-1 {
	grid-row: span 1;
}

.hd-rev-feat.is-rows-3 {
	grid-row: span 3;
}

.hd-rev-feat.is-solo {
	grid-row: auto;
	grid-column: 1 / -1;
}

/* The large faint quote mark in the corner, which turns a little under the
   mouse. */
.hd-rev-wm {
	position: absolute;
	inset-inline-end: -1.86rem;
	bottom: -2.43rem;
	width: 16.43rem;
	height: 16.43rem;
	color: rgba(2, 71, 174, .08);
	pointer-events: none;
	transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.hd-rev-wm svg {
	width: 100%;
	height: 100%;
	stroke-width: 1.1;
}

.hd-rev-feat:hover .hd-rev-wm {
	transform: rotate(10deg);
}

:where(html[dir=rtl]) .hd-rev-feat:hover .hd-rev-wm {
	transform: rotate(-10deg);
}

.hd-rev-fq {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	flex: none;
	border-radius: 1.29rem;
	background: var(--hd-yellow);
	color: var(--hd-navy);
}

.hd-rev-fq svg {
	width: 1.86rem;
	height: 1.86rem;
	stroke-width: 1.9;
}

.hd-rev-fh {
	position: relative;
	margin: 1.71rem 0 0;
	font-size: 1.86rem;
	line-height: 1.6;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-rev-ft {
	position: relative;
	margin: 1rem 0 2rem;
	font-size: 1.29rem;
	line-height: 2.1;
	font-weight: 500;
	color: #1C5B8A;
}

.hd-rev-fh + .hd-rev-ft {
	margin-top: 1rem;
}

.hd-rev-fq + .hd-rev-ft {
	margin-top: 1.71rem;
}

/* The name of a customer with its round mark. */
.hd-rev-who {
	display: flex;
	margin: 0;
	align-items: center;
	gap: .86rem;
}

.hd-rev-who.is-big {
	position: relative;
	gap: 1rem;
	margin-top: auto;
}

.hd-rev-av {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	flex: none;
	overflow: hidden;
	border-radius: 50%;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0;
}

.hd-rev-av img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hd-rev-av.is-soft {
	background: #E4EFFB;
	color: var(--hd-blue);
}

.hd-rev-av.is-yellow {
	background: var(--hd-yellow);
	color: var(--hd-navy);
}

.hd-rev-av.is-navy {
	background: var(--hd-navy);
	color: #fff;
}

.hd-rev-who.is-big .hd-rev-av {
	width: 4rem;
	height: 4rem;
	font-size: 1.21rem;
}

.hd-rev-by {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.6;
}

.hd-rev-by b {
	font-size: 1.07rem;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-rev-by small {
	font-size: .93rem;
	font-weight: 600;
	color: #4F6F8C;
}

.hd-rev-who.is-big .hd-rev-by b {
	font-size: 1.21rem;
}

/* A card: white; under the mouse its edge and shadow deepen. */
.hd-rev-card {
	display: flex;
	flex-direction: column;
	padding: 1.71rem;
	border-radius: 1.71rem;
	background: #fff;
	box-shadow: 0 0 0 1px #E3ECF4, 0 1.43rem 2.86rem -2.14rem rgba(16, 63, 99, .35);
	transition: box-shadow .35s ease;
}

.hd-rev-card:hover {
	box-shadow: 0 0 0 1px #D3E2EF, 0 2rem 3.14rem -2rem rgba(16, 63, 99, .45);
}

/* The last of an odd number beside the large card takes both columns of its
   row (template/home/reviews.php). */
.hd-rev-card.is-wide {
	grid-column: span 2;
}

.hd-rev-sum {
	margin: 1.14rem 0 0;
	font-size: 1.14rem;
	line-height: 1.7;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-rev-txt {
	margin: .43rem 0 0;
	font-size: 1rem;
	line-height: 1.9;
	font-weight: 500;
	color: #1C5B8A;
}

.hd-rev-who + .hd-rev-txt {
	margin-top: 1.14rem;
}

.hd-rev-ft p,
.hd-rev-txt p {
	margin: 0;
}

.hd-rev-ft p + p,
.hd-rev-txt p + p {
	margin-top: .6em;
}

.hd-rev-hint {
	display: none;
}

/* --- Tablets and phones: the large card on top, the others sliding under
   it to the edges of the screen. */
@media (max-width: 991.98px) {
	/* --bleed reaches from the text to the edge of the screen: the padding
	   of the container (1.5rem), and on tablets the margin beside its fixed
	   width. The section clips what a desktop scrollbar adds to 100vw. */
	.hd-rev {
		--bleed: calc((100vw - 768px) / 2 + 1.5rem);
		overflow-x: clip;
	}

	.hd-rev-grid {
		display: block;
	}

	.hd-rev-rest {
		display: flex;
		gap: 1.17rem;
		margin: 1.33rem calc(var(--bleed) * -1) 0;
		padding: .5rem var(--bleed) 2.33rem;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--bleed);
		scrollbar-width: none;
	}

	.hd-rev-rest::-webkit-scrollbar {
		display: none;
	}

	.hd-rev-rest:focus-visible {
		outline: 2px solid var(--hd-blue);
		outline-offset: -2px;
	}

	.hd-rev-card {
		flex: 0 0 24.17rem;
		scroll-snap-align: start;
	}

	.hd-rev-hint {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: .5rem;
		margin: -1.17rem 0 0;
		font-size: 1.04rem;
		line-height: 1.8;
		font-weight: 700;
		color: #4F6F8C;
	}

	.hd-rev-hint svg {
		width: 1.33rem;
		height: 1.33rem;
		flex: none;
		stroke-width: 2;
	}
}

/* With a mouse there is no swipe: the list shows a thin scrollbar to drag,
   and the hint, which says to swipe, goes. */
@media (max-width: 991.98px) and (hover: hover) and (pointer: fine) {
	.hd-rev-rest {
		scrollbar-width: thin;
		scrollbar-color: #6F8FAD transparent;
	}

	/* Browsers without scrollbar-width (Safari). */
	.hd-rev-rest::-webkit-scrollbar {
		display: block;
		height: 6px;
	}

	.hd-rev-rest::-webkit-scrollbar-thumb {
		border-radius: 3px;
		background: #6F8FAD;
	}

	.hd-rev-hint {
		display: none;
	}
}

@media (min-width: 576px) and (max-width: 767.98px) {
	.hd-rev {
		--bleed: calc((100vw - 576px) / 2 + 1.5rem);
	}
}

/* --- Phones: the design at 390px (root 12px). */
@media (max-width: 767.98px) {
	.hd-rev-head {
		flex-direction: column;
		align-items: stretch;
		gap: 1.33rem;
	}

	.hd-rev-lead {
		margin-top: .5rem;
	}

	.hd-rev-btn {
		padding: 0 2.17rem;
		gap: .83rem;
		white-space: normal;
		text-align: center;
	}

	.hd-rev-btn-ic svg {
		width: 1.67rem;
		height: 1.67rem;
	}

	.hd-rev-go svg {
		width: 1.5rem;
		height: 1.5rem;
	}

	.hd-rev-grid {
		margin-top: 2rem;
	}

	.hd-rev-feat {
		padding: 2rem;
		border-radius: 2rem;
	}

	.hd-rev-wm {
		inset-inline-end: -2.17rem;
		bottom: -2.83rem;
		width: 14.17rem;
		height: 14.17rem;
	}

	.hd-rev-fq {
		width: 4rem;
		height: 4rem;
		border-radius: 1.25rem;
	}

	.hd-rev-fq svg {
		width: 2.17rem;
		height: 2.17rem;
	}

	.hd-rev-fh {
		margin-top: 1.5rem;
		font-size: 1.75rem;
	}

	.hd-rev-ft,
	.hd-rev-fh + .hd-rev-ft {
		margin: .83rem 0 1.83rem;
		font-size: 1.33rem;
		line-height: 2;
	}

	.hd-rev-who.is-big {
		gap: 1.17rem;
	}

	.hd-rev-who.is-big .hd-rev-av {
		width: 4rem;
		height: 4rem;
		font-size: 1.25rem;
	}

	.hd-rev-who.is-big .hd-rev-by b {
		font-size: 1.42rem;
	}

	.hd-rev-who.is-big .hd-rev-by small {
		font-size: 1.08rem;
	}

	.hd-rev-card {
		padding: 1.83rem;
		border-radius: 1.83rem;
		box-shadow: 0 0 0 1px #E3ECF4, 0 1.67rem 3.33rem -2.5rem rgba(16, 63, 99, .35);
	}

	.hd-rev-who {
		gap: 1rem;
	}

	.hd-rev-av {
		width: 3.5rem;
		height: 3.5rem;
		font-size: 1.17rem;
	}

	.hd-rev-by b {
		font-size: 1.25rem;
	}

	.hd-rev-by small {
		font-size: 1.04rem;
	}

	.hd-rev-sum {
		margin-top: 1.33rem;
		font-size: 1.33rem;
	}

	.hd-rev-txt {
		margin-top: .5rem;
		font-size: 1.17rem;
	}

	.hd-rev-who + .hd-rev-txt {
		margin-top: 1.33rem;
	}
}

@media (max-width: 575.98px) {
	.hd-rev {
		--bleed: 1.5rem;
	}

	.hd-rev-title {
		font-size: 1.83rem;
	}

	.hd-rev-lead {
		font-size: 1.17rem;
	}

	.hd-rev-btn {
		min-height: 4.17rem;
		font-size: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hd-rev-go,
	.hd-rev-wm,
	.hd-rev-card {
		transition: none;
	}

	.hd-rev-rest {
		scroll-behavior: auto;
	}
}


/* === home-blog-feature: template/home/blog-feature.php === */

/*
 * The blog on the home page (template/home/blog-feature.php), with base.css:
 * the latest post in a large card beside a list of the next ones, and a band
 * of the latest HiCademy tutorials under them, which scrolls sideways on
 * phones. Sizes are in rem: those of the wide screens are the design's at
 * 1440px (root 14px), those of the phones the design's at 390px (root 12px).
 *
 * Hover keeps every box where it is: a tint behind a row, a coloured title or
 * a ring round a picture. The buttons fill with the theme's ripple from where
 * the mouse came in (site.js).
 */

.hd-blf {
	--hd-blf-mute: #4F6F8C;
	--hd-blf-copy: #1C5B8A;
	--hd-blf-line: #E3ECF4;
	--hd-blf-img: #DCE9F5;
}

.hd-blf-head {
	margin-bottom: 2.29rem;
}

/* A long word or address in a title wraps rather than running out of its
   card. */
.hd-blf-title,
.hd-blf-ftitle,
.hd-blf-ex,
.hd-blf-ctitle,
.hd-blf-rtitle,
.hd-blf-ttitle {
	overflow-wrap: anywhere;
}

/* A piece left empty leaves no space above the next one. */
.hd-blf-lead:first-child,
.hd-blf-rows:first-child,
.hd-blf-aca-p:first-child,
.hd-blf-aca .hd-blf-btn:first-child {
	margin-top: 0;
}

.hd-blf-title {
	font-size: 2.14rem;
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
	text-wrap: balance;
}

.hd-blf-lead {
	margin-top: .57rem;
	font-size: 1.07rem;
	line-height: 1.8;
	font-weight: 500;
	color: var(--hd-blf-mute);
}

.hd-blf a {
	text-decoration: none;
}

.hd-blf-top {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 1.71rem;
}

.hd-blf-card {
	background: #fff;
	border-radius: 1.71rem;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--hd-blf-line), 0 1.43rem 2.86rem -2.14rem rgba(16, 63, 99, .35);
}

/* The pictures fill their frames, whatever their own shape. */
.hd-blf-media img,
.hd-blf-thumb img,
.hd-blf-tmedia img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}

/* --- The latest post. */
.hd-blf-feat {
	display: flex;
	flex-direction: column;
}

.hd-blf-media {
	position: relative;
	display: block;
	flex: none;
	height: 23.57rem;
	overflow: hidden;
	background: var(--hd-blf-img);
}

.hd-blf-badge {
	position: absolute;
	top: 1.14rem;
	inset-inline-start: 1.14rem;
	display: inline-flex;
	align-items: center;
	gap: .43rem;
	min-height: 2.29rem;
	box-sizing: border-box;
	padding: 0 .86rem;
	border-radius: 99rem;
	background: var(--hd-yellow);
	color: var(--hd-navy);
	font-size: .89rem;
	font-weight: 900;
	line-height: 1.5;
	box-shadow: 0 .71rem 1.57rem -.86rem rgba(120, 90, 0, .6);
}

.hd-blf-badge-ic {
	display: flex;
}

.hd-blf-badge-ic svg {
	width: 1rem;
	height: 1rem;
	display: block;
}

.hd-blf-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 1.86rem 2rem 2rem;
}

.hd-blf-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .43rem 1.14rem;
	font-size: .93rem;
	line-height: 1.7;
	font-weight: 700;
	color: var(--hd-blf-mute);
}

.hd-blf-meta > span {
	display: inline-flex;
	align-items: center;
	gap: .43rem;
}

.hd-blf-meta svg {
	width: 1.07rem;
	height: 1.07rem;
	flex: none;
	color: var(--hd-blue);
}

.hd-blf-ftitle {
	margin-top: .86rem;
	font-size: 1.57rem;
	line-height: 1.6;
	font-weight: 900;
}

.hd-blf-ftitle a {
	color: var(--hd-navy);
	transition: color .25s ease;
}

.hd-blf-ftitle a:hover {
	color: var(--hd-blue);
}

.hd-blf-ex {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: .71rem;
	font-size: 1.04rem;
	line-height: 1.95;
	font-weight: 500;
	color: var(--hd-blf-copy);
}

.hd-blf-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .71rem 1.14rem;
	margin-top: auto;
	padding-top: 1.43rem;
}

.hd-blf-by {
	display: inline-flex;
	align-items: center;
	gap: .57rem;
	font-size: .93rem;
	line-height: 1.7;
	font-weight: 700;
	color: var(--hd-blf-mute);
}

.hd-blf-av {
	width: 2.29rem;
	height: 2.29rem;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #EDF6FD;
	color: var(--hd-blue);
}

.hd-blf-av svg {
	width: 1.14rem;
	height: 1.14rem;
}

/* --- The buttons: blue, or light (.is-soft). The theme's ripple (site.js)
   spreads from where the mouse came in: its white tint lightens the blue
   one, as on the blue buttons of the other pages (.button); the light ones it
   fills with yellow, the yellow staying once it has filled them. */
.hd-blf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .57rem;
	/* The size of the other buttons of the page, and never under 44px for
	   a finger where the root size is 12px. */
	min-height: max(3.57rem, 44px);
	box-sizing: border-box;
	padding: 0 1.57rem;
	border-radius: 99rem;
	background: var(--hd-blue);
	color: #fff;
	font-size: 1.07rem;
	font-weight: 800;
	line-height: 1.5;
	box-shadow: 0 1rem 1.86rem -1.14rem rgba(2, 71, 174, .75);
}

.hd-blf-btn.is-soft {
	background: #F3F8FD;
	color: var(--hd-blue);
	box-shadow: inset 0 0 0 1px rgba(16, 63, 99, .08);
	transition: color .3s ease, background-color 0s ease;
}

.hd-blf-btn.is-wide {
	width: 100%;
}

.hd-blf-btn.is-soft:hover {
	background: var(--hd-yellow);
	color: var(--hd-blue);
	transition-delay: 0s, .5s;
}

.hd-blf-btn.is-soft .ripple {
	background: var(--hd-yellow);
	opacity: 1;
}

.hd-blf-arr {
	width: 1.14rem;
	height: 1.14rem;
	flex: none;
	transition: transform .25s ease;
}

.hd-blf-btn:hover .hd-blf-arr {
	transform: translateX(-.21rem);
}

[dir=ltr] .hd-blf-arr {
	transform: scaleX(-1);
}

[dir=ltr] .hd-blf-btn:hover .hd-blf-arr {
	transform: scaleX(-1) translateX(-.21rem);
}

/* --- The list of the next posts. */
.hd-blf-list {
	display: flex;
	flex-direction: column;
	padding: 1.57rem;
}

.hd-blf-ctitle {
	display: flex;
	align-items: center;
	gap: .71rem;
	font-size: 1.29rem;
	line-height: 1.6;
	font-weight: 900;
	color: var(--hd-navy);
}

.hd-blf-cic {
	width: 2.57rem;
	height: 2.57rem;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: .86rem;
	background: #EDF6FD;
	color: var(--hd-blue);
}

.hd-blf-cic svg {
	width: 1.29rem;
	height: 1.29rem;
	display: block;
}

.hd-blf-rows {
	margin-top: .57rem;
}

.hd-blf-rows li + li {
	border-top: 1px solid var(--hd-blf-line);
}

.hd-blf-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 -.57rem;
	padding: 1.14rem .57rem;
	border-radius: 1.14rem;
	color: var(--hd-navy);
	transition: background-color .25s ease;
}

.hd-blf-row:focus-visible {
	outline-offset: -2px;
}

.hd-blf-thumb {
	position: relative;
	flex: none;
	width: 6.86rem;
	height: 4.57rem;
	overflow: hidden;
	border-radius: .86rem;
	background: var(--hd-blf-img);
}

.hd-blf-rtext {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: .29rem;
}

.hd-blf-rtitle {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 1.07rem;
	line-height: 1.6;
	font-weight: 800;
	transition: color .25s ease;
}

.hd-blf-rmeta {
	font-size: .89rem;
	line-height: 1.6;
	font-weight: 600;
	color: var(--hd-blf-mute);
}

.hd-blf-list .hd-blf-btn {
	margin-top: auto;
}

/* --- The band of HiCademy. */
.hd-blf-aca {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	align-items: center;
	gap: 2rem;
	margin-top: 1.71rem;
	padding: 2rem;
}

/* Without its title, text and button, the tutorials take the whole band. */
.hd-blf-aca:not(:has(> .hd-blf-aca-text)) {
	grid-template-columns: minmax(0, 1fr);
}

.hd-blf-ctitle.is-big {
	font-size: 1.43rem;
}

.hd-blf-cic.is-y {
	width: 2.86rem;
	height: 2.86rem;
	border-radius: .93rem;
	background: var(--hd-yellow);
	color: var(--hd-navy);
}

.hd-blf-cic.is-y svg {
	width: 1.43rem;
	height: 1.43rem;
}

.hd-blf-aca-p {
	margin-top: .71rem;
	font-size: 1rem;
	line-height: 1.85;
	font-weight: 500;
	color: var(--hd-blf-copy);
}

.hd-blf-aca .hd-blf-btn {
	margin-top: 1.14rem;
}

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

.hd-blf-tiles > li {
	display: flex;
}

.hd-blf-tile {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: .86rem;
	color: var(--hd-navy);
	transition: color .25s ease;
}

.hd-blf-tile:focus-visible {
	border-radius: 1.14rem;
}

.hd-blf-tmedia {
	position: relative;
	height: 10.71rem;
	overflow: hidden;
	border-radius: 1.14rem;
	background: var(--hd-blf-img);
	box-shadow: 0 0 0 1px var(--hd-blf-line);
	transition: box-shadow .25s ease;
}

.hd-blf-ttitle {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 1.04rem;
	line-height: 1.65;
	font-weight: 800;
}

@media (hover: hover) {
	.hd-blf-row:hover {
		background: #F3F8FD;
		color: var(--hd-navy);
	}

	.hd-blf-row:hover .hd-blf-rtitle,
	.hd-blf-tile:hover {
		color: var(--hd-blue);
	}

	.hd-blf-tile:hover .hd-blf-tmedia {
		box-shadow: 0 0 0 2px var(--hd-blue);
	}
}

/* --- Tablets: the list under the latest post, the tutorials under the text
   of their band. */
@media (max-width: 991.98px) {
	.hd-blf-top,
	.hd-blf-aca {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --- Phones: three posts in the list, the tutorials side by side in a
   strip that scrolls. */
@media (max-width: 767.98px) {
	.hd-blf-head {
		margin-bottom: 2rem;
	}

	.hd-blf-lead {
		margin-top: .67rem;
	}

	.hd-blf-top {
		gap: 1.33rem;
	}

	.hd-blf-card {
		border-radius: 2rem;
	}

	.hd-blf-media {
		height: 16.67rem;
	}

	.hd-blf-badge {
		top: 1.33rem;
		inset-inline-start: 1.33rem;
		gap: .5rem;
		min-height: 2.67rem;
		padding: 0 1rem;
		font-size: 1.04rem;
	}

	.hd-blf-badge-ic svg {
		width: 1.17rem;
		height: 1.17rem;
	}

	.hd-blf-body {
		padding: 1.67rem;
	}

	.hd-blf-meta {
		gap: .5rem 1.33rem;
		font-size: 1.08rem;
	}

	.hd-blf-meta > span {
		gap: .5rem;
	}

	.hd-blf-meta svg {
		width: 1.25rem;
		height: 1.25rem;
	}

	.hd-blf-ftitle {
		margin-top: 1rem;
		font-size: 1.5rem;
	}

	.hd-blf-ex {
		margin-top: .83rem;
		font-size: 1.21rem;
	}

	.hd-blf-foot {
		gap: .83rem 1.33rem;
		padding-top: 1.67rem;
	}

	.hd-blf-by {
		gap: .67rem;
		font-size: 1.08rem;
	}

	.hd-blf-av {
		width: 2.67rem;
		height: 2.67rem;
	}

	.hd-blf-av svg {
		width: 1.33rem;
		height: 1.33rem;
	}

	.hd-blf-btn {
		gap: .67rem;
		padding: 0 1.83rem;
	}

	.hd-blf-arr {
		width: 1.33rem;
		height: 1.33rem;
	}

	.hd-blf-list {
		padding: 1.5rem;
	}

	.hd-blf-ctitle {
		gap: .83rem;
		font-size: 1.5rem;
	}

	.hd-blf-cic {
		width: 3rem;
		height: 3rem;
		border-radius: 1rem;
	}

	.hd-blf-cic svg {
		width: 1.5rem;
		height: 1.5rem;
	}

	.hd-blf-rows {
		margin-top: .67rem;
	}

	.hd-blf-xm {
		display: none;
	}

	.hd-blf-row {
		gap: 1.17rem;
		margin: 0 -.67rem;
		padding: 1.33rem .67rem;
		border-radius: 1.33rem;
	}

	.hd-blf-thumb {
		width: 7rem;
		height: 4.67rem;
		border-radius: 1rem;
	}

	.hd-blf-rtext {
		gap: .33rem;
	}

	.hd-blf-rtitle {
		font-size: 1.17rem;
	}

	.hd-blf-rmeta {
		font-size: 1.04rem;
	}

	.hd-blf-aca {
		gap: 1.5rem;
		margin-top: 1.33rem;
		padding: 1.67rem;
	}

	.hd-blf-ctitle.is-big {
		font-size: 1.67rem;
	}

	.hd-blf-cic.is-y {
		width: 3.33rem;
		height: 3.33rem;
		border-radius: 1.08rem;
	}

	.hd-blf-cic.is-y svg {
		width: 1.67rem;
		height: 1.67rem;
	}

	.hd-blf-aca-p {
		margin-top: .83rem;
		font-size: 1.17rem;
	}

	.hd-blf-aca .hd-blf-btn {
		margin-top: 1.33rem;
	}

	/* The strip runs to the edges of the card, past its padding. */
	.hd-blf-tiles {
		display: flex;
		gap: 1rem;
		margin: 0 -1.67rem;
		padding: 0 1.67rem .67rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 1.67rem;
		scrollbar-width: none;
	}

	.hd-blf-tiles::-webkit-scrollbar {
		display: none;
	}

	.hd-blf-tiles > li {
		flex: 0 0 18.33rem;
		scroll-snap-align: start;
	}

	/* The strip clips what overflows it, and the picture (positioned) would
	   cover a ring drawn inside the tile: the ring of the focused tile is a
	   layer of its own, above the picture. */
	.hd-blf-tile {
		position: relative;
		gap: 1rem;
	}

	.hd-blf-tile:focus-visible {
		outline: none;
	}

	.hd-blf-tile:focus-visible::after {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: 1.33rem;
		box-shadow: inset 0 0 0 2px var(--hd-blue);
		pointer-events: none;
	}

	.hd-blf-tmedia {
		height: 10.83rem;
		border-radius: 1.33rem;
	}

	.hd-blf-ttitle {
		font-size: 1.21rem;
	}
}

/* With a mouse there is no swipe: the strip shows a thin scrollbar to drag. */
@media (max-width: 767.98px) and (hover: hover) and (pointer: fine) {
	.hd-blf-tiles {
		scrollbar-width: thin;
		scrollbar-color: #6F8FAD transparent;
	}

	/* Browsers without scrollbar-width (Safari). */
	.hd-blf-tiles::-webkit-scrollbar {
		display: block;
		height: 6px;
	}

	.hd-blf-tiles::-webkit-scrollbar-thumb {
		border-radius: 3px;
		background: #6F8FAD;
	}
}

@media (max-width: 575.98px) {
	.hd-blf-title {
		font-size: 1.83rem;
	}

	.hd-blf-lead {
		font-size: 1.17rem;
	}

	.hd-blf-btn {
		min-height: 4.17rem;
		font-size: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hd-blf-btn.is-soft,
	.hd-blf-arr,
	.hd-blf-row,
	.hd-blf-tile,
	.hd-blf-tmedia {
		transition: none;
	}
}


/* === home-clients: template/home/clients.php === */

/*
 * home-clients: some clients of the company, a wall of their logos beside
 * the text (template/home/clients.php), with base.css. Sizes are px of the
 * design times --u, a px of it at the root size it was drawn at: 1440px
 * wide (root 14px) on wide screens, 390px (root 12px) on phones.
 *
 * The wall is a flex box that wraps, with the hairlines between its cells
 * as the gaps over its background: each row is filled, the last one of logos
 * stretched, so no gap shows as an empty cell whatever the number of clients.
 */

.hd-clients {
	--u: calc(1rem / 14);
}

.hd-clients-grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	align-items: center;
	gap: calc(48 * var(--u));
}

.hd-clients-grid.is-text {
	grid-template-columns: minmax(0, 1fr);
}

.hd-clients-text {
	min-width: 0;
}

.hd-clients-title {
	font-size: calc(30 * var(--u));
	line-height: 1.5;
	font-weight: 900;
	color: var(--hd-navy);
	text-wrap: balance;
}

.hd-clients-lead {
	margin: calc(10 * var(--u)) 0 0;
	font-size: 1.07rem;
	line-height: 1.95;
	font-weight: 500;
	color: #4F6F8C;
}

.hd-clients-points {
	display: flex;
	flex-direction: column;
	gap: calc(10 * var(--u));
	margin-top: calc(22 * var(--u));
}

.hd-clients-points li {
	display: flex;
	align-items: center;
	gap: calc(10 * var(--u));
	font-size: calc(15 * var(--u));
	line-height: 1.6;
	font-weight: 800;
	color: var(--hd-navy);
}

.hd-clients-pi {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: calc(36 * var(--u));
	height: calc(36 * var(--u));
	border-radius: calc(12 * var(--u));
	background: #fff;
	color: var(--hd-blue);
	box-shadow: 0 0 0 1px #E3ECF4;
}

.hd-clients-pi svg {
	width: calc(19 * var(--u));
	height: calc(19 * var(--u));
	stroke-width: 2;
}

/* --- The wall. */

.hd-clients-wall {
	overflow: hidden;
	border-radius: calc(28 * var(--u));
	background: #fff;
	box-shadow: 0 0 0 1px #E3ECF4, 0 calc(30 * var(--u)) calc(60 * var(--u)) calc(-36 * var(--u)) rgba(16, 63, 99, .5);
}

.hd-clients-cells {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	background: #E3ECF4;
}

/* Four in a row (three hairlines between them); pointing at one tints it and
   its name, nothing moves. */
.hd-clients-cell {
	display: flex;
	flex: 1 0 calc(25% - .75px);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: calc(14 * var(--u));
	box-sizing: border-box;
	min-width: 0;
	min-height: calc(168 * var(--u));
	padding: calc(20 * var(--u)) calc(12 * var(--u));
	background: #fff;
	text-align: center;
	transition: background-color .3s ease;
}

.hd-clients-cell:hover {
	background: #F7FAFE;
}

.hd-clients-logo {
	display: flex;
	justify-content: center;
	max-width: 100%;
}

/* The logos at one height, whatever size their code gives them. */
.hd-clients-logo svg,
.hd-clients-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: calc(48 * var(--u));
}

/* A word too long for the cell breaks rather than being cut off by the
   wall. */
.hd-clients-name {
	max-width: 100%;
	font-size: calc(14 * var(--u));
	line-height: 1.6;
	font-weight: 800;
	color: var(--hd-navy);
	overflow-wrap: anywhere;
	hyphens: auto;
	transition: color .3s ease;
}

.hd-clients-cell:hover .hd-clients-name {
	color: var(--hd-blue);
}

/* The invitation: two cells wide, in a dashed frame. */
.hd-clients-you {
	position: relative;
	display: flex;
	flex: 1 0 calc(50% - .5px);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: calc(12 * var(--u));
	box-sizing: border-box;
	min-height: calc(168 * var(--u));
	padding: calc(22 * var(--u)) calc(24 * var(--u));
	background: #F3F8FD;
	text-align: center;
}

.hd-clients-you::before {
	content: "";
	position: absolute;
	inset: calc(12 * var(--u));
	border: 2px dashed rgba(2, 71, 174, .25);
	border-radius: calc(18 * var(--u));
	pointer-events: none;
	transition: border-color .3s ease;
}

.hd-clients-you:hover::before {
	border-color: #E9A800;
}

.hd-clients-you-t {
	position: relative;
	font-size: calc(17 * var(--u));
	line-height: 1.6;
	font-weight: 900;
	color: var(--hd-navy);
}

/* The button: blue, lightened from where the mouse came in by the theme's
   ripple (site.js, its white tint), as the blue buttons of the other pages
   (.button). */
.hd-clients-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: calc(8 * var(--u));
	box-sizing: border-box;
	min-height: max(3.57rem, 44px);
	padding: 0 calc(22 * var(--u));
	border-radius: 99rem;
	background: var(--hd-blue);
	color: #fff;
	font-size: 1.07rem;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 calc(14 * var(--u)) calc(28 * var(--u)) calc(-14 * var(--u)) rgba(2, 71, 174, .65);
}

.hd-clients-ic {
	display: flex;
	flex: none;
}

.hd-clients-ic svg {
	width: calc(19 * var(--u));
	height: calc(19 * var(--u));
	stroke-width: 2;
}

/* Tablets and phones: the text over the wall, the points side by side. */
@media (max-width: 991.98px) {
	.hd-clients-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: calc(32 * var(--u));
	}

	.hd-clients-points {
		flex-direction: row;
		flex-wrap: wrap;
		gap: calc(10 * var(--u)) calc(18 * var(--u));
		margin-top: calc(16 * var(--u));
	}
}

/* Two in a row, the invitation on a row of its own. */
@media (max-width: 767.98px) {
	.hd-clients-wall {
		border-radius: calc(24 * var(--u));
	}

	.hd-clients-cell {
		flex-basis: calc(50% - .5px);
		gap: calc(10 * var(--u));
		min-height: calc(128 * var(--u));
		padding: calc(16 * var(--u)) calc(8 * var(--u));
	}

	.hd-clients-logo svg,
	.hd-clients-logo img {
		height: calc(38 * var(--u));
	}

	.hd-clients-name {
		font-size: calc(13 * var(--u));
	}

	.hd-clients-you {
		flex-basis: 100%;
		min-height: calc(156 * var(--u));
		padding: calc(22 * var(--u)) calc(18 * var(--u));
	}

	.hd-clients-you-t {
		font-size: calc(15.5 * var(--u));
	}
}

/* Phones: the design at 390px. */
@media (max-width: 575.98px) {
	.hd-clients {
		--u: calc(1rem / 12);
	}

	.hd-clients-grid {
		gap: calc(24 * var(--u));
	}

	.hd-clients-title {
		font-size: calc(22 * var(--u));
	}

	.hd-clients-lead {
		font-size: 1.17rem;
	}

	.hd-clients-btn {
		min-height: 4.17rem;
		font-size: 1.25rem;
	}

	.hd-clients-points li {
		font-size: calc(14 * var(--u));
	}
}


/* === Forced colours (high contrast): the sections from service-cards to clients === */

/*
 * High contrast draws no backgrounds and no shadows, which are all that
 * shape the boxes and buttons of these sections and that mark the toggle
 * and the station chosen. The buttons get an edge, the boxes a line inside
 * their edge (an outline, so nothing moves), and what is chosen the
 * system's highlight.
 */
@media (forced-colors: active) {
	.hd-sc-btn,
	.hd-traffic-seg,
	.hd-traffic-buy,
	.hd-traffic-help,
	.hd-fb-chip,
	.hd-cb-btn,
	.hd-svl-btn,
	.hd-loc-svc,
	.hd-lcd-nav,
	.hd-lcd-svc,
	.hd-lcd-free,
	.hd-rev-btn,
	.hd-blf-btn,
	.hd-clients-btn {
		border: 1px solid ButtonText;
	}

	.hd-sc-card,
	.hd-traffic-card,
	.hd-traffic-win,
	.hd-fb-lead,
	.hd-fb-item,
	.hd-cb-band,
	.hd-sb-card,
	.hd-svl-item,
	.hd-loc-box,
	.hd-lcd-card,
	.hd-rev-feat,
	.hd-rev-card,
	.hd-blf-card,
	.hd-clients-wall,
	.hd-clients-cells > li {
		outline: 1px solid CanvasText;
		outline-offset: -1px;
	}

	.hd-traffic-seg[aria-pressed=true],
	.hd-loc-st[aria-selected=true] .hd-loc-name {
		forced-color-adjust: none;
		background: Highlight;
		color: HighlightText;
		box-shadow: none;
	}

	.hd-loc-st[aria-selected=true] .hd-loc-node {
		outline: 3px solid Highlight;
	}

	.hd-lcd-nav[aria-disabled=true] {
		color: GrayText;
		border-color: GrayText;
	}

	/* The picture in the traffic window, drawn only with backgrounds: the
	   bars, the visitors and the meter in the system's colours, the bars of
	   the heavy state in the highlight. The cover of the meter is a plain
	   one, without the hollow round the tip of the fill. */
	.hd-traffic-lane,
	.hd-traffic-track {
		outline: 1px solid CanvasText;
	}

	.hd-traffic-bars span,
	.hd-traffic-dot::before,
	.hd-traffic-dot.is-x::before,
	.hd-traffic-fill {
		forced-color-adjust: none;
		background: CanvasText;
	}

	.hd-traffic-bars.is-h span,
	.hd-traffic-bars.is-h .is-hot {
		background: Highlight;
	}

	.hd-traffic-fill::after {
		forced-color-adjust: none;
		background: Canvas;
	}
}
