/*
 * aehost.ru — минимализм: быстрый ответ.
 * Почти монохром, единственный акцент — коралловый. Inter Tight, много воздуха.
 * Ничего лишнего: без градиентов, теней, свечения и крупных скруглений.
 */

:root {
	--ink: #111;
	--ink-2: #5a5a5a;
	--ink-3: #8c8c8c;
	--line: #e3e3e3;
	--line-strong: #111;
	--bg: #fff;
	--hover: #fafafa;
	--accent: #f43f5e;
	--max: 1400px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, dl, dt, dd, figure, table, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
html { -webkit-text-size-adjust: 100%; }

body {
	font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	font-size: 17px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.aeh-wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.aeh-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.aeh-dash { color: #c9c9c9; }

/* ── Служебная плашка закрытого сайта ─────────────────────── */
.aeh-private {
	border-bottom: 1px solid var(--line-strong);
	text-align: center;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 8px 12px;
}

/* ── Шапка ────────────────────────────────────────────────── */
.aeh-hd { border-bottom: 1px solid var(--line); }
.aeh-hd__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 72px;
}
.aeh-lg { font-weight: 700; font-size: 20px; letter-spacing: -.02em; flex: none; }
.aeh-lg b { color: var(--accent); font-weight: 700; }

.aeh-nav__list { display: flex; gap: 28px; font-size: 15px; color: var(--ink-2); }
.aeh-nav__list a:hover, .aeh-nav__list .current-menu-item > a { color: var(--ink); }

/* ── Хлебные крошки ───────────────────────────────────────── */
.aeh-bc { padding: 22px 0 0; font-size: 14px; color: var(--ink-3); }
.aeh-bc a:hover { color: var(--ink); }
.aeh-bc__sep { padding: 0 8px; }
.aeh-bc__cur { color: var(--ink-2); }

/* ── Первый экран ─────────────────────────────────────────── */
.aeh-hero { padding: 110px 0; }
.aeh-hero--sub { padding: 56px 0 80px; }

.aeh-kicker {
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-3);
	font-weight: 500;
	margin-bottom: 26px;
}

.aeh-hero h1 {
	font-size: clamp(38px, 4.6vw, 64px);
	line-height: 1.02;
	letter-spacing: -.035em;
	font-weight: 600;
	max-width: 16ch;
}
.aeh-hero--sub h1 { font-size: clamp(32px, 3.4vw, 46px); max-width: 22ch; }
.aeh-hero h1 em { font-style: normal; color: var(--accent); display: block; }

.aeh-lead { margin-top: 22px; font-size: 17px; color: var(--ink-2); max-width: 52ch; }

/* ── Три ответа ───────────────────────────────────────────── */
.aeh-answers {
	margin-top: 64px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--line);
}
.aeh-answers--2 { grid-template-columns: repeat(2, 1fr); }
.aeh-answers--1 { grid-template-columns: 1fr; }
.aeh-answer {
	display: flex;
	flex-direction: column;
	padding: 34px 34px 30px;
	border-right: 1px solid var(--line);
	transition: background .12s linear;
}
.aeh-answer:last-child { border-right: 0; }
.aeh-answer:hover { background: var(--hover); }
.aeh-answer:hover .aeh-answer__cta { color: var(--accent); }
.aeh-answer:hover .aeh-answer__cta span { border-bottom-color: var(--accent); }

.aeh-answer__q {
	font-size: 13px;
	color: var(--ink-3);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .1em;
}
.aeh-answer__name {
	margin-top: 16px;
	font-size: 34px;
	line-height: 1.05;
	letter-spacing: -.03em;
	font-weight: 600;
}
.aeh-answer__hero {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.aeh-answer__v {
	font-size: 52px;
	line-height: 1;
	letter-spacing: -.045em;
	font-weight: 600;
	color: var(--accent);
}
.aeh-answer__u { font-size: 16px; color: var(--ink-2); }
.aeh-answer__lbl { margin-top: 8px; font-size: 14px; color: var(--ink-3); }

.aeh-facts { margin-top: 26px; border-top: 1px solid var(--line); }
.aeh-fact {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
}
.aeh-fact dt { color: var(--ink-2); }
.aeh-fact dd { font-weight: 500; }
.aeh-fact dd.aeh-off { color: var(--ink-3); font-weight: 400; }

.aeh-answer__cta {
	margin-top: 26px;
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
}
.aeh-answer__cta span { border-bottom: 2px solid var(--ink); padding-bottom: 2px; }

/* ── Кнопки ───────────────────────────────────────────────── */
.aeh-hero__act {
	margin-top: 36px;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.aeh-hero__meta { font-size: 15px; color: var(--ink-3); }

.aeh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 56px;
	padding: 0 30px;
	border-radius: 2px;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -.01em;
	border: 1px solid var(--line-strong);
	background: var(--ink);
	color: #fff;
	transition: background .12s linear, border-color .12s linear;
}
.aeh-btn:hover { background: var(--accent); border-color: var(--accent); }
.aeh-btn--g { background: transparent; color: var(--ink); border-color: var(--line); }
.aeh-btn--g:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

/* ── Блок и его шапка ─────────────────────────────────────── */
.aeh-block { padding: 0 0 110px; }
.aeh-bh {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line-strong);
}
.aeh-h2 { font-size: 30px; letter-spacing: -.03em; font-weight: 600; }
.aeh-bh__aside { font-size: 15px; color: var(--ink-3); }
.aeh-bh__aside a { border-bottom: 1px solid var(--line); }
.aeh-bh__aside a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Таблица ──────────────────────────────────────────────── */
.aeh-tw { overflow-x: auto; }
.aeh-tbl { width: 100%; border-collapse: collapse; }
.aeh-tbl thead th {
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-3);
	text-transform: uppercase;
	letter-spacing: .08em;
	text-align: right;
	padding: 16px 14px;
	border-bottom: 1px solid var(--line);
	white-space: nowrap;
}
.aeh-tbl thead th:first-child { text-align: left; padding-left: 0; }
.aeh-tbl thead th:last-child { padding-right: 0; }
.aeh-tbl tbody td {
	padding: 18px 14px;
	border-bottom: 1px solid var(--line);
	text-align: right;
	white-space: nowrap;
	font-size: 17px;
}
.aeh-tbl tbody td:first-child { text-align: left; padding-left: 0; }
.aeh-tbl tbody td:last-child { padding-right: 0; }
.aeh-tbl tbody tr { cursor: pointer; }
.aeh-tbl tbody tr:hover { background: var(--hover); }

.aeh-tbl__idx {
	display: inline-block;
	width: 26px;
	color: var(--ink-3);
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}
.aeh-tbl__name { font-weight: 600; letter-spacing: -.02em; font-size: 18px; }
.aeh-tbl tbody tr:hover .aeh-tbl__name { color: var(--accent); }

.aeh-tbtn {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 2px;
	font-size: 15px;
	font-weight: 600;
	transition: border-color .12s linear, color .12s linear;
}
.aeh-tbtn:hover { border-color: var(--accent); color: var(--accent); }
.aeh-tnote { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* Ценовые пары показываем только на узком экране. */
.aeh-c-price { display: none; }

/* ── Списки ссылок ────────────────────────────────────────── */
.aeh-two { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 80px; }
.aeh-ll a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 0;
	border-bottom: 1px solid var(--line);
}
.aeh-ll a:hover .aeh-ll__n { color: var(--accent); }
.aeh-ll__n { font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.aeh-ll__c { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.aeh-ll--2col { columns: 2; column-gap: 60px; }
.aeh-ll--2col a { break-inside: avoid; }
.aeh-ll a.aeh-is-cur .aeh-ll__n { color: var(--accent); }

/* ── Нижний текст ─────────────────────────────────────────── */
.aeh-seo { border-top: 1px solid var(--line); padding: 70px 0 90px; }
.aeh-seo__in { max-width: 74ch; }
.aeh-seo h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 18px; }
.aeh-seo h3 { font-size: 18px; font-weight: 600; margin: 26px 0 10px; }
.aeh-seo p { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.6; }
.aeh-seo p:last-child { margin-bottom: 0; }
.aeh-seo ul { margin: 0 0 14px; }
.aeh-seo li { font-size: 16px; color: var(--ink-2); line-height: 1.6; padding-left: 18px; position: relative; }
.aeh-seo li::before { content: "—"; position: absolute; left: 0; color: var(--ink-3); }
.aeh-seo a { border-bottom: 1px solid var(--line); }
.aeh-seo a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Вопросы ──────────────────────────────────────────────── */
.aeh-faq { padding: 0 0 90px; }
.aeh-faq__in { max-width: 74ch; }
.aeh-faq__i { border-bottom: 1px solid var(--line); }
.aeh-faq__i:first-of-type { border-top: 1px solid var(--line); }
.aeh-faq__i summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 28px 16px 0;
	font-size: 17px;
	font-weight: 500;
	position: relative;
}
.aeh-faq__i summary::-webkit-details-marker { display: none; }
.aeh-faq__i summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 14px;
	color: var(--ink-3);
	font-weight: 400;
}
.aeh-faq__i[open] summary::after { content: "–"; }
.aeh-faq__i summary:hover { color: var(--accent); }
.aeh-faq__a { padding: 0 28px 18px 0; font-size: 16px; color: var(--ink-2); line-height: 1.6; }

/* ── Карточка провайдера ──────────────────────────────────── */
.aeh-pv { padding: 46px 0 0; }
.aeh-pv h1 {
	font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.04;
	letter-spacing: -.035em;
	font-weight: 600;
}
.aeh-pv__sub { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 60ch; }

.aeh-nums {
	margin-top: 44px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--line);
}
.aeh-nums__i { padding: 26px 28px; border-right: 1px solid var(--line); }
.aeh-nums__i:last-child { border-right: 0; }
.aeh-nums__k {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--ink-3);
	font-weight: 500;
}
.aeh-nums__v {
	margin-top: 14px;
	font-size: 40px;
	line-height: 1;
	letter-spacing: -.04em;
	font-weight: 600;
	color: var(--accent);
}
.aeh-nums__v.aeh-off { color: #c9c9c9; }
.aeh-nums__u { margin-top: 8px; font-size: 14px; color: var(--ink-3); }

.aeh-pv__act { margin-top: 36px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.aeh-pv__note { font-size: 14px; color: var(--ink-3); }

.aeh-pv__body { margin-top: 80px; padding-bottom: 90px; }
.aeh-pv__in { max-width: 74ch; }

.aeh-spec { width: 100%; border-collapse: collapse; margin: 0 0 44px; }
.aeh-spec th, .aeh-spec td { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.aeh-spec th { text-align: left; font-weight: 400; color: var(--ink-2); }
.aeh-spec td { text-align: right; font-weight: 500; }
.aeh-spec tr:first-child th, .aeh-spec tr:first-child td { border-top: 1px solid var(--line); }

.aeh-prose h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 34px 0 14px; }
.aeh-prose h3 { font-size: 18px; font-weight: 600; margin: 26px 0 10px; }
.aeh-prose p { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin-bottom: 14px; }
.aeh-prose ul, .aeh-prose ol { margin: 0 0 14px; }
.aeh-prose li { font-size: 16px; color: var(--ink-2); line-height: 1.6; padding-left: 18px; position: relative; }
.aeh-prose li::before { content: "—"; position: absolute; left: 0; color: var(--ink-3); }
.aeh-prose a { border-bottom: 1px solid var(--line); }
.aeh-prose a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.aeh-prose b, .aeh-prose strong { color: var(--ink); font-weight: 600; }

/* ── Страницы и 404 ───────────────────────────────────────── */
.aeh-page { padding: 46px 0 90px; }
.aeh-page h1 {
	font-size: clamp(32px, 3.4vw, 46px);
	line-height: 1.05;
	letter-spacing: -.035em;
	font-weight: 600;
	margin-bottom: 24px;
}
.aeh-page__in { max-width: 74ch; }

.aeh-404 { padding: 110px 0 120px; }
.aeh-404 h1 {
	font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.04;
	letter-spacing: -.035em;
	font-weight: 600;
	max-width: 18ch;
}
.aeh-404__links { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.aeh-empty { padding: 40px 0 0; font-size: 16px; color: var(--ink-3); }

/* ── Подвал ───────────────────────────────────────────────── */
.aeh-ft { border-top: 1px solid var(--line); padding: 28px 0; }
.aeh-ft__in {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 14px;
	color: var(--ink-3);
}
.aeh-ft__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.aeh-ft__nav a:hover { color: var(--ink); }

/* ── Адаптив ──────────────────────────────────────────────── */
@media (max-width: 1000px) {
	.aeh-two { grid-template-columns: 1fr; gap: 56px; }
	.aeh-ll--2col { columns: 1; }
	.aeh-nums { grid-template-columns: repeat(2, 1fr); }
	.aeh-nums__i:nth-child(2) { border-right: 0; }
	.aeh-nums__i:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.aeh-wrap { padding: 0 20px; }
	.aeh-hd__in { height: 60px; }
	/* Меню в строку не помещается и тянет документ шире экрана.
	   Разрешаем перенос и прокрутку внутри самой навигации. */
	.aeh-hd__in { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 6px 16px; }
	.aeh-nav { width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.aeh-nav::-webkit-scrollbar { display: none; }
	.aeh-nav__list { gap: 16px; font-size: 14px; flex-wrap: nowrap; white-space: nowrap; }
	.aeh-nav__list .aeh-nav__sm { display: none; }

	.aeh-hero { padding: 40px 0 64px; }
	.aeh-hero--sub { padding: 30px 0 56px; }
	.aeh-hero h1, .aeh-hero--sub h1 { font-size: 34px; max-width: none; }

	.aeh-answers { grid-template-columns: 1fr; margin-top: 40px; }
	.aeh-answer { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 20px; }
	.aeh-answer:last-child { border-bottom: 0; }
	.aeh-answer__name { font-size: 28px; }
	.aeh-answer__v { font-size: 44px; }
	.aeh-answer__cta { width: 100%; }

	.aeh-hero__act { gap: 14px; }
	.aeh-btn { width: 100%; height: 54px; }

	.aeh-block { padding-bottom: 64px; }
	.aeh-h2 { font-size: 24px; }
	.aeh-bh { flex-direction: column; align-items: flex-start; gap: 6px; }

	.aeh-tbl thead { display: none; }
	.aeh-tbl tbody tr {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 4px 12px;
		padding: 18px 0;
		border-bottom: 1px solid var(--line);
	}
	.aeh-tbl tbody tr:hover { background: transparent; }
	.aeh-tbl tbody td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
	.aeh-tbl td.aeh-c-name { grid-column: 1; grid-row: 1; }
	.aeh-tbl td.aeh-c-geo { grid-column: 2; grid-row: 1; text-align: right; }
	.aeh-tbl tbody td.aeh-c-price {
		grid-column: 1 / -1;
		display: flex;
		gap: 22px;
		flex-wrap: wrap;
		font-size: 15px;
		color: var(--ink-2);
		margin-top: 6px;
	}
	.aeh-c-price .aeh-pi { display: flex; gap: 6px; }
	.aeh-c-price .aeh-pi b { font-weight: 600; color: var(--ink); }
	.aeh-tbl td.aeh-c-go { grid-column: 1 / -1; margin-top: 14px; }
	.aeh-tbl th.aeh-desk-price, .aeh-tbl td.aeh-desk-price { display: none; }
	.aeh-tbtn {
		width: 100%;
		justify-content: center;
		height: 46px;
		background: var(--ink);
		color: #fff;
		border-color: var(--ink);
	}
	.aeh-tbtn:hover { color: #fff; border-color: var(--ink); }

	.aeh-nums { grid-template-columns: 1fr; margin-top: 32px; }
	.aeh-nums__i { border-right: 0; border-bottom: 1px solid var(--line); }
	.aeh-nums__i:last-child { border-bottom: 0; }
	.aeh-pv__act .aeh-btn { width: 100%; }
	.aeh-pv__body { margin-top: 56px; padding-bottom: 64px; }

	.aeh-seo { padding: 48px 0 60px; }
	.aeh-faq { padding-bottom: 60px; }
	.aeh-404 { padding: 56px 0 72px; }
	.aeh-404__links { flex-direction: column; }
	.aeh-404__links .aeh-btn { width: 100%; }
}
