/* Landora VPN — presentation site (Landora UI tokens) */

:root {
  --bg: #000000;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.08);
  --primary: #b71c1c;
  --primary-hover: #e53935;
  --accent-glow: rgba(229, 57, 53, 0.35);
  --green: #43a047;
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 48px;
  --container: min(1080px, calc(100% - 48px));
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* Единый отступ контента от шапки: новости, приложения, партнёры, FAQ и др. внутренние */
  --page-pad-top: clamp(1.75rem, 4vw, 2.75rem);
  /* Первый блок главной: плашки ОС + новости (угольно-серый на чёрном, как в референсе) */
  --hero-home-panel: #2c2c2e;
  --hero-home-panel-hover: #38383a;
  --hero-home-panel-radius: 28px;
  /* Главная: один шаг между блоками (герой → преимущества; шапка вкладок → карточки) */
  --home-showcase-rhythm: clamp(1.25rem, 2.6vw, 1.75rem);
  /* Плашки преимуществ и финальный CTA (единый стиль); дорожка вкладок = тот же фон, что у плашек */
  --home-showcase-card: #3e3e42;
  --home-showcase-tab-track: var(--home-showcase-card);
  --home-showcase-card-hover: #4a4a50;
  --home-showcase-card-border: rgba(255, 255, 255, 0.11);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* «Перейти к содержимому» — полностью скрыт, красная плашка только при фокусе с Tab */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  padding: 12px 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container--wide {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  box-sizing: border-box;
}

@media (max-width: 520px) {
  .container--wide {
    padding-inline: 28px;
  }
}

/* Явно: ширина как у шапки, без унаследованного width от .container */
.container.container--wide {
  width: 100%;
  max-width: 1200px;
}

.container--narrow {
  width: min(720px, calc(100% - 48px));
}

/* Header (sticky, telegram-like bar) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  overflow: visible;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-top: none;
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.86);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px 20px;
  width: 100%;
  min-height: var(--header-h);
  padding-block: 10px;
  overflow: visible;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
  transform: translateX(-5px);
  color: inherit;
}

.logo__mark {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.logo__text {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
}

@media (min-width: 900px) {
  .logo__mark {
    width: 30px;
    height: 30px;
  }
}

.nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  flex: 1 1 auto;
  min-width: 0;
}

.nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.15s ease;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav a:hover {
  color: var(--text);
}

.nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--primary-hover);
}

.header__extras {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .header__extras {
    gap: 18px;
  }
}

.header__lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Language dropdown (globe button) */
.lang-menu {
  position: relative;
  display: inline-flex;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.lang-toggle:hover {
  border-color: color-mix(in srgb, var(--border), var(--text) 25%);
}

.lang-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 128px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
  display: none !important;
  z-index: 60;
}

.lang-menu.is-open .lang-dropdown {
  display: block !important;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-item[aria-current="page"] {
  background: rgba(255, 255, 255, 0.10);
}

.lang-item small {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.header__lang-link {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 2px;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.header__lang-link:hover {
  color: var(--text);
}

.header__lang-link[aria-current="page"] {
  color: var(--text);
  pointer-events: none;
}

.header__lang-sep {
  color: var(--muted);
  opacity: 0.45;
  font-weight: 400;
  user-select: none;
}

.header__social {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-hover);
  text-decoration: none;
  white-space: nowrap;
}

.header__social:hover {
  color: var(--text);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
    /* Не сжимать блок меньше суммы ссылок — иначе «Landora Private» пропадает */
    min-width: min-content;
    flex: 1 1 auto;
  }

  .header__inner {
    flex-wrap: wrap;
    row-gap: 8px;
    gap: 24px 32px;
    padding-block: 12px;
  }
}

@media (max-width: 899px) {
  .header__inner {
    gap: 10px;
  }

  /* Mobile header: keep burger rightmost, extras next to it */
  .header__extras {
    order: 2;
    margin-left: 0;
    gap: 10px;
  }

  .nav-toggle {
    order: 3;
    margin-left: auto;
    margin-right: 16px;
  }

  .header__extras {
    gap: 10px;
  }
  .header__lang-switch {
    font-size: 0.8rem;
    gap: 3px;
  }
  .header__social {
    font-size: 0.84rem;
  }
}

/* Mobile menu */

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  margin-left: auto;
  transform: translateX(2px);
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.main--placeholder {
  min-height: 0;
}

/* Внутренние страницы: блок-герой в духе главной (карта + матовый слой) */
.site-page {
  padding: var(--page-pad-top) 0 clamp(3rem, 8vw, 5rem);
}

.site-page__hero {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.site-page__hero-shell {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background-color: var(--bg);
  background-image: url("../assets/hero-world-map.png");
  background-repeat: no-repeat;
  background-position: center 38%;
  background-size: min(135%, 60rem) auto;
}

.site-page__hero-overlay {
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.78));
}

.site-page__title {
  margin: 0;
  /* Как заголовок страницы «Новости» (.news-tg__page-title) */
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.85);
  text-align: center;
}

.site-page__lead {
  margin: clamp(0.65rem, 2vw, 0.9rem) 0 0;
  max-width: 42rem;
  font-size: clamp(0.92rem, 1.85vw, 1.05rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.site-page__lead a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-page__lead a:hover {
  color: #fff;
}

/* Страницы платформ: заголовок и лид как на «Приложениях» (центр задаёт .apps-hub__header) */
.site-page--platform .apps-hub__header {
  text-align: center;
}

.site-page--platform .apps-hub__header .apps-hub__intro {
  max-width: 46rem;
  margin: 0.85rem auto 0;
}

.site-page--platform .site-page--platform__icon {
  display: flex;
  justify-content: center;
  margin-top: clamp(0.85rem, 2.5vw, 1.25rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

/* Те же иконки, что на плашках главной (.hero-map__plate-icon), крупнее чем в .hero-home__platforms */
.site-page--platform .site-page--platform__icon .hero-map__plate-icon {
  width: clamp(4.5rem, 13vw, 7rem);
  height: clamp(4.5rem, 13vw, 7rem);
}

.site-page__panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-page__panel p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.site-page__panel p:last-child {
  margin-bottom: 0;
}

.site-page__panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.site-page__panel ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.site-page__panel li {
  margin-bottom: 0.45rem;
}

.site-page__panel a {
  color: var(--primary-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-page__panel a:hover {
  color: #ff6b6b;
}

.faq-page__header {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
}

.faq-page__header .site-page__title {
  text-shadow: none;
}

.faq-page__list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.6vw, 1rem);
}

/* Как плашки ОС / блок новостей на главной: угольный фон, крупное скругление */
.faq-page details {
  border: none;
  border-radius: var(--hero-home-panel-radius);
  background: var(--hero-home-panel);
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.faq-page summary {
  padding: clamp(1rem, 2.4vw, 1.2rem) clamp(1rem, 2.2vw, 1.25rem);
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(0.92rem, 1.8vw, 0.98rem);
  list-style: none;
  color: var(--text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.faq-page summary::-webkit-details-marker {
  display: none;
}

.faq-page summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-page details[open] summary {
  border-bottom: 1px solid var(--faint);
  color: rgba(255, 255, 255, 0.94);
}

.faq-page details[open] summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-page details p {
  margin: 0;
  padding: clamp(1rem, 2.4vw, 1.15rem) clamp(1rem, 2.2vw, 1.25rem) clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  font-size: clamp(0.9rem, 1.65vw, 0.96rem);
  line-height: 1.55;
}

.faq-page details a {
  color: var(--primary-hover);
  text-underline-offset: 2px;
}

.faq-page details a:hover {
  color: #ff6b6b;
}

/* База знаний FAQ (оглавление + секции, стиль telegram.org/faq) */
.faq-page--kb {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.faq-kb__tagline {
  margin: 0.5rem auto 0;
  max-width: 36rem;
  text-align: center;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.7vw, 1rem);
  line-height: 1.5;
}

.faq-kb__search {
  margin: 0.9rem auto 0;
  width: min(100%, 30rem);
}

.faq-kb__search-input {
  width: 100%;
  height: 2.35rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.faq-kb__search-input::placeholder {
  color: var(--muted);
}

.faq-kb__search-input:focus {
  outline: none;
  border-color: rgba(255, 107, 107, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

/* Mobile-first: без sticky-боковой панели (иначе она перекрывает контент при скролле). */
.faq-kb__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: start;
}

.faq-kb__sidebar {
  position: static;
  top: auto;
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg, #0a0a0a);
}

@media (min-width: 901px) {
  .faq-kb__layout {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
  }

  .faq-kb__sidebar {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    background: transparent;
  }
}

.faq-kb__toc-title {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq-kb__toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-kb__toc a {
  display: block;
  padding: 0.38rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.faq-kb__toc a:hover {
  color: var(--primary-hover);
}

.faq-kb__section {
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.faq-kb__section[hidden] {
  display: none !important;
}

.faq-kb__h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.faq-kb__lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.65vw, 0.96rem);
  line-height: 1.55;
}

.faq-kb__lead a {
  color: var(--primary-hover);
  text-underline-offset: 2px;
}

.faq-kb__lead a:hover {
  color: #ff6b6b;
}

.faq-kb__stub-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.65vw, 0.96rem);
  line-height: 1.55;
}

.faq-kb__stub-list li {
  margin-bottom: 0.55rem;
}

.faq-kb__stub-list strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.faq-kb__stub-list a {
  color: var(--primary-hover);
  text-decoration: none;
  text-underline-offset: 2px;
}

.faq-kb__stub-list a:hover {
  color: #ff6b6b;
  text-decoration: underline;
}

.faq-kb__stub-list a strong {
  color: inherit;
  font-weight: 600;
}

.faq-kb__empty {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-kb__badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  vertical-align: middle;
}

.faq-page__list--in-kb {
  margin-top: 0.5rem;
}

/* Аккордеон «Общие вопросы» в базе знаний: без отдельных карточек, как текстовые секции */
.faq-page--kb .faq-page__list--in-kb {
  gap: 0;
}

.faq-page--kb .faq-page__list--in-kb details {
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
}

.faq-page--kb .faq-page__list--in-kb details:last-child {
  border-bottom: none;
}

.faq-page--kb .faq-page__list--in-kb summary {
  position: relative;
  padding: 0.7rem 1.35rem 0.7rem 0;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.65vw, 0.96rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.faq-page--kb .faq-page__list--in-kb summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.4em;
  height: 0.4em;
  margin-top: -0.15em;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.faq-page--kb .faq-page__list--in-kb summary:hover {
  background: transparent;
  color: var(--primary-hover);
}

.faq-page--kb .faq-page__list--in-kb summary:hover::after {
  opacity: 0.85;
  border-color: var(--primary-hover);
}

.faq-page--kb .faq-page__list--in-kb details[open] summary {
  border-bottom: none;
  color: var(--text);
}

.faq-page--kb .faq-page__list--in-kb details[open] summary::after {
  margin-top: 0.1em;
  transform: rotate(225deg);
  opacity: 0.7;
}

.faq-page--kb .faq-page__list--in-kb details[open] summary:hover {
  background: transparent;
}

.faq-page--kb .faq-page__list--in-kb details p {
  padding: 0 0 1rem;
  margin: 0;
  max-width: 42rem;
}

/* Страница «Подключить» (apps): те же плашки ОС, что на главной + кнопка скачивания или неактивная заглушка */
.apps-hub {
  padding: var(--page-pad-top) 0 clamp(3rem, 7vw, 5rem);
}

/* Лид по центру; заголовок — .apps-hub__title + .apps-hub__header { text-align: center } */
.apps-hub .apps-hub__header {
  text-align: center;
}

.apps-hub .apps-hub__intro {
  margin: 0.85rem auto 0;
}

.apps-hub__header {
  margin-bottom: 0.35rem;
}

.apps-hub__title {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
}

.apps-hub__intro {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.85vw, 1.02rem);
  line-height: 1.55;
  max-width: 46rem;
}

.apps-hub__plate-grid {
  list-style: none;
  margin: clamp(1.5rem, 4vw, 2.25rem) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.6vw, 1rem);
  max-width: 56rem;
}

.apps-hub__plate-cell {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  min-height: 0;
}

.apps-hub__plate.hero-map__plate {
  flex: 1;
  width: 100%;
  min-height: clamp(6.5rem, 20vh, 11rem);
  padding: clamp(1rem, 2.4vw, 1.4rem) clamp(0.75rem, 1.8vw, 1rem);
  gap: clamp(0.45rem, 1.2vw, 0.65rem);
}

/* Как .hero-home__platforms .hero-map__plate на главной (не стеклянный дефолт .hero-map__plate) */
.apps-hub .apps-hub__plate.hero-map__plate {
  background: var(--hero-home-panel);
  border: none;
  border-radius: var(--hero-home-panel-radius);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.9);
}

.apps-hub .apps-hub__plate.hero-map__plate--static:hover {
  background: var(--hero-home-panel);
  border: none;
  box-shadow: none;
  transform: none;
  color: rgba(255, 255, 255, 0.9);
}

.apps-hub .apps-hub__plate.hero-map__plate--static:hover .hero-map__plate-label {
  color: rgba(255, 255, 255, 0.72);
}

.apps-hub .apps-hub__plate.hero-map__plate--static:hover .hero-map__plate-kicker {
  color: rgba(255, 255, 255, 0.55);
}

.apps-hub__plate .hero-map__plate-icon {
  width: clamp(2.85rem, 6vw, 3.75rem);
  height: clamp(2.85rem, 6vw, 3.75rem);
}

.apps-hub__plate .hero-map__plate-label {
  font-size: clamp(0.8rem, 1.55vw, 0.95rem);
}

.apps-hub__plate .hero-map__plate-kicker {
  font-size: clamp(0.7rem, 1.3vw, 0.84rem);
}

.apps-hub__dl-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0.75rem 1rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
}

a.apps-hub__dl-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.18));
}

a.apps-hub__dl-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

/* На странице apps это кликабельные ссылки: всегда показываем "руку". */
a.apps-hub__dl-btn,
a.apps-hub__dl-btn:hover,
a.apps-hub__dl-btn:focus,
a.apps-hub__dl-btn:active,
a.apps-hub__dl-btn * {
  cursor: pointer !important;
}

button.apps-hub__dl-btn:disabled {
  color: rgba(255, 255, 255, 0.45);
  cursor: not-allowed;
  opacity: 1;
}

.site-page__panel .apps-hub__dl-btn {
  max-width: 22rem;
  margin-top: 0.6rem;
}

.apps-hub__dl-sub {
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.02em;
}

.apps-hub__bot-cta {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border);
}

.apps-hub__bot-cta-inner {
  text-align: center !important;
  max-width: 46rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.apps-hub__bot-cta-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center !important;
  width: 100%;
}

.apps-hub__bot-cta-text {
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.85vw, 1.02rem);
  line-height: 1.55;
  max-width: 46rem;
  text-align: center !important;
  width: 100%;
}

.apps-hub__tg-btn {
  margin-top: 1.25rem;
  gap: 0.75rem;
  text-align: center !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.apps-hub__tg-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.apps-hub__tg-btn:disabled:hover,
.apps-hub__tg-btn:disabled:active {
  background: var(--primary);
  transform: none;
}

.apps-hub__tg-icon {
  flex-shrink: 0;
  display: block;
  margin-right: 0;
}

.apps-hub__bot-cta-hint {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center !important;
  width: 100%;
}

.apps-hub__bot-cta-hint a {
  color: var(--primary) !important;
  font-weight: 600;
  text-decoration: none;
}

.apps-hub__bot-cta-hint a:visited {
  color: var(--primary) !important;
}

.apps-hub__bot-cta-hint a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

@media (max-width: 520px) {
  .apps-hub__plate-grid {
    grid-template-columns: 1fr;
  }
}

/* Главная: первый экран на всю высоту, карта на фоне; ОС слева 2×2 (тот же размер плашек), новости справа */
.hero-home {
  box-sizing: border-box;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  /* Как зазор под заголовком/вкладками до карточек преимуществ */
  padding-bottom: var(--home-showcase-rhythm);
}

/* Главная: блок преимуществ (фон как карточки героя, скругление сверху по краям экрана) */
.home-showcase {
  --home-showcase-top-radius: clamp(40px, 6.5vw, 56px);
  background: var(--hero-home-panel);
  border-top-left-radius: var(--home-showcase-top-radius);
  border-top-right-radius: var(--home-showcase-top-radius);
  padding: calc(var(--home-showcase-rhythm) + 20px) 0 clamp(1.75rem, 5vw, 3.25rem);
  /* Ближе к плашкам ОС и новостям (как сдвиг .hero-home__row к заголовку); −50px = на 10px ниже, чем −60px */
  margin-top: -50px;
  position: relative;
  z-index: 1;
}

.home-showcase__inner {
  display: flex;
  flex-direction: column;
  gap: var(--home-showcase-rhythm);
  min-width: 0;
}

/* Одна строка: слева заголовок, справа сегментированные вкладки */
.home-showcase__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--home-showcase-rhythm);
  margin: 0;
  padding: 0;
}

@media (min-width: 901px) {
  .home-showcase__top {
    flex-wrap: nowrap;
  }
}

.home-showcase__tabs-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 5px;
  border-radius: 999px;
  background: var(--home-showcase-tab-track);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-showcase__tab {
  appearance: none;
  margin: 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(0.88rem, 1.55vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.home-showcase__tab:hover:not(.is-active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.home-showcase__tab.is-active {
  background: #fff;
  color: #141414;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.home-showcase__tab:focus-visible {
  outline: 2px solid var(--primary-hover);
  outline-offset: 2px;
}

.home-showcase__headline {
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(100%, 42rem);
  text-align: left;
  margin: 0;
  padding: 0;
}

.home-showcase__title {
  margin: 0;
  padding: 0;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  text-align: left;
  text-shadow: none;
}

/* Общий для всех вкладок: под заголовком и вкладками, над карточками (ширина как у ряда карточек → ~2 строки) */
.home-showcase__lead {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 100%;
  font-size: clamp(0.9rem, 1.75vw, 1.02rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  text-wrap: balance;
}

/* Без общей «подложки»: три карточки отдельно, как плашки ОС в герое */
.home-showcase__panels {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Видимость панелей: и hidden, и класс (на случай кэша старого JS или сбоев атрибута) */
section.home-showcase .home-showcase__panels > .home-showcase__panel {
  margin: 0;
  padding: 0;
}

section.home-showcase .home-showcase__panels > .home-showcase__panel:not(.is-active) {
  display: none !important;
}

section.home-showcase .home-showcase__panels > .home-showcase__panel.is-active {
  display: block !important;
}

.home-showcase__panel[hidden] {
  display: none !important;
}

.home-showcase .home-showcase__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--home-showcase-rhythm);
  width: 100%;
}

.home-showcase .home-showcase__benefit-item {
  margin: 0;
  padding: 0;
  display: flex;
  min-width: 0;
  min-height: 0;
}

/* Три отдельные плашки: контраст к фону секции всегда, не только при hover */
.home-showcase .home-showcase__plate.hero-map__plate {
  flex: 1;
  width: 100%;
  min-height: clamp(10.5rem, 22vw, 13.5rem);
  height: auto;
  padding: clamp(1.1rem, 2.2vw, 1.45rem) clamp(0.95rem, 1.8vw, 1.2rem);
  gap: clamp(0.45rem, 1.2vw, 0.65rem);
  cursor: default;
  background: var(--home-showcase-card);
  border: 1px solid var(--home-showcase-card-border);
  border-radius: var(--hero-home-panel-radius);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.home-showcase .home-showcase__plate.hero-map__plate:hover {
  background: var(--home-showcase-card-hover);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(229, 57, 53, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.home-showcase .home-showcase__plate .hero-map__plate-icon {
  width: clamp(2.25rem, 4.5vw, 2.85rem);
  height: clamp(2.25rem, 4.5vw, 2.85rem);
  color: rgba(255, 255, 255, 0.92);
}

.home-showcase .home-showcase__plate .hero-map__plate-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-showcase .home-showcase__plate .hero-map__plate-kicker {
  font-size: clamp(0.62rem, 1.1vw, 0.72rem);
  margin: 0 0 0.15rem;
}

.home-showcase .home-showcase__plate .hero-map__plate-label.home-showcase__plate-label,
.home-showcase .home-showcase__plate .home-showcase__plate-label {
  text-transform: none;
  font-size: clamp(0.82rem, 1.45vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.22;
  color: rgba(255, 255, 255, 0.92);
}

.home-showcase .home-showcase__plate:hover .hero-map__plate-label.home-showcase__plate-label,
.home-showcase .home-showcase__plate:hover .home-showcase__plate-label {
  color: #fff;
}

.home-showcase .home-showcase__plate-desc {
  font-size: clamp(0.72rem, 1.25vw, 0.84rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  max-width: 100%;
  padding: 0 0.15rem;
}

@media (prefers-reduced-motion: reduce) {
  .home-showcase .home-showcase__plate.hero-map__plate:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  /* На мобилке отрицательный margin наезжал на колонку новостей героя */
  .home-showcase {
    margin-top: 0;
  }

  .home-showcase__top {
    flex-direction: column;
    align-items: stretch;
  }

  .home-showcase__tabs-wrap {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .home-showcase__headline {
    min-width: 0;
  }

  .home-showcase__title {
    text-align: center;
    margin-inline: auto;
  }

  .home-showcase .home-showcase__benefits {
    grid-template-columns: 1fr;
  }

  .home-showcase .home-showcase__plate.hero-map__plate {
    min-height: clamp(8.5rem, 42vw, 11rem);
  }
}

@media (max-width: 520px) {
  .home-showcase__tabs-wrap {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius);
    padding: 6px;
  }

  .home-showcase__tab {
    width: 100%;
    text-align: center;
    border-radius: var(--radius-sm);
  }
}

/* Главная: финальный CTA — тот же фон, что у блока преимуществ (визуально один блок) */
.home-final {
  background: var(--hero-home-panel);
  padding: 0 0 clamp(2.75rem, 7vw, 4rem);
}

/* Ширина плашки как у основного контента (.container), не на всю .container--wide (1200px) */
.home-final .home-final__inner.container.container--wide {
  max-width: var(--container);
}

/* Как .home-showcase .home-showcase__plate: отдельная плашка на фоне секции */
.home-final__inner {
  background: var(--home-showcase-card);
  border: 1px solid var(--home-showcase-card-border);
  border-radius: var(--hero-home-panel-radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.1rem, 2.8vw, 1.65rem);
}

.home-final__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 1.75rem);
  width: 100%;
  min-width: 0;
}

/* Иначе колонка сжимается по ширине заголовка — подзаголовок уходит в 3 строки */
.home-final__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.home-final__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.home-final__lead {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 100%;
  font-size: clamp(0.88rem, 1.65vw, 1.02rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.home-final__subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.home-final__actions {
  flex-shrink: 0;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .home-final__row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-final__actions {
    justify-content: flex-start;
  }
}

/* Карта по ширине блока героя */
.hero-home__shell {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: clamp(0.75rem, 2.2vh, 1.5rem);
  background-color: var(--bg);
  background-image: url("../assets/hero-world-map.png");
  background-repeat: no-repeat;
  background-position: center 40px;
  background-size: 100% auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-home__intro {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding-top: calc(40px + clamp(0.25rem, 1.2vh, 0.65rem));
  text-align: center;
}

.hero-home__heading {
  margin: 0 auto;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.hero-home__title {
  font-size: clamp(1.55rem, 3.65vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.88),
    0 1px 4px rgba(0, 0, 0, 0.95);
}

.hero-home__subtitle {
  display: block;
  font-size: clamp(0.82rem, 1.95vw, 1.08rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
  text-shadow:
    0 1px 20px rgba(0, 0, 0, 0.9),
    0 0 1px rgba(0, 0, 0, 0.8);
}

.hero-home__row {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, min(34vw, 380px));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
  align-content: center;
  min-height: 0;
  /* Ближе к заголовку на 60px, сам заголовок не трогаем */
  margin-top: -60px;
}

.hero-home__platforms-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.hero-home__platforms {
  flex: 1 1 auto;
  min-height: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.6vw, 1rem);
  width: 100%;
  align-self: stretch;
}

.hero-home__platforms li {
  margin: 0;
  padding: 0;
  display: flex;
  min-width: 0;
  min-height: 0;
}

.hero-map__plate-kicker {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(0.64rem, 1.18vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 clamp(0.2rem, 0.6vw, 0.35rem);
}

.hero-map__plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1vw, 0.5rem);
  box-sizing: border-box;
  min-height: clamp(6.25rem, 14vw, 7.5rem);
  padding: clamp(0.65rem, 1.6vw, 0.9rem) clamp(0.5rem, 1.2vw, 0.75rem) clamp(0.75rem, 1.8vw, 1rem);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.hero-map__plate:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(229, 57, 53, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
}

.hero-map__plate:focus-visible {
  outline: 2px solid var(--primary-hover);
  outline-offset: 2px;
}

/* Плашка без интерактива (страница приложений и т.п.) */
.hero-map__plate--static {
  cursor: default;
  pointer-events: none;
}

.hero-map__plate--static:hover {
  background: var(--surface);
  border-color: var(--border);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  transform: none;
}

.hero-map__plate--static:hover .hero-map__plate-label {
  color: rgba(255, 255, 255, 0.72);
}

.hero-map__plate--static:hover .hero-map__plate-kicker {
  color: rgba(255, 255, 255, 0.55);
}

.hero-map__plate--static:focus-visible {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-map__plate {
    transition: none;
  }

  .hero-map__plate:hover {
    transform: none;
  }

  .hero-home__platforms .hero-map__plate:hover {
    transform: none;
  }
}

.hero-map__plate-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(2.1rem, 4.5vw, 2.75rem);
  height: clamp(2.1rem, 4.5vw, 2.75rem);
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.88);
}

.hero-map__plate-icon svg {
  display: block;
  flex-shrink: 0;
}

.hero-map__plate-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero-map__plate-icon--windows .hero-map__plate-icon-img {
  transform: scale(0.9);
}

.hero-map__plate-label {
  font-size: clamp(0.72rem, 1.35vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
}

.hero-map__plate:hover .hero-map__plate-label {
  color: rgba(255, 255, 255, 0.88);
}

.hero-map__plate:hover .hero-map__plate-kicker {
  color: rgba(255, 255, 255, 0.76);
}

.hero-map__plate-icon--apple .hero-map__plate-icon-img {
  transform: scale(1.05);
  transform-origin: center;
}

/* Главная: крупные плашки ОС на всю высоту колонки (напротив новостей) */
.hero-home__platforms .hero-map__plate {
  flex: 1;
  width: 100%;
  min-height: clamp(6.5rem, 20vh, 11rem);
  padding: clamp(1rem, 2.4vw, 1.4rem) clamp(0.75rem, 1.8vw, 1rem);
  gap: clamp(0.45rem, 1.2vw, 0.65rem);
  background: var(--hero-home-panel);
  border: none;
  border-radius: var(--hero-home-panel-radius);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.hero-home__platforms .hero-map__plate:hover {
  background: var(--hero-home-panel-hover);
  border: none;
  box-shadow: 0 0 0 1px rgba(229, 57, 53, 0.28);
  color: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
}

.hero-home__platforms .hero-map__plate-icon {
  width: clamp(2.85rem, 6vw, 3.75rem);
  height: clamp(2.85rem, 6vw, 3.75rem);
}

.hero-home__platforms .hero-map__plate-label {
  font-size: clamp(0.8rem, 1.55vw, 0.95rem);
}

.hero-home__platforms .hero-map__plate-kicker {
  font-size: clamp(0.7rem, 1.3vw, 0.84rem);
}

@media (max-width: 900px) {
  .hero-home__row {
    grid-template-columns: 1fr;
    margin-top: clamp(-18px, -4vw, -8px);
    gap: clamp(0.95rem, 3.5vw, 1.35rem);
    align-content: start;
  }

  /* Запас снизу, чтобы двухстрочный подзаголовок не перекрывался .hero-home__row (у него отрицательный margin-top) */
  .hero-home__intro {
    padding-top: clamp(0.85rem, 3.5vh, 1.75rem);
    padding-bottom: clamp(1rem, 5.5vw, 1.65rem);
  }

  .hero-home__shell {
    background-position: center clamp(12px, 3vw, 28px);
    background-size: min(145%, 56rem) auto;
  }

  /* Только мобильные ОС (Android / iPhone); Windows и macOS — с max-width 900px */
  .hero-home__plate-item--desktop-only {
    display: none !important;
  }

  .hero-home__platforms {
    flex: 0 1 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: clamp(0.55rem, 2.8vw, 0.9rem);
    max-width: 100%;
  }

  .hero-home__platforms .hero-map__plate {
    min-height: clamp(5.25rem, 26vw, 6.75rem);
  }

  /* Телефон опознан как Android — одна плашка */
  html.home-mobile-android-only .hero-home__plate-item--iphone {
    display: none !important;
  }

  /* Телефон опознан как iPhone — одна плашка */
  html.home-mobile-ios-only .hero-home__plate-item--android {
    display: none !important;
  }

  html.home-mobile-android-only .hero-home__platforms,
  html.home-mobile-ios-only .hero-home__platforms {
    grid-template-columns: 1fr;
    max-width: min(20.5rem, 100%);
    margin-inline: auto;
  }

  /* Страница «Приложения»: те же правила, что у .hero-home__platforms */
  .apps-hub__plate-cell--desktop-only {
    display: none !important;
  }

  html.home-mobile-android-only .apps-hub__plate-cell--iphone {
    display: none !important;
  }

  html.home-mobile-ios-only .apps-hub__plate-cell--android {
    display: none !important;
  }

  html.home-mobile-android-only .apps-hub__plate-grid,
  html.home-mobile-ios-only .apps-hub__plate-grid {
    grid-template-columns: 1fr;
    max-width: min(20.5rem, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 380px) {
  html:not(.home-mobile-android-only):not(.home-mobile-ios-only) .hero-home__platforms {
    grid-template-columns: 1fr;
  }

  html:not(.home-mobile-android-only):not(.home-mobile-ios-only) .apps-hub__plate-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 899px) {
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 250;
    max-height: min(70vh, calc(100dvh - var(--header-h) - 16px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 12px 24px 20px;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid var(--border);
  }

  .site-header.is-open .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--faint);
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* Новости в первом экране (справа от панелей ОС) — см. также .hero-home */
.hero-home__news {
  align-self: start;
  background: var(--hero-home-panel);
  border: none;
  border-radius: var(--hero-home-panel-radius);
  padding: clamp(1.1rem, 2.5vw, 1.35rem) clamp(1rem, 2.2vw, 1.25rem);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.hero-home__news-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.hero-home__news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 1 auto;
  min-height: 0;
}

.hero-home__news-list li {
  margin: 0;
  border-bottom: 1px solid var(--faint);
}

.hero-home__news-list li:last-of-type {
  border-bottom: none;
}

.hero-home__news-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.15rem;
  text-decoration: none;
  color: var(--text);
  transition:
    color 0.15s var(--ease),
    background 0.15s var(--ease);
  border-radius: var(--radius-sm);
  margin-inline: -0.15rem;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.hero-home__news-card:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.hero-home__news-card:focus-visible {
  outline: 2px solid var(--primary-hover);
  outline-offset: 2px;
}

.hero-home__news-date {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-home__news-headline {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-home__news-more {
  flex-shrink: 0;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--faint);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-hover);
  text-decoration: none;
  align-self: flex-start;
}

.hero-home__news-more:hover {
  color: #ff6b60;
  text-decoration: underline;
}

.hero-home__news-more:focus-visible {
  outline: 2px solid var(--primary-hover);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.12s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgba(229, 57, 53, 0.75);
}

.btn--premium {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.24));
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.btn--premium:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.18));
  border-color: rgba(255, 255, 255, 0.32);
}

.btn--premium:active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.32));
}

.kb-os-btn {
  position: relative;
  padding-left: 56px;
}

.kb-os-btn::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.95;
}

.kb-os-btn--android::before {
  background-image: url("../assets/os-icons/android.png");
}

.kb-os-btn--ios::before {
  background-image: url("../assets/os-icons/iphone.png");
}

.kb-os-btn--windows::before {
  background-image: url("../assets/os-icons/windows.png");
}

.kb-os-btn--macos::before {
  background-image: url("../assets/os-icons/macos.png");
}

.btn--lg {
  padding: 15px 26px;
  font-size: 1rem;
  border-radius: var(--radius);
  min-height: 52px;
}

/* Hero */

.hero {
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(ellipse 55% 45% at 50% 0%, var(--accent-glow), transparent 70%);
  pointer-events: none;
  opacity: 0.55;
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    padding-top: 32px;
    padding-bottom: 24px;
  }
}

.hero__title {
  margin: 0;
  font-size: clamp(2.35rem, 5.5vw, 3.55rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero__title-accent {
  color: var(--primary-hover);
  text-shadow: 0 0 48px var(--accent-glow);
}

.hero__lead {
  margin: 22px 0 0;
  max-width: 34rem;
  font-size: 1.18rem;
  color: var(--muted);
  line-height: 1.5;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Phone illustration */

.phone-frame {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.phone-frame__glow {
  position: absolute;
  width: min(320px, 80vw);
  height: min(520px, 110vw);
  border-radius: 40px;
  background: radial-gradient(circle at 50% 28%, var(--accent-glow), transparent 55%);
  filter: blur(8px);
  transform: translateY(-8%);
  opacity: 0.85;
  pointer-events: none;
}

.phone-frame__body {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 10 / 19;
  border-radius: 36px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.4));
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotateY(-8deg) rotateX(4deg);
}

.phone-frame__notch {
  position: absolute;
  top: 12px;
  width: 32%;
  height: 22px;
  border-radius: 12px;
  background: #0a0a0a;
}

.phone-frame__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.phone-frame__brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.phone-frame__hint {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Tagline strip */

.tagline {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  background: linear-gradient(90deg, transparent, rgba(183, 28, 28, 0.06), transparent);
}

.tagline__text {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.tagline__text strong {
  color: var(--text);
  font-weight: 700;
}

/* Sections */

.section {
  padding: 88px 0;
}

.section__title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  margin: 16px auto 56px;
  max-width: 38rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Feature rows (telegram-like) */

.section--features {
  border-top: 1px solid var(--border);
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-top: 8px;
}

.feature-row {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 820px) {
  .feature-row {
    grid-template-columns: 120px 1fr;
    gap: 40px;
  }
  .feature-row--reverse {
    direction: rtl;
  }
  .feature-row--reverse > * {
    direction: ltr;
  }
}

.feature-row__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-hover);
}

.feature-row__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-row__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

/* Security */

.section--security {
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse 80% 60% at 80% 30%, rgba(183, 28, 28, 0.08), transparent 55%);
}

.security__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .security__grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
  }
}

.security__text {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.98rem;
}

.checklist__mark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(67, 160, 71, 0.18);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.security__panel {
  display: flex;
  justify-content: center;
}

.security__panel-inner {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 40px 28px 36px;
  text-align: center;
}

.lock-badge {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.lock-badge__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(229, 57, 53, 0.45);
  box-shadow: 0 0 40px var(--accent-glow);
  animation: pulse-soft 3.5s ease-in-out infinite;
}

.lock-badge__core {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--primary-hover), var(--primary));
}

@keyframes pulse-soft {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.85;
  }
}

.security__panel-caption {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}

/* CTA */

.section--cta {
  border-top: 1px solid var(--border);
  padding: 96px 0 100px;
}

.cta__inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.cta__title {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta__text {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta__note {
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.85;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}

.footer__grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  /*
   * Не трогаем padding-inline с .container--wide — логотип в подвале в одной линии с шапкой.
   * Бывший padding-left сетки перенесён на margin первой колонки меню (:nth-child(2)).
   */
  .footer__grid {
    display: grid;
    grid-template-columns: auto auto repeat(3, minmax(0, 1fr));
    column-gap: clamp(14px, 2vw, 22px);
    row-gap: 28px;
    align-items: start;
    box-sizing: border-box;
  }

  .footer__brand {
    grid-column: auto;
    padding-right: clamp(40px, 7.5vw, 96px);
  }

  .footer__grid > .footer__col {
    min-width: 0;
  }

  .footer__grid > :nth-child(2) {
    margin-left: clamp(56px, 12vw, 140px);
  }

  /* «Для мобильных» (3-й ребёнок): доп. воздух после «О нас» */
  .footer__grid > :nth-child(3) {
    margin-left: clamp(12px, 2.4vw, 28px);
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0;
}

/* Старый одиночный img в подвале (если останется где-то кэш) */
.footer__logo:not(.logo) img {
  display: block;
  height: 13px;
  width: auto;
  max-width: min(105px, 28vw);
  object-fit: contain;
}

@media (min-width: 900px) {
  .footer__logo:not(.logo) img {
    height: 15px;
    max-width: 118px;
  }
}

/*
 * Название в подвале — без подчёркивания на всех страницах.
 * Явно :link/:any-link + !important — перебивает UA и любые общие правила для ссылок.
 */
.site-footer .footer__brand > a.footer__logo,
.site-footer .footer__brand > a.footer__logo:any-link,
.site-footer .footer__brand > a.footer__logo:link,
.site-footer .footer__brand > a.footer__logo:visited,
.site-footer .footer__brand > a.footer__logo:hover,
.site-footer .footer__brand > a.footer__logo:active,
.site-footer .footer__brand > a.footer__logo:focus,
.site-footer .footer__brand > a.footer__logo:focus-visible {
  line-height: 1;
  text-decoration: none !important;
  text-decoration-line: none !important;
  -webkit-text-decoration: none !important;
  text-underline-position: unset;
  border-bottom: none !important;
  box-shadow: none;
  margin-bottom: 0;
  color: var(--text);
}

.site-footer .footer__brand > a.footer__logo .logo__text {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: inherit;
  white-space: nowrap;
  text-decoration: none !important;
  text-decoration-line: none !important;
  -webkit-text-decoration: none !important;
  border-bottom: none !important;
}

/*
 * Две строки (разметка <br /> в HTML). Ширина больше картинки логотипа,
 * иначе узкий max-width ломает текст на 3–4 строки.
 */
.footer__tagline {
  margin: 10px 0 0;
  padding: 0;
  max-width: min(220px, 58vw);
  color: var(--muted);
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

@media (min-width: 900px) {
  .footer__tagline {
    max-width: 230px;
  }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer__col a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  opacity: 0.88;
}

.footer__col a:hover {
  opacity: 1;
  color: var(--primary-hover);
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--faint);
  text-align: center;
}

.footer__bottom p {
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 52rem;
  line-height: 1.5;
  text-align: center;
}

/* Blog & legal long-form */

.blog-page {
  padding: 32px 0 72px;
}

.blog-page.site-page {
  padding: var(--page-pad-top) 0 clamp(2.75rem, 7vw, 4.5rem);
}

.blog-page.site-page .blog-list {
  margin-top: clamp(0.25rem, 1.5vw, 0.75rem);
}

.blog-page__header {
  margin-bottom: 36px;
}

.blog-page__title {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.blog-page__intro {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  background: var(--surface);
}

.blog-card__meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-hover);
  margin-bottom: 8px;
}

.blog-card__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.blog-card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.legal-page {
  padding: 28px 0 80px;
}

.legal-page__header {
  margin-bottom: 28px;
  text-align: center;
}

.legal-page__title {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
}

.legal-page__updated {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Статьи базы знаний (/kb/…) — пустое тело готово под контент */
.kb-page {
  padding: var(--page-pad-top) 0 clamp(2.5rem, 6vw, 4rem);
}

.kb-page .container--narrow {
  max-width: 44rem;
}

.kb-page__header {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.kb-page__crumb {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
}

.kb-page__crumb a {
  color: var(--muted);
  text-decoration: none;
}

.kb-page__crumb a:hover {
  color: var(--primary-hover);
}

.kb-page__crumb-sep {
  color: var(--muted);
  user-select: none;
}

.kb-page__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text);
}

.kb-article__body {
  min-height: 1.5rem;
}

.kb-article__body:empty {
  min-height: 4rem;
}

.kb-article__body strong {
  color: rgba(255, 255, 255, 0.9);
}

.kb-table-wrap {
  margin: 0 0 1rem;
  overflow-x: auto;
  border: none;
  border-radius: 0;
  background: transparent;
}

.kb-table-wrap table {
  width: 100%;
  min-width: 33rem;
  border-collapse: collapse;
}

.kb-table-wrap th,
.kb-table-wrap td {
  padding: 0.9rem 0.45rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.45;
  vertical-align: top;
}

.kb-table-wrap thead th {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  background: transparent;
}

.kb-table-wrap td:first-child,
.kb-table-wrap td:nth-child(2) {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

@media (max-width: 680px) {
  .kb-table-wrap table {
    min-width: 30rem;
  }

  .kb-table-wrap th,
  .kb-table-wrap td {
    font-size: 0.95rem;
    padding: 0.78rem 0.4rem;
  }
}

.kb-table-wrap tbody tr:last-child td {
  border-bottom: none;
}

.legal-disclaimer {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(183, 28, 28, 0.06);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.legal-prose {
  max-width: 44rem;
}

.legal-prose h2 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
}

.legal-prose h2:first-of-type {
  margin-top: 0;
}

.legal-prose h3 {
  margin: 20px 0 8px;
  font-size: 0.98rem;
  font-weight: 600;
}

.legal-prose p,
.legal-prose li {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.legal-prose ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
}

.legal-prose a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: none;
}

.legal-prose a:hover {
  text-decoration: underline;
}

.legal-prose a.btn {
  color: inherit;
  text-decoration: none;
}

.legal-prose a.btn:hover {
  text-decoration: none;
}

.kb-inline-img {
  display: block;
  width: 384px;
  max-width: 100%;
  height: auto;
  margin: 10px 0 14px;
}

@media (max-width: 520px) {
  .kb-inline-img {
    width: min(50vw, 240px) !important;
    margin-inline: auto;
  }
}

/* Multi-page home (telegram.org-style) */

.home-layout {
  display: grid;
  gap: 40px;
  padding: 32px 0 72px;
  align-items: start;
}

@media (min-width: 960px) {
  .home-layout {
    grid-template-columns: 1fr min(300px, 32%);
    gap: 36px 48px;
    padding: 40px 0 88px;
  }
}

.home-main {
  min-width: 0;
}

.home-brand {
  text-align: center;
  padding: 16px 0 36px;
}

@media (min-width: 960px) {
  .home-brand {
    padding-bottom: 40px;
  }
}

.brand-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.brand-mark svg {
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(183, 28, 28, 0.35);
}

.home-brand__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-brand__tagline {
  margin: 10px 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--muted);
  font-weight: 500;
}

.home-downloads {
  display: grid;
  gap: 28px;
}

@media (min-width: 720px) {
  .home-downloads--two {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.home-downloads .download-column:only-child {
  max-width: 520px;
  margin-inline: auto;
}

.download-column {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  background: var(--surface);
}

.download-column--muted {
  opacity: 0.92;
}

.download-column__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.download-column__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--faint);
}

.download-column__icon--android {
  background: linear-gradient(145deg, rgba(61, 220, 132, 0.2), rgba(0, 0, 0, 0.2));
}

.download-column__icon--apple {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.3));
}

.download-column__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.download-column__mock {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.download-column__mock--placeholder {
  min-height: 200px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-column__soon {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.download-column__text {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.phone-frame--small .phone-frame__body {
  width: min(200px, 50vw);
  transform: rotateY(-6deg) rotateX(3deg);
}

.phone-frame--small .phone-frame__glow {
  width: min(240px, 60vw);
  height: min(380px, 85vw);
}

.news-sidebar {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 959px) {
  .news-sidebar {
    max-width: 520px;
    margin-inline: auto;
  }
}

.news-sidebar__title {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-hover);
  letter-spacing: -0.02em;
}

.news-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-feed__item {
  margin: 0;
}

.news-feed__date {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.news-feed__link {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.15s ease;
}

.news-feed__link:hover {
  color: var(--primary-hover);
}

.news-sidebar__all {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-hover);
  text-decoration: none;
}

.news-sidebar__all:hover {
  color: var(--text);
}

/* Inner pages */

.page {
  padding: 28px 0 72px;
}

.page__header {
  margin-bottom: 32px;
}

.page__title {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page__lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.page__back {
  margin: 48px 0 0;
}

.page__back a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: none;
}

.page__back a:hover {
  color: var(--text);
}

.news-article {
  padding: 28px 0;
  border-top: 1px solid var(--faint);
}

.news-article:first-of-type {
  border-top: none;
  padding-top: 0;
}

.news-article__date {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-hover);
  margin-bottom: 8px;
}

.news-article__title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
}

.news-article__body {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.news-article__body a {
  color: var(--primary-hover);
  text-decoration: none;
  font-weight: 600;
}

.news-article__body a:hover {
  text-decoration: underline;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 16px 14px;
  background: var(--surface);
}

.faq-item__q {
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 12px 0 4px;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__a {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item__a a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: none;
}

.faq-item__a a:hover {
  text-decoration: underline;
}

.prose h2 {
  margin: 32px 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.98rem;
}

.prose a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.app-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  background: var(--surface);
  margin-bottom: 24px;
}

.app-block--muted {
  opacity: 0.95;
}

.app-block__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
}

.app-block__badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--faint);
}

.app-block__badge--android {
  background: linear-gradient(145deg, rgba(61, 220, 132, 0.22), rgba(0, 0, 0, 0.25));
}

.app-block__badge--apple {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.35));
}

.app-block__text {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.app-block__text a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: none;
}

.app-block__text a:hover {
  text-decoration: underline;
}

.app-block__note {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.85;
}

.btn--static {
  pointer-events: none;
  opacity: 0.72;
  cursor: default;
}

.about-features {
  padding-top: 0 !important;
  border: none !important;
}

.about-security {
  margin-top: 0;
  padding-top: 48px !important;
}

.footer__col a[aria-current="page"] {
  color: var(--primary-hover);
  opacity: 1;
}

/* Новости: та же тёмная тема и акценты, что у шапки и главной */
main.news-page--tg,
main.news-article-page--tg {
  padding: 0;
  margin: 0;
  max-width: none;
  width: 100%;
  background: transparent;
}

.news-tg {
  --news-link: var(--primary-hover);
  background: transparent;
  color: var(--text);
  font-family: inherit;
}

.news-tg__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--page-pad-top) clamp(20px, 4vw, 48px) clamp(2.5rem, 5vw, 3.5rem);
  box-sizing: border-box;
  position: relative;
}

.news-tg__page-title {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-align: center;
}

.news-tg__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.news-tg__grid--related {
  margin-top: 0;
}

@media (max-width: 720px) {
  .news-tg__grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-card__thumb-link {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.85rem;
  line-height: 0;
  border: 1px solid var(--border);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.news-card__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: rgba(0, 0, 0, 0.35);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  text-align: left;
}

.news-card__title-link {
  text-decoration: none;
  color: var(--news-link);
}

.news-card__title-link:hover .news-card__title {
  color: #ff6b60;
  text-decoration: underline;
}

.news-card__title {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.35;
  color: inherit;
}

.news-card__excerpt {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-card__date {
  margin-top: auto;
  padding-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.news-tg__back-top {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 1rem;
}

.news-tg__back-top:hover {
  color: var(--primary-hover);
}

.news-breadcrumb--tg {
  font-size: 0.86rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.news-breadcrumb--tg a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.news-breadcrumb--tg a:hover {
  color: var(--primary-hover);
}

.news-breadcrumb__sep {
  margin: 0 0.35rem;
}

.news-tg__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(300px, 32%);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.news-tg__sidebar {
  border-left: 1px solid var(--border);
  padding-left: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 900px) {
  .news-tg__layout {
    grid-template-columns: 1fr;
  }

  .news-tg__sidebar {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 1.75rem;
  }
}

.news-tg__main {
  min-width: 0;
}

.news-article-tg__masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.news-article-tg__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.news-article-tg__title {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
  text-align: center;
}

.news-article-tg__masthead-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.news-article-tg__original {
  margin: 0.65rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.news-article-tg__original-bar {
  width: 3px;
  height: 1.1em;
  border-radius: 2px;
  background: var(--primary-hover);
  flex-shrink: 0;
}

.news-article-tg__original-link {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: none;
}

.news-article-tg__original-link:hover {
  color: #ff6b60;
  text-decoration: underline;
}

.news-article-tg__hero {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  border: 1px solid var(--border);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.news-article-tg__hero img {
  width: 100%;
  height: auto;
  display: block;
}

.news-article-tg__body {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.news-article-tg__body p {
  margin: 0 0 1rem;
}

.news-article-tg__body p:last-child {
  margin-bottom: 0;
}

.news-article-tg__body a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: none;
}

.news-article-tg__body a:hover {
  color: #ff6b60;
  text-decoration: underline;
}

.news-article-tg__body ul,
.news-article-tg__body ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.news-article-tg__body h2 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.65rem;
  color: var(--text);
}

.news-article-tg__body strong {
  font-weight: 700;
}

.news-article-tg__body code {
  font-size: 0.9em;
  padding: 0.12em 0.35em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.news-article-tg__signature {
  margin: 2rem 0 1.25rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--muted);
}

.news-article-tg__share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.news-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.news-share-btn--tg {
  background: var(--primary);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.news-share-btn--tg:hover {
  background: var(--primary-hover);
  color: #fff;
}

.news-sidebar__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.news-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-sidebar__item {
  margin: 0 0 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--faint);
}

.news-sidebar__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.news-sidebar__date {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.news-sidebar__link {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--primary-hover);
  text-decoration: none;
  font-weight: 500;
}

.news-sidebar__link:hover {
  color: #ff6b60;
  text-decoration: underline;
}

.news-tg__related {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
}

.news-tg__related-title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* === Partners / referral promo (Landora UI, не «сухой» legal) ========== */

.partners-lp {
  /* Один шаг по всей странице: между блоками текста, плашками, кнопками и секциями */
  --partners-stack-gap: 40px;
  /* Чуть ниже общего --page-pad-top; −10px — микрокоррекция вверх */
  padding: calc(var(--page-pad-top) + clamp(0.55rem, 1.35vw, 0.95rem) - 10px) 0 clamp(3rem, 8vw, 5rem);
  /* Любой «вылет» декора/тени/letter-spacing не должен давать горизонтальный скролл */
  max-width: 100%;
  overflow-x: hidden;
}

/* Сброс дефолтных margin у браузера — ритм только через gap у flex/grid */
.partners-lp :where(h1, h2, h3, p) {
  margin: 0;
}

.partners-lp__shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  /* Отступы между крупными зонами задаём margin — после героя больше воздуха */
  gap: 0;
}

.partners-lp__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  /* Без полноэкранной высоты — иначе под контентом пустота и огромный зазор до следующей секции */
  min-height: 0;
  padding: 0;
  margin-bottom: 0;
}

.partners-lp__hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}

.partners-lp__hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  min-width: 0;
  gap: var(--partners-stack-gap);
}

.partners-lp__kicker {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(0.78rem, 1.35vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  /* Компенсация «хвоста» letter-spacing у последней буквы — иначе бывает +1…+8px overflow */
  padding-inline-end: 0.14em;
  text-transform: uppercase;
  color: var(--primary-hover);
}

.partners-lp__title {
  margin: 0;
  max-width: min(22em, 100%);
  font-size: clamp(2rem, 5.4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  word-spacing: 0.075em;
  color: var(--text);
  text-align: center;
}

.partners-lp__title-accent {
  color: var(--primary-hover);
  text-shadow: 0 0 42px var(--accent-glow);
}

.partners-lp__lead {
  margin-inline: auto;
  margin-block: 0;
  max-width: min(48rem, 100%);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.partners-lp__lead-stat {
  font-weight: 800;
  font-size: clamp(1.12rem, 2.35vw, 1.3rem);
  line-height: 1.15;
  color: var(--primary-hover);
  letter-spacing: -0.03em;
  text-shadow: 0 0 20px rgba(229, 57, 53, 0.4);
  white-space: nowrap;
  vertical-align: -0.05em;
}

.partners-lp__lead-stat--primary {
  font-size: clamp(1.32rem, 3.15vw, 1.65rem);
  text-shadow: 0 0 26px rgba(229, 57, 53, 0.5);
  vertical-align: -0.08em;
}

/* Три плашки как на главной (.hero-map__plate + .home-showcase__plate) */
.partners-lp__plates {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--partners-stack-gap);
  max-width: min(68rem, 100%);
  width: 100%;
}

.partners-lp__plate-item {
  margin: 0;
  padding: 0;
  display: flex;
  min-width: 0;
  min-height: 0;
}

/* Фон и скругление как у плашек ОС на главной (.hero-home__platforms .hero-map__plate) */
.partners-lp__plates .home-showcase__plate.hero-map__plate {
  flex: 1;
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  min-height: clamp(11.5rem, 21vw, 14.35rem);
  height: auto;
  justify-content: flex-start;
  padding: clamp(1.22rem, 2.5vw, 1.68rem) clamp(0.72rem, 1.55vw, 1rem)
    clamp(1.38rem, 2.65vw, 1.82rem);
  gap: clamp(0.55rem, 1.2vw, 0.8rem);
  background: var(--hero-home-panel);
  border: none;
  border-radius: var(--hero-home-panel-radius);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.partners-lp__plates .home-showcase__plate.hero-map__plate--static:hover {
  background: var(--hero-home-panel);
  border: none;
  box-shadow: none;
  transform: none;
  color: rgba(255, 255, 255, 0.9);
}

.partners-lp__plates .home-showcase__plate.hero-map__plate--static:hover .hero-map__plate-kicker {
  color: rgba(255, 255, 255, 0.55);
}

.partners-lp__plates .home-showcase__plate.hero-map__plate--static:hover .hero-map__plate-label.home-showcase__plate-label,
.partners-lp__plates .home-showcase__plate.hero-map__plate--static:hover .home-showcase__plate-label {
  color: rgba(255, 255, 255, 0.72);
}

.partners-lp__plates .home-showcase__plate.hero-map__plate--static:hover .home-showcase__plate-desc {
  color: rgba(255, 255, 255, 0.58);
}

.partners-lp__plates .home-showcase__plate .hero-map__plate-icon {
  width: clamp(3rem, 8vw, 4.25rem);
  height: clamp(3rem, 8vw, 4.25rem);
}

.partners-lp__plates .home-showcase__plate .hero-map__plate-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.partners-lp__plates .home-showcase__plate .hero-map__plate-kicker {
  font-size: clamp(0.72rem, 1.2vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.07em;
  opacity: 0.95;
}

.partners-lp__plates .home-showcase__plate .hero-map__plate-label.home-showcase__plate-label,
.partners-lp__plates .home-showcase__plate .home-showcase__plate-label {
  font-size: clamp(0.78rem, 1.3vw, 0.9rem);
  line-height: 1.24;
}

.partners-lp__plates .home-showcase__plate .home-showcase__plate-desc {
  font-size: clamp(0.71rem, 1.15vw, 0.84rem);
  line-height: 1.38;
  max-width: 18.25rem;
  margin-inline: auto;
}

@media (max-width: 800px) {
  .partners-lp__plates {
    grid-template-columns: 1fr;
    max-width: min(30rem, 100%);
  }
}

.partners-lp__actions {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--partners-stack-gap);
  width: 100%;
  max-width: 40rem;
}

.partners-lp__btn-arrow::after {
  content: " →";
}

.partners-lp__section-kicker {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(0.78rem, 1.35vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-inline-end: 0.14em;
  text-transform: uppercase;
  color: var(--primary-hover);
}

.partners-lp__below {
  position: relative;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: 0;
  display: flow-root;
  max-width: 100%;
  overflow-x: hidden;
}

.partners-lp__below::before {
  content: "";
  position: absolute;
  /* Без отрицательного inset по горизонтали — иначе псевдоэлемент шире вьюпорта и появляется горизонтальный скролл */
  inset: -1.5rem 0 0;
  z-index: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 0%, transparent 72%);
  pointer-events: none;
}

.partners-lp__below > * {
  position: relative;
  z-index: 1;
}

.partners-lp__section-block {
  display: flex;
  flex-direction: column;
  gap: var(--partners-stack-gap);
  margin-top: 0;
  padding-bottom: 0;
}

.partners-lp__section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  margin-bottom: 0;
}

.partners-lp__section-head > .partners-lp__section-title {
  margin-top: clamp(0.4rem, 1.1vw, 0.65rem);
}

.partners-lp__section-head > .partners-lp__section-lead {
  margin-top: var(--partners-stack-gap);
}

.partners-lp__section-title {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.partners-lp__section-lead {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.5;
}

.partners-lp__steps {
  display: grid;
  gap: var(--partners-stack-gap);
}

@media (min-width: 720px) {
  .partners-lp__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Тот же фон панели, что у плашек ОС на главной */
.partners-lp__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: clamp(0.55rem, 1.35vw, 0.85rem);
  border: none;
  border-radius: var(--hero-home-panel-radius);
  padding: clamp(1.1rem, 2.25vw, 1.5rem) clamp(1.05rem, 2.1vw, 1.35rem);
  background: var(--hero-home-panel);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.partners-lp__step-num {
  width: clamp(40px, 5vw, 46px);
  height: clamp(40px, 5vw, 46px);
  margin-bottom: 0.1rem;
  border-radius: 12px;
  background: rgba(229, 57, 53, 0.26);
  border: 1px solid rgba(229, 57, 53, 0.45);
  color: #ff7a76;
  font-weight: 800;
  font-size: clamp(0.88rem, 1.5vw, 0.98rem);
  letter-spacing: 0.03em;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 4px 18px rgba(229, 57, 53, 0.12);
}

.partners-lp__step h3 {
  margin: 0;
  font-size: clamp(1.02rem, 1.9vw, 1.14rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--text);
}

.partners-lp__step p {
  margin: 0;
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
  max-width: 100%;
}

/* Сужаем до ширины основного контента; секция одновременно .container--wide */
.partners-lp__band.container.container--wide {
  max-width: var(--container);
}

.partners-lp__band {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: var(--partners-stack-gap);
  border-radius: var(--radius);
  border: 1px solid rgba(229, 57, 53, 0.45);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(229, 57, 53, 0.16), transparent 58%),
    linear-gradient(158deg, rgba(190, 45, 45, 0.22) 0%, rgba(28, 10, 10, 0.94) 42%, rgba(0, 0, 0, 0.9) 100%);
  padding: clamp(1.65rem, 3.75vw, 2.4rem) clamp(1.35rem, 3.25vw, 2rem) clamp(1.85rem, 4vw, 2.7rem);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.52),
    0 0 100px rgba(183, 28, 28, 0.09);
  overflow: hidden;
}

.partners-lp__band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.4;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  pointer-events: none;
}

.partners-lp__band > * {
  position: relative;
  z-index: 1;
}

.partners-lp__band-title {
  margin: 0;
  font-size: clamp(1.22rem, 2.7vw, 1.58rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}

/* Селектор сильнее .partners-lp :where(p), чтоб задать вертикальные отступы */
.partners-lp__band .partners-lp__band-lead {
  margin: clamp(0.55rem, 1.45vw, 0.9rem) auto 0;
  /* Шире, чтобы две осознанные строки после <br> не ломались в три автопереносом */
  max-width: min(42rem, 100%);
  font-size: clamp(0.9rem, 1.65vw, 1.02rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.62;
}

/* Кнопка Telegram внизу: тот же верхний отступ, что был у .partners-lp__btn-arrow */
.partners-lp__band .apps-hub__tg-btn {
  margin-top: clamp(1.15rem, 2.5vw, 1.65rem) !important;
}

.partners-lp__band .partners-lp__btn-arrow.btn--primary {
  margin-top: clamp(1.15rem, 2.5vw, 1.65rem);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 6px 26px rgba(229, 57, 53, 0.42),
    0 12px 40px rgba(0, 0, 0, 0.38);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;
}

.partners-lp__band .partners-lp__btn-arrow.btn--primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 36px rgba(229, 57, 53, 0.52),
    0 16px 52px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.partners-lp__band .partners-lp__btn-arrow.btn--primary:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .partners-lp__band .partners-lp__btn-arrow.btn--primary:hover,
  .partners-lp__band .partners-lp__btn-arrow.btn--primary:active {
    transform: none;
  }
}

/* Адаптив: страница партнёров */
@media (max-width: 720px) {
  .partners-lp {
    --partners-stack-gap: clamp(1.15rem, 4.2vw, 1.65rem);
  }

  .partners-lp__title {
    overflow-wrap: break-word;
  }
}

@media (max-width: 380px) {
  .partners-lp__lead-stat,
  .partners-lp__lead-stat--primary {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .partners-lp__actions {
    align-items: stretch;
  }

  .partners-lp__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .partners-lp__band .partners-lp__btn-arrow.btn--primary,
  .partners-lp__band .apps-hub__tg-btn {
    align-self: stretch;
    max-width: none;
  }
}

.partners-lp a:not(.btn) {
  color: var(--primary-hover);
}

.partners-lp a:not(.btn):hover {
  color: #ff6b6b;
}


/* Globe dropdown via <details>/<summary> (no JS) */
.lang-menu{position:relative;display:inline-flex;}
.lang-menu>summary{list-style:none;}
.lang-menu>summary::-webkit-details-marker{display:none;}
.lang-toggle{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;padding:0;}
.lang-toggle svg{width:18px;height:18px;display:block;}
.lang-dropdown{position:absolute;top:calc(100% + 10px);right:0;min-width:128px;padding:8px;border-radius:12px;border:1px solid var(--border);background:rgba(15,15,15,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 14px 44px rgba(0,0,0,.55);display:none;z-index:60;}
.lang-menu[open] .lang-dropdown{display:block;}
.lang-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px;border-radius:10px;text-decoration:none;color:var(--text);font-weight:600;font-size:.92rem;}
.lang-item:hover{background:rgba(255,255,255,.06);}
.lang-item small{color:var(--muted);font-weight:600;letter-spacing:.04em;}

/* Landora Private: кикер + вкладки по центру (column flex + align-items: center — обходит кривое margin/fit-content) */
.private-lp .private-lp__tabs-wrap {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 0 var(--partners-stack-gap);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.private-lp .private-lp__tabs-wrap .partners-lp__kicker.private-lp__top-kicker {
  margin: 0 0 var(--partners-stack-gap);
  text-align: center;
  width: 100%;
  max-width: 100%;
}
/* Как .home-showcase__tabs-wrap + .home-showcase__tab на главной */
.private-lp .private-lp__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 4px;
  width: auto;
  max-width: min(56rem, 100%);
  margin: 0;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--home-showcase-tab-track);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.private-lp__tab {
  appearance: none;
  margin: 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(0.78rem, 1.45vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.private-lp__tab:hover:not(.is-active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.private-lp__tab:focus-visible {
  outline: 2px solid var(--primary-hover);
  outline-offset: 2px;
}

.private-lp__tab.is-active {
  background: #fff;
  color: #141414;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}
.private-lp__panel {
  outline: none;
}
/* Ритм колонки героя — только из .partners-lp__hero-inner { gap: var(--partners-stack-gap) } */
.private-lp__tagline {
  font-size: clamp(1rem, 2.5vw, 1.12rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: min(40rem, 100%);
  text-wrap: balance;
}

/* Нижняя зона вкладки Private: как .home-showcase на главной (фон + скругление к верху экрана).
   Без отрицательного margin — иначе блок наезжает на подзаголовок героя. */
.private-lp .private-lp__showcase-band {
  --private-lp-showcase-top-radius: clamp(40px, 6.5vw, 56px);
  background: var(--hero-home-panel);
  border-top-left-radius: var(--private-lp-showcase-top-radius);
  border-top-right-radius: var(--private-lp-showcase-top-radius);
  padding: calc(var(--home-showcase-rhythm) + 20px) 0 clamp(1.75rem, 5vw, 3.25rem);
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

.private-lp .private-lp__showcase-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--partners-stack-gap);
  min-width: 0;
}

/* Плашки под текстом Private: как карточки .home-showcase на главной (светлее фона блока) */
.private-lp .private-lp__showcase-band .partners-lp__plates .home-showcase__plate.hero-map__plate {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--home-showcase-card);
  border: 1px solid var(--home-showcase-card-border);
  border-radius: var(--hero-home-panel-radius);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.private-lp .private-lp__showcase-band .partners-lp__plates .home-showcase__plate.hero-map__plate:hover {
  background: var(--home-showcase-card-hover);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(229, 57, 53, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.private-lp .private-lp__showcase-band .partners-lp__plates .home-showcase__plate .hero-map__plate-icon {
  color: var(--text);
}

.private-lp .private-lp__showcase-band .partners-lp__plates .home-showcase__plate .hero-map__plate-kicker {
  color: var(--text);
  text-align: center;
  width: 100%;
}

.private-lp .private-lp__showcase-band .partners-lp__plates .home-showcase__plate .hero-map__plate-label.home-showcase__plate-label,
.private-lp .private-lp__showcase-band .partners-lp__plates .home-showcase__plate .home-showcase__plate-label {
  color: var(--text);
  text-align: center;
  width: 100%;
}

.private-lp .private-lp__showcase-band .partners-lp__plates .home-showcase__plate .home-showcase__plate-desc {
  color: var(--text);
  text-align: center;
  max-width: 18.25rem;
  width: 100%;
  margin-inline: auto;
}

.private-lp .private-lp__showcase-band .partners-lp__plates .home-showcase__plate.hero-map__plate--static:hover .hero-map__plate-label,
.private-lp .private-lp__showcase-band .partners-lp__plates .home-showcase__plate.hero-map__plate--static:hover .hero-map__plate-kicker {
  color: var(--text);
}

/* Длинный текст под героем (стримеры): шире сетки плашек; заголовок в одну строку от планшета */
.private-lp__deep-dive {
  width: 100%;
  max-width: min(68rem, 100%);
  margin-inline: auto;
  padding: 0;
  text-align: center;
}
.private-lp__deep-dive-title {
  margin: 0 auto clamp(1.25rem, 3.2vw, 2rem);
  max-width: 100%;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: var(--text);
  text-align: center;
}
@media (min-width: 720px) {
  .private-lp__deep-dive-title--single-line {
    white-space: nowrap;
  }
}
.private-lp__deep-dive-body {
  display: flex;
  flex-direction: column;
  gap: var(--partners-stack-gap);
}
.private-lp__deep-dive-body p {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--text);
  text-wrap: pretty;
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

@media (min-width: 901px) {
  .private-lp__deep-dive-body p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

.private-lp__fine-print {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
  text-align: left;
}

.private-lp__fine-print li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  font-size: clamp(0.95rem, 1.75vw, 1.05rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--text);
  text-wrap: pretty;
}

.private-lp__fine-print-dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.42em;
  border-radius: 50%;
  background: rgb(229, 57, 53);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
  .private-lp .private-lp__tabs {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .private-lp .private-lp__tabs {
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    border-radius: var(--radius);
    padding: 6px;
  }

  .private-lp__tab {
    width: 100%;
    text-align: center;
    border-radius: var(--radius-sm);
  }
}
