/* =============================================================
   BitMEX Otzyvy — main.css
   Тёмный editorial/fintech, без внешних шрифтов и зависимостей.
   ============================================================= */

:root {
	--bg:         #0c1117;
	--bg-2:       #11181f;
	--bg-3:       #161f29;
	--bg-card:    #18222d;
	--bg-elev:    #1c2733;
	--line:       #25323f;
	--line-soft:  #1e2832;
	--text:       #dde4ee;
	--text-soft:  #b0b9c5;
	--muted:      #7c8a9c;
	--muted-2:    #5a6776;
	--accent:     #5fb3a3;
	--accent-2:   #4a8ad6;
	--accent-3:   #c7a060;
	--positive:   #6fb083;
	--neutral:    #8593a4;
	--negative:   #c47272;
	--warn:       #d48a4a;
	--shadow:     0 14px 32px -18px rgba(0, 0, 0, .6);

	--maxw:       1180px;
	--radius:     6px;
	--radius-lg:  10px;

	--font:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--accent-2); color: #fff; }

h1, h2, h3, h4 { color: var(--text); font-weight: 600; line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; color: var(--text-soft); }

button { font-family: inherit; cursor: pointer; }

/* ---------- skip link ---------- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: -9999px;
	background: var(--accent);
	color: #0b0f14;
	padding: 10px 16px;
	font-weight: 600;
	border-radius: 4px;
	z-index: 999;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
}

/* ---------- контейнер ---------- */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 22px;
}

/* ---------- кнопки ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 22px;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: .95rem;
	line-height: 1;
	border: 1px solid transparent;
	transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
	letter-spacing: .01em;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
	background: var(--accent);
	color: #0b0f14;
}
.btn--primary:hover { background: #74c4b5; color: #0b0f14; }
.btn--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(12, 17, 23, .88);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 66px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}
.brand .custom-logo {
	max-height: 44px;
	width: auto;
	height: auto;
	display: block;
}
.brand--footer .custom-logo { max-height: 36px; }
.brand__link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--text);
	font-weight: 700;
	letter-spacing: .01em;
}
.brand__mark {
	display: inline-block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--accent);
	font-size: 0;
}
.brand__name { font-size: 1.02rem; }
.brand__dot { color: var(--muted); font-weight: 500; }
.brand__tag {
	display: inline-flex;
	align-items: center;
	font-size: .82rem;
	color: var(--muted);
	padding: 0;
	border: 0;
	letter-spacing: 0;
}
.brand__tag::before {
	content: "·";
	margin: 0 6px 0 4px;
	color: var(--muted-2);
}

/* меню */
.site-nav__list {
	display: flex;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__list a {
	color: var(--text-soft);
	font-size: .92rem;
	font-weight: 500;
	padding: 6px 0;
	border-bottom: 1px solid transparent;
}
.site-nav__list a:hover { color: var(--text); border-bottom-color: var(--accent); }

/* main */
.site-main { display: block; }

/* секции — общая шапка */
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--inline { margin-bottom: 22px; }
.section-eyebrow {
	margin: 0 0 10px;
	font-size: .88rem;
	color: var(--accent);
	font-weight: 500;
}
.section-title {
	margin: 0 0 14px;
	font-weight: 600;
	letter-spacing: -.01em;
}
.section-lead { color: var(--text-soft); font-size: 1.04rem; margin: 0; line-height: 1.65; }

/* ---------- HERO ---------- */
.hero {
	position: relative;
	padding: 56px 0 70px;
	border-bottom: 1px solid var(--line-soft);
	background:
		radial-gradient(800px 320px at 80% -60px, rgba(74, 138, 214, .14), transparent 60%),
		radial-gradient(700px 260px at 0% 110%, rgba(95, 179, 163, .08), transparent 60%),
		var(--bg);
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--line-soft) 1px, transparent 1px),
		linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(circle at 60% 40%, black 0%, transparent 70%);
	opacity: .35;
	pointer-events: none;
}
.hero__inner {
	position: relative;
	display: block;
}

.crumbs { margin-bottom: 16px; font-size: .82rem; color: var(--muted); }
.crumbs__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs__list a { color: var(--muted); }
.crumbs__list a:hover { color: var(--text); }
.crumbs__list li[aria-current="page"] { color: var(--text-soft); }

.hero__meta {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: .92rem;
}

.hero__title { margin-bottom: 22px; max-width: 880px; }
.hero__lead {
	max-width: 660px;
	font-size: 1.1rem;
	color: var(--text-soft);
	margin-bottom: 28px;
	line-height: 1.7;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }

/* hero rating */
.hero__rating {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	margin-top: 32px;
	padding: 14px 20px;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	max-width: 480px;
}
.hero__rating-value {
	font-size: 2.1rem;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
	letter-spacing: -.02em;
}
.hero__rating-value span { color: var(--muted); font-size: 1rem; margin-left: 2px; font-weight: 500; }
.hero__rating-meta p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }

/* ---------- ARTICLE / SEO ---------- */
.article { padding: 80px 0; border-bottom: 1px solid var(--line-soft); }
.article__layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}
.article__aside {
	position: sticky;
	top: 130px;
	padding: 20px;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.article__aside-label {
	margin: 0 0 12px;
	font-size: .92rem;
	color: var(--text);
	font-weight: 600;
}
.article__toc {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: toc;
	font-size: .9rem;
}
.article__toc li { counter-increment: toc; padding: 4px 0; }
.article__toc a {
	color: var(--text-soft);
	display: flex;
	gap: 10px;
	line-height: 1.4;
	padding: 4px 0;
}
.article__toc a::before {
	content: counter(toc) ".";
	color: var(--muted-2);
	font-size: .9rem;
	min-width: 20px;
}
.article__toc a:hover { color: var(--accent); }

.article__body { max-width: 760px; }
.article__body h3 {
	margin-top: 36px;
	margin-bottom: 12px;
	color: var(--text);
	letter-spacing: -.005em;
	position: relative;
	padding-left: 14px;
}
.article__body h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	bottom: .3em;
	width: 3px;
	background: var(--accent);
	border-radius: 2px;
}
.article__body p { color: var(--text-soft); }
.article__body p + p { margin-top: 0; }

.article__disclaimer {
	margin-top: 36px;
	padding: 16px 18px;
	border-left: 3px solid var(--warn);
	background: rgba(212, 138, 74, .07);
	color: var(--text-soft);
	font-size: .94rem;
	border-radius: 0 var(--radius) var(--radius) 0;
}
.article__disclaimer strong { color: var(--warn); margin-right: 4px; }

/* ---------- SHOT PLACEHOLDER (место под скриншот BitMEX) ---------- */
.shot-figure {
	margin: 28px 0 32px;
	padding: 0;
}
.shot-figure img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius);
	border: 1px solid var(--line);
}
.shot-placeholder {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 8px;
	min-height: 220px;
	padding: 32px 24px;
	background:
		repeating-linear-gradient(
			135deg,
			rgba(95, 179, 163, .04) 0,
			rgba(95, 179, 163, .04) 10px,
			transparent 10px,
			transparent 20px
		),
		var(--bg-2);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--text-soft);
	text-align: center;
}
.shot-placeholder__label {
	display: inline-block;
	font-family: var(--mono);
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: 99px;
	background: var(--bg-3);
}
.shot-placeholder__title {
	font-size: 1.02rem;
	color: var(--text);
	font-weight: 600;
	margin-top: 4px;
}
.shot-placeholder__hint {
	font-size: .85rem;
	color: var(--muted);
	max-width: 420px;
}
.shot-figure figcaption {
	margin-top: 10px;
	font-size: .86rem;
	color: var(--muted);
	line-height: 1.55;
	font-style: italic;
}

/* ---------- PROS / CONS ---------- */
.proscons { padding: 80px 0; border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.proscons__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 18px;
}
.pc-card {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 26px 26px 28px;
	position: relative;
}
.pc-card--pro { border-top: 3px solid var(--positive); }
.pc-card--con { border-top: 3px solid var(--negative); }
.pc-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px dashed var(--line);
}
.pc-card__sign {
	width: 34px; height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: 700;
	color: #0b0f14;
}
.pc-card--pro .pc-card__sign { background: var(--positive); }
.pc-card--con .pc-card__sign { background: var(--negative); color: #fff; }
.pc-card__title { margin: 0; font-size: 1.1rem; }
.pc-list { list-style: none; margin: 0; padding: 0; counter-reset: pc; }
.pc-list li {
	counter-increment: pc;
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 10px;
	padding: 14px 0;
	border-top: 1px solid var(--line-soft);
}
.pc-list li:first-child { border-top: 0; padding-top: 0; }
.pc-list li::before {
	content: counter(pc, decimal-leading-zero);
	font-family: var(--mono);
	font-size: .78rem;
	color: var(--muted);
	letter-spacing: .1em;
	padding-top: 4px;
}
.pc-list h4 { margin: 0 0 4px; font-size: 1rem; color: var(--text); }
.pc-list p { margin: 0; color: var(--text-soft); font-size: .94rem; }

/* плоский, практический список плюсов/минусов */
.pc-flat {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pc-flat li {
	position: relative;
	padding: 12px 0 12px 28px;
	border-top: 1px solid var(--line-soft);
	color: var(--text-soft);
	font-size: .96rem;
	line-height: 1.55;
}
.pc-flat li:first-child { border-top: 0; padding-top: 4px; }
.pc-flat li:last-child { padding-bottom: 4px; }
.pc-flat li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 19px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
}
.pc-card--pro .pc-flat li::before { background: var(--positive); box-shadow: 0 0 0 3px rgba(111, 176, 131, .15); }
.pc-card--con .pc-flat li::before { background: var(--negative); box-shadow: 0 0 0 3px rgba(196, 114, 114, .15); }

/* ---------- REVIEWS ---------- */
.reviews { padding: 80px 0; border-bottom: 1px solid var(--line-soft); }
.section-head--reviews {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	max-width: none;
}
.reviews__avg {
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 20px;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	min-width: 240px;
}
.reviews__avg-value {
	font-size: 2rem;
	color: var(--accent);
	line-height: 1;
	font-weight: 700;
	letter-spacing: -.02em;
}
.reviews__avg-value span { color: var(--muted); font-size: 1rem; font-weight: 500; }
.reviews__avg-note { margin: 0; color: var(--muted); font-size: .84rem; }

.reviews__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .reviews__list { grid-template-columns: 1fr; } }

.review__card {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 22px 22px 24px;
	position: relative;
	transition: border-color .15s ease, transform .15s ease;
}
.review__card:hover { border-color: var(--accent); transform: translateY(-2px); }
.review__card::before {
	content: "";
	position: absolute;
	left: 0; top: 22px; bottom: 22px;
	width: 3px;
	background: var(--muted-2);
	border-radius: 0 3px 3px 0;
}
.review__card--positive::before { background: var(--positive); }
.review__card--negative::before { background: var(--negative); }
.review__card--neutral::before  { background: var(--neutral); }

.review__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
}
.review__author { display: flex; gap: 12px; align-items: center; }
.review__avatar {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--bg-elev);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-weight: 700;
	border: 1px solid var(--line);
	text-transform: uppercase;
}
.review__name { margin: 0; font-weight: 600; color: var(--text); font-size: .98rem; }
.review__exp { margin: 2px 0 0; color: var(--muted); font-size: .8rem; }

.review__meta { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.review__rating { display: inline-flex; align-items: center; gap: 8px; }
.review__rating-value { font-size: .85rem; color: var(--text-soft); font-weight: 600; }
.review__date { font-size: .82rem; color: var(--muted); }

.review__title { margin: 0 0 10px; font-size: 1.05rem; }
.review__body { color: var(--text-soft); font-size: .95rem; }
.review__body p { margin: 0 0 .7em; }
.review__body p:last-child { margin-bottom: 0; }

.review__sentiment {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: .82rem;
}
.review__sentiment--positive { background: rgba(111, 176, 131, .1); color: var(--positive); }
.review__sentiment--negative { background: rgba(196, 114, 114, .1); color: var(--negative); }
.review__sentiment--neutral  { background: rgba(133, 147, 164, .12); color: var(--neutral); }

/* stars */
.rev-stars { display: inline-flex; gap: 2px; letter-spacing: 0; }
.rev-star { font-size: 1rem; line-height: 1; }
.rev-star--on { color: var(--accent-3); }
.rev-star--off { color: var(--line); }

/* empty state */
.reviews__empty {
	text-align: center;
	padding: 44px 24px;
	border: 1px dashed var(--line);
	border-radius: var(--radius-lg);
	background: var(--bg-2);
	color: var(--text-soft);
}
.reviews__empty-title { font-size: 1.1rem; color: var(--text); margin: 0 0 6px; }
.reviews__empty-text { margin: 0; color: var(--muted); }

/* ---------- SUBMIT REVIEW FORM ---------- */
.submit-review {
	padding: 80px 0;
	border-bottom: 1px solid var(--line-soft);
	background: var(--bg-2);
}
.review-form {
	max-width: 880px;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 32px 34px 34px;
	margin: 0;
}
.review-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
	margin-bottom: 18px;
}
.review-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: 0;
	padding: 0;
	margin: 0 0 16px;
}
.review-form__label {
	font-size: .86rem;
	color: var(--text);
	font-weight: 600;
	letter-spacing: .01em;
}
.review-form__label em {
	color: var(--negative);
	font-style: normal;
	margin-left: 2px;
}
.review-form input[type="text"],
.review-form input[type="email"],
.review-form select,
.review-form textarea {
	width: 100%;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text);
	font-family: inherit;
	font-size: .96rem;
	padding: 11px 13px;
	line-height: 1.5;
	transition: border-color .15s ease, background .15s ease;
}
.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--bg-3);
}
.review-form textarea {
	resize: vertical;
	min-height: 150px;
}
.review-form__hint {
	color: var(--muted);
	font-size: .82rem;
	margin-top: 4px;
}

/* honeypot — скрыто и от пользователя, и от ассистивов */
.review-form__hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* звёзды-радио */
.review-form__rating-stars {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 4px;
	padding: 4px 0;
}
.review-form__rating-stars input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.review-form__rating-stars label {
	font-size: 1.7rem;
	color: var(--line);
	cursor: pointer;
	line-height: 1;
	transition: color .15s ease, transform .12s ease;
	user-select: none;
}
.review-form__rating-stars label:hover,
.review-form__rating-stars label:hover ~ label,
.review-form__rating-stars input:checked ~ label {
	color: var(--accent-3);
}
.review-form__rating-stars label:hover { transform: scale(1.08); }
.review-form__rating-stars input:focus-visible + label {
	outline: 2px solid var(--accent-2);
	outline-offset: 2px;
	border-radius: 2px;
}

/* согласие */
.review-form__consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 6px 0 22px;
	padding: 14px 16px;
	background: var(--bg-2);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--text-soft);
	font-size: .9rem;
	line-height: 1.55;
}
.review-form__consent input[type="checkbox"] {
	margin-top: 3px;
	width: 16px;
	height: 16px;
	accent-color: var(--accent);
	flex-shrink: 0;
}
.review-form__consent a {
	color: var(--accent-2);
	border-bottom: 1px dashed rgba(74, 138, 214, .4);
}
.review-form__consent a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.review-form__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	padding-top: 18px;
	border-top: 1px solid var(--line-soft);
}
.review-form__note {
	margin: 0;
	color: var(--muted);
	font-size: .85rem;
	max-width: 520px;
}

/* alert */
.review-form__alert {
	max-width: 880px;
	margin: 0 0 22px;
	padding: 14px 18px;
	border-radius: var(--radius);
	font-size: .96rem;
	border-left: 3px solid var(--neutral);
	background: rgba(133, 147, 164, .08);
	color: var(--text-soft);
}
.review-form__alert--success {
	border-left-color: var(--positive);
	background: rgba(111, 176, 131, .1);
	color: var(--text);
}
.review-form__alert--error {
	border-left-color: var(--negative);
	background: rgba(196, 114, 114, .1);
	color: var(--text);
}

/* ---------- FAQ ---------- */
.faq { padding: 80px 0; border-bottom: 1px solid var(--line-soft); }
.faq__list { max-width: 820px; }
.faq__item {
	border-top: 1px solid var(--line-soft);
}
.faq__item:last-child { border-bottom: 1px solid var(--line-soft); }
.faq__q {
	width: 100%;
	display: grid;
	grid-template-columns: 60px 1fr 28px;
	align-items: center;
	gap: 12px;
	padding: 20px 0;
	background: transparent;
	border: 0;
	color: var(--text);
	text-align: left;
	font-size: 1.04rem;
	font-weight: 500;
}
.faq__q:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.faq__q-num { color: var(--muted); font-size: .92rem; font-weight: 600; }
.faq__q-text { color: var(--text); }
.faq__q-icon {
	width: 28px; height: 28px;
	border: 1px solid var(--line);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-weight: 600;
	transition: transform .2s ease, background .2s ease;
	justify-self: end;
}
.faq__q[aria-expanded="true"] .faq__q-icon { transform: rotate(45deg); background: var(--bg-3); }
.faq__a { padding: 0 0 22px 72px; color: var(--text-soft); }
.faq__a p { margin: 0; }

/* ---------- VERDICT ---------- */
.verdict { padding: 90px 0 110px; }
.verdict__inner { max-width: 920px; margin: 0 auto; text-align: left; }
.verdict__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin-bottom: 36px;
}
.verdict-card {
	padding: 26px;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	border-top: 3px solid var(--accent);
}
.verdict-card--alt { border-top-color: var(--accent-2); }
.verdict-card h3 { margin: 0 0 8px; }
.verdict-card p { margin: 0; color: var(--text-soft); }
.verdict__cta {
	margin-top: 8px;
	padding: 24px 26px;
	background: var(--bg-2);
	border: 1px dashed var(--line);
	border-radius: var(--radius-lg);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.verdict__cta p { margin: 0; color: var(--text-soft); max-width: 560px; }

/* ---------- generic / 404 / search ---------- */
.generic, .error404 { padding: 70px 0 100px; }
.generic__list { list-style: none; padding: 0; margin: 0; }
.generic__item { padding: 22px 0; border-top: 1px solid var(--line-soft); }
.generic__item-title { margin: 0 0 6px; font-size: 1.2rem; }
.generic__item-excerpt p { margin: 0; color: var(--text-soft); }
.generic__empty { color: var(--muted); }

.error404__code {
	font-family: var(--mono);
	color: var(--accent);
	font-size: 5rem;
	margin: 0 0 6px;
	letter-spacing: -.04em;
	line-height: 1;
}
.error404__title { margin: 0 0 12px; }
.error404__lead { max-width: 580px; color: var(--text-soft); }
.error404__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 32px; }
.error404__links {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 0;
	margin: 0;
}
.error404__links a {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 4px;
	color: var(--text-soft);
	font-size: .9rem;
}
.error404__links a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); margin-top: 0; }
.site-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.4fr;
	gap: 36px;
	padding: 60px 0 40px;
}
.brand--footer { margin-bottom: 18px; }
.site-footer__about { color: var(--muted); font-size: .87rem; margin: 0; max-width: 360px; line-height: 1.6; }
.site-footer__title {
	margin: 0 0 14px;
	font-size: .95rem;
	color: var(--text);
	font-weight: 600;
}
.site-footer__nav { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li { margin-bottom: 6px; }
.site-footer__nav a { color: var(--text-soft); font-size: .94rem; }
.site-footer__nav a:hover { color: var(--accent); }
.site-footer__risk { color: var(--muted); font-size: .84rem; margin: 0; line-height: 1.6; max-width: 380px; }
.site-footer__bottom {
	border-top: 1px solid var(--line-soft);
	padding: 18px 0;
}
.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
}
.site-footer__copy { margin: 0; color: var(--muted); font-size: .82rem; }
.site-footer__top {
	color: var(--muted);
	font-size: .85rem;
	display: inline-flex;
	gap: 6px;
	align-items: center;
}
.site-footer__top:hover { color: var(--accent); }

/* ---------- PAGE (EEAT) ---------- */
.page-hero {
	position: relative;
	padding: 48px 0 30px;
	border-bottom: 1px solid var(--line-soft);
	background:
		radial-gradient(700px 280px at 80% -40px, rgba(74, 138, 214, .10), transparent 60%),
		var(--bg);
}
.page-hero__eyebrow {
	margin: 0 0 12px;
	color: var(--muted);
	font-size: .92rem;
}
.page-hero__title {
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	margin: 0 0 14px;
	max-width: 820px;
}
.page-hero__lead {
	max-width: 720px;
	color: var(--text-soft);
	font-size: 1.02rem;
	margin: 0;
}

.page-section { padding: 50px 0 80px; }
.page-section__layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.page-aside {
	position: sticky;
	top: 90px;
	padding: 20px;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.page-aside__label {
	margin: 0 0 14px;
	font-size: .92rem;
	color: var(--text);
	font-weight: 600;
}
.page-aside__list { list-style: none; margin: 0 0 18px; padding: 0; font-size: .94rem; }
.page-aside__list li { padding: 5px 0; }
.page-aside__list a {
	display: block;
	padding: 6px 10px;
	border-radius: 4px;
	color: var(--text-soft);
	border-left: 2px solid transparent;
}
.page-aside__list a:hover {
	background: var(--bg-3);
	color: var(--text);
	border-left-color: var(--line);
}
.page-aside__list a.is-current {
	background: var(--bg-3);
	color: var(--accent);
	border-left-color: var(--accent);
	font-weight: 600;
}
.page-aside__back { margin: 0; font-size: .86rem; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.page-aside__back a { color: var(--muted); }
.page-aside__back a:hover { color: var(--accent); }

.page-article {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 34px 38px 28px;
	max-width: 820px;
}
.page-article__body { color: var(--text-soft); font-size: 1rem; line-height: 1.7; }
.page-article__body h2 {
	margin: 28px 0 12px;
	font-size: 1.35rem;
	color: var(--text);
	letter-spacing: -.005em;
	padding-left: 14px;
	position: relative;
}
.page-article__body h2:first-child { margin-top: 0; }
.page-article__body h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	bottom: .3em;
	width: 3px;
	background: var(--accent);
	border-radius: 2px;
}
.page-article__body h3 {
	margin: 22px 0 10px;
	font-size: 1.1rem;
	color: var(--text);
}
.page-article__body p { margin: 0 0 1em; color: var(--text-soft); }
.page-article__body ul, .page-article__body ol { margin: 0 0 1em; padding-left: 22px; color: var(--text-soft); }
.page-article__body li { margin-bottom: 6px; line-height: 1.65; }
.page-article__body a { color: var(--accent-2); border-bottom: 1px dashed rgba(74, 138, 214, .4); }
.page-article__body a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.page-article__body strong { color: var(--text); }

.page-article__meta {
	margin-top: 30px;
	padding-top: 18px;
	border-top: 1px dashed var(--line);
	color: var(--muted);
	font-size: .85rem;
}
.page-article__meta p { margin: 0; color: var(--muted); }

/* footer risk cta */
.site-footer__risk-cta { margin: 10px 0 0; font-size: .88rem; }
.site-footer__risk-cta a { color: var(--accent); }
.site-footer__risk-cta a:hover { color: var(--text); }

/* ---------- pagination ---------- */
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination a, .pagination .current {
	display: inline-flex;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 4px;
	color: var(--text-soft);
	font-size: .9rem;
}
.pagination .current { background: var(--bg-3); color: var(--accent); }

/* ---------- адаптивность ---------- */
@media (max-width: 1024px) {
	.article__layout { grid-template-columns: 1fr; }
	.article__aside { position: static; }
	.page-section__layout { grid-template-columns: 1fr; gap: 28px; }
	.page-aside { position: static; }
	.page-article { padding: 28px 24px 24px; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	.site-nav { display: none; }
	.brand__tag { display: none; }
	.hero { padding: 40px 0 50px; }
	.hero__title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
	.article, .proscons, .reviews, .faq, .verdict, .submit-review { padding: 56px 0; }
	.review-form { padding: 22px 18px 24px; }
	.review-form__grid { grid-template-columns: 1fr; }
	.section-head { margin-bottom: 28px; }
	.review__head { flex-direction: column; gap: 8px; }
	.review__meta { align-items: flex-start; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 24px; }
	.faq__q { grid-template-columns: 44px 1fr 26px; padding: 16px 0; font-size: .98rem; }
	.faq__a { padding-left: 56px; }
	.article__body h3 { padding-left: 12px; }
	.page-hero { padding: 32px 0 22px; }
	.page-section { padding: 32px 0 60px; }
	.page-article { padding: 22px 18px 22px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
