/* ============================================================
   LymuCloud — новый лендинг (beta)
   Скоуп: #lc-landing. На главной React-приложение (#root)
   показывает только свой header, остальное скрыто.
   ============================================================ */

html.lc-home,
html.lc-home body {
  background: #000 !important;
  margin: 0;
  padding: 0;
}

/* --- React: на главной оставляем только шапку --- */
html.lc-home #root {
  display: block !important;
  background: transparent !important;
}
html.lc-home #root > div > div {
  min-height: 0 !important;
  height: 0 !important;
  background: transparent !important;
}
html.lc-home #root > div > div > *:not(header) { display: none !important; }
html.lc-home #root > section,
html.lc-home #root > div.fixed { display: none !important; }

html:not(.lc-home) #lc-landing { display: none !important; }

#lc-landing {
  /* базовый «цвет чернил»: из него строятся все полупрозрачные оттенки,
     поэтому светлая тема получается простой сменой --lc-rgb */
  --lc-rgb: 255, 255, 255;
  --lc-bg: #000;
  --lc-fg: #fff;
  --lc-card-solid: #080808;
  --lc-cta-1: #101013;
  --lc-cta-2: #08080a;
  --lc-menu-bg: #0c0c0e;
  --lc-btn-bg: #fff;
  --lc-btn-fg: #000;
  --lc-btn-hover: #f2f2f2;
  --lc-violet: #a78bfa;
  --lc-violet-500: #8b5cf6;
  --lc-line: rgba(var(--lc-rgb), 0.05);
  --lc-card: rgba(var(--lc-rgb), 0.015);
  --lc-muted: rgba(var(--lc-rgb), 0.25);
  --lc-dim: rgba(var(--lc-rgb), 0.2);
  --lc-strong: rgba(var(--lc-rgb), 0.85);

  position: relative;
  background: var(--lc-bg);
  color: var(--lc-fg);
  /* шрифт сайта (Onest уже загружен index-v111.css из /fonts/) — НЕ менять */
  font-family: Onest, ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html.lc-home { scroll-behavior: smooth; }

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

/* нейтрализуем глобальные стили React-лендинга, совпадающие по id */
#lc-landing #pricing {
  background: transparent !important;
  color: var(--lc-fg) !important;
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
  scroll-margin-top: 76px !important;
}
/* сайтовый `#pricing h2{color:#fff}` перебивал заголовок секции */
#lc-landing #pricing .lc-h2 { color: rgba(var(--lc-rgb), 0.85) !important; }

/* невидимый якорь для /#features (id секции — lc-features) */
.lc-anchor {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 136px;
}

#lc-landing img { max-width: 100%; display: block; }
#lc-landing a { text-decoration: none; }
#lc-landing button { font: inherit; }

.lc-wrap {
  width: 100%;
  max-width: 1370px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.lc-btn-white { background: var(--lc-btn-bg); color: var(--lc-btn-fg); }
.lc-btn-white:hover { background: rgba(var(--lc-rgb), 0.9); }
.lc-btn-lg { height: 44px; padding: 0 24px; border-radius: 16px; font-size: 14px; }
.lc-btn-lg:hover { transform: scale(1.02); }
.lc-btn-lg:active { transform: scale(0.98); }
.lc-btn-ghost-lg {
  height: 44px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 14px;
  color: rgba(var(--lc-rgb), 0.3);
  background: transparent;
}
.lc-btn-ghost-lg:hover { color: rgba(var(--lc-rgb), 0.5); background: rgba(var(--lc-rgb), 0.05); }

/* ---------- Hero ---------- */
.lc-hero {
  position: relative;
  min-height: max(100vh, 640px);
  max-height: 1400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 80px;
  background:
    radial-gradient(ellipse 70% 48% at 50% 42%, rgba(var(--lc-rgb), 0.055), transparent 70%),
    linear-gradient(180deg, rgba(var(--lc-rgb), 0.018), transparent 58%);
}
/* Лёгкая новая композиция: нейтральная глубина без рамки и фиолетового glow. */
.lc-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(var(--lc-rgb), 0.035), transparent 34%),
    linear-gradient(315deg, rgba(var(--lc-rgb), 0.02), transparent 42%);
  pointer-events: none;
}

.lc-hero-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lc-hero-fade::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to bottom, var(--lc-bg), transparent);
}
.lc-hero-fade::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--lc-bg), transparent);
}

.lc-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.lc-h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: rgba(var(--lc-rgb), 0.9);
}
.lc-rot {
  position: relative;
  display: block;
  height: 1.32em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.lc-rot-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: rgba(167, 139, 250, 0.9);
  opacity: 0;
  transform: translateY(112%);
  filter: blur(10px);
  will-change: transform, opacity, filter;
  transition:
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease,
    filter 0.78s ease;
}
.lc-rot-word.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.lc-rot-word.is-leaving {
  opacity: 0;
  transform: translateY(-112%);
  filter: blur(10px);
}

.lc-sub {
  margin: 0 auto 32px;
  max-width: 620px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: rgba(var(--lc-rgb), 0.4);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85);
}

.lc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 64px;
}

.lc-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.lc-stat {
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  filter: blur(8px);
  transition:
    opacity 0.7s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
}
.lc-stat.lc-stat-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.lc-stat b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: rgba(var(--lc-rgb), 0.85);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.9);
}
.lc-stat span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--lc-rgb), 0.32);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.lc-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 20px;
  height: 36px;
  border: 1px solid rgba(var(--lc-rgb), 0.1);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.lc-scroll i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(var(--lc-rgb), 0.3);
  animation: lc-dot 1.8s ease-in-out infinite;
}
@keyframes lc-dot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ---------- Sections ---------- */
.lc-section { padding: 96px 0; position: relative; scroll-margin-top: 136px; }
.lc-head { text-align: center; margin-bottom: 48px; }
.lc-h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(var(--lc-rgb), 0.85);
}
.lc-sub2 {
  margin: 0;
  font-size: 14px;
  color: rgba(var(--lc-rgb), 0.38);
}

/* ---------- Features (redesign 28.10 по референсу «Почему выбирают нас») ---------- */
.lc-fsec { padding-top: 80px; }
/* преимущества чуть шире остальных секций */
.lc-fsec .lc-wrap { max-width: 1500px; }
.lc-fhead {
  max-width: 768px;
  margin: 0 auto 48px;
  text-align: center;
}
.lc-fhead-title { display: inline-block; }
.lc-fh2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--lc-fg);
}
.lc-fsub {
  margin: 16px auto 0;
  max-width: 690px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(var(--lc-rgb), 0.45);
}

.lc-features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.lc-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  grid-column: span 2;
  padding: 24px;
  border-radius: 16px;
  background: var(--lc-card-solid);
  box-shadow: inset 0 0 0 1px rgba(var(--lc-rgb), 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lc-feature:nth-child(n + 4) { grid-column: span 3; }
.lc-feature:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(var(--lc-rgb), 0.14);
}
/* арты в карточках убраны (30.10, юзер: «в преимуществах убери изображения») */
.lc-feature-ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--lc-rgb), 0.06);
  box-shadow: inset 0 0 0 1px rgba(var(--lc-rgb), 0.08);
  color: rgba(var(--lc-rgb), 0.55);
  transition: color 0.3s ease;
}
.lc-feature:hover .lc-feature-ico { color: rgba(var(--lc-rgb), 0.7); }
.lc-feature-body { position: relative; display: flex; flex-direction: column; gap: 6px; }
.lc-feature h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--lc-fg);
}
.lc-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(var(--lc-rgb), 0.38);
}
.lc-feature-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(var(--lc-rgb), 0.08);
  color: var(--lc-fg);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.lc-feature:hover .lc-feature-arrow { opacity: 1; transform: translateX(0); }

/* ---------- Pricing filters ---------- */
.lc-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin-bottom: 18px;
}
.lc-filters-loc { margin-bottom: 44px; }
.lc-filter { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lc-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--lc-rgb), 0.35);
}
.lc-filter-label svg { flex: 0 0 auto; opacity: 0.8; }

.lc-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(var(--lc-rgb), 0.03);
  box-shadow: inset 0 0 0 1px rgba(var(--lc-rgb), 0.06);
}
.lc-opt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(var(--lc-rgb), 0.5);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.lc-opt svg { flex: 0 0 auto; opacity: 0.7; transition: opacity 0.2s ease; }
.lc-opt img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; opacity: 0.7; transition: opacity 0.2s ease; }
.lc-opt:hover:not(:disabled) { color: rgba(var(--lc-rgb), 0.85); background: rgba(var(--lc-rgb), 0.04); }
.lc-opt:active:not(:disabled) { transform: scale(0.96); }
.lc-opt.lc-on {
  color: var(--lc-fg);
  background: rgba(var(--lc-rgb), 0.13);
  box-shadow: inset 0 0 0 1px rgba(var(--lc-rgb), 0.2), 0 6px 18px -10px rgba(0, 0, 0, 0.9);
}
.lc-opt.lc-on svg,
.lc-opt.lc-on img { opacity: 1; }
.lc-opt:disabled { opacity: 0.35; cursor: not-allowed; }
/* выбранную вкладку повторно выбрать нельзя: без «нажатия» и без затухания при hover */
.lc-opt.lc-on:not(a) { cursor: default; }
.lc-opt.lc-on:hover:not(:disabled) {
  color: var(--lc-fg);
  background: rgba(var(--lc-rgb), 0.13);
  box-shadow: inset 0 0 0 1px rgba(var(--lc-rgb), 0.2), 0 6px 18px -10px rgba(0, 0, 0, 0.9);
}
.lc-opt.lc-on:active:not(:disabled) { transform: none; }

/* ---------- Tariff cards ---------- */
.lc-tariffs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.lc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(var(--lc-rgb), 0.06);
  background: rgba(var(--lc-rgb), 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--lc-rgb), 0.12);
  background: rgba(var(--lc-rgb), 0.03);
}
@keyframes lc-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.lc-card {
  animation: lc-card-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes lc-opt-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.045); }
  100% { transform: scale(1); }
}
.lc-opt.lc-on { animation: lc-opt-pop 0.3s ease; }
.lc-card-top { display: flex; align-items: flex-start; gap: 14px; }
.lc-card-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--lc-rgb), 0.06);
  color: rgba(var(--lc-rgb), 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.lc-card-head { min-width: 0; flex: 1 1 auto; }
.lc-card-name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--lc-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-card-price {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(var(--lc-rgb), 0.62);
}
.lc-card-price span { color: rgba(var(--lc-rgb), 0.35); font-weight: 400; }
.lc-card-old {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: rgba(var(--lc-rgb), 0.3);
  text-decoration: line-through;
}
.lc-card-off {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--lc-btn-bg);
  color: var(--lc-btn-fg);
  font-size: 12px;
  font-weight: 700;
}
.lc-card-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 24px;
  flex: 1 1 auto;
}
.lc-spec { display: flex; align-items: flex-start; gap: 12px; }
.lc-spec-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(var(--lc-rgb), 0.05);
  color: rgba(var(--lc-rgb), 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
}
.lc-spec-body { min-width: 0; }
.lc-spec-body b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(var(--lc-rgb), 0.8);
}
.lc-spec-body span {
  display: block;
  margin-top: 1px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(var(--lc-rgb), 0.44);
  overflow-wrap: anywhere;
}
.lc-card-buy {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: 12px;
  background: var(--lc-btn-bg);
  color: var(--lc-btn-fg);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
}
.lc-card-buy svg { flex: 0 0 auto; }
.lc-card-buy:hover { background: rgba(var(--lc-rgb), 0.9); }
.lc-card-buy:active { transform: scale(0.98); }

.lc-empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: rgba(var(--lc-rgb), 0.25);
  font-size: 14px;
  border: 1px dashed rgba(var(--lc-rgb), 0.06);
  border-radius: 16px;
}
.lc-empty a { color: #a78bfa; }

/* ---------- CTA (формат референса: простая секция по центру, без панели) ---------- */
.lc-cta { padding: 0 0 96px; }
.lc-cta-in { max-width: 640px; margin: 0 auto; text-align: center; }
.lc-cta-h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(var(--lc-rgb), 0.85);
}
.lc-cta-sub {
  margin: 0 0 32px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(var(--lc-rgb), 0.2);
}
.lc-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 32px;
  border-radius: 16px;
  background: var(--lc-btn-bg);
  color: var(--lc-btn-fg);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.18s ease !important;
}
.lc-cta-btn:hover { background: var(--lc-btn-hover); transform: scale(1.02); }
.lc-cta-btn:active { transform: scale(0.98); }
.lc-cta-btn svg { flex: 0 0 auto; transition: transform 0.25s ease !important; }
.lc-cta-btn:hover svg { transform: translateX(3px); }

/* ---------- Footer (формат референса: hairline сверху, hairline перед низом) ---------- */
.lc-footer { position: relative; overflow: hidden; }
.lc-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--lc-rgb), 0.08), transparent);
  pointer-events: none;
}
.lc-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 64px 0 56px;
}
.lc-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.lc-brand-box {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(var(--lc-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lc-brand-box img { width: 20px; height: 20px; }
.lc-footer-brand span { font-weight: 600; font-size: 15px; color: rgba(var(--lc-rgb), 0.8); }
.lc-footer p.lc-about {
  margin: 0 0 24px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(var(--lc-rgb), 0.2);
}
.lc-socials { display: flex; gap: 12px; }
.lc-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(var(--lc-rgb), 0.03);
  color: rgba(var(--lc-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.lc-socials a:hover { background: rgba(var(--lc-rgb), 0.08); color: rgba(var(--lc-rgb), 0.6); }
.lc-socials a svg { display: block; width: 17px; height: 17px; }
.lc-socials a:focus-visible { outline: 2px solid rgba(167, 139, 250, 0.9); outline-offset: 3px; }
.lc-socials .lc-social-vk { font-size: 0; }
.lc-social-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.lc-footer h4 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--lc-rgb), 0.5);
}
.lc-footer ul { list-style: none; margin: 0; padding: 0; }
.lc-footer li + li { margin-top: 10px; }
.lc-footer li a {
  font-size: 14px;
  color: rgba(var(--lc-rgb), 0.2);
  transition: color 0.2s ease;
}
.lc-footer li a:hover { color: rgba(var(--lc-rgb), 0.5); }
.lc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(var(--lc-rgb), 0.04);
  font-size: 12px;
  color: rgba(var(--lc-rgb), 0.15);
}
.lc-footer-bottom span:last-child { color: rgba(var(--lc-rgb), 0.1); }

/* ---------- Reveal ---------- */
@keyframes lc-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.lc-hero-inner > * { animation: lc-fade-up 0.7s ease both; }
.lc-hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
.lc-hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
.lc-hero-inner > *:nth-child(4) { animation-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .lc-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-feature,
  .lc-feature:nth-child(n + 4) { grid-column: span 1; }
  .lc-tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-footer-grid { grid-template-columns: 1fr 1fr; }
  .lc-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .lc-section { padding: 64px 0; }
  .lc-cta { padding: 0 0 64px; }
  .lc-section { scroll-margin-top: 124px; }
  .lc-hero { padding: 128px 0 64px; min-height: max(100vh, 620px); min-height: max(100svh, 620px); }
  .lc-hero-cta { margin-bottom: 40px; }
  .lc-stats { gap: 24px; }
  .lc-stat b { font-size: 20px; }
  .lc-footer-bottom { flex-direction: column; align-items: flex-start; }
  .lc-scroll { display: none; }
  .lc-filters { flex-direction: column; align-items: center; gap: 18px; }
  .lc-pill { justify-content: center; }
}
@media (max-width: 640px) {
  .lc-features, .lc-tariffs { grid-template-columns: 1fr; }
  .lc-wrap { padding: 0 16px; }
  .lc-h1 { font-size: 30px; }
  .lc-footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 32px; }
  .lc-fhead { margin-bottom: 32px; }
  .lc-feature { padding: 20px; }
  .lc-cta-btn { width: 100%; max-width: 320px; }
}
@media (max-width: 430px) {
  /* шапка сайта на узких экранах: убираем подпись у кнопки входа */
  html.lc-home .lk-chip span { display: none; }
}
@media (max-width: 380px) {
  /* совсем узко: оставляем только иконку логотипа */
  html.lc-home .lk-logo span { display: none; }
}
@media (max-width: 420px) {
  .lc-opt { padding: 9px 13px; font-size: 13px; gap: 8px; }
  .lc-pill { gap: 4px; padding: 5px; }
}
@media (max-width: 360px) {
  .lc-h1 { font-size: 26px; }
  .lc-btn-lg { padding: 0 18px; }
  .lc-btn-ghost-lg { padding: 0 16px; }
}

/* ---------- Mobile menu (своё, потому что родное меню шапки падает) ---------- */
.lc-mmenu {
  position: fixed;
  top: 72px;
  left: 16px;
  z-index: 60;
  min-width: 232px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 16px;
  border: 1px solid rgba(var(--lc-rgb), 0.08);
  background: var(--lc-menu-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}
.lc-mmenu[hidden] { display: none; }
.lc-mmenu a {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(var(--lc-rgb), 0.72);
  transition: background 0.2s ease, color 0.2s ease;
}
.lc-mmenu a:hover { background: rgba(var(--lc-rgb), 0.06); color: var(--lc-fg); }
.lc-mmenu-sep { height: 1px; margin: 6px 8px; background: rgba(var(--lc-rgb), 0.08); }

/* ВАЖНО: в index-v111.css есть глобальное `*{transition:...!important}`, которое
   перебивает наши transition (даже инлайн-стили). Возвращаем плавность точечно. */
#lc-landing .lc-rot-word {
  transition:
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease,
    filter 0.78s ease !important;
}
#lc-landing .lc-stat {
  transition:
    opacity 0.7s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease !important;
}
#lc-landing .lc-card {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}
#lc-landing .lc-feature {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
#lc-landing .lc-feature-ico { transition: color 0.3s ease !important; }
#lc-landing .lc-feature-arrow { transition: opacity 0.3s ease, transform 0.3s ease !important; }
#lc-landing .lc-opt {
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}
#lc-landing .lc-opt svg,
#lc-landing .lc-opt img { transition: opacity 0.2s ease !important; }
#lc-landing .lc-card-buy { transition: background 0.2s ease, transform 0.15s ease !important; }
#lc-landing .lc-cta-btn {
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease !important;
}
#lc-landing .lc-cta-btn svg { transition: transform 0.25s ease !important; }
#lc-landing .lc-footer li a,
#lc-landing .lc-socials a { transition: color 0.2s ease, background 0.2s ease !important; }

@media (prefers-reduced-motion: reduce) {
  .lc-scroll i { animation: none; }
  .lc-hero-inner > * { animation: none; }
  /* перелистывание заголовка и появление статов — часть дизайна:
     не даём глобальному правилу сайта (* { transition-duration: .01ms !important })
     превратить их в резкую подмену */
  .lc-rot-word { transition-duration: 0.78s, 0.6s, 0.78s !important; }
  .lc-stat { transition-duration: 0.7s, 0.85s, 0.7s !important; }
}

/* Тема переключается одним кадром: глобальный transition из React не должен
   задерживать смену фона, текста и шапки. */
html.lc-no-theme-transition,
html.lc-no-theme-transition *,
html.lc-no-theme-transition *::before,
html.lc-no-theme-transition *::after {
  transition: none !important;
  animation: none !important;
}
html.lc-no-theme-transition::view-transition-group(root),
html.lc-no-theme-transition::view-transition-image-pair(root),
html.lc-no-theme-transition::view-transition-old(root),
html.lc-no-theme-transition::view-transition-new(root) {
  animation: none !important;
  display: none !important;
}
html.lc-theme-animating,
html.lc-theme-animating body,
html.lc-theme-animating *,
html.lc-theme-animating *::before,
html.lc-theme-animating *::after {
  transition:
    background-color 0.1s linear,
    color 0.1s linear,
    border-color 0.1s linear,
    box-shadow 0.1s linear !important;
}
html.lc-theme-animating::view-transition-group(root),
html.lc-theme-animating::view-transition-image-pair(root),
html.lc-theme-animating::view-transition-old(root),
html.lc-theme-animating::view-transition-new(root) {
  animation: none !important;
  display: none !important;
}

/* ============================================================
   Шапка сайта в формате референса: прозрачная, тонкие текст-ссылки
   без иконок, ghost-кнопки. var(--lc-rgb)/var(--lc-fg) здесь НЕ
   работают (шапка вне #lc-landing) — только литералы!
   ============================================================ */
html.lc-home .lk-header {
  background: transparent !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
/* логотип */
html.lc-home .lk-logo span {
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8) !important;
}
html.lc-home .lk-logo > svg,
html.lc-home .lk-logo > img {
  width: 36px !important;
  height: 36px !important;
}
html.lc-home .lk-logo {
  gap: 6px !important;
}
/* навигация: тонкие ссылки-текст, иконки скрыты */
html.lc-home .lk-navlink svg { display: none !important; }
html.lc-home .lk-navlink {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.3) !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}
html.lc-home .lk-navlink:hover {
  color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.05);
}
/* бургер — ghost 36px */
html.lc-home .lk-burger {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}
html.lc-home .lk-burger:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}
/* язык + тема — крупные 40px кнопки с чёткими svg (04.11: «маленькие и пиксельные») */
html.lc-home .lk-hdr-right { gap: 4px; }
html.lc-home .lk-hdr-right > button {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.7) !important;
  transform: none !important;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}
html.lc-home .lk-hdr-right > button:hover {
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
}
html.lc-home .lk-hdr-right > button > span { transform: none !important; }
html.lc-home .lk-hdr-right > button svg {
  width: 18px !important;
  height: 18px !important;
  transform: none !important;
  shape-rendering: geometricPrecision;
}
/* «Войти» — ghost-кнопка в тон ссылок (h-9, text-sm) */
html.lc-home .lk-hdr-right .lk-chip {
  height: 36px;
  margin-left: 2px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease !important;
}
html.lc-home .lk-hdr-right .lk-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6) !important;
  transform: none;
  opacity: 1;
}
html.lc-home .lk-hdr-right .lk-chip svg { width: 15px; height: 15px; flex-shrink: 0; }
html.lc-home .lk-hdr-right .lk-chip-name { font-size: 14px; color: inherit; }

/* авторизованная кнопка (ник вместо «Войти») — тихое стекло, не контрастная кнопка */
html.lc-home .lk-hdr-right .lk-chip:has(.lk-chip-name) {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
  border-radius: 999px !important; /* мягкие углы (30.10) */
  box-shadow: none; /* белая рамка убрана (30.10) */
}
/* иконка пользователя вместо родной (30.10): родной svg скрыт, своя — маской */
html.lc-home .lk-hdr-right .lk-chip:has(.lk-chip-name) svg { display: none !important; }
html.lc-home .lk-hdr-right .lk-chip:has(.lk-chip-name)::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
}
html.lc-home .lk-hdr-right .lk-chip:has(.lk-chip-name):hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
html.lc-home .lk-hdr-right .lk-chip:has(.lk-chip-name) .lk-chip-name {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* --- чёрный фон шапки при скролле (30.10): класс lk-scrolled ставит landing.js --- */
html.lc-home.lk-scrolled .lk-header {
  background: #000 !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06) !important;
}
html.light.lc-home.lk-scrolled .lk-header {
  background: #fff !important;
  box-shadow: inset 0 -1px 0 rgba(24, 24, 27, 0.06) !important;
}

/* --- светлая шапка --- */
html.light.lc-home .lk-header { border-bottom: 0 !important; }
html.light.lc-home .lk-logo span { color: rgba(24, 24, 27, 0.8) !important; }
html.light.lc-home .lk-navlink {
  color: rgba(24, 24, 27, 0.3) !important;
}
html.light.lc-home .lk-navlink:hover {
  color: rgba(24, 24, 27, 0.6) !important;
  background: rgba(24, 24, 27, 0.05);
}
html.light.lc-home .lk-burger {
  background: transparent !important;
  color: rgba(24, 24, 27, 0.3) !important;
  box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.08);
}
html.light.lc-home .lk-burger:hover {
  background: rgba(24, 24, 27, 0.05) !important;
  color: rgba(24, 24, 27, 0.6) !important;
}
html.light.lc-home .lk-hdr-right > button {
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(24, 24, 27, 0.7) !important;
  border: 0 !important;
}
html.light.lc-home .lk-hdr-right > button:hover {
  background: transparent !important;
  box-shadow: none !important;
  color: #111114 !important;
}
html.light.lc-home .lk-hdr-right .lk-chip {
  color: rgba(24, 24, 27, 0.3) !important;
}
html.light.lc-home .lk-hdr-right .lk-chip:hover {
  background: rgba(24, 24, 27, 0.05);
  color: rgba(24, 24, 27, 0.6) !important;
}
html.light.lc-home .lk-hdr-right .lk-chip:has(.lk-chip-name) {
  background: rgba(24, 24, 27, 0.04) !important;
  color: #111114 !important;
  border-radius: 999px !important;
  box-shadow: none;
}
html.light.lc-home .lk-hdr-right .lk-chip:has(.lk-chip-name):hover {
  background: rgba(24, 24, 27, 0.08) !important;
}

/* ============================================================
   Светлая тема (html.light ставит родной переключатель сайта)
   ============================================================ */
html.light.lc-home,
html.light.lc-home body { background: #fff !important; }

html.light #lc-landing {
  --lc-rgb: 24, 24, 27;
  --lc-bg: #fff;
  --lc-fg: #0b0b0d;
  --lc-card-solid: #fff;
  --lc-cta-1: #f7f7fa;
  --lc-cta-2: #fff;
  --lc-menu-bg: #fff;
  --lc-btn-bg: #111114;
  --lc-btn-fg: #fff;
  --lc-btn-hover: #2b2b31;
  --lc-violet: #7c3aed;
  --lc-violet-500: #6d28d9;
}
html.light #lc-landing .lc-rot-word { color: #7c3aed; }
html.light #lc-landing .lc-sub,
html.light #lc-landing .lc-stat b,
html.light #lc-landing .lc-stat span { text-shadow: none; }
html.light #lc-landing .lc-card {
  background: #fff;
  border-color: rgba(24, 24, 27, 0.09);
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.05);
}
html.light #lc-landing .lc-card:hover {
  background: #fff;
  border-color: rgba(24, 24, 27, 0.16);
  box-shadow: 0 18px 38px -26px rgba(24, 24, 27, 0.35);
}
html.light #lc-landing .lc-feature {
  box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.08), 0 1px 2px rgba(24, 24, 27, 0.04);
}
html.light #lc-landing .lc-feature:hover {
  box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.15), 0 18px 40px -30px rgba(24, 24, 27, 0.35);
}
html.light #lc-landing .lc-mmenu {
  border-color: rgba(24, 24, 27, 0.1);
  box-shadow: 0 24px 70px rgba(24, 24, 27, 0.16);
}
html.light #lc-landing .lc-empty {
  border-color: rgba(24, 24, 27, 0.12);
  color: rgba(24, 24, 27, 0.4);
}
html.light #lc-landing .lc-empty a { color: #7c3aed; }
html.light #lc-landing .lc-sub2 { color: rgba(24, 24, 27, 0.48); }
html.light #lc-landing .lc-btn-ghost-lg { color: rgba(24, 24, 27, 0.45); }
html.light #lc-landing .lc-btn-ghost-lg:hover { color: rgba(24, 24, 27, 0.7); }

/* финальные минималистичные иконки header: язык A/文, тема — контраст */
html.lc-home .lk-hdr-right > button:nth-child(1)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 4-4 4 4M9 4v13'/%3E%3Cpath d='M4 20h10M15 4h5M17.5 4v16M15 20h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 4-4 4 4M9 4v13'/%3E%3Cpath d='M4 20h10M15 4h5M17.5 4v16M15 20h5'/%3E%3C/svg%3E");
}
html.lc-home .lk-hdr-right > button[aria-label="Светлая тема"]::before,
html.lc-home .lk-hdr-right > button[aria-label="Тёмная тема"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3a9 9 0 0 1 0 18Z' fill='black' stroke='none'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3a9 9 0 0 1 0 18Z' fill='black' stroke='none'/%3E%3C/svg%3E");
}

/* ============================================================
   Смена темы (30.10, юзер: «сделай простую анимацию смены цвета»):
   круговая раскрутка (View Transitions) удалена целиком.
   Тему переключает родной обработчик сайта (React): html.light|dark
   + localStorage vite-ui-theme. Цвета плавно перетекают родным
   переходом сайта (глобальный *{transition: background-color…}).
   ============================================================ */

/* ============================================================
   NAV-HOLD (01.11, юзер: «при нажатии в header грузится старая
   страница на секунду»): при SPA-переходе со «/» react-router
   меняет URL раньше, чем отрисует новую страницу, и в зазоре
   видна старая React-страница. Класс lc-nav-hold ставит landing.js:
   на время перехода прячет React-контент (кроме шапки),
   снимает, когда новый маршрут смонтирован (section#home
   исчез/вернулся), либо по failsafe 2.5s.
   ============================================================ */
html.lc-nav-hold #root > div > div > *:not(header),
html.lc-nav-hold #root > section,
html.lc-nav-hold #root > div.fixed { display: none !important; }

/* стандартные Lucide: Languages + Sun/Moon */
html.lc-home .lk-hdr-right > button:nth-child(1)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 6 6'/%3E%3Cpath d='m4 14 6-6 2-3'/%3E%3Cpath d='M2 5h12'/%3E%3Cpath d='M7 2h1'/%3E%3Cpath d='m22 22-5-10-5 10'/%3E%3Cpath d='M14 18h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 6 6'/%3E%3Cpath d='m4 14 6-6 2-3'/%3E%3Cpath d='M2 5h12'/%3E%3Cpath d='M7 2h1'/%3E%3Cpath d='m22 22-5-10-5 10'/%3E%3Cpath d='M14 18h6'/%3E%3C/svg%3E");
}
html.lc-home .lk-hdr-right > button[aria-label="Светлая тема"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/%3E%3C/svg%3E");
}
html.lc-home .lk-hdr-right > button[aria-label="Тёмная тема"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A8.5 8.5 0 1 1 11.2 3 6.7 6.7 0 0 0 21 12.8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A8.5 8.5 0 1 1 11.2 3 6.7 6.7 0 0 0 21 12.8Z'/%3E%3C/svg%3E");
}

/* language control: clean globe icon */
html.lc-home .lk-hdr-right > button:nth-child(1)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 0 20M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 0 20M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E");
}

/* ============================================================
   ПРОГРЕСС-БАР перехода (01.11, юзер: «при нажатии всё равно
   долгий ответ»): SPA-переход занимает 0.7–1.5с без видимой
   реакции. Пока активен hold (класс lc-nav-hold ставит
   landing.js), сверху тонкий violet-бар бежит 0→~92% — читается
   как «идёт загрузка». Элемент создаёт/удаляет landing.js.
   Анимация (не transition) — глобальный *{transition…!important}
   блокирует только transition'ы, поэтому бар живой.
   ============================================================ */
#lc-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 2147483000;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #7c3aed, #8b5cf6 55%, #c4b5fd);
  box-shadow: 0 0 10px rgba(139, 92, 246, .55);
  opacity: 0;
  pointer-events: none;
  user-select: none;
}
html.lc-nav-hold #lc-nav-bar {
  opacity: 1;
  animation: lc-navbar-t 1.15s cubic-bezier(.18, .62, .25, 1) forwards;
}
@keyframes lc-navbar-t {
  0%   { transform: scaleX(0); }
  55%  { transform: scaleX(.62); }
  100% { transform: scaleX(.92); }
}

/* ═══ 04.11: иконки языка и темы — глобус iconoir + солнце с лучами / луна со звёздами ═══ */
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"]) svg,
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"]) > span { display: none !important; }
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"])::before {
  content: "" !important; display: block !important; width: 16px !important; height: 16px !important; flex: 0 0 16px !important;
  background: currentColor !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10'/%3E%3Cpath d='m2.5 12.5l5.5 2L7 18l1 3m9-.5l-.5-2.5l-2.5-1v-3.5l3-1l4.5.5M19 5.5L18.5 7l-3.5.5v3l2.5-1h2l2 1m-19 0l2.5-2L7.5 8l2-3l-1-2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10'/%3E%3Cpath d='m2.5 12.5l5.5 2L7 18l1 3m9-.5l-.5-2.5l-2.5-1v-3.5l3-1l4.5.5M19 5.5L18.5 7l-3.5.5v3l2.5-1h2l2 1m-19 0l2.5-2L7.5 8l2-3l-1-2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat !important;
  transition: transform .2s ease !important;
}
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"]):hover::before { transform: scale(1.15); }
/* тема: в тёмной — солнце с лучами, в светлой — луна со звёздами */
.lk-hdr-right > button:is([aria-label="Светлая тема"], [aria-label="Тёмная тема"], [aria-label="Light theme"], [aria-label="Dark theme"]) svg,
:is(.lc2-tools, .lc2-mtools) .lc2-theme svg { display: none !important; }
.lk-hdr-right > button:is([aria-label="Светлая тема"], [aria-label="Тёмная тема"], [aria-label="Light theme"], [aria-label="Dark theme"])::before,
:is(.lc2-tools, .lc2-mtools) .lc2-theme::before {
  content: "" !important; display: block !important; width: 19px !important; height: 19px !important; flex: 0 0 19px !important;
  background: currentColor !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='black'/%3E%3Cpath d='M12 1.8v2.4M12 19.8v2.4M4.8 4.8l1.7 1.7M17.5 17.5l1.7 1.7M1.8 12h2.4M19.8 12h2.4M4.8 19.2l1.7-1.7M17.5 6.5l1.7-1.7'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='black'/%3E%3Cpath d='M12 1.8v2.4M12 19.8v2.4M4.8 4.8l1.7 1.7M17.5 17.5l1.7 1.7M1.8 12h2.4M19.8 12h2.4M4.8 19.2l1.7-1.7M17.5 6.5l1.7-1.7'/%3E%3C/svg%3E") center / contain no-repeat !important;
}
.lk-hdr-right > button:is([aria-label="Тёмная тема"], [aria-label="Dark theme"])::before,
html.light :is(.lc2-tools, .lc2-mtools) .lc2-theme::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 14.6A8.6 8.6 0 1 1 9.4 3.8a6.8 6.8 0 0 0 10.8 10.8Z' fill='black'/%3E%3Cpath d='M17 2.6v3.2M15.4 4.2h3.2' stroke-width='1.7'/%3E%3Cpath d='M21.2 7.6v2M20.2 8.6h2' stroke-width='1.5'/%3E%3C/svg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 14.6A8.6 8.6 0 1 1 9.4 3.8a6.8 6.8 0 0 0 10.8 10.8Z' fill='black'/%3E%3Cpath d='M17 2.6v3.2M15.4 4.2h3.2' stroke-width='1.7'/%3E%3Cpath d='M21.2 7.6v2M20.2 8.6h2' stroke-width='1.5'/%3E%3C/svg%3E") !important;
}

/* 04.11: глобус чуть больше и белее, иконка темы тоже белее */
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"])::before {
  width: 19px !important; height: 19px !important; flex: 0 0 19px !important;
}
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button,
html:not(.light) .lc2-tools .lc2-lang, html:not(.light) .lc2-mtools .lc2-lang { color: rgba(255, 255, 255, 0.95) !important; }
html.light :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button,
html.light .lc2-tools .lc2-lang, html.light .lc2-mtools .lc2-lang { color: rgba(17, 17, 20, 0.9) !important; }

/* 04.11: иконки языка/темы ещё больше и чисто белые */
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"])::before {
  width: 22px !important; height: 22px !important; flex: 0 0 22px !important;
}
.lk-hdr-right > button:is([aria-label="Светлая тема"], [aria-label="Тёмная тема"], [aria-label="Light theme"], [aria-label="Dark theme"])::before,
:is(.lc2-tools, .lc2-mtools) .lc2-theme::before { width: 22px !important; height: 22px !important; flex: 0 0 22px !important; }
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button,
html:not(.light) .lc2-tools .lc2-lang, html:not(.light) .lc2-mtools .lc2-lang,
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button:hover { color: #fff !important; opacity: 1 !important; }
/* 04.11: глобус в шапке — чисто белый, без приглушения */
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"]) { opacity: 1 !important; filter: none !important; color: #fff !important; }
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"])::before { background: #fff !important; opacity: 1 !important; }

/* 04.11: шапка — ник/аватар левее иконок; глобус и солнце/луна одного размера и цвета */
.lk-hdr-right { display: flex !important; align-items: center !important; }
.lk-hdr-right > .lk-chip { order: -1 !important; margin-left: 0 !important; margin-right: 6px !important; }
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"])::before,
.lk-hdr-right > button:is([aria-label="Светлая тема"], [aria-label="Тёмная тема"], [aria-label="Light theme"], [aria-label="Dark theme"])::before,
:is(.lc2-tools, .lc2-mtools) .lc2-theme::before {
  width: 20px !important; height: 20px !important; flex: 0 0 20px !important; transform: none;
}
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button::before,
html:not(.light) :is(.lc2-tools, .lc2-mtools) .lc2-lang::before { background: #fff !important; opacity: 1 !important; }
html.light :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button::before,
html.light :is(.lc2-tools, .lc2-mtools) .lc2-lang::before { background: #111114 !important; opacity: 1 !important; }

/* 04.11: кнопка темы в шапке кабинета (aria-label «Сменить тему») — та же иконка, размер и цвет */
.lk-hdr-right > button:is([aria-label="Сменить тему"], [aria-label="Toggle theme"]) svg { display: none !important; }
.lk-hdr-right > button:is([aria-label="Сменить тему"], [aria-label="Toggle theme"])::before {
  content: "" !important; display: block !important; width: 20px !important; height: 20px !important; flex: 0 0 20px !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='black'/%3E%3Cpath d='M12 1.8v2.4M12 19.8v2.4M4.8 4.8l1.7 1.7M17.5 17.5l1.7 1.7M1.8 12h2.4M19.8 12h2.4M4.8 19.2l1.7-1.7M17.5 6.5l1.7-1.7'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='black'/%3E%3Cpath d='M12 1.8v2.4M12 19.8v2.4M4.8 4.8l1.7 1.7M17.5 17.5l1.7 1.7M1.8 12h2.4M19.8 12h2.4M4.8 19.2l1.7-1.7M17.5 6.5l1.7-1.7'/%3E%3C/svg%3E") center / contain no-repeat !important;
}
html.light .lk-hdr-right > button:is([aria-label="Сменить тему"], [aria-label="Toggle theme"])::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 14.6A8.6 8.6 0 1 1 9.4 3.8a6.8 6.8 0 0 0 10.8 10.8Z' fill='black'/%3E%3Cpath d='M17 2.6v3.2M15.4 4.2h3.2' stroke-width='1.7'/%3E%3Cpath d='M21.2 7.6v2M20.2 8.6h2' stroke-width='1.5'/%3E%3C/svg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 14.6A8.6 8.6 0 1 1 9.4 3.8a6.8 6.8 0 0 0 10.8 10.8Z' fill='black'/%3E%3Cpath d='M17 2.6v3.2M15.4 4.2h3.2' stroke-width='1.7'/%3E%3Cpath d='M21.2 7.6v2M20.2 8.6h2' stroke-width='1.5'/%3E%3C/svg%3E") !important; }
/* 04.11: шапка кабинета/публичных страниц тёмная в обеих темах → иконки всегда белые; на лендинге в светлой — тёмные */
html.light:not(.lc-home) .lk-hdr-right > button::before { background: #fff !important; }
html.light:not(.lc-home) .lk-hdr-right > button { color: #fff !important; }
/* 04.11: по просьбе юзера кнопки языка и темы в шапке убраны совсем (лендинг, кабинет, публичные страницы) */
.lk-hdr-right > button:is([aria-label^="Сменить язык"], [aria-label^="Change language"], [aria-label^="Switch language"], [aria-label^="Switch to"], [aria-label^="Переключить"], [aria-label="Светлая тема"], [aria-label="Тёмная тема"], [aria-label="Light theme"], [aria-label="Dark theme"], [aria-label="Сменить тему"], [aria-label="Toggle theme"]) { display: none !important; }
.lk-hdr-right > .lk-chip { margin-right: 0 !important; }

/* 04.11: на лендинге показываем ссылки Тарифы / Поддержка / Статус, как в кабинете */
@media (min-width: 1024px) {
  html.lc-home .lk-header .lk-nav { display: flex !important; gap: 4px !important; }
  html.lc-home .lk-header .lk-nav .lk-navlink span { display: inline !important; }
}

/* 10.11.2026: иконки у ссылок в шапке лендинга */
html.lc-home .lk-navlink { gap: 7px !important; }
html.lc-home .lk-navlink svg {
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  opacity: .8;
}
