/* ══════════════════════════════════════════
   MNTOOLS — standalone landing
   Дизайн-язык взят из самой панели: почти чёрный
   фон, скруглённые плиты, тонкие бордеры,
   pill-табы и моно-микролейблы.
   cache-bust 2026-08-20
   ══════════════════════════════════════════ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/mntoolsbeta/fonts/inter-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/mntoolsbeta/fonts/inter-cyrillic-300-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/mntoolsbeta/fonts/inter-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/mntoolsbeta/fonts/inter-cyrillic-800-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg:        #08080a;
  --bg-2:      #0c0c0e;
  --plate:     #121214;
  --plate-2:   #17171a;
  --plate-3:   #1e1e22;
  --line:      rgba(255, 255, 255, .07);
  --line-2:    rgba(255, 255, 255, .13);
  --fg:        #f4f4f5;
  --soft:      #a8a8b0;
  --muted:     #74747d;
  --dim:       #52525b;
  --ok:        #45d67f;
  --warn:      #e2a83c;
  --rec:       #e0554f;
  --r:         14px;
  --r-lg:      20px;
  --wrap:      1180px;
  --hdr-wrap:  1680px;
  --sans:      "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:      "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--plate-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .1em .4em;
}
::selection { background: rgba(255, 255, 255, .18); }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── dots ───────────────────────────────── */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
  background: var(--muted);
}
.dot--ok  { background: var(--ok);  box-shadow: 0 0 0 3px rgba(69, 214, 127, .14); }
.dot--rec { background: var(--rec); animation: blink 1.6s var(--ease) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ── buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--plate-2);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: background .2s, border-color .2s, transform .2s var(--ease), color .2s;
}
.btn:hover { background: var(--plate-3); border-color: rgba(255, 255, 255, .22); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--solid { background: #f4f4f5; border-color: #f4f4f5; color: #0a0a0c; }
.btn--solid:hover { background: #fff; border-color: #fff; color: #0a0a0c; }
.btn--ok { background: #45d67f; border-color: #45d67f; color: #08140c; }
.btn--ok:hover { background: #5ee090; border-color: #5ee090; color: #08140c; }
.btn--ghost { background: rgba(255, 255, 255, .04); }
.btn--sm { height: 36px; padding: 0 15px; font-size: 13.5px; border-radius: 9px; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 13px; }
.btn .arr { font-style: normal; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateY(3px); }

.pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--plate-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--soft);
}
.pill--on { border-color: rgba(69, 214, 127, .4); color: var(--ok); background: rgba(69, 214, 127, .09); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18, 18, 20, .7);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: var(--soft);
}

/* ══════════════ HEADER ══════════════ */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(8, 8, 10, .82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.hdr__in {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 20px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hdr__left {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  pointer-events: none;
}
.hdr__left > * { pointer-events: auto; }
.hdr__prog {
  height: 1px;
  background: #fff;
  width: 0;
  opacity: .5;
  transition: width .08s linear;
}

.wm {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.02em;
  flex: none;
}
.wm__dot {
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--fg);
  flex: none;
}
.wm__ava {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
}
.wm__thin { font-weight: 400; color: var(--soft); }

.hdr__nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 4px;
  z-index: 5;
  pointer-events: auto;
}
.hdr__nav a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--soft);
  transition: color .2s, background .2s;
}
.hdr__nav a:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.hdr__nav a.is-on { color: var(--fg); background: var(--plate-2); }

.hdr__act {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.ver {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
}

.mn-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 138, .28);
  background: rgba(255, 90, 110, .08);
  color: #ff8a9a;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.mn-heart svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.mn-heart:hover,
.mn-heart.is-on {
  background: rgba(255, 90, 110, .16);
  border-color: rgba(255, 122, 138, .45);
  color: #ffb0ba;
}

.burger {
  display: none;
  width: 38px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 15px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

.mmenu {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  z-index: 49;
  padding: 12px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(8, 8, 10, .96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mmenu[hidden] { display: none; }
.mmenu a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--soft);
  font-weight: 500;
}
.mmenu a:hover { background: var(--plate-2); color: var(--fg); }
.mmenu .btn { margin-top: 10px; }

/* ══════════════ HERO ══════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #050506;
}
.hero__stage { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  opacity: .38;
  filter: none;
}
.hero__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .1;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, .03) 0 1px,
    transparent 1px 4px
  );
}
.hero__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: rgba(5, 5, 6, .42);
  background-image:
    radial-gradient(ellipse 80% 70% at 50% 46%, rgba(5, 5, 6, .28) 0%, transparent 72%),
    linear-gradient(to bottom, rgba(5, 5, 6, .4) 0%, transparent 22%, transparent 80%, rgba(5, 5, 6, .45) 100%);
}

.hero__in {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 120px 24px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero__brand {
  --logo-size: clamp(108px, 21vw, 252px);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
}
.hero__eye {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  max-width: 100%;
  margin: 18px 0 0;
  padding: 0 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ok);
  line-height: 1.35;
  text-align: center;
}
.hero__eye .dot {
  box-shadow: none;
}
.hero__live { animation: heroLive 1.8s ease-in-out infinite; }
.hero__ttl {
  display: block;
  margin: 0;
  max-width: 100%;
  font-size: var(--logo-size);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.04em;
  white-space: nowrap;
  text-shadow: none;
}
.hero__mn,
.hero__tools {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.hero__mn {
  color: #fff;
}
.hero__tools {
  color: #7d8188;
}
.hero__line {
  box-sizing: border-box;
  width: min(46em, 90vw);
  max-width: 100%;
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 450;
  color: #5c5f66;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: center;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 0;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(8, 8, 10, .5);
  color: var(--fg);
  font-size: 13px;
  font-weight: 550;
}
.hero__chip svg {
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
  color: #b8b8c0;
}
.hero__chip em { font-style: normal; }
.hero__act {
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.hero__act .btn {
  height: 46px;
  padding: 0 18px;
  font-size: 14px;
}
.hero__act .btn svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
}
.hero__stats {
  list-style: none;
  margin: 28px auto 12px;
  padding: 14px 0 0;
  width: max-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero__stats li {
  position: relative;
  min-width: 96px;
  padding: 0 18px;
  text-align: center;
}
.hero__stats li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, .12);
}
.hero__stats b {
  display: block;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.hero__stats span {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8e8e96;
}
.hero__stats--ok b { color: var(--ok); }

@keyframes heroLive {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.hero__more {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .55);
}
.hero__more-lbl {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero__more svg {
  display: block;
  width: 22px;
  height: 22px;
  animation: heroMore 1.6s var(--ease) infinite;
}
@keyframes heroMore {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(7px); opacity: .9; }
}

.hero__mute {
  position: absolute;
  right: 20px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 14, .6);
  backdrop-filter: blur(10px);
  transition: border-color .2s, background .2s;
}
.hero__mute:hover { border-color: var(--line-2); background: var(--plate-2); }
.hero__mutebar {
  width: 2.5px;
  height: 11px;
  background: var(--fg);
  border-radius: 2px;
}
.hero__mute.is-paused .hero__mutebar:first-of-type {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  width: 9px;
  height: 10px;
}
.hero__mute.is-paused .hero__mutebar:last-of-type { display: none; }
.hero__mute em {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
  margin-left: 6px;
}

/* ══════════════ TICKER ══════════════ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 13px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__row {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: slide 48s linear infinite;
}
.ticker__row span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 42px;
}
.ticker__row span::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dim);
}
@keyframes slide { to { transform: translateX(-50%); } }


/* ══════════════ DEMO CARD (общая обвязка блоков) ══════════════ */
.demo {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--plate);
  overflow: hidden;
  box-shadow: 0 40px 110px -50px rgba(0, 0, 0, .9);
}
.demo--live {
  width: 100%;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 22px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: var(--plate-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--soft);
  flex: none;
}
.badge--ok { border-color: rgba(69, 214, 127, .4); color: var(--ok); background: rgba(69, 214, 127, .09); }
.badge--rec { border-color: rgba(224, 85, 79, .4); color: #f0938e; background: rgba(224, 85, 79, .09); }

.demo__head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 clamp(14px, 2vw, 20px);
}
.demo__ttl {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.02em;
}
.demo__note {
  color: var(--dim);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}
.demo__head .badge { margin-left: auto; }

/* ── before / after ─────────────────────── */
.cmp {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #000;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.cmp__v {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* исходник обрезаем clip-path, чтобы картинка не сжималась вместе с маской */
.cmp__clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0);
}
.cmp__tag {
  position: absolute;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(8, 8, 10, .72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 9.5px;
  pointer-events: none;
}
.cmp__tag--l { left: 14px; }
.cmp__tag--r { right: 14px; color: var(--fg); }
.cmp__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x, 50%);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .45);
}
.cmp__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(12, 12, 14, .82);
  backdrop-filter: blur(8px);
  color: var(--fg);
  font-size: 14px;
  line-height: 1;
  cursor: ew-resize;
  transition: transform .2s var(--ease), background .2s;
}
.cmp__knob:hover { background: var(--plate-3); transform: translate(-50%, -50%) scale(1.08); }
.cmp__knob:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ── обучающие видео ────────────────────── */
.tut {
  display: grid;
  grid-template-columns: 1fr 1fr .7fr;
  gap: 12px;
  padding: 0 clamp(14px, 2vw, 20px) clamp(16px, 2vw, 20px);
  border-top: 1px solid var(--line);
  padding-top: clamp(14px, 2vw, 20px);
}
.tut__i {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate-2);
  padding: 12px;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.tut__i:hover { background: var(--plate-3); border-color: var(--line-2); transform: translateY(-2px); }
.tut__thumb {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.tut__thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.tut__i:hover .tut__thumb img { opacity: .85; }
.tut__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(12, 12, 14, .7);
  backdrop-filter: blur(8px);
  transition: transform .25s var(--ease), background .25s;
}
.tut__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 13px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.tut__i:hover .tut__play { transform: translate(-50%, -50%) scale(1.1); background: rgba(20, 20, 23, .9); }
.tut__badge { position: absolute; top: 10px; right: 10px; }
.tut__meta { display: flex; flex-direction: column; gap: 6px; padding: 0 2px 2px; }
.tut__meta strong { font-size: 14.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.tut__meta time { color: var(--dim); }

.tut__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r);
  border: 1px dashed var(--line-2);
}
.tut__aside p { margin: 0; font-size: 13.5px; color: var(--soft); line-height: 1.55; }
.tut__links { display: grid; gap: 8px; }
.tut__links a { font-size: 13.5px; color: var(--soft); transition: color .2s; }
.tut__links a:hover { color: var(--fg); }

/* ══════════════ SECTIONS ══════════════ */
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.shead { max-width: 700px; margin-bottom: clamp(38px, 5vw, 62px); }
.shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.shead__k { display: block; margin-bottom: 18px; }
.shead h2 {
  margin: 0;
  font-size: clamp(30px, 5.4vw, 58px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.042em;
}
.shead h2 .dim { color: var(--dim); }
.shead p {
  margin: 20px 0 0;
  font-size: clamp(14.5px, 1.5vw, 17px);
  color: var(--soft);
  line-height: 1.62;
  max-width: 620px;
}
.shead--center p { margin-left: auto; margin-right: auto; }

/* ── подблок внутри секции ──────────────── */
.sub {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  grid-template-areas:
    "k t"
    ". d";
  column-gap: 16px;
  row-gap: 8px;
  align-items: start;
  margin: clamp(48px, 6vw, 78px) 0 36px;
  padding-top: clamp(26px, 3.2vw, 38px);
  border-top: 1px solid var(--line);
}
.shead + .sub { margin-top: 0; }
.sub__k {
  grid-area: k;
  margin: 0;
  padding-top: .45em;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1;
}
.sub__t {
  grid-area: t;
  margin: 0;
  max-width: 22em;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.sub__d {
  grid-area: d;
  margin: 0;
  max-width: 46em;
  font-size: 14px;
  color: var(--soft);
  line-height: 1.55;
}

.iguide {
  display: grid;
  gap: 6px;
  margin: 0 0 28px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(69, 214, 127, .08), transparent 55%),
    var(--plate-2);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s;
}
.iguide:hover {
  border-color: var(--line-2);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(69, 214, 127, .12), transparent 55%),
    var(--plate-3);
}
.iguide__k {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ok);
}
.iguide strong {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.iguide__d {
  font-size: 13.5px;
  color: var(--soft);
  line-height: 1.5;
}

/* reveal */
[data-rv] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-rv].is-in { opacity: 1; transform: none; }

/* ── cards ──────────────────────────────── */
.grid { display: grid; gap: 12px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  padding: 22px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.card:hover { background: var(--plate-2); border-color: var(--line-2); transform: translateY(-2px); }
.card__k { display: block; margin-bottom: 16px; font-size: 10px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 18.5px;
  font-weight: 650;
  letter-spacing: -.025em;
}
.card p { margin: 0; font-size: 14.5px; color: var(--soft); line-height: 1.58; }

/* плотный вариант сетки: метка в одну строку с заголовком, текст мельче */
.grid--tight { gap: 10px; }
.grid--tight .card { padding: 16px 17px; }
.grid--tight .card__k { margin-bottom: 9px; }
.grid--tight .card h3 { font-size: 16px; margin-bottom: 5px; }
.grid--tight .card p { font-size: 13.5px; line-height: 1.52; color: var(--muted); }

/* ── KPI-строка ─────────────────────────── */
.kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate);
}
.kpi__i { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi__i b {
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1;
}
.kpi__i span { font-size: 12px; color: var(--muted); }
.kpi__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: var(--plate-2);
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.kpi__cta:hover { background: var(--plate-3); border-color: rgba(255, 255, 255, .24); }
.kpi__cta .arr { font-style: normal; color: var(--dim); }

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
}
.cats__i {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 10px 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--plate);
  color: var(--soft);
}
.cats__n {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .02em;
}
.cats__i b {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 650;
  color: var(--fg);
}

/* ── сетка AI-движков ───────────────────── */
/* диск / модели: те же плиты, что сетка движков снизу */
.dsk {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.dsk__i {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 14px 15px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--plate);
}
.dsk__k {
  font-size: 9px;
  color: var(--dim);
}
.dsk__i b {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1;
}
.dsk__i > span:last-child {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}
.dsk__i--ok {
  border-color: color-mix(in srgb, var(--ok) 32%, var(--line));
  background: color-mix(in srgb, var(--ok) 6%, var(--plate));
}
.dsk__i--ok .dsk__k,
.dsk__i--ok b { color: var(--ok); }

.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mcell {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--plate);
  transition: background .22s, border-color .22s;
}
.mcell:hover { background: var(--plate-2); border-color: var(--line-2); }
.mcell__t { display: flex; align-items: baseline; gap: 8px; }
.mcell__n { font-size: 14.5px; font-weight: 620; letter-spacing: -.02em; }
.mcell__s { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--dim); white-space: nowrap; }
.mcell__d { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.mcell__g {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ok);
}

/* ── витрина живой панели ───────────────── */
.pg { border-top: 0; }
.pg__body {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.pg__ctl {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 260px;
  padding: 0;
  border-right: 1px solid var(--line);
  background: #0c0c0e;
}
.pg__ctl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.pg__grp {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px 14px;
  border-bottom: 1px solid var(--line);
}
.pg__grp:last-child { border-bottom: 0; }
.pg__lbl {
  color: var(--dim);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pg__row { display: flex; align-items: center; gap: 6px; }

.pg__seg,
.pg__seg--stack,
.pg__grp--theme .pg__seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.pg__seg button {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--plate);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
  color: var(--soft);
  white-space: nowrap;
  text-align: center;
  transition: background .15s, color .15s, border-color .15s;
}
.pg__grp--theme .pg__seg button,
.pg__grp--theme .pg__seg button + button { border-left: 1px solid var(--line); }
.pg__seg button:hover {
  color: var(--fg);
  border-color: var(--line-2);
  background: var(--plate-2);
}
.pg__seg button.is-on {
  color: #0a0a0c;
  background: #f4f4f5;
  border-color: #f4f4f5;
  font-weight: 700;
}

.pg__sel, .pg__x {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--plate);
  color: var(--soft);
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  transition: background .15s, border-color .15s, color .15s;
}
.pg__sel {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  padding: 0 32px 0 12px;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8a8b0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 11px center;
}
.pg__sel:hover, .pg__x:hover { color: var(--fg); background: var(--plate-2); border-color: var(--line-2); }
.pg__x { flex: none; }

.pg__stage {
  position: relative;
  display: flex;
  flex: 0 0 540px;
  width: 540px;
  max-width: 100%;
  padding: 0;
  background: var(--bg);
  min-height: 420px;
}
.pg__frame {
  width: 100%;
  max-width: none;
  margin-left: 0;
  height: 100%;
  min-height: clamp(520px, 74vh, 760px);
  border: 0;
  border-radius: 0;
  background: #0a0a0b;
  overflow: hidden;
  box-shadow: none;
  transition: max-width .35s var(--ease);
}
.pg__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.pg__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  transition: opacity .35s;
}
.pg__ph[hidden] { display: none; }
.pg__ph b { font-size: 15px; font-weight: 600; }
.pg__ph .mono { color: var(--dim); font-size: 10px; }
.pg__spin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  border-top-color: var(--fg);
  animation: pgspin .8s linear infinite;
}
@keyframes pgspin { to { transform: rotate(360deg); } }

.pg__foot {
  margin: 0;
  padding: 11px clamp(14px, 2vw, 20px) 13px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 9.5px;
  line-height: 1.7;
}

/* ── pipeline ───────────────────────────── */
.pipe {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.pipe__flow {
  padding: 10px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pipe__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--r);
  border: 1px dashed var(--line-2);
  background: var(--plate);
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  transition: background .22s, border-color .22s;
}
.pipe__cta:hover { background: var(--plate-2); border-color: rgba(255, 255, 255, .26); }
.pipe__cta .arr { font-style: normal; color: var(--dim); }
.pipe__step {
  display: grid;
  grid-template-columns: 22px 1fr;
  grid-template-areas: "n b" "n e" "t t";
  align-items: center;
  gap: 2px 11px;
  padding: 12px 13px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--plate-2);
  position: relative;
}
.pipe__step[data-on] { border-color: rgba(255, 255, 255, .16); }
/* тумблер «шаг включён», как в панели */
.pipe__step::after {
  content: "";
  grid-area: t;
  margin-top: 9px;
  width: 30px;
  height: 17px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(circle 5.5px at 8px 50%, rgba(255, 255, 255, .38) 99%, transparent 100%),
    var(--plate-3);
}
.pipe__step[data-on]::after {
  border-color: #f4f4f5;
  background:
    radial-gradient(circle 5.5px at calc(100% - 8px) 50%, #0a0a0c 99%, transparent 100%),
    #f4f4f5;
}
.pipe__step .mono {
  grid-area: n;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--plate-3);
  display: grid;
  place-items: center;
  font-size: 10.5px;
  letter-spacing: 0;
  color: var(--soft);
}
.pipe__step b { grid-area: b; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.pipe__step em {
  grid-area: e;
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
/* ── shots ──────────────────────────────── */
.shot, .pipe__shot {
  margin: 0;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* фиксированная высота резервирует место до загрузки —
   иначе lazy-картинки дёргают layout и ломают IntersectionObserver */
.shot img, .pipe__shot img {
  width: 100%;
  height: 430px;
  flex: none;
  object-fit: cover;
  object-position: top center;
  cursor: zoom-in;
  transition: opacity .25s, transform .4s var(--ease);
}
.pipe__shot img { height: 520px; }
.shot:hover img, .pipe__shot:hover img { opacity: .88; }
.shot figcaption, .pipe__shot figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 10px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.split--wide { grid-template-columns: 1fr 1fr; align-items: start; }
.stack { display: grid; gap: 12px; }
.stack .shot img { height: 300px; }


/* ── panels grid ────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pcard {
  padding: 20px 20px 22px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.pcard:hover { background: var(--plate-2); border-color: var(--line-2); transform: translateY(-2px); }
.pcard__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pcard__ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--plate-2);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--soft);
  flex: none;
}
.pcard__n { font-size: 15.5px; font-weight: 650; letter-spacing: -.02em; }
.pcard__v { font-family: var(--mono); font-size: 10px; color: var(--dim); margin-left: auto; }
.pcard { cursor: pointer; }
.pcard:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pcard p { margin: 0; font-size: 13.8px; color: var(--soft); line-height: 1.55; }
.pcard__bot { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.pcard__go {
  margin-left: auto;
  font-size: 9.5px;
  color: var(--dim);
  opacity: 0;
  transition: opacity .22s;
}
.pcard:hover .pcard__go, .pcard:focus-visible .pcard__go { opacity: 1; }
.pcard .pill--new { border-color: rgba(69, 214, 127, .4); color: var(--ok); background: rgba(69, 214, 127, .09); }
.pcard .pill--key { border-color: rgba(226, 168, 60, .38); color: var(--warn); background: rgba(226, 168, 60, .08); }

/* ══════════════ CUT-OUT VIDEO BAND ══════════════ */
.cut {
  background: var(--bg);
  padding-bottom: clamp(34px, 5vw, 62px);
}
/* видео живёт строго внутри бокса маски, иначе течёт по краям секции */
.cut__box {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  line-height: 0;
}
.cut__box::before,
.cut__box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bg);
  z-index: 2;
  pointer-events: none;
}
.cut__box::before { top: 0; }
.cut__box::after { bottom: 0; }
.cut__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cut__svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
.cut__note {
  text-align: center;
  margin: clamp(10px, 2vw, 22px) auto 0;
  padding: 0 24px;
  font-size: 10.5px;
}

/* ══════════════ PATCH NOTES ══════════════ */
.patch { overflow: hidden; }
.patch__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .1;
  mask-image: radial-gradient(70% 55% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000, transparent 75%);
}
.patch__video { width: 100%; height: 100%; object-fit: cover; filter: saturate(0) contrast(1.1); }
.patch .wrap { position: relative; z-index: 1; }

.patch__layout { display: grid; grid-template-columns: 232px 1fr; gap: 28px; align-items: start; }

.rail { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 6px; }
.rail__b {
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate);
  transition: background .2s, border-color .2s;
}
.rail__b:hover { background: var(--plate-2); border-color: var(--line-2); }
.rail__b.is-on { background: var(--plate-3); border-color: rgba(255, 255, 255, .2); }
.rail__v { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.rail__d { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rail__note {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.rel { display: none; }
.rel.is-on { display: block; animation: relin .45s var(--ease); }
@keyframes relin { from { opacity: 0; transform: translateY(14px); } }

.rel__head {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--plate-2), var(--plate) 60%);
  margin-bottom: 12px;
}
.rel__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.rel__v {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}
.rel__lead { margin: 0; font-size: 15.5px; color: var(--soft); line-height: 1.62; max-width: 720px; }
.rel__count { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.gr {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate);
  margin-bottom: 8px;
  overflow: hidden;
}
.gr__h {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  text-align: left;
  transition: background .2s;
}
.gr__h:hover { background: var(--plate-2); }
.gr__h b { font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.gr__h .pill { margin-left: 0; }
.gr__x {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--muted);
  transition: transform .28s var(--ease);
  flex: none;
}
.gr.is-open .gr__x { transform: rotate(45deg); }
.gr__c {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.gr.is-open .gr__c { grid-template-rows: 1fr; }
.gr__c > ul { overflow: hidden; }
.gr ul {
  list-style: none;
  margin: 0;
  padding: 0 20px 8px 20px;
}
.gr li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--soft);
  line-height: 1.55;
}
.gr li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dim);
}
.gr--key li::before { background: var(--fg); }
.gr--main li::before { background: var(--soft); }
.gr--fix li::before { background: var(--ok); }

.gal {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gal__i {
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--plate);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color .25s, transform .25s var(--ease);
}
.gal__i:hover { border-color: var(--line-2); transform: translateY(-2px); }
.gal__i img { width: 100%; height: 132px; object-fit: cover; object-position: top center; }
.gal__i figcaption {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ══════════════ PRICING ══════════════ */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: stretch; }
.ipay {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 16px 0 0;
  padding: 16px 18px 16px 20px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .08), transparent 50%),
    var(--plate-2);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.ipay:hover {
  border-color: rgba(255, 255, 255, .28);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .12), transparent 50%),
    var(--plate-3);
  transform: translateY(-1px);
}
.ipay__flags {
  display: flex;
  flex: none;
  align-items: center;
}
.ipay__flag {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #17171a;
  margin-left: -7px;
}
.ipay__flag:first-child { margin-left: 0; }
.ipay__flag--us {
  background:
    linear-gradient(#3c3b6e, #3c3b6e) 0 0 / 42% 54% no-repeat,
    repeating-linear-gradient(#b22234 0 12.5%, #fff 12.5% 25%);
}
.ipay__flag--eu {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 18%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 74% 32%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 82% 58%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 74% 82%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 50% 90%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 26% 82%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 18% 58%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 26% 32%, #fc0 1.15px, transparent 1.35px),
    #003399;
}
.ipay__flag--uk {
  z-index: 2;
  background:
    linear-gradient(#c8102e, #c8102e) 50% 50% / 100% 30% no-repeat,
    linear-gradient(#c8102e, #c8102e) 50% 50% / 30% 100% no-repeat,
    linear-gradient(#fff, #fff) 50% 50% / 100% 42% no-repeat,
    linear-gradient(#fff, #fff) 50% 50% / 42% 100% no-repeat,
    #012169;
}
.ipay:hover .ipay__flag { box-shadow: 0 0 0 2px #1e1e22; }
.ipay__body { display: grid; gap: 6px; flex: 1 1 auto; min-width: 0; }
.ipay__k {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ok);
}
.ipay__ttl {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ipay strong {
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.ipay__d {
  font-size: 13.5px;
  color: var(--soft);
  line-height: 1.5;
}
.ipay__go {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f4f4f5;
  color: #0a0a0c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.ipay:hover .ipay__go { background: #fff; }

@media (max-width: 720px) {
  .ipay { flex-direction: column; align-items: stretch; }
  .ipay__go { justify-content: center; height: 40px; }
}
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--plate);
  overflow: hidden;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
/* тонкая световая линия по верхней кромке — проявляется на ховере */
.price::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.price:hover { border-color: var(--line-2); transform: translateY(-4px); }
.price:hover::after { opacity: 1; }

.price--best {
  border-color: rgba(69, 214, 127, .34);
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(69, 214, 127, .13), transparent 62%),
    linear-gradient(170deg, var(--plate-2), var(--plate) 70%);
}
.price--best::after { opacity: 1; background: linear-gradient(90deg, transparent, rgba(69, 214, 127, .6), transparent); }
.price__flag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 11px 5px;
  border-bottom-left-radius: 10px;
  background: var(--ok);
  color: #06180d;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.price__top { display: flex; align-items: center; gap: 10px; min-height: 24px; }
.price__top h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.price__top .pill { margin-left: auto; }
.price--best .price__top .pill { margin-right: 62px; }

.price__sum {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1;
}
.price__usd { font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.price__was { font-size: 13px; font-weight: 500; color: var(--dim); text-decoration: line-through; }
.price__d { margin: 9px 0 0; font-size: 12.8px; color: var(--muted); min-height: 34px; line-height: 1.45; }

.price ul {
  list-style: none;
  margin: 15px 0 18px;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  flex: 1;
  align-content: start;
}
.price li {
  position: relative;
  padding-left: 20px;
  font-size: 12.8px;
  color: var(--soft);
  line-height: 1.42;
}
.price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 11px;
  height: 6px;
  border-left: 1.6px solid var(--dim);
  border-bottom: 1.6px solid var(--dim);
  transform: rotate(-45deg);
}
.price--best li::before { border-color: var(--ok); }
.price .btn { height: 42px; font-size: 13.5px; }

/* ── таблица «что входит» ────────────────── */
.mx {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate);
  overflow: hidden;
}
.mx__r {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(4, 96px);
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
}
.mx__r:first-child { border-top: 0; }
.mx__r:hover:not(.mx__r--h) { background: var(--plate-2); }
.mx__r--h {
  background: var(--plate-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.mx__r--h b { font-weight: 500; text-align: center; }
.mx__r--h b.is-best { color: var(--ok); }
.mx__r--sum { background: var(--plate-2); font-weight: 650; }
.mx__n { font-size: 13.5px; color: var(--soft); line-height: 1.4; }
.mx__v { text-align: center; font-size: 13px; color: var(--soft); }
.mx__v i { font-style: normal; }
.mx__yes { color: var(--ok); font-size: 15px; }
.mx__no { color: var(--dim); }

/* ── переключатель языка ─────────────────── */
.mn-lang { position: relative; flex: none; z-index: 40; }
.mn-lang__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 8px 0 6px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--plate);
  color: var(--fg);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.mn-lang__btn:hover,
.mn-lang.is-open .mn-lang__btn {
  border-color: rgba(255,255,255,.28);
  background: var(--plate-3);
}
.mn-lang__flag {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
}
.mn-lang__flag[hidden] { display: none !important; }
.mn-lang__flag--ru {
  background: linear-gradient(#fff 33.34%, #0039a6 33.34% 66.66%, #d52b1e 66.66%);
}
.mn-lang__flag--en {
  background:
    linear-gradient(#c8102e, #c8102e) 50% 50% / 100% 32% no-repeat,
    linear-gradient(#c8102e, #c8102e) 50% 50% / 32% 100% no-repeat,
    linear-gradient(#fff, #fff) 50% 50% / 100% 44% no-repeat,
    linear-gradient(#fff, #fff) 50% 50% / 44% 100% no-repeat,
    #012169;
}
.mn-lang__code { line-height: 1; }
.mn-lang__chev { opacity: .55; transition: transform .18s; }
.mn-lang.is-open .mn-lang__chev { transform: rotate(180deg); }
.mn-lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 168px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--plate-2);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
}
.mn-lang__menu button {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.mn-lang__menu button:hover { background: var(--plate-3); color: var(--fg); }
.mn-lang__menu button.is-on { background: var(--plate-3); color: var(--fg); }
.lang--wide { width: 100%; }
.lang--wide .mn-lang__btn { width: 100%; justify-content: center; }
.lang--wide .mn-lang__menu { left: 0; right: 0; min-width: 0; }

/* ══════════════ МОДАЛКА ══════════════ */
.mdl { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px 16px; }
.mdl[hidden] { display: none; }
.mdl__veil { position: absolute; inset: 0; background: rgba(8, 8, 10, .88); backdrop-filter: blur(12px); }
.mdl__box {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100svh - 48px);
  overflow: auto;
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
  animation: mdlIn .3s var(--ease) both;
}
@keyframes mdlIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.mdl__x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--plate);
  color: var(--soft);
  font-size: 19px;
  line-height: 1;
  transition: background .2s, color .2s;
}
.mdl__x:hover { background: var(--plate-3); color: var(--fg); }
.mdl__k { display: block; color: var(--dim); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.mdl__ttl { margin: 12px 0 0; font-size: clamp(22px, 2.8vw, 28px); font-weight: 750; letter-spacing: -.04em; line-height: 1.12; }
.mdl__d { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.mdl__d code {
  font-size: 11.5px;
  color: var(--soft);
}
.mdl__body { margin-top: 22px; display: grid; gap: 8px; }
.mdl__foot {
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
}

/* строка источника загрузки / способа оплаты */
.src {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background .2s, border-color .2s;
}
.src:hover { background: var(--plate-2); border-color: var(--line-2); }
.src--off { opacity: .5; pointer-events: none; }
.src--main { border-color: rgba(69, 214, 127, .28); background: rgba(69, 214, 127, .05); }
.src__ico,
.src__num {
  display: grid;
  place-items: center;
  min-width: 28px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  color: var(--dim);
}
.src--main .src__ico,
.src--main .src__num { color: var(--ok); }
.src__n { display: block; font-size: 14.5px; font-weight: 620; letter-spacing: -.02em; }
.src__d {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.src__flags {
  display: flex;
  align-items: center;
  flex: none;
}
.src__flag {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--plate);
  margin-left: -7px;
}
.src__flag:first-child { margin-left: 0; }
.src--main .src__flag { box-shadow: 0 0 0 2px #141814; }
.src:hover .src__flag { box-shadow: 0 0 0 2px var(--plate-2); }
.src__flag--ru {
  background: linear-gradient(#fff 33.34%, #0039a6 33.34% 66.66%, #d52b1e 66.66%);
}
.src__flag--us {
  background:
    linear-gradient(#3c3b6e, #3c3b6e) 0 0 / 42% 54% no-repeat,
    repeating-linear-gradient(#b22234 0 12.5%, #fff 12.5% 25%);
}
.src__flag--eu {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 18%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 74% 32%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 82% 58%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 74% 82%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 50% 90%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 26% 82%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 18% 58%, #fc0 1.15px, transparent 1.35px),
    radial-gradient(circle at 26% 32%, #fc0 1.15px, transparent 1.35px),
    #003399;
}
.src__flag--uk {
  z-index: 2;
  background:
    linear-gradient(#c8102e, #c8102e) 50% 50% / 100% 30% no-repeat,
    linear-gradient(#c8102e, #c8102e) 50% 50% / 30% 100% no-repeat,
    linear-gradient(#fff, #fff) 50% 50% / 100% 42% no-repeat,
    linear-gradient(#fff, #fff) 50% 50% / 42% 100% no-repeat,
    #012169;
}
.src__flag--world {
  background:
    radial-gradient(circle at 35% 40%, #7ec8ff 0 18%, transparent 19%),
    radial-gradient(circle at 62% 58%, #5aa6e6 0 14%, transparent 15%),
    linear-gradient(160deg, #1b4f8a, #0d2a52);
}
.src__brands {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.payb {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  overflow: hidden;
  color: #d8d8de;
  background: #2a2a30;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
.payb svg { display: block; width: 18px; height: 18px; }
.src__k { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.src--main .src__k { color: var(--ok); }

.mnbeta-src-gate.is-open .src--main {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}
.mnbeta-gate {
  margin-top: -8px;
  padding: 4px 16px 16px;
  border: 1px solid rgba(69, 214, 127, .28);
  border-top: 0;
  border-radius: 0 0 var(--r) var(--r);
  background: rgba(69, 214, 127, .05);
}
.mnbeta-gate__k {
  display: block;
  margin: 8px 0 6px;
  color: var(--dim);
}
.mnbeta-gate__hint {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.mnbeta-gate__err {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: #ff8583;
}
.mnbeta-gate .btn { width: 100%; margin-top: 12px; }

/* капча внутри модалки — не старый interior / коралловый акцент */
.mnbeta-mdl .int-field {
  display: grid;
  gap: 7px;
  margin: 0;
}
.mnbeta-mdl .int-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.mnbeta-mdl .cap-row {
  display: grid;
  grid-template-columns: 132px 36px minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}
.mnbeta-mdl .cap-img {
  width: 100%;
  height: 44px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--plate-2);
  border: 1px solid var(--line-2);
}
.mnbeta-mdl .cap-img.is-loading { opacity: .4; }
.mnbeta-mdl .cap-img svg { display: block; width: 100%; height: 100%; }
.mnbeta-mdl .cap-refresh {
  width: 36px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: var(--plate);
  color: var(--soft);
}
.mnbeta-mdl .cap-refresh:hover { background: var(--plate-3); color: var(--fg); }
.mnbeta-mdl .cap-refresh svg { width: 15px; height: 15px; }
.mnbeta-mdl .int-input,
.mnbeta-mdl .cap-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: var(--plate);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.mnbeta-mdl .int-input:focus,
.mnbeta-mdl .cap-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, .28);
  box-shadow: none;
}
@media (max-width: 520px) {
  .mnbeta-mdl .cap-row { grid-template-columns: 1fr 36px; }
  .mnbeta-mdl .cap-img { grid-column: 1 / -1; height: 48px; }
  .mnbeta-mdl .cap-input { grid-column: 1; }
}

/* цена внутри модалки покупки */
.mdl__price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--plate);
  font-size: 28px;
  font-weight: 780;
  letter-spacing: -.045em;
}

/* ══════════════ FAQ ══════════════ */
.faq { display: grid; gap: 8px; max-width: 860px; }
/* две колонки: details раскрываются независимо, поэтому колонки выравниваем по верху */
.faq--2 { max-width: none; grid-template-columns: 1fr 1fr; align-content: start; }
.faq--2 details { align-self: start; }
.faq--2 summary { padding: 15px 18px; font-size: 15px; }
.faq--2 p { padding: 0 18px 16px; font-size: 13.8px; }
.faq details {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--plate);
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.faq details[open] { border-color: var(--line-2); background: var(--plate-2); }
.faq summary {
  padding: 17px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--muted);
  transition: transform .28s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 14.6px;
  color: var(--soft);
  line-height: 1.62;
  max-width: 680px;
}

/* ══════════════ DOWNLOAD ══════════════ */
.dl {
  position: relative;
  padding: clamp(90px, 13vw, 170px) 0;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.dl__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: saturate(.5) brightness(.9);
}
.dl__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 50% 50%, transparent, rgba(8, 8, 10, .75) 60%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg), transparent 25%, transparent 70%, var(--bg));
}
.dl__in { text-align: center; }
.dl__in .shead__k {
  display: block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .62);
}
.dl__in h2 {
  margin: 0;
  font-size: clamp(30px, 6vw, 66px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.dl__in > p {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: clamp(14.5px, 1.6vw, 17px);
  color: var(--soft);
}
.dl__act { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.dl__hint { margin-top: 26px; font-size: 10.5px; }

/* ══════════════ FOOTER ══════════════ */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 30px; }
.foot__in {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot__brand p { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.foot nav { display: flex; flex-direction: column; gap: 9px; }
.foot h4 {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dim);
}
.foot nav a { font-size: 13.8px; color: var(--soft); transition: color .2s; }
.foot nav a:hover { color: var(--fg); }
.foot__legal {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--dim);
}

/* ══════════════ LIGHTBOX ══════════════ */
.lb {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 4, 5, .93);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 60px 70px;
  animation: fade .25s var(--ease);
}
.lb[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lb__fig { margin: 0; max-height: 100%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.lb__fig img {
  max-height: calc(100vh - 150px);
  max-width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  animation: pop .3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
.lb__fig figcaption { text-align: center; font-size: 11.5px; max-width: 620px; }
.lb__x, .lb__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(18, 18, 20, .8);
  color: var(--fg);
  transition: background .2s, border-color .2s;
}
.lb__x:hover, .lb__nav:hover { background: var(--plate-3); border-color: rgba(255, 255, 255, .3); }
.lb__x { top: 20px; right: 20px; width: 42px; height: 42px; font-size: 24px; line-height: 1; }
.lb__nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 28px; line-height: 1; }
.lb__nav--prev { left: 16px; }
.lb__nav--next { right: 16px; }
.lb__nav[hidden], .lb__x[hidden] { display: none; }

body.is-locked { overflow: hidden; }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1020px) {
  .grid--3, .pgrid { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .patch__layout { grid-template-columns: 1fr; gap: 18px; }
  .rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .rail__b { flex: 1 1 160px; }
  .rail__note { flex: 1 1 100%; margin-top: 0; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .tut { grid-template-columns: 1fr 1fr; }
  .tut__aside { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .dsk, .mgrid { grid-template-columns: repeat(2, 1fr); }
  .pipe { grid-template-columns: 1fr; }
  .pipe__flow { grid-template-columns: repeat(2, 1fr); }
  .pipe__cta { justify-content: center; padding: 13px 18px; }
  .kpi { grid-template-columns: repeat(2, 1fr); }
  .kpi__cta { grid-column: 1 / -1; justify-content: center; }
  .faq--2 { grid-template-columns: 1fr; }
  .sub {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    row-gap: 8px;
  }
  .sub__t { max-width: none; }
  .mx__r { grid-template-columns: minmax(0, 1fr) repeat(4, 62px); gap: 6px; padding: 11px 14px; }
  .mx__n { font-size: 12.8px; }
}

@media (max-width: 1280px) {
  .hdr__nav { display: none; }
  .burger { display: flex; }
  .ver { display: none; }
}

@media (max-width: 1100px) {
  /* MNTOOLS ≈ 5.4em — размер от ширины экрана, без вылезания за край */
  .hero__brand { --logo-size: min(168px, calc((100vw - 48px) / 5.4)); }
  .hero__ttl { font-size: var(--logo-size); }
  .hero__eye {
    font-size: 11px;
    letter-spacing: .045em;
    flex-wrap: wrap;
  }
}
@media (max-width: 860px) {
  .mn-heart span { display: none; }
  .mn-heart { width: 36px; min-width: 36px; padding: 0; }
  .hero__in { padding: 92px 20px 80px; }
  .hero__mute {
    top: 74px;
    right: 12px;
    bottom: auto;
    padding: 8px 10px;
  }
  .hero__mute em { display: none; }
  .split, .split--wide { grid-template-columns: 1fr; }
  /* на узком экране ширина панели упирается в экран — переключатель не нужен */
  .demo, .pg__body { width: 100%; }
  .pg__body { flex-direction: column; }
  .pg__ctl {
    flex: none;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .pg__seg--stack { flex-direction: row; flex-wrap: wrap; }
  .pg__stage {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }
  .pg__frame { max-width: 100% !important; height: clamp(480px, 76svh, 640px); margin-left: 0; }
}

@media (max-width: 620px) {
  .wrap, .hdr__in, .hero__in { padding-left: 16px; padding-right: 16px; }
  .grid--3, .pgrid, .prices { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 0; }
  .hero__in { padding: 96px 16px 80px; }
  .hero__brand { --logo-size: min(72px, calc((100vw - 32px) / 5.4)); }
  .hero__ttl { font-size: var(--logo-size); }
  .hero__line { font-size: 11px; }
  .hero__eye {
    font-size: 10px;
    letter-spacing: .03em;
    margin-top: 14px;
  }
  .hero__act { width: 100%; }
  .hero__act .btn {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
  .hero__act .btn--ok { height: 42px; }
  .hero__stats li { min-width: 72px; padding: 0 10px; }
  .hero__stats li + li::before { display: none; }
  .hero__stats { gap: 12px 0; }
  .hero__mute { top: 72px; right: 10px; }
  .tut { grid-template-columns: 1fr; }
  .tut__aside { flex-direction: column; align-items: stretch; }
  .dsk, .mgrid { grid-template-columns: 1fr 1fr; }
  .pipe__flow { grid-template-columns: 1fr; }
  .pg__ctl { gap: 10px 14px; }
  .pg__stage { padding: 10px; min-height: 340px; }
  .demo__head { flex-wrap: wrap; gap: 6px 12px; }
  .demo__head .badge { margin-left: 0; }
  .cmp__tag { bottom: 10px; font-size: 9px; }
  .cmp__tag--l { left: 10px; }
  .cmp__tag--r { right: 10px; }
  .pipe__flow { grid-template-columns: 1fr; }
  .pipe__step { flex-wrap: wrap; }
  .pipe__step em { margin-left: 0; width: 100%; text-align: left; }
  .pipe__step[data-on] em { padding-right: 0; }
  .lb { padding: 60px 14px; }
  .lb__nav { width: 38px; height: 38px; font-size: 22px; }
  .lb__nav--prev { left: 6px; }
  .lb__nav--next { right: 6px; }
  .foot__in { grid-template-columns: 1fr; gap: 26px; }
  .ver { display: none; }
  .hdr__act .lang { display: none; }
  /* таблица тарифов: строка превращается в карточку с чипами по тарифам */
  .mx__r--h { display: none; }
  .mx__r { grid-template-columns: 1fr 1fr; gap: 7px 12px; padding: 14px; }
  .mx__n { grid-column: 1 / -1; margin-bottom: 3px; font-weight: 600; color: var(--fg); }
  .mx__v { display: flex; align-items: center; gap: 7px; text-align: left; font-size: 12.5px; }
  .mx__v::before {
    content: attr(data-c);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dim);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__row { animation: none; }
  [data-rv] { opacity: 1; transform: none; }
  .dot--rec { animation: none; }
  .hero__live { animation: none; }
  .hero__more svg { animation: none; }
}

/* ── meshalkin.art /mntoolsbeta chrome ── */
.mnbeta-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-right: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--plate-2);
  color: var(--soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.mnbeta-back:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,.22);
  background: var(--plate-3);
}
.hdr__in { gap: 12px; }
.mnbeta-account-slot { display: inline-flex; align-items: center; }
.mnbeta-account-slot--m { width: 100%; margin: 8px 0 14px; }
.mnbeta-acc {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.mnbeta-acc__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--plate-2);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.mnbeta-acc__btn:hover { background: var(--plate-3); }
.mnbeta-acc__ava {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--plate-3);
  font-size: 10px; font-weight: 700;
  overflow: hidden;
}
.mnbeta-acc__ava img { width: 100%; height: 100%; object-fit: cover; }
.mnbeta-acc__login {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
}
.mnbeta-acc__login:hover { color: var(--fg); border-color: rgba(255,255,255,.22); }
.mnbeta-acc__menu {
  position: absolute;
  right: 0; top: calc(100% + 8px);
  min-width: 200px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--plate);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  z-index: 80;
}
.mnbeta-acc__menu a,
.mnbeta-acc__menu button {
  display: flex; width: 100%;
  padding: 9px 10px;
  border: 0; border-radius: 8px;
  background: transparent;
  color: var(--fg);
  font: inherit; font-size: 13px;
  text-decoration: none; text-align: left;
  cursor: pointer;
}
.mnbeta-acc__menu a:hover,
.mnbeta-acc__menu button:hover { background: var(--plate-3); }
.mnbeta-acc__menu button.is-danger { color: #ff8583; }
.mnbeta-acc--wide { width: 100%; }
.mnbeta-acc--wide .mnbeta-acc__btn,
.mnbeta-acc--wide .mnbeta-acc__login { width: 100%; justify-content: center; }
.mnbeta-acc--wide .mnbeta-acc__menu { left: 0; right: 0; }
@media (max-width: 960px) {
  .mnbeta-back { font-size: 10px; padding: 6px 9px; margin-right: 6px; }
  .hdr__act .mnbeta-account-slot { display: none; }
}

/* Phone header: keep back + wordmark + CTAs + burger inside the viewport */
.hdr { overflow-x: clip; }
.hdr__in {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
.hdr__act { margin-left: auto; }
.mnbeta-back__arr { flex: none; }

@media (max-width: 860px) {
  .hdr__in {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .mnbeta-back {
    margin-right: 0;
    padding: 0 8px;
    height: 30px;
    box-sizing: border-box;
  }
  .mnbeta-back__lbl { display: none; }
  .wm { font-size: 14px; }
  .wm__dot { margin-right: 6px; }
  .hdr__act { gap: 6px; }
}

@media (max-width: 520px) {
  .hdr__in {
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .hdr__act .mnbeta-dl,
  .hdr__act .mnbeta-buy {
    position: relative;
    width: 36px;
    min-width: 36px;
    padding: 0;
    gap: 0;
    flex-shrink: 0;
  }
  .hdr__act .mnbeta-dl span,
  .hdr__act .mnbeta-buy span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* When embedded in Next shell — kill site chrome bleed */
html.mnbeta-embed,
html.mnbeta-embed body {
  background: var(--bg) !important;
}
html.mnbeta-embed .mn-bg,
html.mnbeta-embed .mn-noise,
html.mnbeta-embed .mn-skip,
html.mnbeta-embed .sup-widget,
html.mnbeta-embed .cc-banner {
  display: none !important;
}
html.mnbeta-embed #aco-main.aco-bare-top,
html.mnbeta-embed #aco-main {
  padding-top: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
html.mnbeta-embed body {
  font-family: var(--font-inter), var(--sans);
}
html.mnbeta-embed .mono,
html.mnbeta-embed .mnbeta-back,
html.mnbeta-embed .ver {
  font-family: var(--font-jetbrains), var(--mono);
}

/* header polish (also in app.css) */
.hdr__nav a {
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}
.hdr__act .btn--sm {
  height: 30px;
  padding: 0 12px;
  font-size: 11px;
  border-radius: 999px;
}
