/*
 * New sections: the front page (hm-*), the inner page heads (pg-*), /status (st-*) and /my-ip (ip-*).
 * Same palette as the theme: black background, #1f1f1f cards with #2a2a2a borders, white accents.
 * Icons are inline SVG (Hugeicons solid-rounded, currentColor).
 */

/* ---- shared ------------------------------------------------------------------------------ */
.hm-section {
	padding: 48px 0;
}
.hm-section--last {
	padding-bottom: 96px;
}
.hm-title {
	text-align: left;
	font-size: 40px;
	margin-bottom: 32px;
}
.hm-title--tight {
	margin-bottom: 8px;
}
.hm-head__text {
	color: #999999;
	font-size: 16px;
	margin-bottom: 32px;
}
.hm-head__text a,
.hm-step__text a,
.hm-help__text a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.hm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}
.hm-btn:hover {
	opacity: 0.85;
}
.hm-btn--main {
	background: var(--cta-bg);
	color: var(--cta-ink);
}
.hm-btn--dark {
	background: #000000;
	color: #ffffff;
}
.hm-editor-note {
	font-size: 14px;
	color: #000000;
	background: #fde68a;
	border-radius: 8px;
	padding: 8px 12px;
	margin-bottom: 16px;
}

/* ---- first screen ------------------------------------------------------------------------ */
.hm-hero {
	background: linear-gradient(135deg, #000000 0%, #111111 100%);
	padding: 160px 0 48px;
}
.hm-hero__inner--image {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 48px;
}
.hm-hero__text {
	max-width: 720px;
}
.hm-hero__title {
	text-align: left;
	font-size: 56px;
}
.hm-hero__lead {
	font-size: 19px;
	color: #cccccc;
	margin-bottom: 24px;
	max-width: 620px;
}
.hm-ratings {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
	font-size: 14px;
	color: #cccccc;
}
.hm-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.hm-rating svg {
	width: 16px;
	height: 16px;
	color: #ffffff;
}
.hm-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 40px;
}
.hm-hero__note {
	font-size: 14px;
	color: #999999;
}
.hm-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
.hm-stat {
	display: flex;
	flex-direction: column;
}
.hm-stat__value {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}
.hm-stat__label {
	font-size: 12px;
	color: #999999;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.hm-hero__image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* ---- devices ----------------------------------------------------------------------------- */
.hm-panel {
	background: #1f1f1f;
	border: 1px solid #2a2a2a;
	border-radius: 24px;
	padding: 40px;
}
.hm-panel .hm-title {
	margin-bottom: 12px;
}
.hm-panel__text {
	color: #cccccc;
	margin-bottom: 24px;
}
.hm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.hm-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 10px;
	background: #2a2a2a;
	color: #ffffff;
	font-size: 15px;
	font-weight: 500;
	transition: background 0.2s ease;
}
.hm-chip:hover {
	background: #3a3a3a;
}
.hm-chip svg {
	width: 18px;
	height: 18px;
}

/* ---- advantages -------------------------------------------------------------------------- */
.hm-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.hm-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	background: #1f1f1f;
	border: 1px solid #2a2a2a;
	border-radius: 20px;
	padding: 28px;
}
.hm-card h3 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 8px;
}
.hm-card p {
	font-size: 15px;
	color: #999999;
	line-height: 1.6;
}
.hm-card__icon {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	border-radius: 18px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hm-card__icon svg {
	width: 36px;
	height: 36px;
	fill: #000000;
}

/* ---- reviews ----------------------------------------------------------------------------- */
.hm-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.hm-review {
	display: flex;
	flex-direction: column;
	background: #1f1f1f;
	border: 1px solid #2a2a2a;
	border-radius: 16px;
	padding: 20px;
	min-height: 220px;
}
.hm-review__stars {
	display: flex;
	gap: 2px;
	margin-bottom: 10px;
}
.hm-review__stars svg {
	width: 14px;
	height: 14px;
	color: #ffffff;
}
.hm-review h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
}
.hm-review p {
	font-size: 14px;
	color: #999999;
	flex: 1;
}
.hm-review__meta {
	font-size: 12px;
	color: #666666;
	margin-top: 16px;
}

/* ---- how to start ------------------------------------------------------------------------ */
.hm-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 640px;
}
.hm-step {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 17px;
}
.hm-step__num {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid #404040;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 600;
}

/* ---- banner ------------------------------------------------------------------------------ */
.hm-banner {
	background: #ffffff;
	color: #000000;
	border-radius: 24px;
	padding: 48px 32px;
	text-align: center;
}
.hm-banner .hm-banner__title {
	color: #000000;
	background: none;
	-webkit-text-fill-color: #000000;
	font-size: 40px;
	margin-bottom: 12px;
}
.hm-banner__title--small {
	font-size: 26px !important;
	margin-bottom: 4px !important;
}
.hm-banner__text {
	color: #333333;
	margin-bottom: 24px;
}
.hm-banner--row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	text-align: left;
	padding: 28px 32px;
}
.hm-banner--row .hm-banner__text {
	margin-bottom: 0;
}

/* ---- questions --------------------------------------------------------------------------- */
.hm-help__text {
	max-width: 640px;
	color: #cccccc;
}
.hm-help {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.hm-help__card {
	background: #1f1f1f;
	border: 1px solid #2a2a2a;
	border-radius: 16px;
	padding: 24px;
}
.hm-help__icon {
	display: inline-flex;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #ffffff;
	color: #000000;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.hm-help__icon svg {
	width: 22px;
	height: 22px;
}
.hm-help__card p {
	font-size: 15px;
	color: #cccccc;
}

/* ---- inner page head --------------------------------------------------------------------- */
.pg-hero {
	padding: 160px 0 16px;
	background: linear-gradient(135deg, #000000 0%, #111111 100%);
}
.pg-narrow {
	max-width: 1040px;
}
.pg-title {
	font-size: 48px;
}
.pg-lead {
	color: #cccccc;
	font-size: 18px;
	max-width: 720px;
}

/* ---- /status ----------------------------------------------------------------------------- */
.st-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.st-title {
	margin-top: 48px;
}
.st-row {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #1f1f1f;
	border: 1px solid #2a2a2a;
	border-radius: 14px;
	padding: 16px 20px;
}
.st-row__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}
.st-row__flag {
	font-size: 24px;
	line-height: 1;
}
.st-row__name {
	flex: 1;
	font-weight: 500;
	display: flex;
	flex-direction: column;
}
.st-row__name small {
	font-size: 13px;
	font-weight: 400;
	color: #999999;
}
.st-state {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #cccccc;
	white-space: nowrap;
}
.st-state::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}
.st-state--warn::before {
	background: #f59e0b;
}
.st-state--down::before {
	background: #ef4444;
}

/* ---- /my-ip ------------------------------------------------------------------------------ */
.ip-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}
.ip-box {
	background: #1f1f1f;
	border: 1px solid #2a2a2a;
	border-radius: 16px;
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ip-box__label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #999999;
	font-size: 14px;
}
.ip-box__label svg {
	width: 20px;
	height: 20px;
	color: #999999;
}
.ip-box__value {
	font-size: 22px;
	font-weight: 600;
	word-break: break-all;
}
.ip-box__value--mono {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.ip-table {
	margin: 0;
	background: #1f1f1f;
	border: 1px solid #2a2a2a;
	border-radius: 16px;
	padding: 4px 24px;
}
.ip-table div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #2a2a2a;
}
.ip-table div:last-child {
	border-bottom: 0;
}
.ip-table dt {
	color: #999999;
}
.ip-table dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}
.ip-credit {
	margin-top: 12px;
	font-size: 12px;
}
.ip-credit a {
	color: #666666;
}
.ip-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.ip-cards > .ip-card:nth-child(3):last-child {
	grid-column: 1 / -1;
}
.ip-card {
	background: #1f1f1f;
	border: 1px solid #2a2a2a;
	border-radius: 16px;
	padding: 24px;
}
.ip-card__icon svg {
	width: 22px;
	height: 22px;
	color: #999999;
	margin-bottom: 12px;
}
.ip-card h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
}
.ip-card p {
	font-size: 15px;
	color: #999999;
}

/* ---- phones and tablets ------------------------------------------------------------------ */
@media (max-width: 900px) {
	.hm-hero__inner--image,
	.hm-cards,
	.hm-reviews,
	.hm-help,
	.ip-grid,
	.ip-cards {
		grid-template-columns: 1fr;
	}
	.hm-hero__title {
		font-size: 40px;
	}
	.hm-title,
	.pg-title {
		font-size: 32px;
	}
	.hm-banner .hm-banner__title {
		font-size: 30px;
	}
}
@media (max-width: 600px) {
	.hm-hero,
	.pg-hero {
		padding-top: 120px;
	}
	.hm-hero__title {
		font-size: 34px;
	}
	.hm-panel {
		padding: 24px;
	}
	.hm-card {
		padding: 20px;
	}
	.hm-card__icon {
		flex-basis: 56px;
		width: 56px;
		height: 56px;
	}
	.hm-banner--row {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ---- globe (first screen) ---------------------------------------------------------------- */
.hm-globe {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 360px;
}
.hm-globe canvas {
	display: block;
	/* Same square the script draws into (globe.js resize), reserved before it runs: no jump. */
	width: min(100%, 560px);
	aspect-ratio: 1 / 1;
	height: auto;
	max-width: 100%;
	cursor: grab;
	touch-action: pan-y;
}
.hm-globe canvas.is-dragging {
	cursor: grabbing;
}
.hm-globe__card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 14px;
	background: rgba(31, 31, 31, 0.82);
	border: 1px solid #2f2f2f;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
	pointer-events: none;
	animation: hm-float 6s ease-in-out infinite;
}
.hm-globe__card--1 { top: 12%; left: 2%; }
.hm-globe__card--2 { top: 46%; right: 0; animation-delay: -2s; }
.hm-globe__card--3 { bottom: 8%; left: 8%; animation-delay: -4s; }
.hm-globe__flag {
	font-size: 26px;
	line-height: 1;
}
.hm-globe__info {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}
.hm-globe__info b {
	font-size: 15px;
	font-weight: 600;
}
.hm-globe__state {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #999999;
}
.hm-globe__state::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}
.hm-globe__state--warn::before { background: #f59e0b; }
.hm-globe__state--down::before { background: #ef4444; }
@keyframes hm-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
	.hm-globe__card { animation: none; }
}
@media (max-width: 900px) {
	.hm-globe { min-height: 300px; }
	.hm-globe__card { padding: 8px 10px; }
	.hm-globe__flag { font-size: 20px; }
}

/* ---- illustrations ----------------------------------------------------------------------- */
/* Inline SVG drawings: their light parts take the site's accent. */
.hm-card__art,
.hm-split__art {
	color: var(--accent);
	overflow: visible;
}
.hm-card__art {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	object-fit: contain;
}
.hm-split {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 32px;
}
.hm-split__art {
	width: 280px;
	height: auto;
	object-fit: contain;
}
.hm-split__art--small {
	width: 200px;
}
/* «Как пользоваться»: larger than the list beside it, without making the block taller (it spills into the padding). */
.hm-split__art--steps {
	width: 340px;
	height: auto;
	margin-block: -56px;
}
.hm-split--help {
	margin-bottom: 8px;
}
@media (max-width: 900px) {
	.hm-split {
		grid-template-columns: 1fr;
	}
	.hm-split__art {
		width: 220px;
		justify-self: center;
	}
	.hm-split__art--steps {
		width: 260px;
		margin-block: 0;
	}
	.hm-split--help .hm-split__art {
		display: none;
	}
}
@media (max-width: 600px) {
	.hm-card__art {
		flex-basis: 72px;
		width: 72px;
		height: 72px;
	}
}

/* Banner background: barely visible concentric rings from both sides, fading toward the text. */
.hm-banner {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.hm-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		repeating-radial-gradient(circle at 0% 50%, transparent 0 38px, rgba(0, 0, 0, 0.07) 39px 40px),
		repeating-radial-gradient(circle at 100% 50%, transparent 0 38px, rgba(0, 0, 0, 0.07) 39px 40px);
	-webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 38%, transparent 62%, #000 100%);
	mask-image: linear-gradient(90deg, #000 0%, transparent 38%, transparent 62%, #000 100%);
}
@media (max-width: 600px) {
	.hm-banner::before {
		-webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 30%, transparent 70%, #000 100%);
		mask-image: linear-gradient(90deg, #000 0%, transparent 30%, transparent 70%, #000 100%);
	}
}

/* ---- /support: questions and answers, closing call to action ------------------------------ */
.qa {
	padding: 64px 0 24px;
}
.qa-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.qa-item {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 32px;
	background: #141414;
	border: 1px solid #222222;
	border-radius: 24px;
	padding: 32px;
}
.qa-q {
	position: relative;
	padding-left: 22px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
}
.qa-q::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 4px;
	height: 0.95em;
	border-radius: 2px;
	background: var(--accent);
	box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 70%, transparent);
}
.qa-a {
	font-size: 16px;
	line-height: 1.7;
	color: #999999;
	margin: 0;
}
.qa-a a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.qa-cta {
	text-align: center;
	background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--accent) 4%, #1b1b1b) 0%, color-mix(in srgb, var(--accent) 2%, #0d0d0d) 70%);
	border: 1px solid #262626;
	border-radius: 32px;
	padding: 72px 32px;
}
.qa-cta__title {
	font-family: var(--font-accent);
	font-size: 34px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	margin-bottom: 16px;
}
.qa-cta__text {
	max-width: 560px;
	margin: 0 auto 32px;
	color: #999999;
	font-size: 17px;
}
.qa-cta__btn {
	display: inline-flex;
	padding: 18px 48px;
	border-radius: 14px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 700;
	box-shadow: 0 0 32px color-mix(in srgb, var(--accent) 45%, transparent);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.qa-cta__btn:hover {
	box-shadow: 0 0 44px color-mix(in srgb, var(--accent) 65%, transparent);
	transform: translateY(-1px);
}
@media (max-width: 900px) {
	.qa-item {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 24px;
		border-radius: 18px;
	}
	.qa-cta {
		padding: 48px 20px;
	}
	.qa-cta__title {
		font-size: 24px;
	}
}

/* ---- servers on the front page ----------------------------------------------------------- */
.hm-center-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 40px;
}
.hm-title--center {
	text-align: center;
	margin-bottom: 12px;
}
.srv-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.srv-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	background: #141414;
	border: 1px solid #222222;
	border-radius: 22px;
	padding: 28px;
}
.srv-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
}
.srv-card__flag {
	font-size: 34px;
	line-height: 1;
}
.srv-card__head b {
	display: block;
	font-size: 20px;
	font-weight: 600;
}
.srv-card__head small {
	font-size: 15px;
	color: #999999;
}
.srv-card__stats {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}
.srv-card__stats b {
	display: block;
	font-size: 22px;
	font-weight: 700;
}
.srv-card__stats span {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #777777;
}
.srv-card__state {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: var(--accent);
}
.srv-card__state::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 8px currentColor;
}
.srv-card__state--warn { color: #f59e0b; }
.srv-card__state--down { color: #ef4444; }
.srv-more {
	text-align: center;
	margin-top: 28px;
}
.srv-more a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #ffffff;
	font-weight: 500;
}
.srv-more svg {
	width: 18px;
	height: 18px;
}
@media (max-width: 900px) {
	.srv-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 600px) {
	.srv-grid {
		grid-template-columns: 1fr;
	}
}

/* Devices panel: faint concentric rings from the right edge, fading out toward the text on the left. */
.hm-panel {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.hm-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: repeating-radial-gradient(circle at 100% 50%, transparent 0 38px, rgba(255, 255, 255, 0.06) 39px 40px);
	-webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.6) 25%, transparent 60%);
	mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.6) 25%, transparent 60%);
}

/* Server card: protocol pinned to the right of the country. */
.srv-card__name {
	flex: 1;
	min-width: 0;
}
.srv-card__proto {
	flex: 0 0 auto;
	white-space: nowrap;
	margin-left: auto;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid #2f2f2f;
	background: #1c1c1c;
	color: #cccccc;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

/* Header: see-through with the page blurred under it; a slightly larger key button. */
header {
	background: rgba(0, 0, 0, 0.6);
	-webkit-backdrop-filter: saturate(160%) blur(18px);
	backdrop-filter: saturate(160%) blur(18px);
}
.head-desc .button-h-desc {
	display: inline-flex;
	align-items: center;
	padding: 9px 20px;
	font-size: 14px;
	border-radius: 999px;
	transition: opacity 0.2s ease;
}
.head-desc .button-h-desc:hover {
	opacity: 0.85;
}

/* Questions in the accent font, bolder, like the section titles. */
.qa-q {
	font-family: var(--font-accent);
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* Phones: no globe, the first screen is text and the button only. */
@media (max-width: 767px) {
	.hm-globe {
		display: none;
	}
	.hm-hero__inner--image {
		grid-template-columns: 1fr;
	}
}

/* Phones: the first screen is centred — title, text, the button with its note under it, the figures. */
@media (max-width: 767px) {
	.hm-hero__text {
		text-align: center;
		margin: 0 auto;
	}
	.hm-hero__title,
	.hm-hero__lead {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
	.hm-hero__actions {
		flex-direction: column;
		justify-content: center;
		gap: 12px;
	}
	.hm-ratings,
	.hm-stats {
		justify-content: center;
	}
	.hm-stat {
		align-items: center;
	}
}

/* Logo mark: the accent at 40% under a shield in the accent; header (desktop and phone) and footer. */
.logo-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--accent) 40%, transparent);
	color: var(--accent);
}
.logo-mark svg {
	width: 22px;
	height: 22px;
}

/* Measured ping: right side of the server card foot and of the /status rows. */
.srv-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.srv-card__ping,
.st-ping {
	font-size: 15px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #ffffff;
}
.st-ping {
	font-size: 14px;
	color: #cccccc;
	margin-right: 4px;
}
.srv-note {
	margin-top: 16px;
	text-align: center;
	font-size: 13px;
	color: #666666;
}

/* Desktop header about 20% more compact: less padding, tighter menu, smaller logo. */
.head-desc {
	padding: 17px 0;
}
.menu-desc ul {
	gap: 38px;
}
.menu-desc ul li a {
	font-size: 15px;
}
.head-desc .logo-desc a,
.head-desc .logo-desc .logo-link {
	font-size: 21px;
}
.head-desc .logo-mark {
	width: 30px;
	height: 30px;
	flex-basis: 30px;
	border-radius: 9px;
}
.head-desc .logo-mark svg {
	width: 20px;
	height: 20px;
}

/* Note next to the key button: info icon on the left. */
.hm-hero__note {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.hm-hero__note svg {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	color: #999999;
}

/* Registered sign after the logo name. */
.logo-reg {
	font-size: 0.54em;
	font-weight: 500;
	margin-left: -7px;
	align-self: flex-start;
	line-height: 1;
	opacity: 0.8;
}

/* 404 page */
.nf {
	min-height: 70vh;
	display: flex;
	align-items: center;
	text-align: center;
}
.nf__inner .pg-title,
.nf__inner .pg-lead {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.nf__code {
	font-family: var(--font-accent);
	font-size: 96px;
	font-weight: 800;
	line-height: 1;
	color: var(--accent);
	text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 35%, transparent);
	margin-bottom: 16px;
}
.nf__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
}

/* Mobile menu: full screen height, above a dimmed and blurred page. Hidden until the burger opens it
   (the script moves it to the end of <body>; without this it showed under the footer on wide screens). */
.menu-popup {
	display: none;
	height: 100vh;
	height: 100dvh;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 10001;
}
.menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* Phones: the advantage picture sits in the card's top right corner, the text takes the full width. */
@media (max-width: 600px) {
	.hm-card {
		position: relative;
		align-items: flex-start;
	}
	.hm-card__art {
		position: absolute;
		top: 12px;
		right: 12px;
		width: 60px;
		height: 60px;
	}
	.hm-card__body h3 {
		padding-right: 60px;
		min-height: 48px;
	}
}

/* Flags: square SVG with rounded corners, sized by the font size of their place (as the emoji were). */
.flag-img {
	display: inline-block;
	width: 1em;
	height: 1em;
	border-radius: 22%;
	vertical-align: -0.15em;
	object-fit: cover;
}
.ip-box__flag {
	font-size: 1.1em;
}
/* «Получить ключ» in the menu: a plus before the words. */
.button-h-desc {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.button-plus {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}
/* The fourth location on the globe: left, between the first and the third. */
.hm-globe__card--4 { top: 50%; left: -6%; animation-delay: -6s; }
.menu-popup .button-h-desc {
	display: flex;
	justify-content: center;
}
@media (max-width: 600px) {
	.hm-globe__card--4 { display: none; }
}

/* Bottom right of a server card: the ping and the tag. */
.srv-card__side {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}
