/* ============================================================
   Тик Ток Мод — Главная. Вёрстка из Pencil (n6zk9 / Ge1ee).
   Mobile-first, брейкпоинт desktop 1024px.
   ============================================================ */

:root {
  /* Цвета (из токенов .pen) */
  --bg: #0E0E12;
  --surface: #1A1A22;
  --surface2: #232330;
  --border: #2C2C38;
  --text: #F2F2F5;
  --muted: #A0A0AE;
  --accent: #FE2C55;
  --accent2: #25F4EE;
  --ok: #3DDC84;
  --star: #F5A524;
  --on-accent: #FFFFFF;

  --grad: linear-gradient(-135deg, #FE2C55 14.645%, #25F4EE 85.355%);
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Раскладка */
  --content-max: 390px;   /* mobile ширина макета */
  --pad-x: 16px;          /* боковые паддинги секций (mobile) */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

/* ---------- Иконки (спрайт) ---------- */
.icon {
  display: inline-block;
  width: 20px; height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Обёртка страницы */
.page { width: 100%; overflow-x: hidden; }

/* Центрирующий контейнер секции (mobile = вся ширина с паддингами) */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ============================================================
   Переиспользуемые компоненты
   ============================================================ */

/* --- Чип (INNIg) --- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.chip--outline { background: var(--surface2); border-color: var(--accent2); color: var(--accent2); }
.chip--ok { color: var(--ok); }
.chip--cyan { color: var(--accent2); }

/* --- Кнопка скачивания (V9ffr) --- */
.download { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.download__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 56px; padding: 0 16px;
  background: var(--accent); border-radius: 12px;
  color: var(--on-accent); font-size: 17px; font-weight: 700; line-height: 1;
}
.download__btn .icon { width: 22px; height: 22px; }
.download__trust { color: var(--muted); font-size: 13px; line-height: 1; }

/* --- Карточка платформы (v1dMG) --- */
.platform {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
}
.platform__icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--surface2); border-radius: 12px; color: var(--accent2);
}
.platform__icon .icon { width: 26px; height: 26px; }
.platform__text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.platform__title { font-size: 17px; font-weight: 700; }
.platform__desc { color: var(--muted); font-size: 14px; line-height: 1.35; }
.platform__arrow { color: var(--muted); }
.platform__arrow .icon { width: 22px; height: 22px; }

/* --- FAQ (Emsup) — аккордеон на <details> --- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq {
  overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.faq__q {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  font-size: 16px; font-weight: 600; line-height: 1.35; list-style: none; cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__qt { flex: 1; min-width: 0; }
.faq__q .icon { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.faq__a { padding: 0 16px 14px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.faq[open] .faq__plus { display: none; }
.faq:not([open]) .faq__minus { display: none; }

/* --- Отзыв (sIXGq) --- */
.review {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; padding: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
}
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--surface2); border-radius: 999px;
  color: var(--accent2); font-size: 16px; font-weight: 700;
}
.review__meta { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.review__name { font-size: 15px; font-weight: 600; }
.review__stars { display: flex; gap: 2px; color: var(--star); }
.review__stars .icon { width: 14px; height: 14px; }
.review__text { color: var(--muted); font-size: 15px; line-height: 1.45; }

.icon--sm { width: 17px; height: 17px; }

/* ============================================================
   1. Шапка
   ============================================================ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.logo { display: flex; align-items: center; gap: 9px; }
.logo__mark { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); }
.logo__brand { font-size: 16px; font-weight: 700; }
.site-header__burger { display: flex; color: var(--text); }
.site-header__burger .icon { width: 26px; height: 26px; }
/* desktop-элементы шапки скрыты на mobile */
.site-header__menu, .site-header__cta { display: none; }

/* единая шапка внутренних страниц (2026-10-09): одна адаптивная разметка вместо пары hero--mobile + hero-d.
   Мобильные размеры здесь, десктоп — в @media (min-width: 1024px) ниже */
.hero-d__inner { display: flex; flex-direction: column; gap: 20px; padding-block: 24px 22px; }
.hero-d__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hero-d__kicker { color: var(--accent2); font-size: 13px; font-weight: 700; }
.hero-d__title { font-size: 25px; font-weight: 700; line-height: 1.2; }
.hero-d__desc { color: var(--muted); font-size: 15px; line-height: 1.5; }
.hero-d__badges { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   2. Первый экран (герой)
   ============================================================ */
.hero__inner { display: flex; flex-direction: column; gap: 16px; padding-block: 24px 22px; }

.hero__lockup { display: flex; align-items: center; gap: 14px; }
.hero__app-icon {
  display: flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; flex-shrink: 0;
  background: var(--grad); border-radius: 16px; color: #fff;
}
.hero__app-icon .icon { width: 30px; height: 30px; }
.hero__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hero__kicker { color: var(--accent2); font-size: 13px; font-weight: 700; }
.hero__title { font-size: 25px; font-weight: 700; line-height: 1.2; }

.hero__badges { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hero__badge-row { display: flex; gap: 8px; flex-wrap: wrap; }

.hero__ios-note {
  display: flex; align-items: center; gap: 8px; padding: 11px 13px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
}
.hero__ios-i { color: var(--muted); }
.hero__ios-text { flex: 1; color: var(--accent2); font-size: 13px; font-weight: 500; min-width: 0; }
.hero__ios-arr { color: var(--accent2); }

.hero__trust { display: flex; align-items: center; gap: 8px; }
.hero__trust-i { width: 18px; height: 18px; color: var(--ok); }
.hero__trust span { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* ============================================================
   Общие секции
   ============================================================ */
.section { display: flex; flex-direction: column; gap: 16px; padding-block: 24px; }
.h2 { font-size: 21px; font-weight: 700; line-height: 1.25; }

.section--lead { padding-block: 4px 22px; }
.lead { font-size: 16px; line-height: 1.6; color: var(--text); }

/* Утилиты цвета */
.ok { color: var(--ok); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* Основная область: mobile — стопка, desktop — сайдбар + контент */
.layout { display: block; }
.main { display: block; }

/* ============================================================
   Оглавление (Содержание)
   ============================================================ */
.toc-wrap { padding-block: 24px; }
.toc-title { margin-bottom: 16px; }
.toc {
  overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
}
.toc li a {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
}
.toc li + li { border-top: 1px solid var(--border); }
.toc__num { color: var(--accent2); font-size: 13px; font-weight: 700; flex-shrink: 0; }
.toc__lbl { flex: 1; font-size: 15px; min-width: 0; }
.toc__chev { width: 18px; height: 18px; color: var(--muted); }

/* ============================================================
   Сравнительная таблица «Что даёт»
   ============================================================ */
.ctable {
  overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
}
.ctable__row { display: flex; align-items: center; gap: 8px; padding: 12px 14px; }
.ctable__row--head { background: var(--surface2); }
.ctable__row + .ctable__row { border-top: 1px solid var(--border); }
.ctable__feat { flex: 1; min-width: 0; font-size: 14px; color: var(--text); }
.ctable__row--head .ctable__feat { color: var(--muted); font-size: 12px; font-weight: 700; }
.ctable__col {
  width: 78px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; text-align: center; font-size: 12px;
}
.ctable__row--head .ctable__col { color: var(--muted); font-weight: 700; }
.ctable__i { width: 18px; height: 18px; }

/* ============================================================
   Список карточек платформ
   ============================================================ */
.platform-list { display: flex; flex-direction: column; gap: 12px; }

/* ============================================================
   Версии
   ============================================================ */
.versions { display: flex; flex-direction: column; gap: 10px; }
.vcard {
  display: flex; flex-direction: column; gap: 8px; padding: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.vcard--current { border-color: var(--accent2); border-width: 1.5px; }
.vcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vcard__left { display: flex; align-items: center; gap: 8px; }
.vcard__v { color: var(--accent2); font-size: 17px; font-weight: 700; }
.vcard__badge {
  background: var(--accent2); color: var(--bg); border-radius: 999px;
  padding: 3px 8px; font-size: 11px; font-weight: 700;
}
.vcard__size { color: var(--muted); font-size: 13px; }
.vcard__meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.vcard__cal { width: 14px; height: 14px; }
.vcard__note { color: var(--text); font-size: 14px; line-height: 1.4; }
.vcard__dl { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 14px; font-weight: 600; }
.vcard__dl .icon { width: 16px; height: 16px; }
.all-versions {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; background: var(--surface2); border: 1px solid var(--border); border-radius: 12px;
  color: var(--accent2); font-size: 15px; font-weight: 600;
}
.all-versions .icon { width: 18px; height: 18px; }

/* ============================================================
   Шаги установки
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; gap: 14px; }
.step__num {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--surface2); border: 1px solid var(--accent2); border-radius: 999px;
  color: var(--accent2); font-size: 14px; font-weight: 700;
}
.step__col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.step__t { font-size: 15px; font-weight: 600; }
.step__d { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ============================================================
   Характеристики (spec table)
   ============================================================ */
.specs { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.specs__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; }
.specs__row + .specs__row { border-top: 1px solid var(--border); }
.specs dt { color: var(--muted); font-size: 14px; flex-shrink: 0; }
.specs dd { flex: 1; color: var(--text); font-size: 14px; font-weight: 600; text-align: right; }

/* Доп. утилиты цвета иконок */
.gold { color: var(--star); }
.cyan { color: var(--accent2); }

.lead2 { font-size: 15px; line-height: 1.55; color: var(--text); }

/* ============================================================
   Скриншоты (горизонтальная лента)
   ============================================================ */
.shots { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.shots__strip { display: flex; gap: 12px; width: max-content; }
.shot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; width: 150px; height: 300px; flex-shrink: 0; padding: 12px; text-align: center;
  background: var(--surface2); border: 1px solid var(--border); border-radius: 16px;
}
.shot .icon { width: 30px; height: 30px; color: var(--muted); }
.shot__c { color: var(--muted); font-size: 13px; }
.shots-hint { color: var(--muted); font-size: 13px; }

/* ============================================================
   Инфо-карточка (иконка + заголовок + описание)
   ============================================================ */
.info-cards { display: flex; flex-direction: column; gap: 12px; }
.info-card {
  display: flex; gap: 14px; padding: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
}
.info-card__ib {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--surface2); border-radius: 10px;
}
.info-card__ib .icon { width: 22px; height: 22px; }
.info-card__col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.info-card__t { font-size: 16px; font-weight: 600; }
.info-card__d { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Ссылка-кнопка */
.link-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px;
  background: var(--surface2); border: 1px solid var(--border); border-radius: 12px;
  color: var(--accent2); font-size: 15px; font-weight: 600;
}
.link-btn .icon { width: 18px; height: 18px; }

/* ============================================================
   Отзывы: рейтинг + распределение
   ============================================================ */
.rating {
  display: flex; align-items: center; gap: 18px; padding: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
}
.rating__score { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; flex-shrink: 0; }
.rating__num { color: var(--accent2); font-size: 42px; font-weight: 700; line-height: 1; }
.rating__stars { display: flex; gap: 2px; color: var(--star); }
.rating__stars .icon { width: 15px; height: 15px; }
.rating__cnt { color: var(--muted); font-size: 12px; }
.rating__dist { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bar { display: flex; align-items: center; gap: 8px; }
.bar__l { color: var(--muted); font-size: 12px; width: 8px; text-align: center; flex-shrink: 0; }
.bar__track { flex: 1; height: 7px; background: var(--surface2); border-radius: 4px; overflow: hidden; min-width: 0; }
.bar__fill { display: block; height: 7px; background: var(--accent2); border-radius: 4px; }
.bar__p { color: var(--muted); font-size: 11px; width: 32px; text-align: right; flex-shrink: 0; }

.reviews { display: flex; flex-direction: column; gap: 12px; }
.reviews-disc { color: var(--muted); font-size: 12px; }

/* ============================================================
   Телеграм
   ============================================================ */
.tg-card {
  display: flex; align-items: center; gap: 14px; padding: 18px;
  background: var(--surface); border: 1px solid var(--accent2); border-radius: 16px;
}
.tg-card__ib {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0; background: #0F2E30; border-radius: 12px;
}
.tg-card__ib .icon { width: 26px; height: 26px; }
.tg-card__col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tg-card__t { font-size: 16px; font-weight: 700; }
.tg-card__d { color: var(--muted); font-size: 14px; line-height: 1.4; }
.tg-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px;
  background: var(--accent2); border-radius: 12px; color: var(--bg); font-size: 15px; font-weight: 700;
}
.tg-btn .icon { width: 19px; height: 19px; }

/* ============================================================
   Подвал
   ============================================================ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); }
.site-footer__inner { display: flex; flex-direction: column; gap: 16px; padding-block: 28px 32px; }
.logo__mark--sm { width: 26px; height: 26px; border-radius: 7px; }
.site-footer__row { display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__disc { color: var(--muted); font-size: 13px; line-height: 1.5; }
.site-footer__cols { display: flex; flex-direction: column; gap: 16px; }
.fcol { display: flex; flex-wrap: wrap; gap: 18px; }
.fcol__h { display: none; }
.fcol a { font-size: 14px; color: var(--accent2); font-weight: 500; }
.fcol--legal a { color: var(--muted); font-size: 13px; font-weight: 400; }
.site-footer__divider { display: none; height: 1px; background: var(--border); }
.site-footer__cc { color: var(--muted); font-size: 13px; }

/* ============================================================
   DESKTOP  (≥ 1024px)
   ============================================================ */

/* --- dlcard mobile base (карточка скачивания на мобильных: раньше стили были только для десктопа) --- */
.dlcard {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; padding: 22px; width: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
}
.dlcard__icon {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; background: var(--grad); border-radius: 20px; color: #fff;
}
.dlcard__icon .icon { width: 38px; height: 38px; }
.dlcard__ver { color: var(--muted); font-size: 14px; text-align: center; margin: 0; }
.dlcard__trust { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin: 0; }
.dlcard__ios { display: flex; align-items: center; gap: 6px; color: var(--accent2); font-size: 13px; font-weight: 500; }

@media (min-width: 1024px) {
  .container { max-width: 1200px; padding-inline: 24px; }

  /* --- Шапка: полное меню + CTA --- */
  .site-header__inner { height: 64px; }
  .logo__mark { width: 30px; height: 30px; }
  .logo__brand { font-size: 18px; }
  .site-header__burger { display: none; }
  .site-header__menu { display: flex; align-items: center; gap: 30px; }
  .site-header__menu a { color: var(--muted); font-size: 15px; font-weight: 500; }
  .site-header__cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; padding: 0 18px; background: var(--accent); border-radius: 10px;
    color: #fff; font-size: 14px; font-weight: 700;
  }
  .site-header__cta .icon { width: 16px; height: 16px; }

  /* --- Герой: desktop 2 колонки --- */
  .hero--mobile { display: none; }
  .hero-d { display: block; }
  .hero-d__inner { display: flex; align-items: center; gap: 48px; padding-block: 56px; }
  .hero-d__text { flex: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
  .hero-d__kicker { color: var(--accent2); font-size: 15px; font-weight: 700; }
  .hero-d__title { font-size: 40px; font-weight: 700; line-height: 1.15; }
  .hero-d__desc { color: var(--muted); font-size: 17px; line-height: 1.6; }
  .hero-d__badges { display: flex; flex-wrap: wrap; gap: 10px; }
  .dlcard {
    width: 400px; flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 28px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  }
  .dlcard__icon {
    display: flex; align-items: center; justify-content: center;
    width: 88px; height: 88px; background: var(--grad); border-radius: 22px; color: #fff;
  }
  .dlcard__icon .icon { width: 44px; height: 44px; }
  .dlcard__ver { color: var(--muted); font-size: 14px; }
  .dlcard__trust { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
  .dlcard__ios { display: flex; align-items: center; gap: 6px; color: var(--accent2); font-size: 13px; font-weight: 500; }

  /* --- Заголовки секций крупнее --- */
  .h2 { font-size: 27px; }

  /* --- Двухколоночная раскладка: липкий сайдбар + контент --- */
  .layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-areas: "toc lead" "toc main";
    grid-template-rows: auto 1fr;
    column-gap: 40px;
    align-items: start;
    padding-block: 8px 40px;
  }
  .lead-block { grid-area: lead; padding-block: 0 8px; }
  .toc-wrap { grid-area: toc; position: sticky; top: 24px; padding-block: 0; }
  .main { grid-area: main; }

  /* Платформы в 2 колонки */
  .platform-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  /* --- Подвал: бренд + колонки, разделитель --- */
  .site-footer__inner { gap: 28px; padding-block: 40px; }
  .site-footer__row { flex-direction: row; justify-content: space-between; gap: 40px; }
  .site-footer__brand { width: 460px; flex-shrink: 0; gap: 12px; }
  .site-footer__cols { flex-direction: row; gap: 64px; }
  .fcol { flex-direction: column; flex-wrap: nowrap; gap: 12px; }
  .fcol__h { display: block; color: var(--text); font-size: 13px; font-weight: 700; }
  .fcol a { font-weight: 400; }
  .site-footer__divider { display: block; }
}

/* ============================================================
   /versii/ — специфичные секции
   ============================================================ */
.crumbs { background: var(--bg); }
.crumbs__inner { display: flex; align-items: center; gap: 7px; padding-block: 12px; }
.crumbs__link { color: var(--accent2); font-size: 13px; }
.crumbs__sep { width: 15px; height: 15px; color: var(--muted); }
.crumbs__cur { color: var(--muted); font-size: 13px; }

/* Тело в одну колонку (mobile: 390; desktop: 900) */
.body { display: block; }

/* История версий */
.vhist-list { display: flex; flex-direction: column; gap: 12px; }
.vhist {
  display: flex; flex-direction: column; gap: 10px; padding: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.vhist--current { border-color: var(--accent2); border-width: 1.5px; }
.vhist__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vhist__left { display: flex; align-items: center; gap: 8px; }
.vhist__v { color: var(--accent2); font-size: 17px; font-weight: 700; }
.vhist__badge { background: var(--accent2); color: var(--bg); border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 700; }
.vhist__date { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.vhist__date .icon { width: 14px; height: 14px; }
.vhist__note { color: var(--text); font-size: 14px; line-height: 1.4; }
.vhist__dls { display: flex; flex-wrap: wrap; gap: 10px; }
.dlpill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px;
  background: var(--surface2); border: 1px solid var(--border); border-radius: 8px;
  color: var(--accent2); font-size: 13px; font-weight: 600;
}
.dlpill .icon { width: 14px; height: 14px; color: var(--accent); }

@media (min-width: 1024px) {
  .body.container { max-width: 900px; }
  .crumbs__inner { padding-block: 14px; }
}

/* ============================================================
   /sborki/ — таблица сравнения и карточки сборок
   ============================================================ */
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: max-content;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.cmp__row { display: flex; align-items: center; }
.cmp__row--head { background: var(--surface2); }
.cmp__row + .cmp__row { border-top: 1px solid var(--border); }
.cmp__feat { width: 150px; flex-shrink: 0; padding: 12px 14px; font-size: 13px; color: var(--text); }
.cmp__row--head .cmp__feat { color: var(--muted); font-size: 12px; font-weight: 700; }
.cmp__cell { width: 100px; flex-shrink: 0; padding: 12px 8px; display: flex; align-items: center; justify-content: center; }
.cmp__row--head .cmp__cell { color: var(--accent2); font-size: 12px; font-weight: 700; }
.cmp__cell .icon { width: 18px; height: 18px; }
.cmp-hint { color: var(--muted); font-size: 13px; }

.builds { display: flex; flex-direction: column; gap: 12px; }
.build {
  display: flex; flex-direction: column; gap: 8px; padding: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.build--rec { border-color: var(--accent2); border-width: 1.5px; }
.build__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.build__l { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.build__name { color: var(--accent2); font-size: 17px; font-weight: 700; }
.build__tag { color: var(--muted); font-size: 13px; }
.build__badge { background: var(--accent2); color: var(--bg); border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.build__desc { color: var(--text); font-size: 14px; line-height: 1.45; }
.build__dl { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 14px; font-weight: 600; }
.build__dl .icon { width: 16px; height: 16px; }

/* ============================================================
   Финальное ревью: доступность + точная типографика H1
   ============================================================ */
/* Клавиатурный фокус (для интерактивных элементов) */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Точные размеры mobile-H1 из макетов отдельных страниц */
.hero__title--24 { font-size: 24px; }
.hero__title--23 { font-size: 23px; }

/* --- таблицы стали семантическими <table>: сохраняем прежний вид --- */
table.ctable, table.specs { width: 100%; border-collapse: collapse; }
table.ctable th, table.ctable td,
table.specs th, table.specs td { font-weight: inherit; text-align: inherit; }
.ctable__row--head .ctable__feat, .ctable__row--head .ctable__col { font-weight: 700; }
.specs th { color: var(--muted); font-size: 14px; flex-shrink: 0; font-weight: 400; }
.specs td { flex: 1; color: var(--text); font-size: 14px; font-weight: 600; text-align: right; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Первый экран: один блок вместо двух (mobile-first) --- */
.hero__inner { display: flex; flex-direction: column; gap: 18px; }
.hero__text   { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero__desc   { color: var(--muted); font-size: 15px; line-height: 1.55; }
.hero__badges { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.hero .dlcard { width: 100%; }

@media (min-width: 1024px) {
  .hero__inner { flex-direction: row; align-items: center; gap: 48px; padding-block: 56px; }
  .hero__text  { flex: 1; gap: 20px; }
  .hero__title { font-size: 40px; font-weight: 700; line-height: 1.15; }
  .hero__desc  { font-size: 17px; }
  .hero .dlcard { width: 360px; flex-shrink: 0; }
}

/* --- плавная прокрутка по якорям + отступ, чтобы заголовок не прилипал к краю --- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:target, .section[id], #versions { scroll-margin-top: 24px; }
#versions { scroll-margin-top: 16px; }
.vhint { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 10px; }

/* --- реальные скриншоты вместо иконок-заглушек --- */
.shot { height: auto; padding: 0; overflow: hidden; }
.shot img { width: 150px; height: auto; display: block; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface2); }
.shot .shot__c { padding-bottom: 10px; }

/* --- Лайтбокс скриншотов (нативный <dialog>) --- */
.shot__btn { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot__btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 12px; }

.lb { border: 0; padding: 0; background: transparent; overflow: visible;
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; inset: 0; margin: auto; }
.lb::backdrop { background: rgba(6, 6, 10, .88); }
.lb[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lb__img { max-width: min(92vw, 520px); max-height: 78vh; width: auto; height: auto;
  border-radius: 14px; border: 1px solid var(--border); background: var(--surface2); }
.lb__cap { color: var(--text); font-size: 15px; text-align: center; }
.lb__close, .lb__nav { position: fixed; z-index: 2; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%;
  background: var(--surface); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.lb__close { top: 16px; right: 16px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 12px; }
.lb__next { right: 12px; }
.lb__close:hover, .lb__nav:hover { background: var(--surface2); }
.lb__close:focus-visible, .lb__nav:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
@media (min-width: 1024px) { .lb__prev { left: 32px; } .lb__next { right: 32px; } }
