/* Soorta landing — only affects #screen-landing */

/* ── Глобальный прелоадер (вне @scope — виден до загрузки лендинга) ── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b120e;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.pre-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pre-slogo {
  display: inline-flex;
  align-items: center;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f0f4f1;
  user-select: none;
  filter: drop-shadow(0 0 26px rgba(34, 197, 94, 0.25));
}
.pre-slogo .inf { display: block; margin: 0 1px; }
.pre-slogo .lt {
  display: inline-block;
  animation: soortaPreLetter 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.pre-slogo .lt-2 { animation-delay: 0.15s; }
@keyframes soortaPreLetter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.pre-slogo .inf .loop {
  fill: none;
  stroke-linecap: round;
  pathLength: 100;
  stroke-dasharray: 26 74;
  stroke-dashoffset: 0;
  animation: soortaPreInf 1.5s linear infinite;
}
@keyframes soortaPreInf {
  to { stroke-dashoffset: -100; }
}
.pre-slogo .inf .loop-ghost {
  fill: none;
  stroke-linecap: round;
  opacity: 0.16;
}
.pre-slogo .inf .tree {
  fill: #ece9dc;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: soortaPreTree 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
}
@keyframes soortaPreTree {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}
.pre-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(240, 244, 241, 0.45);
  animation: soortaPreLetter 0.8s ease 0.5s both;
}
.pre-text {
  font-size: 12.5px;
  color: rgba(240, 244, 241, 0.4);
  letter-spacing: 0.04em;
}
@media (prefers-reduced-motion: reduce) {
  .pre-slogo .lt,
  .pre-slogo .inf .loop,
  .pre-slogo .inf .tree,
  .pre-sub { animation: none; }
  .pre-slogo .inf .loop { stroke-dasharray: none; }
}

#screen-landing {
  --bg: #0b120e;
  --ink: #f0f4f1;
  --ink-2: rgba(240,244,241,0.8);
  --ink-3: rgba(240,244,241,0.56);
  --line: rgba(255,255,255,0.13);
  --line-2: rgba(255,255,255,0.22);
  --brand: #16a34a;
  --brand-2: #0d9488;
  --brand-ink: #4ade80;
  --glow: rgba(34,197,94,0.28);
  --card: rgba(13,20,16,0.52);
  --dark: rgba(9,15,11,0.66);
  --r-lg: 20px;
  --r-md: 14px;
  --grad: linear-gradient(100deg, #16a34a, #0d9488 55%, #16a34a);
  --grad-text: linear-gradient(110deg, #4ade80, #2dd4bf);

  /* fallback while media loads; image/video sit ABOVE this via stacking context */
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  isolation: isolate; /* keep fixed bg layers inside landing, not behind body */
  z-index: 0;
  min-height: 100vh;
}
#screen-landing a { color: inherit; text-decoration: none; }
#screen-landing img { display: block; max-width: 100%; }
#screen-landing.hidden { display: none !important; }

/* Critical: photo/video background must be visible above page chrome */
#screen-landing .bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}
#screen-landing .vlayer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.35s ease;
}
#screen-landing .vlayer.off {
  opacity: 0;
  pointer-events: none;
}
#screen-landing .bg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,13,9,0.93) 0%, rgba(7,13,9,0.62) 42%, rgba(7,13,9,0.42) 100%);
  z-index: 1;
}
#screen-landing > .nav,
#screen-landing > .hero,
#screen-landing > main {
  position: relative;
  z-index: 2;
}

#screen-landing .landing-mode-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-3, rgba(240,244,241,0.56));
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#screen-landing.landing-light .landing-mode-note { color: rgba(15,23,42,0.55); }
#screen-landing.gs .gfade { opacity: 0; }


/* Светлая тема — ВНЕ @scope: селектор #screen-landing.landing-light здесь надёжно матчится */
#screen-landing.landing-light {
  --bg: #f2f0ea;
  --ink: #18211b;
  --ink-2: rgba(24, 33, 27, 0.82);
  --ink-3: rgba(24, 33, 27, 0.6);
  --line: rgba(24, 33, 27, 0.13);
  --line-2: rgba(24, 33, 27, 0.22);
  --brand-ink: #15803d;
  --glow: rgba(22, 163, 74, 0.2);
  --card: rgba(255, 255, 255, 0.72);
  --dark: rgba(255, 255, 255, 0.55);
  --grad-text: linear-gradient(110deg, #16a34a, #0d9488);
  --logo-ink: #2f6b3f;
  --logo-tree: #f2f0ea;
  background: var(--bg);
  color: var(--ink);
}
#screen-landing.landing-light .bg {
  background: var(--bg);
}
#screen-landing.landing-light .bg-shade {
  background: linear-gradient(to top, rgba(243,241,235,0.95) 0%, rgba(243,241,235,0.68) 42%, rgba(243,241,235,0.42) 100%);
}
#screen-landing.landing-light .nav {
  background: rgba(243,241,235,0.55);
}
#screen-landing.landing-light .nav.scrolled {
  background: rgba(243,241,235,0.88);
  border-color: var(--line);
}
#screen-landing.landing-light .theme-btn {
  background: rgba(24,33,27,0.06);
  border-color: rgba(24,33,27,0.16);
  color: var(--ink);
}
#screen-landing.landing-light .theme-btn:hover {
  background: rgba(24,33,27,0.12);
}
#screen-landing.landing-light .theme-btn .ic-sun { display: block; }
#screen-landing.landing-light .theme-btn .ic-moon { display: none; }
#screen-landing.landing-light .vcontent { color: var(--ink); }
#screen-landing.landing-light .veyebrow { color: rgba(24,33,27,0.55); }
#screen-landing.landing-light .vsub { color: rgba(24,33,27,0.68); }
#screen-landing.landing-light .vhint { color: rgba(24,33,27,0.42); }
#screen-landing.landing-light .vh1 { color: var(--ink); }
#screen-landing.landing-light .vh1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#screen-landing.landing-light .vtag {
  color: #15803d;
  background: rgba(22,163,74,0.1);
  border-color: rgba(22,163,74,0.3);
}
#screen-landing.landing-light .btn {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.42) 46%, rgba(255,255,255,0.3));
  border-color: rgba(24,33,27,0.16);
  box-shadow:
    inset 0 1.5px 0.5px rgba(255,255,255,0.95),
    inset 0 -8px 14px -8px rgba(255,255,255,0.6),
    0 2px 6px rgba(24,33,27,0.08),
    0 18px 40px -14px rgba(24,33,27,0.22);
}
#screen-landing.landing-light .btn:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.55) 46%, rgba(255,255,255,0.4));
  border-color: rgba(24,33,27,0.28);
  box-shadow:
    inset 0 1.5px 0.5px rgba(255,255,255,1),
    inset 0 -10px 18px -8px rgba(255,255,255,0.7),
    0 4px 10px rgba(24,33,27,0.1),
    0 26px 54px -14px rgba(24,33,27,0.3);
}
#screen-landing.landing-light .btn-brand,
#screen-landing.landing-light .btn.selected {
  color: #fff;
  background: linear-gradient(180deg, rgba(34,180,90,0.92), rgba(22,163,74,0.88) 55%, rgba(13,148,136,0.85));
  border-color: rgba(21,128,61,0.55);
  box-shadow:
    inset 0 1.5px 0.5px rgba(255,255,255,0.55),
    inset 0 -8px 14px -8px rgba(190,255,210,0.35),
    0 2px 6px rgba(24,33,27,0.12),
    0 18px 40px -14px rgba(22,163,74,0.45);
}
#screen-landing.landing-light .btn-brand:hover,
#screen-landing.landing-light .btn.selected:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(40,196,100,0.98), rgba(22,163,74,0.95) 55%, rgba(13,148,136,0.92));
  border-color: rgba(21,128,61,0.65);
}
#screen-landing.landing-light .feat:hover,
#screen-landing.landing-light .rolec:hover {
  box-shadow: 0 16px 40px -16px rgba(24,33,27,0.22);
}
#screen-landing.landing-light .feat-icon {
  background: rgba(22,163,74,0.1);
  border-color: rgba(22,163,74,0.25);
}
#screen-landing.landing-light .feat-icon svg { stroke: #16a34a; }
#screen-landing.landing-light .slogo { color: var(--logo-ink); }


@scope (#screen-landing) {
﻿
    :scope {
      --bg: #0b120e;
      --ink: #f0f4f1;
      --ink-2: rgba(240,244,241,0.8);
      --ink-3: rgba(240,244,241,0.56);
      --line: rgba(255,255,255,0.13);
      --line-2: rgba(255,255,255,0.22);
      --brand: #16a34a;
      --brand-2: #0d9488;
      --brand-ink: #4ade80;
      --glow: rgba(34,197,94,0.28);
      --card: rgba(13,20,16,0.52);
      --dark: rgba(9,15,11,0.66);
      --r-lg: 20px;
      --r-md: 14px;
      --grad: linear-gradient(100deg, #16a34a, #0d9488 55%, #16a34a);
      --grad-text: linear-gradient(110deg, #4ade80, #2dd4bf);
    }
    
    
    /* body -> #screen-landing */
    a { color: inherit; }
    img { display: block; max-width: 100%; }
    .wrap { max-width: 1140px; margin: 0 auto; padding: 0 44px; }
    @media (max-width: 640px) { .wrap { padding: 0 20px; } }

    /* ── ФОН: базовые правила вынесены выше @scope (z-index / stacking) ── */
    .bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); pointer-events: none; }
    .vlayer {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover;
    }
    .vlayer.off { opacity: 0; pointer-events: none; }
    .bg-shade {
      position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(to top, rgba(7,13,9,0.93) 0%, rgba(7,13,9,0.62) 42%, rgba(7,13,9,0.42) 100%);
    }

    /* ── NAV ── */
    .nav {
      position: sticky; top: 0; z-index: 50;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      background: rgba(9,15,11,0.35);
      border-bottom: 1px solid transparent;
      transition: border-color .3s ease, background .3s ease;
    }
    .nav.scrolled { border-color: var(--line); background: rgba(9,15,11,0.72); }
    .nav-in { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
    .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .logo-box {
      width: 32px; height: 32px; border-radius: 9px;
      background: var(--grad); background-size: 200% 100%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 14px var(--glow);
    }
    .logo-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
    .nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
    .nav-links a { text-decoration: none; transition: color .2s; }
    .nav-links a:hover { color: var(--ink); }
    @media (max-width: 760px) { .nav-links { display: none; } }

    /* ── КНОПКИ: «ЖИДКОЕ СТЕКЛО» ── */
    .btn {
      position: relative;
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      cursor: pointer; text-decoration: none; white-space: nowrap;
      font-family: inherit; font-size: 14.5px; font-weight: 600;
      color: #fff;
      border-radius: 999px; padding: 14px 30px;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04) 46%, rgba(255,255,255,0.02));
      border: 1px solid rgba(255,255,255,0.22);
      backdrop-filter: blur(26px) saturate(200%);
      -webkit-backdrop-filter: blur(26px) saturate(200%);
      box-shadow:
        inset 0 1.5px 0.5px rgba(255,255,255,0.55),
        inset 0 -8px 14px -8px rgba(255,255,255,0.28),
        inset 0 0 0 1px rgba(255,255,255,0.04),
        0 2px 6px rgba(0,0,0,0.28),
        0 18px 40px -14px rgba(0,0,0,0.6);
      overflow: hidden;
      isolation: isolate;
      transition:
        transform .5s cubic-bezier(.22,1,.36,1),
        background .5s ease,
        border-color .5s ease,
        box-shadow .5s ease,
        letter-spacing .5s ease;
    }
    /* Верхний глянцевый блик (стеклянная линза) */
    .btn::before {
      content: ''; position: absolute; left: 0; right: 0; top: 0; height: 55%;
      border-radius: 999px 999px 40% 40%;
      background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.08) 60%, transparent);
      opacity: 0.6; pointer-events: none; z-index: 1;
      transition: opacity .5s ease, transform .5s ease;
    }
    /* Скользящий световой отблеск — уходит при снятии курсора (эффект «перемотки») */
    .btn::after {
      content: ''; position: absolute; top: 0; bottom: 0; width: 45%;
      left: -60%;
      background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45) 50%, transparent);
      transform: skewX(-16deg);
      pointer-events: none; z-index: 2;
      transition: left .6s cubic-bezier(.22,1,.36,1);
    }
    .btn > * { position: relative; z-index: 3; }

    .btn:hover {
      /* Подъём через тень, без translateY — иначе hit-box уезжает из‑под курсора */
      transform: scale(1.015);
      background: linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.07) 46%, rgba(255,255,255,0.03));
      border-color: rgba(255,255,255,0.4);
      letter-spacing: 0.01em;
      box-shadow:
        inset 0 1.5px 0.5px rgba(255,255,255,0.7),
        inset 0 -10px 18px -8px rgba(255,255,255,0.4),
        inset 0 0 0 1px rgba(255,255,255,0.06),
        0 6px 14px rgba(0,0,0,0.32),
        0 28px 56px -14px rgba(0,0,0,0.72);
    }
    .btn:hover::before { opacity: 0.95; }
    .btn:hover::after { left: 130%; }
    .btn:active { transform: scale(0.98); transition-duration: .12s; }
    .btn:focus-visible { outline: 2px solid rgba(134,239,172,0.85); outline-offset: 3px; }

    /* Зелёное «жидкое стекло» — активное/выбранное состояние */
    .btn-brand,
    .btn.selected {
      background: linear-gradient(180deg, rgba(74,222,128,0.42), rgba(22,163,74,0.34) 55%, rgba(13,148,136,0.32));
      border-color: rgba(134,239,172,0.6);
      box-shadow:
        inset 0 1.5px 0.5px rgba(255,255,255,0.6),
        inset 0 -10px 18px -8px rgba(190,255,210,0.45),
        inset 0 0 0 1px rgba(134,239,172,0.15),
        0 2px 6px rgba(0,0,0,0.25),
        0 20px 46px -12px rgba(22,163,74,0.6),
        0 0 26px -4px rgba(74,222,128,0.5);
    }
    .btn-brand:hover,
    .btn.selected:hover {
      background: linear-gradient(180deg, rgba(74,222,128,0.55), rgba(22,163,74,0.44) 55%, rgba(13,148,136,0.4));
      border-color: rgba(134,239,172,0.78);
      box-shadow:
        inset 0 1.5px 0.5px rgba(255,255,255,0.7),
        inset 0 -12px 20px -8px rgba(190,255,210,0.55),
        inset 0 0 0 1px rgba(134,239,172,0.2),
        0 4px 10px rgba(0,0,0,0.28),
        0 28px 58px -12px rgba(22,163,74,0.7),
        0 0 34px -4px rgba(74,222,128,0.6);
    }

    .btn-lg { padding: 16px 34px; font-size: 15.5px; }

    /* ── HERO: контент внизу слева поверх общего фона ── */
    .hero {
      position: relative;
      min-height: calc(100vh - 110px);
      min-height: calc(100dvh - 110px);
      display: flex;
      flex-direction: column;
    }
    .hero .wrap { width: 100%; }
    /* Текст занимает свободное место и центрируется по вертикали */
    .hero-mid { flex: 1; display: flex; align-items: center; }
    /* Статы у низа первого экрана — видны сразу, с воздухом снизу */
    .hero-stats-wrap { padding-bottom: 30px; }
    .vcontent {
      max-width: 720px;
      margin: 0 auto;
      padding: 0;
      color: #fff;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .veyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
      color: rgba(255,255,255,0.6);
      margin-bottom: 18px;
      flex-shrink: 0;
    }
    .veyebrow i { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.9); }

    /* Фикс. слот копирайта: текст меняется внутри, кнопки ниже не смещаются */
    .vcopy {
      width: 100%;
      height: clamp(200px, 34vw, 268px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      box-sizing: border-box;
      overflow: hidden;
      flex-shrink: 0;
    }
    .vtag {
      display: inline-flex; align-items: center; justify-content: center; gap: 7px;
      font-size: 12px; font-weight: 600; color: #86efac;
      background: rgba(34,197,94,0.16); border: 1px solid rgba(74,222,128,0.35);
      backdrop-filter: blur(6px);
      border-radius: 999px; padding: 5px 13px;
      margin: 0 auto 14px;
      min-height: 28px;
      box-sizing: border-box;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity .35s ease, visibility .35s;
    }
    .vtag.show { opacity: 1; visibility: visible; }
    .vh1 {
      font-size: clamp(34px, 4.6vw, 60px);
      font-weight: 650;
      line-height: 1.05;
      letter-spacing: -0.035em;
      margin: 0 0 16px;
      max-width: 100%;
      transition: opacity .2s ease;
    }
    .vh1 .grad { background: linear-gradient(110deg, #4ade80, #2dd4bf); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .vsub {
      font-size: clamp(15px, 1.5vw, 17px); line-height: 1.55;
      color: rgba(255,255,255,0.68);
      max-width: 500px;
      margin: 0 auto;
      transition: opacity .2s ease;
    }
    .vbtns {
      display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
      margin: 28px 0 18px;
      padding: 0;
      flex-shrink: 0;
      position: relative;
      z-index: 2;
    }
    .vhint {
      font-size: 11.5px; color: rgba(255,255,255,0.36); letter-spacing: 0.04em;
      min-height: 1.4em;
      transition: opacity .5s;
      flex-shrink: 0;
    }

    .hero-glow {
      position: absolute; z-index: -1; pointer-events: none;
      width: 720px; height: 720px; border-radius: 50%;
      left: 50%; top: -140px; transform: translateX(-50%);
      background: radial-gradient(circle, rgba(22,163,74,0.14) 0%, rgba(13,148,136,0.07) 42%, transparent 68%);
      filter: blur(10px);
    }

    .badge {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
      color: var(--brand-ink);
      background: rgba(22,163,74,0.08);
      border: 1px solid rgba(22,163,74,0.22);
      border-radius: 999px; padding: 7px 16px;
      margin-bottom: 28px;
      box-shadow: 0 4px 18px -6px var(--glow);
    }
    .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(22,163,74,0.18); }

    .h1 {
      font-size: clamp(38px, 5.6vw, 68px);
      font-weight: 700;
      line-height: 1.04;
      letter-spacing: -0.035em;
      max-width: 820px; margin: 0 auto 22px;
    }
    .h1 .grad {
      background: var(--grad); background-size: 200% 100%;
      -webkit-background-clip: text; background-clip: text; color: transparent;
    }
    .hero-sub {
      font-size: clamp(16px, 1.6vw, 18.5px);
      color: var(--ink-3);
      max-width: 560px; margin: 0 auto 36px;
    }
    .hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
    .hero-note { font-size: 13px; color: var(--ink-3); opacity: 0.8; }

    /* ── ПРОДУКТ-ФРЕЙМ ── */
    .frame-zone { position: relative; }
    .frame-glow {
      position: absolute; inset: 8% 12% -6%; z-index: -1;
      background: radial-gradient(closest-side, rgba(22,163,74,0.22), rgba(13,148,136,0.1) 55%, transparent);
      filter: blur(34px);
    }
    .frame {
      /* Внутри фрейма — светлая тема макета, локально переопределяем токены */
      --ink: #0b0f0d; --ink-2: #3d4642; --ink-3: #6b7570;
      --line: #e7eae8; --card: #ffffff;
      border-radius: var(--r-lg);
      background: rgba(255,255,255,0.75);
      border: 1px solid rgba(255,255,255,0.9);
      box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 30px 80px -20px rgba(0,0,0,0.55);
      backdrop-filter: blur(8px);
      padding: 10px;
      color: var(--ink);
    }
    .frame-bar { display: flex; align-items: center; gap: 6px; padding: 4px 8px 10px; }
    .frame-dot { width: 9px; height: 9px; border-radius: 50%; background: #e3e7e5; }
    .frame-url {
      margin-left: 10px; flex: 1; max-width: 320px;
      font-size: 11.5px; color: var(--ink-3);
      background: #f3f5f4; border-radius: 7px; padding: 4px 12px;
      text-align: left;
    }

    /* мини-макет интерфейса */
    .app { display: grid; grid-template-columns: 200px 1fr 260px; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: left; }
    @media (max-width: 900px) { .app { grid-template-columns: 1fr 240px; } .app-side { display: none; } }
    @media (max-width: 640px) { .app { grid-template-columns: 1fr; } .app-calc { display: none; } }
    .app-side { border-right: 1px solid var(--line); padding: 16px 12px; background: #fbfcfb; }
    .app-side-logo { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 0 8px 14px; }
    .app-side-logo span { width: 20px; height: 20px; border-radius: 6px; background: var(--grad); }
    .app-nav-item { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 8px 10px; border-radius: 8px; }
    .app-nav-item.on { background: rgba(22,163,74,0.09); color: var(--brand-ink); font-weight: 600; }
    .app-nav-item i { width: 13px; height: 13px; border-radius: 4px; background: currentColor; opacity: .28; }
    .app-main { padding: 18px 20px; min-width: 0; }
    .app-title { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; }
    .app-sub { font-size: 11px; color: var(--ink-3); margin-bottom: 14px; }
    .app-chips { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
    .app-chip { font-size: 10.5px; font-weight: 500; color: var(--ink-2); background: #f3f5f4; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
    .app-row { display: grid; grid-template-columns: minmax(0,1.5fr) 0.4fr auto auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 8px; font-size: 11.5px; }
    .app-row.head { color: var(--ink-3); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
    .app-row:not(.head):hover { background: #f7f9f8; }
    .app-row b { font-weight: 600; }
    .app-price { font-variant-numeric: tabular-nums; font-weight: 600; }
    .app-btn { font-size: 10.5px; font-weight: 600; color: var(--brand-ink); background: rgba(22,163,74,0.1); border-radius: 7px; padding: 5px 10px; white-space: nowrap; }
    .app-calc { border-left: 1px solid var(--line); padding: 18px 16px; background: #fbfcfb; }
    .app-calc-title { font-size: 12px; font-weight: 700; margin-bottom: 12px; }
    .app-calc-line { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-2); padding: 5px 0; }
    .app-calc-line.acc { color: var(--brand-ink); font-weight: 600; }
    .app-calc-total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; }
    .app-calc-total b { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
    .app-calc-cta { margin-top: 12px; text-align: center; font-size: 11.5px; font-weight: 600; color: #fff; background: var(--grad); border-radius: 8px; padding: 8px; box-shadow: 0 6px 16px -6px var(--glow); }

    /* ── СЕКЦИИ ── */
    .section { padding: 108px 0 0; }
    @media (max-width: 640px) { .section { padding: 72px 0 0; } }
    .sec-head { max-width: 620px; margin-bottom: 52px; }
    .sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
    .kicker {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--brand-ink); margin-bottom: 16px;
    }
    .h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 14px; }
    .sec-sub { font-size: 16.5px; color: var(--ink-3); }

    /* ── СТАТЫ ── */
    .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    @media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
    .stat {
      background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
      padding: 26px 24px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .stat-num { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
    .stat-num em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .stat-label { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

    /* ── ФИЧИ ── */
    .feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    @media (max-width: 900px) { .feats { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .feats { grid-template-columns: 1fr; } }
    .feat {
      position: relative;
      background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
      padding: 28px 26px 30px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
      overflow: hidden;
    }
    .feat::after {
      content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
      background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(74,222,128,0.12), transparent 45%);
      opacity: 0; transition: opacity .3s ease;
    }
    .feat:hover { transform: translateY(-4px); border-color: rgba(74,222,128,0.4); box-shadow: 0 16px 40px -16px rgba(0,0,0,0.5); }
    .feat:hover::after { opacity: 1; }
    .feat-icon {
      width: 42px; height: 42px; border-radius: 12px;
      background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.28);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 18px;
    }
    .feat-icon svg { stroke: #4ade80; }
    .feat-title { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
    .feat-text { font-size: 14px; color: var(--ink-3); line-height: 1.6; }

    /* ── ШАГИ ── */
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
    @media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
    .stepc {
      background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
      padding: 30px 26px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .stepc-badge {
      display: inline-flex; align-items: center; justify-content: center;
      width: 34px; height: 34px; border-radius: 10px;
      font-size: 14px; font-weight: 800; color: #fff;
      background: var(--grad);
      box-shadow: 0 6px 16px -5px var(--glow);
      margin-bottom: 40px;
    }
    .stepc-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
    .stepc-text { font-size: 14px; color: var(--ink-3); }

    /* ── USP DARK ── */
    .usp {
      position: relative; overflow: hidden;
      margin-top: 108px;
      background: var(--dark);
      border: 1px solid var(--line);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-radius: 26px;
      color: #eef3ef;
    }
    @media (max-width: 640px) { .usp { margin-top: 72px; border-radius: 18px; } }
    .usp-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -140px; top: -220px; background: radial-gradient(circle, rgba(22,163,74,0.3), transparent 65%); filter: blur(20px); }
    .usp-in { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; padding: 76px 72px; }
    @media (max-width: 860px) { .usp-in { grid-template-columns: 1fr; gap: 28px; padding: 48px 28px; } }
    .usp-num { font-size: clamp(72px, 9vw, 128px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(120deg, #4ade80, #2dd4bf); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; white-space: nowrap; }
    .usp-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
    .usp-text { font-size: 15.5px; color: rgba(238,243,239,0.62); max-width: 520px; line-height: 1.7; }

    /* ── РОЛИ ── */
    .roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media (max-width: 860px) { .roles { grid-template-columns: 1fr; } }
    .rolec {
      background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
      padding: 36px 34px 40px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
      /* Кнопка входа прижимается к низу — в обеих карточках на одной высоте */
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    .rolec > .btn { margin-top: auto; }
    .rolec:hover { transform: translateY(-4px); border-color: rgba(74,222,128,0.4); box-shadow: 0 18px 44px -18px rgba(0,0,0,0.5); }
    .rolec-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand-ink); background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.3); border-radius: 999px; padding: 6px 14px; margin-bottom: 20px; }
    .rolec-title { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 20px; }
    .rolec ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
    .rolec li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
    .rolec li svg { flex-shrink: 0; margin-top: 3px; }

    /* ── CTA ── */
    .cta { text-align: center; padding: 116px 0 96px; }
    @media (max-width: 640px) { .cta { padding: 76px 0 64px; } }
    .cta .h2 { max-width: 640px; margin: 0 auto 14px; }
    .cta .sec-sub { max-width: 500px; margin: 0 auto 36px; }
    .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

    /* ── FOOTER ── */
    .footer { border-top: 1px solid var(--line); margin-top: 100px; padding: 30px 0 40px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
    @media (max-width: 640px) { .footer { margin-top: 64px; } }

    /* ── ЛОГОТИП SOORTA (S∞rta, ёлка в левой петле) ── */
    :scope { --logo-ink: #f0f4f1; --logo-tree: #ece9dc; }
    :scope.landing-light { --logo-ink: #2f6b3f; --logo-tree: #f2f0ea; }
    .slogo {
      display: inline-flex; align-items: center;
      font-weight: 800; letter-spacing: -0.04em;
      color: var(--logo-ink);
      line-height: 1;
      text-decoration: none;
      user-select: none;
    }
    .slogo .inf { display: block; margin: 0 1px; }
    .slogo .inf .loop {
      fill: none;
      stroke-linecap: round;
      pathLength: 100;
    }
    .slogo .inf .tree { fill: var(--logo-tree); }
    /* Наведение на логотип в шапке — петля «пробегает» один раз */
    .nav .slogo:hover .inf .loop { animation: infRun 1.2s linear; }
    @keyframes infRun {
      0% { stroke-dasharray: 100 0; stroke-dashoffset: 0; }
      45% { stroke-dasharray: 55 45; }
      100% { stroke-dasharray: 100 0; stroke-dashoffset: -100; }
    }
    @media (prefers-reduced-motion: reduce) { .nav .slogo:hover .inf .loop { animation: none; } }

    /* ── ЗАГРУЗОЧНЫЙ ЭКРАН ── */
    .preloader {
      position: fixed; inset: 0; z-index: 200;
      display: flex; align-items: center; justify-content: center;
      background: #0b120e;
      transition: opacity .55s ease, visibility .55s ease;
    }
    .preloader.hide { opacity: 0; visibility: hidden; }
    .pre-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }

    /* Логотип-лоадер: буквы проявляются, ёлка вырастает,
       а по петле бесконечности бесконечно бежит световой штрих */
    .pre-slogo { font-size: 44px; color: #f0f4f1; filter: drop-shadow(0 0 26px rgba(34,197,94,0.25)); }
    .pre-slogo .lt {
      display: inline-block;
      animation: preLetter .8s cubic-bezier(.22,1,.36,1) both;
    }
    .pre-slogo .lt-2 { animation-delay: .15s; }
    @keyframes preLetter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
    .pre-slogo .inf .loop {
      stroke-dasharray: 26 74;
      stroke-dashoffset: 0;
      animation: preInf 1.5s linear infinite;
    }
    @keyframes preInf { to { stroke-dashoffset: -100; } }
    .pre-slogo .inf .loop-ghost { fill: none; stroke-linecap: round; opacity: 0.16; }
    .pre-slogo .inf .tree {
      transform-box: fill-box;
      transform-origin: 50% 100%;
      animation: preTree .7s cubic-bezier(.34,1.56,.64,1) .35s both;
    }
    @keyframes preTree { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
    .pre-sub {
      font-size: 10.5px; font-weight: 600;
      letter-spacing: 0.34em; text-transform: uppercase;
      color: rgba(240,244,241,0.45);
      animation: preLetter .8s ease .5s both;
    }
    .pre-text { font-size: 12.5px; color: rgba(240,244,241,0.4); letter-spacing: 0.04em; }
    @media (prefers-reduced-motion: reduce) {
      .pre-slogo .lt, .pre-slogo .inf .loop, .pre-slogo .inf .tree, .pre-sub { animation: none; }
      .pre-slogo .inf .loop { stroke-dasharray: none; }
    }

    /* ── КНОПКА ПЕРЕКЛЮЧЕНИЯ ТЕМЫ ── */
    .theme-btn {
      width: 40px; height: 40px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      color: var(--ink);
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.2);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      transition: background .25s ease, border-color .25s ease, transform .2s ease;
    }
    .theme-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.15); }
    .theme-btn .ic-sun { display: none; }
    .theme-btn .ic-moon { display: block; }
    :scope.landing-light .theme-btn .ic-sun { display: block; }
    :scope.landing-light .theme-btn .ic-moon { display: none; }

    /* ══════════ СВЕТЛАЯ ТЕМА ══════════ */
    :scope.landing-light {
      --bg: #f2f0ea;
      --ink: #18211b;
      --ink-2: rgba(24,33,27,0.82);
      --ink-3: rgba(24,33,27,0.6);
      --line: rgba(24,33,27,0.13);
      --line-2: rgba(24,33,27,0.22);
      --brand-ink: #15803d;
      --glow: rgba(22,163,74,0.2);
      --card: rgba(255,255,255,0.62);
      --grad-text: linear-gradient(110deg, #16a34a, #0d9488);
    }
    /* Вуаль над видео — светлая, текст читается тёмным */
    :scope.landing-light .bg-shade {
      background: linear-gradient(to top, rgba(243,241,235,0.95) 0%, rgba(243,241,235,0.68) 42%, rgba(243,241,235,0.42) 100%);
    }
    :scope.landing-light .nav { background: rgba(243,241,235,0.55); }
    :scope.landing-light .nav.scrolled { background: rgba(243,241,235,0.88); border-color: var(--line); }
    :scope.landing-light .theme-btn { background: rgba(24,33,27,0.06); border-color: rgba(24,33,27,0.16); }
    :scope.landing-light .theme-btn:hover { background: rgba(24,33,27,0.12); }

    /* Hero-текст — тёмный */
    :scope.landing-light .vcontent { color: var(--ink); }
    :scope.landing-light .veyebrow { color: rgba(24,33,27,0.55); }
    :scope.landing-light .vsub { color: rgba(24,33,27,0.68); }
    :scope.landing-light .vhint { color: rgba(24,33,27,0.42); }
    :scope.landing-light .vh1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
    :scope.landing-light .vtag { color: #15803d; background: rgba(22,163,74,0.1); border-color: rgba(22,163,74,0.3); }

    /* Стеклянные кнопки — светлое стекло, тёмный текст */
    :scope.landing-light .btn {
      color: var(--ink);
      background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.42) 46%, rgba(255,255,255,0.3));
      border-color: rgba(24,33,27,0.16);
      box-shadow:
        inset 0 1.5px 0.5px rgba(255,255,255,0.95),
        inset 0 -8px 14px -8px rgba(255,255,255,0.6),
        0 2px 6px rgba(24,33,27,0.08),
        0 18px 40px -14px rgba(24,33,27,0.22);
    }
    :scope.landing-light .btn:hover {
      background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.55) 46%, rgba(255,255,255,0.4));
      border-color: rgba(24,33,27,0.28);
      box-shadow:
        inset 0 1.5px 0.5px rgba(255,255,255,1),
        inset 0 -10px 18px -8px rgba(255,255,255,0.7),
        0 4px 10px rgba(24,33,27,0.1),
        0 26px 54px -14px rgba(24,33,27,0.3);
    }
    /* Зелёная (активная) кнопка — белый текст в обеих темах */
    :scope.landing-light .btn-brand,
    :scope.landing-light .btn.selected {
      color: #fff;
      background: linear-gradient(180deg, rgba(34,180,90,0.92), rgba(22,163,74,0.88) 55%, rgba(13,148,136,0.85));
      border-color: rgba(21,128,61,0.5);
      box-shadow:
        inset 0 1.5px 0.5px rgba(255,255,255,0.55),
        inset 0 -10px 18px -8px rgba(190,255,210,0.4),
        0 2px 6px rgba(24,33,27,0.12),
        0 20px 46px -12px rgba(22,163,74,0.45);
    }
    /* …и её hover тоже остаётся зелёным (иначе общий светлый hover её «отбеливает») */
    :scope.landing-light .btn-brand:hover,
    :scope.landing-light .btn.selected:hover {
      color: #fff;
      background: linear-gradient(180deg, rgba(40,196,100,0.98), rgba(22,163,74,0.95) 55%, rgba(13,148,136,0.92));
      border-color: rgba(21,128,61,0.65);
      box-shadow:
        inset 0 1.5px 0.5px rgba(255,255,255,0.65),
        inset 0 -12px 20px -8px rgba(190,255,210,0.5),
        0 4px 10px rgba(24,33,27,0.14),
        0 26px 54px -12px rgba(22,163,74,0.55);
    }

    /* Карточки, ховеры — мягкие тени */
    :scope.landing-light .feat:hover,
    :scope.landing-light .rolec:hover { box-shadow: 0 16px 40px -16px rgba(24,33,27,0.22); }
    :scope.landing-light .feat-icon { background: rgba(22,163,74,0.1); border-color: rgba(22,163,74,0.25); }
    :scope.landing-light .feat-icon svg { stroke: #16a34a; }


    :scope.gs .gfade { opacity: 0; }

    /* ═══════════════════════════════════════════
       RESPONSIVE — единая система брейкпоинтов
       ═══════════════════════════════════════════ */

    .nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
    .nav-cta-short { display: none; }
    .nav-cta-full { display: inline; }

    /* —— Планшеты / небольшие ноутбуки ≤1024 —— */
    @media (max-width: 1024px) {
      .wrap { padding: 0 28px; }
      .nav-links { gap: 18px; font-size: 13px; }
      .nav .btn-brand { padding: 12px 20px; font-size: 13.5px; }
      .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
      .stat { padding: 20px 18px; }
      .stat-num { font-size: 30px; }
      .usp-in { padding: 56px 40px; gap: 40px; }
      .feats { grid-template-columns: repeat(2, 1fr); }
    }

    /* —— Планшеты / крупные телефоны ≤768 —— */
    @media (max-width: 768px) {
      .wrap { padding: 0 22px; }
      .nav-links { display: none; }
      .nav-in { padding: 12px 0; }
      .section { padding: 72px 0 0; }
      .sec-head { margin-bottom: 36px; }
      .h2 { font-size: clamp(26px, 6vw, 36px); }
      .hero {
        min-height: auto;
        padding-bottom: 8px;
      }
      .hero-mid { flex: none; padding: 28px 0 20px; align-items: flex-start; }
      .hero-stats-wrap { padding-bottom: 20px; }
      .vcopy {
        height: auto;
        min-height: 0;
        overflow: visible;
        justify-content: flex-start;
      }
      .vbtns {
        flex-direction: column;
        width: 100%;
        max-width: 360px;
        margin: 22px auto 14px;
      }
      .vbtns .btn { width: 100%; }
      .veyebrow { font-size: 10px; margin-bottom: 14px; letter-spacing: 0.1em; }
      .vh1 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 14px; }
      .vsub { font-size: 15px; margin-bottom: 0; }
      .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
      .stat { padding: 16px 14px; }
      .stat-num { font-size: 26px; }
      .stat-label { font-size: 11.5px; }
      .feats { grid-template-columns: 1fr; gap: 12px; }
      .feat { padding: 22px 18px; }
      .roles { grid-template-columns: 1fr; gap: 14px; }
      .rolec { padding: 28px 22px; }
      .rolec .btn { width: 100%; white-space: normal; }
      .steps { grid-template-columns: 1fr; }
      .usp { margin-top: 56px; border-radius: 18px; }
      .usp-in { grid-template-columns: 1fr; gap: 24px; padding: 40px 24px; }
      .footer { margin-top: 56px; flex-wrap: wrap; gap: 8px; justify-content: center; text-align: center; }
      .app { grid-template-columns: 1fr; }
      .app-side, .app-calc { display: none; }
      .frame-url { max-width: none; font-size: 10.5px; }
    }

    /* —— Телефоны ≤480 —— */
    @media (max-width: 480px) {
      .wrap { padding: 0 16px; }
      .nav-actions { gap: 8px; }
      .nav-cta-full { display: none; }
      .nav-cta-short { display: inline; }
      .nav .btn-brand { padding: 10px 14px; font-size: 13px; }
      .theme-btn { width: 36px; height: 36px; }
      .slogo { font-size: 18px !important; }
      .hero-mid { padding: 20px 0 16px; }
      .vbtns { max-width: none; margin-top: 18px; }
      .btn { padding: 13px 22px; font-size: 14px; }
      .stats { gap: 8px; }
      .stat { padding: 14px 10px; border-radius: 14px; }
      .stat-num { font-size: 22px; }
      .stat-label { font-size: 11px; line-height: 1.35; }
      .section { padding: 56px 0 0; }
      .sec-head { margin-bottom: 28px; }
      .rolec { padding: 22px 16px 24px; }
      .rolec-title { font-size: 18px; }
      .usp-in { padding: 32px 18px; }
      .usp-num { font-size: clamp(48px, 16vw, 64px); }
      .app-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        padding: 8px;
        font-size: 11px;
      }
      .app-row.head span:nth-child(2),
      .app-row:not(.head) > span:nth-child(2) { display: none; }
      .app-main { padding: 14px 12px; }
      .landing-mode-note { font-size: 12px; padding: 0 4px; }
    }

    /* —— Очень узкие ≤360 —— */
    @media (max-width: 360px) {
      .wrap { padding: 0 12px; }
      .stats { grid-template-columns: 1fr; }
      .veyebrow { font-size: 9.5px; }
    }

    /* —— Короткие экраны (горизонтальный телефон / низкий ноут) —— */
    @media (max-height: 700px) and (min-width: 769px) {
      .hero { min-height: auto; }
      .hero-mid { padding: 24px 0 12px; }
      .vcopy { height: clamp(160px, 28vh, 220px); }
    }

    /* —— Без hover (тач): слот текста без клиппинга —— */
    @media (hover: none) {
      .vcopy {
        height: auto;
        min-height: 0;
        overflow: visible;
        justify-content: flex-start;
      }
      .vtag {
        display: none;
        margin: 0;
        min-height: 0;
      }
      .btn:hover { transform: none; }
      .feat:hover, .rolec:hover { transform: none; }
    }


}
