/* ==========================================================
   +vibe studio — общие стили
   ========================================================== */

/* Запасной шрифт с метриками Onest: пока Onest грузится, текст стоит на тех же местах и не прыгает */
@font-face {
  font-family: "Onest Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  ascent-override: 91.9%;
  descent-override: 29.4%;
  line-gap-override: 0%;
  size-adjust: 105.5%;
}

:root {
  --bg: #f4f4f2;
  --paper: #ffffff;
  --ink: #0b0b0b;
  --ink-soft: #2a2a28;
  --muted: #71716d;
  --line: rgba(11, 11, 11, 0.07);
  --line-2: rgba(11, 11, 11, 0.12);
  --r-xl: 36px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.03), 0 12px 32px -12px rgba(0, 0, 0, 0.08), 0 40px 80px -40px rgba(0, 0, 0, 0.12);
  --nav-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.i { width: 18px; height: 18px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Текстура ---------- */
.grain {
  position: fixed;
  inset: -100%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.065;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- Стекло (только для фиксированных слоёв) ---------- */
.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.36));
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 20px 50px -24px rgba(0, 0, 0, 0.25);
}

/* ---------- Метка-пилюля ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(11, 11, 11, 0.045);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pill.light { color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2.2s var(--ease-out) infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); }
  70%, 100% { box-shadow: 0 0 0 9px transparent; }
}

/* ---------- Кнопки: остров со стрелкой ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn:has(.btn-ico) { padding-right: 7px; }
.btn-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: transform 0.6s var(--ease);
}
.btn-ico svg { width: 16px; height: 16px; }
.btn:hover .btn-ico { transform: translate(2px, -1px) scale(1.06); }
.btn-sm { height: 46px; padding: 0 20px; font-size: 14px; }
.btn-sm:has(.btn-ico) { padding-right: 5px; }
.btn-sm .btn-ico { width: 36px; height: 36px; }

.btn-dark { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 30px -14px rgba(0, 0, 0, 0.55); }
.btn-dark:hover { background: #222; }
.btn-dark .btn-ico { background: rgba(255, 255, 255, 0.12); }
.btn-light { background: #fff; color: #0b0b0b; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06), 0 14px 30px -16px rgba(0, 0, 0, 0.5); }
.btn-light .btn-ico { background: #0b0b0b; color: #fff; }
.btn-soft { background: rgba(11, 11, 11, 0.05); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-soft:hover { background: rgba(11, 11, 11, 0.08); }
.btn-soft .btn-ico { background: #fff; box-shadow: 0 2px 8px -2px rgba(0,0,0,.15); }
.btn-ghost-light { color: #fff; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-full { width: 100%; justify-content: space-between; padding-left: 26px; }

/* ---------- Двойная рамка (оболочка + ядро) ---------- */
.bezel {
  padding: 6px;
  border-radius: var(--r-xl);
  background: rgba(11, 11, 11, 0.035);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bezel > .core {
  height: 100%;
  border-radius: calc(var(--r-xl) - 6px);
  background: var(--paper);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), var(--shadow-soft);
}
.bezel.dark { background: rgba(11, 11, 11, 0.9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 80px -40px rgba(0, 0, 0, 0.5); }
.bezel.dark > .core { background: #0e0e0e; color: #fff; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08); }

/* ---------- Курсор и прогресс ---------- */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), opacity 0.3s;
}
.cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
@media (pointer: fine) { .cursor.ready { opacity: 1; } }
/* Вместо системного курсора — только кружок (на устройствах с мышью) */
@media (pointer: fine) { html.has-cursor, html.has-cursor * { cursor: none !important; } }
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 55; height: 2px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================
   НАВИГАЦИЯ
   ========================================================== */
.nav-wrap { position: fixed; top: 18px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1120px);
  height: var(--nav-h);
  padding: 0 8px 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(246, 246, 246, 0.39) 55%, rgba(225, 225, 225, 0.31));
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  backdrop-filter: blur(30px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(70, 70, 70, 0.07), 0 0 0 1px rgba(30, 30, 30, 0.06), 0 18px 48px -28px rgba(0, 0, 0, 0.4);
  transition: background 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse 190px 72px at var(--glass-x, 22%) var(--glass-y, 0%), rgba(255, 255, 255, 0.66), transparent 78%), linear-gradient(165deg, rgba(255, 255, 255, 0.18), transparent 48%);
}
.nav > * { position: relative; z-index: 1; }
.nav-logo svg { width: 76px; height: 26px; fill: var(--ink); transition: fill 0.6s var(--ease); }
.nav-right { display: flex; align-items: center; gap: 4px; }
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav-item:hover, .dd.open .nav-item { background: rgba(11, 11, 11, 0.05); color: var(--ink); }
.nav-item[aria-current="page"] { background: var(--ink); color: #fff; }
.chev { width: 14px; height: 14px; transition: transform 0.5s var(--ease); }
.dd.open .chev { transform: rotate(180deg); }
.nav .btn { margin-left: 8px; }

/* Выпадающее меню проектов */
.dd { position: relative; }
.dd-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: -40px;
  width: 380px;
  padding: 8px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 247, 247, 0.78) 62%, rgba(233, 233, 233, 0.71));
  -webkit-backdrop-filter: blur(32px) saturate(165%);
  backdrop-filter: blur(32px) saturate(165%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(40, 40, 40, 0.06), 0 0 0 1px rgba(25, 25, 25, 0.08), 0 26px 60px -24px rgba(0, 0, 0, 0.28);
  color: #151515;
  --ink: #151515;
  --muted: #555;
  opacity: 0;
  visibility: hidden;
  transform-origin: 70% 0;
}
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* мостик для hover */
.dd.open .dd-panel { visibility: visible; }
.dd-label { padding: 12px 14px 8px; color: var(--muted); font-size: 11px; }
.dd-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 20px;
  transition: background 0.4s var(--ease);
}
a.dd-item:hover { background: rgba(255, 255, 255, 0.85); box-shadow: 0 8px 24px -12px rgba(0,0,0,.2); }
.dd-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #fff; }
.dd-icon svg { width: 34px; height: 34px; }
.dd-text b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.dd-text small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.dd-tag { padding: 4px 9px; border-radius: 99px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.dd-item.is-soon { opacity: 0.55; }
.dd-item.is-soon .dd-icon { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.dd-item.is-soon .dd-icon svg { width: 20px; height: 20px; }

/* Навигация над тёмными блоками */
.nav.on-dark { border-color: rgba(255, 255, 255, 0.18); background: linear-gradient(145deg, rgba(62, 62, 62, 0.67), rgba(27, 27, 27, 0.52) 58%, rgba(8, 8, 8, 0.46)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.07), 0 20px 50px -24px rgba(0, 0, 0, 0.6); }
.nav.on-dark::before { background: radial-gradient(ellipse 190px 72px at var(--glass-x, 22%) var(--glass-y, 0%), rgba(255, 255, 255, 0.2), transparent 78%), linear-gradient(165deg, rgba(255, 255, 255, 0.07), transparent 48%); }
.nav.on-dark .nav-logo svg { fill: #fff; }
.nav.on-dark .nav-item { color: rgba(255, 255, 255, 0.75); }
.nav.on-dark .nav-item:hover, .nav.on-dark .dd.open .nav-item { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav.on-dark .nav-item[aria-current="page"] { background: #fff; color: #0b0b0b; }
.nav.on-dark .btn-dark { background: #fff; color: #0b0b0b; }
.nav.on-dark .btn-dark .btn-ico { background: #0b0b0b; color: #fff; }
.nav.on-dark .burger { background: #fff; }
.nav.on-dark .burger span { background: #0b0b0b; }

/* Бургер и мобильное меню */
.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); }
.burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; border-radius: 2px; background: #fff; transition: transform 0.6s var(--ease), top 0.6s var(--ease); }
.burger span:nth-child(1) { top: 20px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: 122px 36px 38px;
  background: rgba(235, 235, 235, 0.2);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  backdrop-filter: blur(28px) saturate(145%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
  overflow-y: auto;
}
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 92px 12px 14px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(246, 246, 246, 0.51) 58%, rgba(226, 226, 226, 0.45));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(0, 0, 0, 0.06), 0 22px 64px -25px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}
.mobile-menu > * { position: relative; z-index: 1; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mm-label { color: var(--muted); margin: 0 0 10px; }
.mm-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.mm-link small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.mm-link.is-soon { opacity: 0.45; }
.mm-group { margin-bottom: 28px; }
.mobile-menu .btn { margin-top: auto; }

/* ==========================================================
   ОБЩИЕ СЕКЦИИ
   ========================================================== */
.section { padding: 150px 0; }
.section-head { max-width: 820px; margin-bottom: 72px; }
.h2 {
  margin-top: 22px;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.lead { margin-top: 24px; max-width: 600px; font-size: 19px; color: var(--muted); text-wrap: pretty; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.08em 0.1em; margin: 0 -0.08em -0.1em; } /* запас по бокам — жирные буквы не обрезаются */
.word-inner { display: inline-block; }

/* ==========================================================
   ГЛАВНАЯ — HERO
   ========================================================== */
.hero { position: relative; min-height: 100dvh; padding: 170px 0 190px; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero-inner { position: relative; }
.hero-title {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  font-size: clamp(64px, 12.4vw, 200px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.065em;
  color: #fff;
  mix-blend-mode: difference;
}
.hero-title .line { display: block; }
.hero-title .outline { -webkit-text-stroke: 2.5px #fff; }
.hero-title .outline .word-inner { color: transparent; }
.hero-foot { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 64px; }
.hero-sub { max-width: 500px; font-size: 19px; color: #3a3a38; text-wrap: pretty; }
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.scroll-hint { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.scroll-hint i { position: relative; width: 1px; height: 56px; background: var(--line-2); overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--ink); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* Хромированные шары */
.orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.9) 0 1.5%, rgba(255,255,255,.28) 6%, transparent 20%),
    radial-gradient(circle at 72% 82%, rgba(255,255,255,.2), transparent 36%),
    radial-gradient(circle at 40% 35%, #5c5c5c 0%, #1c1c1c 38%, #060606 68%, #000 100%);
  box-shadow: inset -24px -34px 70px rgba(0,0,0,.6), inset 10px 14px 40px rgba(255,255,255,.08), 0 50px 90px -40px rgba(0,0,0,.5);
  animation: floaty 10s ease-in-out infinite;
}
.orb-1 { width: 560px; height: 560px; right: -110px; top: 120px; }
.orb-2 { width: 200px; height: 200px; right: 38%; bottom: 14%; animation-duration: 12s; animation-delay: -3s; }
.orb-3 { width: 100px; height: 100px; right: 5%; bottom: 12%; animation-duration: 8s; animation-delay: -1s; }
.orb-4 { width: 64px; height: 64px; left: 47%; top: 24%; animation-duration: 9s; animation-delay: -5s; }
@keyframes floaty { 50% { translate: 0 -18px; } }

.floater { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; animation: floaty 7s ease-in-out infinite; }
.floater .dot-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; }
.floater .dot-ico svg { width: 16px; height: 16px; }
.floater small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.2; }
.fl-1 { right: 26%; top: 44%; }
.fl-2 { right: 3%; top: 64%; animation-delay: -3s; }

/* Лента ценностей */
.band { position: absolute; left: -5%; right: -5%; bottom: 54px; z-index: 5; padding: 20px 0; background: var(--ink); color: #fff; transform: rotate(-2deg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.band-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.band span { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.band svg { width: 20px; height: 22px; fill: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   ГЛАВНАЯ — МАНИФЕСТ
   ========================================================== */
.manifesto { padding: 190px 0 150px; }
.manifesto-text {
  margin-top: 0;
  max-width: 1180px;
  font-size: clamp(30px, 4.3vw, 64px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.manifesto-text .mw { opacity: 0.14; transition: opacity 0.2s linear; }
.manifesto-text em { font-style: normal; display: inline-block; padding: 0 0.18em; border-radius: 0.2em; background: var(--ink); color: #fff; }
.manifesto-sign { display: flex; align-items: center; gap: 16px; margin-top: 56px; color: var(--muted); }
.manifesto-sign svg { width: 88px; height: 30px; fill: var(--ink); }

/* ==========================================================
   ГЛАВНАЯ — ДВА НАПРАВЛЕНИЯ
   ========================================================== */
.duo { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: stretch; }
.duo .core { position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 44px; overflow: hidden; }
.duo h3 { margin-top: auto; font-size: clamp(34px, 3.6vw, 52px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.duo p { margin-top: 18px; max-width: 460px; font-size: 17px; color: var(--muted); }
.duo .dark p { color: rgba(255,255,255,.6); }
.duo-meta { display: flex; justify-content: space-between; align-items: center; }
.duo-num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.duo .dark .duo-num { color: rgba(255,255,255,.4); }
.duo-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 500; }
.duo-link .btn-ico { width: 38px; height: 38px; background: #fff; color: #0b0b0b; }
.duo-link:hover .btn-ico { transform: translate(3px, -2px) scale(1.06); }
.duo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.duo-tags span { padding: 8px 14px; border-radius: 99px; font-size: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }

/* Иллюстрация «для вас»: стопка экранов */
.stack { position: absolute; top: 44px; right: 44px; width: 300px; height: 230px; }
.stack span {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -24px rgba(0,0,0,.25);
  transition: transform 0.9s var(--ease);
}
.stack span:nth-child(1) { transform: translate(-40px, 30px) rotate(-6deg); }
.stack span:nth-child(2) { transform: translate(-16px, 14px) rotate(-2deg); background: #fff; }
.stack span:nth-child(3) { background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.stack span:nth-child(3) i { display: block; height: 10px; border-radius: 6px; background: rgba(0,0,0,.08); }
.stack span:nth-child(3) i:first-child { width: 60%; height: 18px; background: var(--ink); }
.stack span:nth-child(3) i:nth-child(3) { width: 70%; }
.stack span:nth-child(3) b { margin-top: auto; width: 110px; height: 32px; border-radius: 99px; background: var(--ink); }
.duo .bezel:hover .stack span:nth-child(1) { transform: translate(-70px, 44px) rotate(-10deg); }
.duo .bezel:hover .stack span:nth-child(2) { transform: translate(-30px, 22px) rotate(-4deg); }

/* Иллюстрация «для себя»: орбита */
.lab { position: absolute; top: 40px; right: 40px; width: 220px; height: 220px; }
.lab .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.2); animation: spin 36s linear infinite; }
.lab .ring.r2 { inset: 40px; animation-duration: 24s; animation-direction: reverse; }
.lab .ring i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px rgba(255,255,255,.8); }
.lab .core-plus { position: absolute; inset: 80px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #9a9a9a 45%, #2a2a2a 85%); }
.lab .core-plus svg { width: 26px; height: 28px; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================
   ГЛАВНАЯ — ДЛЯ КОГО (горизонтальный скролл)
   ========================================================== */
.who { position: relative; }
.who-pin { height: 320vh; }
.who-sticky { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.who-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.who-head .h2 { font-size: clamp(40px, 5vw, 76px); }
.who-head .h2 { max-width: 760px; }
.who-count { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.who-count b { color: var(--ink); font-weight: 500; }
.who-track { display: flex; gap: 20px; padding-left: max(32px, calc((100vw - 1320px) / 2 + 32px)); will-change: transform; }
.who-card { flex: none; width: min(440px, 80vw); }
.who-card .core { display: flex; flex-direction: column; min-height: min(420px, 52vh); padding: 32px; }
.who-card:nth-child(even) { margin-top: 32px; }
.who-card .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.who-glyph { width: 84px; height: 84px; margin: 24px 0 auto; color: var(--ink); }
.who-card h3 { margin-top: 28px; font-size: 34px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.who-card p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.who-card .needs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.who-card .needs span { padding: 6px 12px; border-radius: 99px; font-size: 13px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.who-card.dark .core { background: var(--ink); color: #fff; }
.who-card.dark p { color: rgba(255,255,255,.6); }
.who-card.dark .who-glyph { color: #fff; }
.who-card.dark .needs span { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.who-card.dark .num { color: rgba(255,255,255,.4); }

/* ==========================================================
   ГЛАВНАЯ — ПРИНЦИПЫ
   ========================================================== */
.principles { border-top: 1px solid var(--line-2); }
.principle {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 44px 0;
  border-bottom: 1px solid var(--line-2);
  isolation: isolate;
}
.principle::before {
  content: "";
  position: absolute;
  inset: 0 -32px;
  z-index: -1;
  border-radius: 28px;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.7s var(--ease);
}
.principle:hover::before { transform: scaleY(1); }
.principle:hover { color: #fff; }
.principle:hover p { color: rgba(255,255,255,.65); }
.principle > * { transition: color 0.5s var(--ease), transform 0.7s var(--ease); }
.principle:hover h3 { transform: translateX(12px); }
.principle .num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.principle:hover .num { color: rgba(255,255,255,.5); }
.principle h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; }
.principle p { font-size: 17px; color: var(--muted); max-width: 480px; }

/* ==========================================================
   ГЛАВНАЯ — СТАРТ СТУДИИ
   ========================================================== */
.now .core { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: end; padding: 64px; overflow: hidden; }
.now .h2 { color: #fff; }
.now .lead { color: rgba(255,255,255,.6); }
.now-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.now-glow { position: absolute; width: 640px; height: 640px; right: -180px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 62%); pointer-events: none; }
.now-orb { position: absolute; right: 64px; top: 56px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff, #a0a0a0 30%, #2e2e2e 70%, #0b0b0b); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); animation: floaty 8s ease-in-out infinite; }

/* ==========================================================
   ФОРМА-БРИФ (общая: в оверлее и на главной)
   ========================================================== */
.brief-block .core { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; padding: 64px; position: relative; overflow: hidden; }
.brief-block .h2 { color: #fff; }
.brief-block .lead { color: rgba(255,255,255,.6); }
.contacts { display: flex; flex-direction: column; margin-top: 44px; }
.c-link { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); transition: padding 0.6s var(--ease); }
.c-link:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.c-link .mono { color: rgba(255,255,255,.4); font-size: 11px; }
.c-link b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.c-link .i { transition: transform 0.6s var(--ease); }
.c-link:hover { padding-left: 10px; }
.c-link:hover .i { transform: translate(3px, -3px); }

.bf { position: relative; display: flex; flex-direction: column; min-height: 560px; padding: 32px; border-radius: 30px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), inset 0 1px 0 rgba(255,255,255,.08); color: #fff; }
.bf-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bf-step-label { color: rgba(255,255,255,.5); }
.bf-bars { display: flex; gap: 6px; flex: 1; max-width: 220px; }
.bf-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; position: relative; }
.bf-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.bf-bars i.done::after { transform: scaleX(1); }
.bf-steps { position: relative; flex: 1; margin-top: 30px; }
.bf-step { display: none; flex-direction: column; gap: 14px; }
.bf-step.active { display: flex; }
.bf-step h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 6px; }
.bf-q { margin-top: 8px; color: rgba(255,255,255,.5); font-size: 11px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.opt:hover { background: rgba(255,255,255,.08); }
.opt:active { transform: scale(0.98); }
.opt svg { width: 22px; height: 22px; flex: none; opacity: .8; }
.opt.on { background: #fff; color: #0b0b0b; box-shadow: 0 10px 30px -12px rgba(255,255,255,.35); }
.opt.wide { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border-radius: 99px; font-size: 14px; color: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: all 0.4s var(--ease); }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.chip.on { background: #fff; color: #0b0b0b; box-shadow: none; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%;
  padding: 26px 18px 10px;
  border: 0;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  color: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
  resize: none;
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.field input:focus, .field textarea:focus { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.field span { position: absolute; left: 19px; top: 18px; color: rgba(255,255,255,.45); pointer-events: none; transition: all 0.35s var(--ease); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 8px; font-size: 11px; letter-spacing: .02em; }
.field.invalid input { box-shadow: inset 0 0 0 1px #fff; animation: shake .45s var(--ease-out); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,.5); cursor: pointer; }
.consent input { appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); display: grid; place-items: center; cursor: pointer; }
.consent input:checked { background: #fff; }
.consent input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.bf-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.bf-back { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 99px; color: rgba(255,255,255,.6); transition: color .4s, background .4s; }
.bf-back:hover { color: #fff; background: rgba(255,255,255,.06); }
.bf-back[hidden] { display: inline-flex; visibility: hidden; }
.bf-hint { font-size: 13px; color: rgba(255,255,255,.55); min-height: 20px; }
.bf-done { display: none; flex: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.bf.is-done .bf-done { display: flex; }
.bf.is-done .bf-top, .bf.is-done .bf-steps, .bf.is-done .bf-nav { display: none; }
.bf-done .check { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; color: #0b0b0b; }
.bf-done .check svg { width: 32px; height: 32px; }
.bf-done h3 { font-size: 36px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.bf-done p { color: rgba(255,255,255,.6); max-width: 420px; }

/* ==========================================================
   ОВЕРЛЕЙ «ОБСУДИТЬ ПРОЕКТ» — чёрная густота
   ========================================================== */
.brief { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.brief.open { visibility: visible; }
.brief-goo { position: absolute; inset: 0; filter: url(#goo); pointer-events: none; }
.blob { position: absolute; border-radius: 50%; background: #0b0b0b; transform: scale(0); will-change: transform; }
.brief-bg { position: absolute; inset: 0; background: #0b0b0b; opacity: 0; }
.brief-light { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: blur(2px); }
.brief-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; color: #fff; opacity: 0; pointer-events: none; }
.brief.ready .brief-scroll { pointer-events: auto; }
.brief-wrap { min-height: 100%; display: flex; flex-direction: column; padding-top: 28px; padding-bottom: 40px; }
.brief-head { display: flex; justify-content: space-between; align-items: center; }
.brief-head svg { width: 84px; height: 29px; fill: #fff; }
.brief-close { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 8px 0 22px; border-radius: 99px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: 15px; transition: background .4s var(--ease); }
.brief-close:hover { background: rgba(255,255,255,.12); }
.brief-close span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0b0b0b; transition: transform .6s var(--ease); }
.brief-close:hover span { transform: scale(1.1); }
.brief-close span svg { transition: transform .5s var(--ease); }
.brief-close:hover span svg { transform: scale(1.3); }
.brief-close svg { width: 14px; height: 14px; }
.brief-grid { flex: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; padding: 56px 0 24px; }
.brief-intro .h2 { font-size: clamp(44px, 5.4vw, 84px); }
.brief-intro .lead { color: rgba(255,255,255,.6); }
.brief .contacts { margin-top: 40px; max-width: 460px; }

/* ==========================================================
   ПРАЙС
   ========================================================== */
.page-hero { padding: 190px 0 60px; }
.page-hero h1 { margin-top: 26px; font-size: clamp(56px, 9vw, 150px); font-weight: 700; line-height: 0.9; letter-spacing: -0.065em; }
.page-hero .lead { font-size: 20px; }

.switch-wrap { position: sticky; top: 100px; z-index: 30; display: flex; justify-content: center; padding: 10px 0; pointer-events: none; }
.switch { pointer-events: auto; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 8px; border-radius: 999px; }
.switch button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 30px; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1; color: var(--ink-soft); transition: color 0.5s var(--ease); white-space: nowrap; }
.switch button svg { display: block; flex: none; width: 18px; height: 18px; }
.switch button[aria-selected="true"] { color: #fff; }
.switch-ind { position: absolute; top: 8px; bottom: 8px; left: 0; width: 0; border-radius: 999px; background: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px -10px rgba(0,0,0,.6); }

.svc { padding-top: 8px; }
.svc > .container { padding-top: 62px; }
.svc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.svc-intro h2 { font-size: clamp(44px, 6vw, 92px); font-weight: 700; line-height: .95; letter-spacing: -0.06em; }
.svc-intro p { font-size: 19px; color: var(--muted); max-width: 520px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan .core { position: relative; display: flex; flex-direction: column; padding: 34px; }
.plan.featured .core { background: var(--ink); color: #fff; }
.plan-badge { position: absolute; top: 28px; right: 28px; padding: 6px 12px; border-radius: 99px; background: #fff; color: #0b0b0b; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.plan h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.04em; padding-right: 96px; line-height: 1.1; }
.plan-desc { margin-top: 8px; font-size: 15px; color: var(--muted); min-height: 46px; }
.plan.featured .plan-desc, .plan.featured .plan-meta, .plan.featured .price small { color: rgba(255,255,255,.55); }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 30px; }
.price small { font-size: 16px; color: var(--muted); }
.price b { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -0.055em; }
.plan-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); }
.plan-meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.plan hr { width: 100%; height: 1px; margin: 28px 0 22px; border: 0; background: var(--line); }
.plan.featured hr { background: rgba(255,255,255,.1); }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.plan li { display: flex; gap: 12px; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.plan.featured li svg { background: rgba(255,255,255,.1); box-shadow: none; }
.plan .btn { margin-top: auto; }

.svc-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.svc-lower .core { padding: 40px; }
.block-title { font-size: 28px; font-weight: 700; letter-spacing: -0.04em; margin: 16px 0 28px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 4px; }
.steps b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.steps p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.steps small { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 5px; white-space: nowrap; text-transform: uppercase; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease), background .4s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .6s var(--ease), background .4s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(180deg); background: var(--ink); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq .ans { padding: 0 50px 22px 0; color: var(--muted); font-size: 16px; }

.always .core { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; padding: 48px; }
.always h3 { font-size: 34px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; margin-top: 18px; }
.always p { margin-top: 12px; color: var(--muted); }
.always ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.always li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; }
.always li svg { width: 20px; height: 20px; flex: none; }

.custom { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 20px; }
.custom .core { display: flex; justify-content: space-between; align-items: center; gap: 32px; width: 100%; padding: 40px 44px; }
.custom h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; }
.custom p { margin-top: 8px; color: rgba(255,255,255,.6); }

/* Шапка прайса: огромное слово по центру */
.price-hero { padding: 180px 0 64px; overflow: hidden; text-align: center; }
.type { display: flex; justify-content: center; font-size: clamp(56px, 8.5vw, 132px); font-weight: 700; line-height: 1; letter-spacing: -0.05em; }
.type-line { display: inline-flex; align-items: center; min-height: 1.2em; white-space: pre; }
.type-text { display: inline-block; }
.caret { display: inline-block; width: 0.06em; height: 0.92em; margin-left: 0.05em; opacity: 0; }
.caret i { display: block; width: 100%; height: 100%; border-radius: 3px; background: var(--ink); }
.caret.blink i { animation: caretBlink 1.05s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.type-text.glitch { text-shadow: -0.04em 0 rgba(0, 0, 0, 0.35), 0.05em 0 rgba(0, 0, 0, 0.18); filter: blur(0.4px); }
.js:not(.no-motion) .type:not(.ready) .type-text { visibility: hidden; }
.no-motion .caret { opacity: 1; }
.svc > .switch-wrap { margin-bottom: 8px; }

/* ==========================================================
   СТРАНИЦА ПРОЕКТА
   ========================================================== */
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.crumbs a:hover { color: var(--ink); }
.proj-hero { padding: 180px 0 80px; }
.proj-hero .row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; margin-top: 28px; }
.proj-hero h1 { font-size: clamp(56px, 8.4vw, 140px); font-weight: 700; line-height: 0.88; letter-spacing: -0.065em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; font-size: 13px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tag.live { background: var(--ink); color: #fff; box-shadow: none; }
.proj-hero .lead { margin-top: 0; }
.proj-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.showcase .core { padding: 48px; position: relative; overflow: hidden; }
.showcase-glow { position: absolute; width: 900px; height: 900px; left: 50%; top: -500px; margin-left: -450px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 60%); pointer-events: none; }
.showcase-bar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.showcase-bar p { color: rgba(255,255,255,.6); font-size: 15px; }

.app-mock { position: relative; max-width: 980px; margin: 0 auto; border-radius: 22px; background: #141414; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 60px 100px -40px rgba(0,0,0,.9); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.app-bar span { margin-left: 10px; font-size: 11px; color: rgba(255,255,255,.4); text-transform: none; }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
.app-side { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; border-right: 1px solid rgba(255,255,255,.07); }
.app-side .mono { color: rgba(255,255,255,.35); margin-bottom: 4px; font-size: 10px; }
.layer { padding: 8px 10px; border-radius: 9px; font-size: 12px; color: rgba(255,255,255,.55); background: rgba(255,255,255,.03); }
.layer.on { background: #fff; color: #0b0b0b; font-weight: 600; }
.stage { position: relative; display: grid; place-items: center; background-color: #0d0d0d; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 24px 24px; }
.avatar { width: 220px; height: 220px; transform-origin: 50% 90%; will-change: transform; }
.avatar svg { width: 100%; height: 100%; }
.avatar .mouth-open { opacity: 0; }
.avatar.talking .mouth-open { opacity: 1; }
.avatar.talking .mouth-closed { opacity: 0; }
.avatar .eyes { transform-origin: 100px 100px; transition: transform .08s; }
.avatar.blink .eyes { transform: scaleY(.1); }
.meter { position: absolute; left: 18px; right: 18px; bottom: 16px; height: 28px; display: flex; align-items: flex-end; gap: 3px; }
.meter span { flex: 1; height: 4%; border-radius: 3px; background: rgba(255,255,255,.75); }
.stage-label { position: absolute; top: 14px; right: 16px; font-size: 10px; color: rgba(255,255,255,.4); }
.stage-label.live { color: #fff; }
.timeline { position: relative; padding: 10px 14px 14px; border-top: 1px solid rgba(255,255,255,.07); background: #171717; }
.tl-ruler { display: flex; justify-content: space-between; margin: 0 0 6px 70px; font-size: 9px; color: rgba(255,255,255,.3); }
.tl-track { display: flex; align-items: center; height: 24px; }
.tl-name { width: 70px; font-size: 11px; color: rgba(255,255,255,.5); }
.tl-lane { position: relative; flex: 1; height: 16px; border-radius: 5px; background: rgba(255,255,255,.04); }
.tl-lane i { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.tl-lane b { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: rgba(255,255,255,.35); }
.playhead { position: absolute; top: 6px; bottom: 8px; left: 84px; width: 2px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.6); animation: playhead 4s linear infinite; }
.playhead::before { content: ""; position: absolute; top: -2px; left: -4px; width: 10px; height: 10px; border-radius: 2px 2px 50% 50%; background: #fff; }
@keyframes playhead { from { left: 84px; } to { left: calc(100% - 16px); } }

.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.feature .core { display: flex; flex-direction: column; min-height: 320px; padding: 36px; }
.feature:nth-child(1) { grid-column: span 7; }
.feature:nth-child(2) { grid-column: span 5; }
.feature:nth-child(3) { grid-column: span 5; }
.feature:nth-child(4) { grid-column: span 7; }
.feature .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.feature h3 { margin-top: auto; font-size: 32px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; }
.feature p { margin-top: 12px; color: var(--muted); max-width: 440px; }
.feature.dark .core { background: var(--ink); color: #fff; }
.feature.dark p, .feature.dark .num { color: rgba(255,255,255,.55); }
.feature-art { display: flex; gap: 10px; margin-top: 28px; }
.feature-art span { flex: 1; height: 90px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.feature.dark .feature-art span { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: rgba(255,255,255,.5); }

.cta-strip .core { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 48px; }
.cta-strip h3 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.cta-strip p { margin-top: 10px; color: rgba(255,255,255,.6); }

/* ==========================================================
   ФУТЕР
   ========================================================== */
.footer { padding: 60px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; border-top: 1px solid var(--line-2); }
.footer-top p { color: var(--muted); max-width: 320px; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col .mono { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.f-col a { font-weight: 500; width: fit-content; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.f-col a:hover { background-size: 100% 1px; }
.f-col span { color: var(--muted); }
.footer-logo { width: 100%; height: auto; aspect-ratio: 1077 / 370; margin: 72px 0 28px; fill: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }

/* ==========================================================
   Начальные состояния анимаций
   ========================================================== */
.js:not(.no-motion) [data-reveal],
.js:not(.no-motion) [data-stagger] > *,
.js:not(.no-motion) [data-hero] { opacity: 0; }
.js:not(.no-motion) .hero-title .word-inner,
.js:not(.no-motion) [data-split] .word-inner { transform: translateY(110%); }

/* ==========================================================
   АДАПТИВ
   ========================================================== */
@media (max-width: 1080px) {
  .container { padding: 0 24px; }
  .orb-1 { width: 400px; height: 400px; right: -150px; top: 140px; }
  .fl-1 { display: none; }
  .fl-2 { top: auto; bottom: 200px; }
  .duo { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .svc-intro, .svc-lower, .always .core, .brief-block .core, .brief-grid, .now .core, .proj-hero .row { grid-template-columns: 1fr; }
  .brief-grid { align-items: start; gap: 40px; }
  .principle { grid-template-columns: 80px 1fr; }
  .principle p { grid-column: 2; }
  .feature:nth-child(n) { grid-column: span 12; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav { padding: 0 6px 0 20px; height: 60px; }
  .nav-right > :not(.burger) { display: none; }
  .burger { display: block; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 44px; }
  .lead { font-size: 17px; }

  .hero { padding: 130px 0 190px; }
  .hero-title { margin-top: 24px; font-size: clamp(56px, 17vw, 90px); }
  .hero-foot { flex-direction: column; align-items: flex-start; margin-top: 40px; }
  .hero-sub { font-size: 17px; }
  .scroll-hint, .floater { display: none; }
  .orb-1 { width: 220px; height: 220px; right: -110px; top: 56px; }
  .orb-2 { width: 120px; height: 120px; right: 10%; bottom: 22%; }
  .orb-4 { display: none; }
  .band { bottom: 56px; padding: 15px 0; }
  .band span { font-size: 19px; }

  .manifesto { padding: 110px 0 90px; }
  .duo .core { min-height: 460px; padding: 28px; }
  .stack { width: 220px; height: 170px; top: 28px; right: 24px; }
  .lab { width: 160px; height: 160px; top: 28px; right: 24px; }
  .lab .ring.r2 { inset: 28px; }
  .lab .core-plus { inset: 56px; }

  .who-pin { height: auto; }
  .who-sticky { position: static; height: auto; padding: 96px 0; }
  .who-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
  .who-track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 16px; scrollbar-width: none; transform: none !important; }
  .who-track::-webkit-scrollbar { display: none; }
  .who-card { scroll-snap-align: center; width: 84vw; }
  .who-card:nth-child(even) { margin-top: 0; }
  .who-card .core { min-height: 400px; padding: 26px; }

  .principle { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .principle p { grid-column: auto; }
  .principle::before { inset: 0 -16px; }

  .now .core, .brief-block .core { padding: 28px 20px; gap: 36px; }
  .now-orb { width: 70px; height: 70px; right: 20px; top: 24px; }
  .bf { padding: 22px 18px; min-height: 0; }
  .opts { grid-template-columns: 1fr; }
  .bf-step h3 { font-size: 26px; }
  .c-link { grid-template-columns: 1fr auto; }
  .c-link .mono { grid-column: 1 / -1; }

  .brief-head svg { width: 70px; }
  .brief-close { height: 46px; padding-left: 16px; font-size: 14px; }
  .brief-close span { width: 34px; height: 34px; }
  .brief-grid { padding-top: 32px; }

  .page-hero { padding: 140px 0 40px; }
  .price-hero { padding: 120px 0 12px; }
  .switch-wrap { top: 86px; }
  .switch { width: calc(100vw - 32px); padding: 6px; gap: 2px; }
  .switch-ind { top: 6px; bottom: 6px; }
  .switch button { height: 44px; padding: 0 8px; font-size: 14px; }
  .switch button svg { display: none; }
  .svc > .container { padding-top: 36px; }
  .plan .core, .svc-lower .core { padding: 26px; }
  .always .core, .custom .core, .cta-strip .core { padding: 28px 22px; flex-direction: column; align-items: flex-start; }
  .always ul { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 36px 1fr; }
  .steps small { grid-column: 2; padding: 0; }

  .proj-hero { padding: 140px 0 48px; }
  .showcase .core { padding: 16px; }
  .showcase-bar { flex-direction: column; align-items: flex-start; padding: 12px 8px 0; }
  .app-body { grid-template-columns: 1fr; min-height: 300px; }
  .app-side { display: none; }
  .avatar { width: 180px; height: 180px; }
  .feature .core { min-height: 0; padding: 28px; }
  .feature h3 { margin-top: 40px; }

  .footer-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .manifesto-text .mw { opacity: 1 !important; }
}

/* ---------- Дополнения ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
html.locked { overflow: hidden; }
.f-col a[data-brief] { cursor: pointer; }
@media (max-width: 760px) { .who-card { transform: none !important; } }
@media (max-width: 760px) {
  .brief .contacts { display: none; }
  .brief-intro .lead { margin-top: 14px; }
  .brief-grid { gap: 28px; }
}

/* ==========================================================
   ПЕРЕХОД МЕЖДУ СТРАНИЦАМИ — «потеря сознания»
   ========================================================== */
.pt { position: fixed; inset: 0; z-index: 58; display: grid; place-items: center; pointer-events: none; visibility: hidden; }
.pt.on { visibility: visible; pointer-events: auto; }

/* Размытие — отдельный слой размером с экран: цена одинаковая на любой странице */
.pt-blur { position: absolute; inset: 0; }
html.pt-arrive .pt-blur { -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }

/* Плотный туман: в пике полностью скрывает смену страниц */
.pt-fog { position: absolute; inset: 0; overflow: hidden; }
.pt-fog-base { position: absolute; inset: 0; background: #f2f2ee; opacity: 0; }

.pt-mark { position: relative; display: flex; flex-direction: column; align-items: center; gap: 34px; }
.pt-logo { position: relative; width: min(58vw, 560px); aspect-ratio: 1077 / 370; }
.pt-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); overflow: visible; }
.pt-halo { opacity: 0; filter: blur(22px); }
.pt-ink { opacity: 0; }
.pt-label { display: grid; padding: 0.12em 0.2em; font-size: clamp(22px, 2.6vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); opacity: 0; white-space: nowrap; text-align: center; }
.pt-label > span { grid-area: 1 / 1; }
.pt-next { opacity: 0; }

/* Прибытие на новую страницу: стартуем «в тумане», пока не проснёмся */
html.pt-arrive .pt { visibility: visible; }
html.pt-arrive .pt-fog-base, html.pt-arrive .pt-ink, html.pt-arrive .pt-label { opacity: 1; }
html.pt-arrive .pt-halo { opacity: 0.2; }
html.pt-arrive main,
html.pt-arrive .footer,
html.pt-arrive .nav-wrap {
  transform: perspective(1400px) translateZ(-260px) rotateX(7deg);
  transform-origin: 50% 50vh;
}
html.no-motion .pt { display: none; }
html.no-motion.pt-arrive main, html.no-motion.pt-arrive .footer, html.no-motion.pt-arrive .nav-wrap { transform: none; }

/* Во время ухода со страницы: всё замирает, невидимое не рисуется */
html.pt-leaving main *, html.pt-leaving main *::before, html.pt-leaving main *::after,
html.pt-leaving .footer *, html.pt-leaving .nav-wrap * { animation-play-state: paused !important; transition: none !important; }
html.pt-leaving .pt-off { visibility: hidden; }
html.pt-leaving main, html.pt-leaving .footer, html.pt-leaving .nav-wrap { pointer-events: none; }
html.pt-leaving main .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, 0.8); }

/* ==========================================================
   ТЁМНАЯ ТЕМА СТРАНИЦЫ (data-theme="dark" на <html>)
   ========================================================== */
html[data-theme="dark"] {
  --bg: #0a0a0a;
  --paper: #141414;
  --ink: #f3f3f0;
  --ink-soft: #d4d4d0;
  --muted: #8a8a85;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
  background: #0a0a0a;
}
html[data-theme="dark"] ::selection { background: #f3f3f0; color: #0b0b0b; }
html[data-theme="dark"] .bezel { background: rgba(255, 255, 255, 0.03); }
html[data-theme="dark"] .bezel > .core { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-soft); }
html[data-theme="dark"] .bezel.dark { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .bezel.dark > .core { background: #050505; }
html[data-theme="dark"] .btn-dark { background: #f3f3f0; color: #0b0b0b; }
html[data-theme="dark"] .btn-dark:hover { background: #fff; }
html[data-theme="dark"] .btn-dark .btn-ico { background: #0b0b0b; color: #fff; }
html[data-theme="dark"] .btn-soft { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .btn-soft:hover { background: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .tag.live { color: #0b0b0b; }
html[data-theme="dark"] .feature.dark .core { background: #f3f3f0; color: #0b0b0b; }
html[data-theme="dark"] .feature.dark p, html[data-theme="dark"] .feature.dark .num { color: rgba(0, 0, 0, 0.55); }
html[data-theme="dark"] .mobile-menu { background: rgba(10, 10, 10, 0.22); }
html[data-theme="dark"] .mobile-menu::before { border-color: rgba(255, 255, 255, 0.19); background: linear-gradient(150deg, rgba(59, 59, 59, 0.8), rgba(25, 25, 25, 0.66) 58%, rgba(12, 12, 12, 0.63)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 22px 64px -25px rgba(0, 0, 0, 0.75); }
html[data-theme="dark"] .dd-panel { --ink: #0b0b0b; --muted: #71716d; color: #0b0b0b; }

/* Слой перехода всегда светлый с тёмным логотипом, независимо от темы страницы */
.pt { --ink: #0b0b0b; }

/* ==========================================================
   ПРАЙС — карточки форматов, этапы, вопросы, призыв
   ========================================================== */
.plan h3 { padding-right: 48px; font-size: 28px; }

/* «Подойдёт для» — обычное предложение, акцент на первых словах */
.plan-fit { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.plan-fit b { font-weight: 600; color: var(--ink); }
.plan.featured .plan-fit { color: rgba(255, 255, 255, 0.6); }
.plan.featured .plan-fit b { color: #fff; }

.plan .price { margin-top: 26px; }
.plan .price.is-empty b { font-size: 38px; letter-spacing: -0.045em; }
.plan hr { margin: 26px 0 20px; }
.plan li.is-time { font-weight: 600; }
.plan li.is-time svg { padding: 2px; }

/* Кружок «i» с описанием формата */
.plan-info { position: absolute; top: 28px; right: 28px; z-index: 5; }
.plan-i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1.25px currentColor;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
}
.plan-i svg { width: 22px; height: 22px; }
.plan-info:hover .plan-i, .plan-i:focus-visible { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); transform: scale(1.08); }
.plan.featured .plan-i { color: #fff; }
.plan.featured .plan-info:hover .plan-i, .plan.featured .plan-i:focus-visible { background: #fff; color: #0b0b0b; box-shadow: inset 0 0 0 1.5px #fff; }
.plan-pop {
  position: absolute;
  top: calc(100% + 12px);
  right: -8px;
  width: min(300px, 78vw);
  padding: 18px 20px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  color: #2a2a28;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 24px 50px -18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: 90% 0;
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), visibility 0.35s;
}
.plan-pop::before { content: ""; position: absolute; top: -6px; right: 20px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.plan-pop small { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 13px; color: #71716d; }
.plan-info:hover .plan-pop, .plan-info:focus-within .plan-pop { opacity: 1; visibility: visible; transform: none; }

.factors { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 20px; padding: 22px 28px; border-radius: 24px; border: 1px dashed var(--line-2); }
.factors p { max-width: 520px; font-size: 15px; color: var(--muted); }
.factors b { color: var(--ink); font-weight: 600; }
.factors ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.factors li { padding: 9px 14px; border-radius: 99px; font-size: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }

.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.split-head .h2, .faq-side .h2 { margin-top: 0; }
.split-head .lead { margin-top: 0; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.process .core { display: flex; flex-direction: column; min-height: 290px; padding: 28px; }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.process h3 { margin-top: auto; font-size: 22px; font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; }
.process p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.process .dark .step-num, .process .dark p { color: rgba(255, 255, 255, 0.55); }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 140px; }
.faq-side .lead { margin-top: 20px; }
.core.faq { padding: 10px 34px; }
.core.faq details:first-child { border-top: 0; }
.core.faq details:last-child { border-bottom: 0; }

.cta-final .core { position: relative; display: flex; flex-direction: column; align-items: center; padding: 96px 48px; overflow: hidden; text-align: center; }
.cta-final .h2 { margin-top: 0; max-width: 820px; color: #fff; }
.cta-final .lead { margin-top: 20px; color: rgba(255, 255, 255, 0.6); }
.cta-final .btn { margin-top: 38px; }
.cta-glow { position: absolute; width: 900px; height: 900px; left: 50%; top: -620px; margin-left: -450px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 62%); pointer-events: none; }

@media (max-width: 1080px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li:last-child { grid-column: 1 / -1; }
  .process .core { min-height: 220px; }
  .split-head, .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .faq-side { position: static; }
  .factors { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .process { grid-template-columns: 1fr; }
  .process .core { min-height: 0; padding: 24px; }
  .process h3 { margin-top: 28px; }
  .plan .core { padding: 26px; }
  .core.faq { padding: 4px 20px; }
  .cta-final .core { padding: 64px 22px; }
  .factors { padding: 20px; }
}

/* Наведение на карточку прайса: карточка на месте, светится край за курсором, галочки заполняются по очереди */
.plan, .proc-step { position: relative; }
.plan::before, .proc-step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), rgba(11, 11, 11, 0.75), rgba(11, 11, 11, 0.14) 55%, transparent 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.plan.featured::before, .proc-step.dark::before { background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), rgba(11, 11, 11, 0.9), rgba(11, 11, 11, 0.22) 55%, transparent 85%); }
.plan:hover::before, .proc-step:hover::before { opacity: 1; }
.plan > .core { position: relative; transition: box-shadow 0.5s var(--ease); }
.plan > .core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 0, 0, 0.035), transparent 60%);
}
.plan.featured > .core::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.09), transparent 60%); }
.plan:hover > .core::after { opacity: 1; }
.plan:hover > .core { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 30px 60px -34px rgba(0, 0, 0, 0.3); }
.plan li svg { transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.plan:hover li svg { background: var(--ink); color: var(--paper); box-shadow: none; }
.plan.featured:hover li svg { background: #fff; color: #0b0b0b; }
.plan:hover li:nth-child(2) svg { transition-delay: 0.04s; }
.plan:hover li:nth-child(3) svg { transition-delay: 0.08s; }
.plan:hover li:nth-child(4) svg { transition-delay: 0.12s; }
.plan:hover li:nth-child(5) svg { transition-delay: 0.16s; }
.plan:hover li:nth-child(6) svg { transition-delay: 0.2s; }
.plan:hover li:nth-child(7) svg { transition-delay: 0.24s; }
.plan:hover li:nth-child(8) svg { transition-delay: 0.28s; }

/* «Цена зависит от…» — теги в одну строку справа */
.factors ul { flex-wrap: nowrap; flex: none; }
.factors li { white-space: nowrap; }
@media (max-width: 1080px) { .factors ul { flex-wrap: wrap; } }

/* ==========================================================
   ПРАЙС — «Как проходит работа» внутри каждой категории
   ========================================================== */
.proc { margin-top: 140px; }
.proc-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.proc-step { transition: transform 0.6s var(--ease); }
.proc-step:hover { transform: scale(1.015); }
.proc-step .core {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  align-items: start;
  padding: 30px 34px;
  transition: box-shadow 0.5s var(--ease);
}
.proc-step:hover .core { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 24px 50px -30px rgba(0, 0, 0, 0.28); }
.proc-num { font-size: 64px; font-weight: 300; line-height: 0.85; letter-spacing: -0.05em; color: var(--ink); }
.proc-body h3 { font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.035em; }
.proc-desc { margin-top: 10px; max-width: 760px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.proc-more { display: none; }
.proc-step.open .proc-more { display: inline; }
.proc-toggle { position: relative; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--line-2); transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.6s var(--ease); }
.proc-toggle i::before, .proc-toggle i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform 0.6s var(--ease); }
.proc-toggle i::after { transform: rotate(90deg); }
.proc-step.open .proc-toggle { transform: rotate(180deg); background: var(--ink); color: var(--paper); box-shadow: none; }
.proc-step.open .proc-toggle i::after { transform: rotate(0deg); }
.proc-step.dark .proc-num { color: #fff; }
.proc-step.dark .proc-desc { color: rgba(255, 255, 255, 0.6); }
.proc-step.dark .proc-toggle { color: #fff; box-shadow: inset 0 0 0 1.25px rgba(255, 255, 255, 0.3); }
.proc-step.dark.open .proc-toggle { background: #fff; color: #0b0b0b; }

@media (max-width: 760px) {
  .proc { margin-top: 96px; }
  .proc-step .core { grid-template-columns: 1fr; gap: 14px; padding: 24px 22px; }
  .proc-num { font-size: 44px; }
  .proc-body h3 { font-size: 22px; }
}

/* Строка про правки под ценой */
.plan-rev { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.plan.featured .plan-rev { color: rgba(255, 255, 255, 0.5); }

/* ==========================================================
   ПРАЙС — частые вопросы по категории
   ========================================================== */
.qa-block { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; margin-top: 140px; }
.qa-side { position: sticky; top: 190px; }
.qa-side .h2 { margin-top: 0; }
.qa-side .lead { margin-top: 20px; }
.qa-side .btn { margin-top: 30px; }
.qa-list { display: flex; flex-direction: column; gap: 10px; }
.qa {
  border-radius: 24px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.qa:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -28px rgba(0, 0, 0, 0.25); }
.qa summary { display: grid; grid-template-columns: 44px 1fr 36px; gap: 14px; align-items: center; padding: 22px 24px; list-style: none; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa-num { font-size: 22px; font-weight: 300; letter-spacing: -0.03em; color: var(--muted); }
.qa-q { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.qa-ico { position: relative; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--line-2); transition: transform 0.6s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.qa-ico::before, .qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform 0.6s var(--ease), background 0.4s var(--ease); }
.qa-ico::after { transform: rotate(90deg); }
.qa-a { overflow: hidden; }
.qa-a p { padding: 0 24px 24px 82px; max-width: 760px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.qa.is-open { background: var(--ink); box-shadow: none; }
.qa.is-open .qa-q { color: #fff; }
.qa.is-open .qa-num { color: rgba(255, 255, 255, 0.45); }
.qa.is-open .qa-a p { color: rgba(255, 255, 255, 0.68); }
.qa.is-open .qa-ico { transform: rotate(180deg); background: #fff; box-shadow: none; }
.qa.is-open .qa-ico::before, .qa.is-open .qa-ico::after { background: #0b0b0b; }
.qa.is-open .qa-ico::after { transform: rotate(0deg); }

@media (max-width: 1080px) {
  .qa-block { grid-template-columns: 1fr; gap: 28px; }
  .qa-side { position: static; }
}
@media (max-width: 760px) {
  .qa-block { margin-top: 96px; }
  .qa summary { grid-template-columns: 1fr 32px; padding: 18px 18px; }
  .qa-num { display: none; }
  .qa-q { font-size: 16px; }
  .qa-ico { width: 32px; height: 32px; }
  .qa-a p { padding: 0 18px 20px; }
}
.svc { padding-bottom: 140px; }
@media (max-width: 760px) { .svc { padding-bottom: 96px; } }

/* Под карточками: слева «Цена зависит от…», справа правки */
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.notes .factors { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; margin-top: 0; padding: 24px 28px; }
.notes .factors p { max-width: none; }
.notes .factors ul { flex-wrap: wrap; }
@media (max-width: 1080px) { .notes { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .notes .factors { padding: 20px; } }

/* ==========================================================
   ГЛАВНАЯ — без шаров: заголовок обычным цветом
   ========================================================== */
.hero-title { color: var(--ink); mix-blend-mode: normal; }
.hero-title .outline { -webkit-text-stroke: 2.5px var(--ink); }
.hero { min-height: auto; padding-bottom: 210px; }

/* ==========================================================
   ГЛАВНАЯ — новости студии
   ========================================================== */
.news { padding-top: 110px; }
.news-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.news-head .h2 { margin-top: 0; }
.news-head .lead { margin-top: 0; }
.news-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.news-card { grid-column: span 5; }
.news-card.featured { grid-column: span 7; }
.news-grid.is-single .news-card { grid-column: 1 / -1; }
.news-card:nth-child(n + 3) { grid-column: span 6; }
.news-card .core { display: flex; flex-direction: column; min-height: 320px; padding: 34px; transition: box-shadow 0.5s var(--ease); }
.news-card:hover .core { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 30px 60px -34px rgba(0, 0, 0, 0.3); }
.news-meta { display: flex; align-items: center; gap: 12px; }
.news-tag { padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.news-meta time { font-size: 14px; color: var(--muted); }
.news-card h3 { margin-top: auto; padding-top: 48px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; }
.news-card p { margin-top: 12px; max-width: 520px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.news-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-weight: 600; width: fit-content; }
.news-link .btn-ico { width: 38px; height: 38px; background: var(--ink); color: var(--paper); }
.news-link:hover .btn-ico { transform: translate(3px, -2px) scale(1.06); }
.news-card.dark .news-tag { background: rgba(255, 255, 255, 0.1); box-shadow: none; color: #fff; }
.news-card.dark .news-meta time, .news-card.dark p { color: rgba(255, 255, 255, 0.6); }
.news-card.dark .news-link .btn-ico { background: #fff; color: #0b0b0b; }
.news-foot { display: flex; justify-content: center; margin-top: 28px; }
.news-foot .btn[hidden] { display: none; }

@media (max-width: 1080px) {
  .news-head { grid-template-columns: 1fr; gap: 16px; }
  .news-card, .news-card.featured, .news-card:nth-child(n + 3) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero { padding-bottom: 180px; }
  .news { padding-top: 80px; }
  .news-card .core { min-height: 0; padding: 26px; }
  .news-card h3 { padding-top: 36px; }
}

/* ==========================================================
   «Наблюдатели» — блоки с глазами (главная)
   ========================================================== */
.watchers { position: fixed; inset: 0; z-index: 44; overflow: hidden; pointer-events: none; }
.watcher {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  opacity: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(40, 46, 48, 0.55), transparent 70%),
    #050505;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  will-change: opacity, clip-path, transform;
}
.watcher::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 -.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.7s steps(4) infinite;
}
.watcher .eye { position: relative; z-index: 1; flex: none; width: 36%; height: auto; overflow: visible; filter: drop-shadow(0 0 5px rgba(190, 238, 246, 0.35)); transition: transform 0.09s ease-in; transform-origin: 50% 50%; }
.watcher.eyes-1 .eye { width: 58%; }
.watcher.blink .eye { transform: scaleY(0.08); }
.watcher .lid { transform-box: fill-box; transform-origin: 50% 50%; }

/* ==========================================================
   ГЛАВНАЯ — «Идеи выходят из плоскости»
   ========================================================== */
html[data-page="home"] { --bg: #ffffff; }
.h3d { position: relative; height: 270vh; }
.h3d-sticky { position: sticky; top: 0; display: flex; align-items: center; height: 100dvh; padding-top: 72px; overflow: hidden; }
.h3d-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px; align-items: center; }
.h3d-label { font-size: 15px; font-weight: 500; color: var(--muted); }
.h3d-title { margin-top: 16px; font-size: clamp(50px, 6.3vw, 100px); font-weight: 800; line-height: 0.94; letter-spacing: -0.055em; text-wrap: balance; }
.h3d-sub { margin-top: 26px; max-width: 470px; font-size: 19px; line-height: 1.55; color: #3b3b38; text-wrap: pretty; }
.h3d-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.h3d-stage { perspective: 1600px; }
.h3d-frame {
  position: relative;
  aspect-ratio: 10 / 7.45;
  border-radius: 16px;
  background: #f7f5ef;
  overflow: hidden;
  box-shadow: 0 0 0 1.25px #141412, 0 50px 90px -50px rgba(0, 0, 0, 0.4);
  transform-origin: 50% 50%;
  will-change: transform;
}
.h3d-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1.25px solid #141412; background: #f7f5ef; }
.h3d-bar i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px #141412; }
.h3d-bar span { width: 28%; height: 8px; margin-left: 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(20, 20, 18, 0.35); }
.h3d-view { position: absolute; inset: 30px 0 0 0; perspective: 900px; }
.h3d-svg { display: block; width: 100%; height: 100%; }
.h3d-svg .pl, .h3d-svg .ln, .h3d-svg .door { stroke: #161614; stroke-width: 1.4; stroke-linejoin: round; }
.h3d-svg .ln { stroke-width: 1.1; }
.h3d-svg .guide { stroke: rgba(22, 22, 20, 0.5); stroke-width: 1; }
.h3d-svg .door { fill: #1b1b19; }
.h3d-svg #lit { fill: #d6b152; transform-box: fill-box; transform-origin: 50% 50%; transition: transform 0.25s var(--ease); }
.h3d-svg #portal { stroke-width: 5; }
.h3d-svg .vig { pointer-events: none; }

/* Карточки интерфейсов внутри сцены */
.h3d-card { position: absolute; left: 50%; top: 50%; width: 30%; opacity: 0; will-change: transform, opacity; }
.cc { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; background: #fbfaf6; box-shadow: 0 0 0 1.25px #161614, 0 26px 40px -26px rgba(0, 0, 0, 0.5); }
.c-bot .cc { aspect-ratio: 3 / 4; }
.cc-in { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.cc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1.25px #161614; opacity: 0; pointer-events: none; }
.cc-cap { display: block; margin-top: 9px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #2e2e2b; white-space: nowrap; }
.cc-bar { display: flex; gap: 4%; align-items: center; height: 12%; padding: 0 5%; border-bottom: 1px solid rgba(22, 22, 20, 0.6); }
.cc-bar i { width: 4.5%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px #161614; }
.site-body { display: flex; flex-direction: column; gap: 6%; height: 88%; padding: 8% 8% 0; }
.site-body b { display: block; border-radius: 99px; background: rgba(22, 22, 20, 0.14); }
.site-body .l-h { width: 70%; height: 11%; background: #161614; border-radius: 4px; }
.site-body .l-t { width: 88%; height: 4%; }
.site-body .l-t.s { width: 58%; }
.site-body .l-btn { width: 30%; height: 9%; background: #161614; }
.l-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; margin-top: 2%; height: 26%; }
.l-grid i { border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(22, 22, 20, 0.45); }
.ap-body { display: grid; grid-template-columns: 22% 1fr; height: 88%; }
.ap-side { display: flex; flex-direction: column; gap: 10%; padding: 14% 16%; border-right: 1px solid rgba(22, 22, 20, 0.45); }
.ap-side i { height: 5%; border-radius: 99px; background: rgba(22, 22, 20, 0.2); }
.ap-side i:first-child { background: #161614; }
.ap-main { display: grid; grid-template-rows: 30% 1fr; gap: 7%; min-height: 0; padding: 7%; }
.ap-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.ap-kpi i { border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(22, 22, 20, 0.5); }
.ap-kpi i:nth-child(2) { background: #161614; }
.ap-table { display: flex; flex-direction: column; min-height: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(22, 22, 20, 0.45); }
.ap-table i { flex: 1; border-bottom: 1px solid rgba(22, 22, 20, 0.25); }
.ap-table i:last-child { border-bottom: 0; }
.bot-body { display: flex; flex-direction: column; gap: 5%; height: 100%; padding: 10% 9%; }
.bot-body .bm { display: block; height: 11%; border-radius: 10px; }
.bot-body .bm.in { width: 72%; background: rgba(22, 22, 20, 0.12); }
.bot-body .bm.in.s { width: 52%; }
.bot-body .bm.out { width: 60%; align-self: flex-end; background: #161614; }
.bot-btns { display: flex; flex-direction: column; gap: 6%; margin-top: auto; height: 38%; }
.bot-btns i { flex: 1; border-radius: 99px; box-shadow: inset 0 0 0 1.25px #161614; }

/* Один короткий сбой перспективы */
.h3d.glitch .g-lines, .h3d.glitch .g-guides, .h3d.glitch #portal { animation: h3dShiftA 0.42s steps(3, end); }
.h3d.glitch .g-planes, .h3d.glitch .g-doors { animation: h3dShiftB 0.42s steps(3, end); }
.h3d.glitch #lit { transform: scaleX(0.14); transition: none; }
.h3d.glitch .g-glow { opacity: 0.35; }
.h3d.glitch .cc::after { animation: h3dGhost 0.42s steps(2, end); }
@keyframes h3dShiftA { 0% { transform: translate(0, 0); } 33% { transform: translate(6px, -3px); } 66% { transform: translate(-5px, 2px); } 100% { transform: none; } }
@keyframes h3dShiftB { 0% { transform: translate(0, 0); } 33% { transform: translate(-4px, 2px); } 66% { transform: translate(5px, -2px); } 100% { transform: none; } }
@keyframes h3dGhost { 0% { opacity: 0.75; transform: translate(7px, -4px); } 50% { opacity: 0.5; transform: translate(-6px, 3px); } 100% { opacity: 0; transform: none; } }

@media (max-width: 900px) {
  .h3d { height: auto; }
  .h3d-sticky { position: static; height: auto; padding: 130px 0 90px; overflow: visible; }
  .h3d-grid { grid-template-columns: 1fr; gap: 44px; }
  .h3d-sub { font-size: 17px; }
  .cc-cap { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .h3d { height: auto; }
  .h3d-sticky { position: static; height: auto; padding: 150px 0 110px; }
}

/* ==========================================================
   ГЛАВНАЯ — пустая: заголовок и кнопка по центру
   ========================================================== */
.blank { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; min-height: 100dvh; padding: 120px 24px 80px; text-align: center; }
.blank-title { width: min(100%, 1240px); font-size: clamp(38px, 6.3vw, 88px); font-weight: 800; line-height: 1.06; letter-spacing: -.065em; text-wrap: balance; overflow-wrap: anywhere; }
.blank-line { display: block; }
.hero-invert { display: inline-block; margin-left: .035em; padding: .015em .105em .075em; background: var(--ink); color: #fff; letter-spacing: -.06em; }
.blank-btn { align-self: center; }

/* Пруд с кои на фоне главной */
.blank { position: relative; overflow: hidden; isolation: isolate; }
.blank > :not(canvas):not(.koi-glass):not(.blank-jp) { position: relative; z-index: 3; }
.blank > .blank-jp { position: absolute; z-index: 3; pointer-events: none; }
.koi-fish, .koi-ripples { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.koi-fish { z-index: 0; opacity: 0.58; filter: blur(5px); }
.koi-glass { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.27), rgba(225,225,225,.16) 48%, rgba(255,255,255,.32)), rgba(245,245,245,.18); -webkit-backdrop-filter: blur(15px) saturate(108%); backdrop-filter: blur(15px) saturate(108%); }
.koi-ripples { z-index: 2; }

/* Главная: чёрный блок для новостей и новых проектов */
.studio-news { position: relative; z-index: 4; overflow: hidden; padding: clamp(84px, 11vw, 144px) 0 clamp(96px, 13vw, 172px); border-radius: 30px 30px 0 0; background: #0b0b0b; color: #fff; }
.studio-news::after { position: absolute; right: clamp(22px, 8vw, 128px); bottom: -.42em; color: rgba(255,255,255,.035); content: "+"; font-size: clamp(300px, 43vw, 600px); font-weight: 700; line-height: 1; letter-spacing: -.12em; pointer-events: none; }
.studio-news .container { position: relative; z-index: 1; }
.studio-news-top, .studio-news-status { display: flex; align-items: center; justify-content: space-between; }
.studio-news-top { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.19); color: rgba(255,255,255,.58); }
.studio-news-main { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 8vw, 116px); align-items: end; margin-top: clamp(56px, 8vw, 100px); }
.studio-news-main h2 { font-size: clamp(48px, 7.3vw, 100px); font-weight: 700; line-height: .98; letter-spacing: -.065em; }
.studio-news-aside { max-width: 460px; padding-bottom: 8px; }
.studio-news-aside p { max-width: 36ch; color: rgba(255,255,255,.64); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.55; }
.studio-news-status { gap: 20px; margin-top: 38px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.19); color: rgba(255,255,255,.56); font-size: 10px; letter-spacing: .12em; }
.studio-news-status > span:last-child { display: inline-flex; align-items: center; gap: 8px; }
.studio-news-status i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }

@media (max-width: 760px) {
  .blank { gap: 26px; padding: 120px 25px 76px; }
  .blank-title { width: 100%; font-size: clamp(34px, 9.2vw, 58px); line-height: 1.05; letter-spacing: -.067em; }
  .studio-news { padding: 82px 0 104px; border-radius: 22px 22px 0 0; }
  .studio-news-main { grid-template-columns: 1fr; gap: 35px; margin-top: 48px; }
  .studio-news-main h2 { font-size: clamp(44px, 11vw, 66px); }
  .studio-news-aside { max-width: 100%; }
  .studio-news-status { margin-top: 28px; }
  .koi-fish { opacity: .54; filter: blur(4px); }
  .koi-glass { -webkit-backdrop-filter: blur(13px) saturate(112%); backdrop-filter: blur(13px) saturate(112%); }
}

/* Главная: слово «идеи» в плашке меняет шрифты.
   Исходное слово остаётся невидимой опорой (высота и базовая линия),
   поверх — сменное слово в слое с той же разметкой. */
.hero-invert { position: relative; box-sizing: border-box; overflow: hidden; white-space: nowrap; }
.hero-invert.cycling .word { visibility: hidden; }
.idea-face { position: absolute; inset: 0; box-sizing: border-box; padding: inherit; text-align: center; white-space: nowrap; }
.idea-face > span { display: inline-block; line-height: 0; white-space: nowrap; }

/* Главная: короткая заметка под кнопкой — как анонс релиза */
.blank-note { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 760px; margin-top: 34px; }
.blank-meta { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.blank-meta b { font-weight: 600; }
.blank-meta span { color: var(--muted); }
.blank-lead { font-size: clamp(19px, 2vw, 28px); font-weight: 400; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
@media (max-width: 760px) { .blank-note { margin-top: 18px; gap: 14px; } }

/* ==========================================================
   ГЛАВНАЯ — чёрный блок «Новости» с горизонтальной лентой
   ========================================================== */
.news2 { position: relative; z-index: 4; overflow: hidden; padding: clamp(80px, 10vw, 136px) 0 clamp(88px, 11vw, 148px); border-radius: 32px 32px 0 0; background: #0b0b0b; color: #fff; }
.news2-head { display: grid; grid-template-columns: 1fr minmax(280px, 440px); gap: 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.news2-title { font-size: clamp(64px, 12vw, 190px); font-weight: 800; line-height: 0.82; letter-spacing: -0.07em; }
.news2-title sup { margin-left: 0.4em; font-size: 13px; font-weight: 400; letter-spacing: 0.08em; vertical-align: top; color: rgba(255, 255, 255, 0.45); }
.news2-side p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, 0.64); }
.news2-arrows { display: flex; gap: 10px; margin-top: 26px; }
.news2-arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); transition: background 0.4s var(--ease), color 0.4s var(--ease), opacity 0.3s; }
.news2-arrow svg { width: 18px; height: 18px; }
.news2-arrow[data-news-prev] svg { transform: rotate(-135deg); }
.news2-arrow[data-news-next] svg { transform: rotate(45deg); }
.news2-arrow:hover:not(:disabled) { background: #fff; color: #0b0b0b; }
.news2-arrow:disabled { opacity: 0.3; cursor: default; }

.news2-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(32px, calc((100vw - 1320px) / 2 + 32px));
  padding: 4px max(32px, calc((100vw - 1320px) / 2 + 32px)) 8px;
  scrollbar-width: none;
  cursor: grab;
}
.news2-track::-webkit-scrollbar { display: none; }
.news2-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.news2-track.dragging .nc { pointer-events: none; }
.news2-track:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.4); outline-offset: 4px; }

.nc {
  flex: none;
  width: clamp(280px, 30vw, 400px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #141413;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: box-shadow 0.5s var(--ease), transform 0.6s var(--ease), background 0.5s var(--ease);
}
.nc:hover, .nc:focus-visible { background: #1a1a19; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); transform: translateY(-4px); outline: none; }
.nc-media { position: relative; margin: 8px 8px 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #1d1d1c; }
.nc-media img, .nc-art { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.nc-art { color: rgba(255, 255, 255, 0.16); }
.nc-art svg { display: block; width: 100%; height: 100%; }
.nc:hover .nc-media img, .nc:hover .nc-art { transform: scale(1.05); }
.nc-demo { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 99px; font-size: 10px; color: #0b0b0b; background: #fff; }
.nc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.nc-meta, .nm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: 20px; font-size: 13px; }
.nc-meta time { font-weight: 600; }
.nc-meta span { color: rgba(255, 255, 255, 0.45); }
.nc h3 { margin-top: 14px; font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; }
.nc p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.58); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 600; }
.nc-more svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease); }
.nc:hover .nc-more svg { transform: translate(3px, -3px); }

/* Окно новости */
.nm { position: fixed; inset: 0; z-index: 66; display: grid; place-items: center; padding: 24px; }
.nm[hidden] { display: none; }
.nm-backdrop { position: absolute; inset: 0; background: rgba(8, 8, 8, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nm-panel { position: relative; width: min(680px, 100%); max-height: min(86vh, 900px); overflow-y: auto; overscroll-behavior: contain; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6); }
.nm-close { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0b0b0b; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.4); transition: transform 0.5s var(--ease); }
.nm-close:hover { transform: rotate(90deg); }
.nm-close svg { width: 16px; height: 16px; }
.nm-media { position: relative; aspect-ratio: 16 / 9; margin: 8px 8px 0; border-radius: 22px; overflow: hidden; background: #0f0f0e; }
.nm-media img, .nm-media .nc-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.nm-content { padding: 28px 36px 36px; }
.nm-meta time { font-weight: 600; }
.nm-meta span { color: var(--muted); }
.nm-content h3 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; }
.nm-text { margin-top: 18px; }
.nm-text p { font-size: 17px; line-height: 1.65; color: #3a3a37; }
.nm-text p + p { margin-top: 12px; }
.nm-actions:not(:empty) { margin-top: 28px; }

@media (max-width: 900px) {
  .news2-head { grid-template-columns: 1fr; gap: 22px; }
  .news2-arrows { display: none; }
}
@media (max-width: 760px) {
  .news2 { border-radius: 24px 24px 0 0; }
  .news2-track { padding: 4px 16px 8px; scroll-padding-left: 16px; gap: 14px; cursor: auto; }
  .nc { width: 82vw; }
  .nm { padding: 12px; align-items: end; }
  .nm-panel { max-height: 90vh; border-radius: 24px; }
  .nm-content { padding: 22px 22px 28px; }
}

/* Новости: заголовок меньше, карточки шире, картинка ниже, дата тонким шрифтом */
.news2-title { font-size: clamp(48px, 7vw, 112px); line-height: 0.9; }
.nc { width: clamp(320px, 44vw, 580px); }
.nc-media { aspect-ratio: 16 / 8; }
.nc-meta { font-size: 15px; }
.nc-meta time, .nc-meta span { font-weight: 300; color: rgba(255, 255, 255, 0.72); }
.nc h3 { margin-top: 10px; }
@media (max-width: 760px) { .nc { width: 86vw; } .nc-media { aspect-ratio: 16 / 9; } }
.news2-arrows[hidden] { display: none; }
/* «Подробнее»: стрелка крупнее, при наведении сдвигается чуть-чуть */
.nc-more svg { width: 20px; height: 20px; }
.nc:hover .nc-more svg { transform: translate(1.5px, -1.5px); }

/* Главная: две кнопки рядом; вторая — чёрная обводка без заливки */
.blank-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn-outline { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Кнопки на главной: плавно всплывают при наведении */
.blank-ctas .btn { transition: translate 0.55s var(--ease), box-shadow 0.55s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease); }
.blank-ctas .btn:hover { translate: 0 -4px; }
.blank-ctas .btn-dark:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 22px 40px -16px rgba(0, 0, 0, 0.55); }
.blank-ctas .btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 0 22px 40px -16px rgba(0, 0, 0, 0.45); }
.blank-ctas .btn:active { translate: 0 -1px; }
/* оптическая компенсация: слово кончается узкой «ь», справа визуально больше воздуха */
.btn-outline { padding: 0 26px 0 30px; }

/* ==========================================================
   Меню «Проекты»: одна аккуратная карточка проекта
   ========================================================== */
.dd-panel { width: 400px; padding: 8px; border-radius: 26px; }
.dd-item {
  grid-template-columns: 64px 1fr 40px;
  gap: 16px;
  padding: 10px 12px 10px 10px;
  border-radius: 20px;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
a.dd-item:hover { background: rgba(255, 255, 255, 0.9); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.35); }
.dd-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); transition: transform 0.6s var(--ease); }
.dd-icon svg { width: 42px; height: 42px; }
a.dd-item:hover .dd-icon { transform: rotate(-4deg) scale(1.04); }
.dd-text b { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.dd-text small { margin-top: 3px; font-size: 13.5px; line-height: 1.4; }
.dd-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); box-shadow: inset 0 0 0 1.25px var(--line-2); transition: background 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.6s var(--ease); }
.dd-go svg { width: 16px; height: 16px; }
a.dd-item:hover .dd-go { background: var(--ink); color: #fff; box-shadow: none; transform: translate(2px, -2px); }

/* Иконка проекта картинкой, без стрелки */
.dd-item { grid-template-columns: 64px 1fr; }
.dd-icon:has(img) { background: none; box-shadow: none; overflow: hidden; }
.dd-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Выпадающее меню «Проекты» над тёмным фоном — тоже тёмное */
.nav.on-dark .dd-panel {
  --ink: #fff;
  --muted: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: linear-gradient(135deg, rgba(40, 40, 38, 0.86), rgba(14, 14, 13, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}
.nav.on-dark a.dd-item:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }

/* ==========================================================
   ПРОЕКТ PNGTube Studio — в палитре самого приложения
   (кислотный зелёный иконки на тёмно-зелёном). Классы pg-*
   ========================================================== */
html[data-app="pngtube"] {
  --acid: #b0ed09;
  --acid-hi: #c6ff2e;
  --acid-dim: #7ec900;
  --acid-glow: rgba(176, 237, 9, 0.35);
  --bg: #060806;
  --paper: #0c110c;
  --ink: #f2f7ea;
  --ink-soft: #d6e3cc;
  --muted: #8fa287;
  --mut2: #5d6e58;
  --line: rgba(176, 237, 9, 0.14);
  --line-2: rgba(176, 237, 9, 0.3);
  background: #060806;
}
html[data-app="pngtube"] body { background: #060806; color: var(--ink); }
html[data-app="pngtube"] ::selection { background: var(--acid); color: #0a0f04; }
html[data-app="pngtube"] .nav.on-dark .dd-panel { background: linear-gradient(150deg, rgba(20, 30, 18, 0.92), rgba(8, 12, 8, 0.88)); }
html[data-app="pngtube"] .footer { background: #060806; }
.pg-app { position: relative; overflow: hidden; }
.pg-muted { color: var(--muted); }
.pg-h2 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 800; line-height: 0.98; letter-spacing: -0.05em; }

/* Кнопки-пилюли как в приложении */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 58px; padding: 0 30px; border-radius: 99px; font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), translate 0.5s var(--ease); }
.pg-btn svg { width: 20px; height: 20px; }
.pg-btn-acid { color: #0a0f04; background: linear-gradient(160deg, #c6ff2e, #97d600); box-shadow: 0 0 0 1px rgba(198, 255, 46, 0.5), 0 12px 40px -10px var(--acid-glow); }
.pg-btn-acid:hover { background: linear-gradient(160deg, #d2ff52, #a4e600); box-shadow: 0 0 0 1px #d2ff52, 0 16px 52px -8px rgba(176, 237, 9, 0.65); translate: 0 -2px; }
.pg-btn-acid:hover svg { animation: pg-drop 0.9s var(--ease) infinite; }
@keyframes pg-drop { 50% { transform: translateY(3px); } }

/* ---------- Шапка ---------- */
.pg-top { position: relative; display: grid; place-items: center; min-height: min(100svh, 860px); padding: 150px 20px 110px; overflow: hidden; isolation: isolate; text-align: center; }
/* Мягкий свет сверху: рассеянный луч и пятно внизу. */
.pg-top { --light: 1; }
.pg-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--light); }
.pg-beam { position: absolute; top: -120px; left: 50%; width: min(760px, 130vw); height: 100%; translate: -50% 0; filter: blur(46px); }
.pg-beam::before { content: ""; position: absolute; inset: 0; clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(214, 255, 130, 0.12), rgba(200, 255, 90, 0.22) 16%, rgba(176, 237, 9, 0.12) 42%, rgba(176, 237, 9, 0.05) 70%, transparent 96%);
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 34%, #000 66%, transparent 96%); mask-image: linear-gradient(90deg, transparent 4%, #000 34%, #000 66%, transparent 96%); }
.pg-beam-core { height: 86%; filter: blur(34px); }
.pg-beam-core::before { clip-path: polygon(46% 0, 54% 0, 70% 100%, 30% 100%); background: linear-gradient(180deg, rgba(230, 255, 180, 0.08), rgba(214, 255, 120, 0.2) 22%, rgba(198, 255, 46, 0.08) 50%, transparent 92%); }
.pg-pool { position: absolute; left: 50%; bottom: 8%; width: min(760px, 120vw); height: 260px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(176, 237, 9, 0.13), rgba(176, 237, 9, 0.04) 55%, transparent); filter: blur(24px); }

.pg-top-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.pg-icon { position: relative; width: clamp(132px, 14vw, 180px); }
.pg-icon::before { content: ""; position: absolute; inset: -40%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(176, 237, 9, 0.12), rgba(176, 237, 9, 0.04) 55%, transparent); filter: blur(24px); transition: opacity 0.6s var(--ease); }
.pg-icon img { display: block; width: 100%; height: auto; border-radius: 22%; box-shadow: 0 0 0 1px rgba(214, 255, 110, 0.3), 0 0 60px -22px rgba(176, 237, 9, 0.4); transition: scale 0.7s var(--ease), box-shadow 0.7s var(--ease); animation: pg-float 6s ease-in-out infinite; }
@keyframes pg-float { 50% { transform: translateY(-8px); } }
.pg-title { margin-top: 44px; font-size: clamp(48px, 7vw, 104px); font-weight: 800; line-height: 0.95; letter-spacing: -0.055em; }
.pg-sub { margin-top: 16px; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); }
.pg-dl { display: flex; flex-direction: column; align-items: center; margin-top: 36px; }
.pg-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.pg-meta b { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.pg-meta svg { width: 14px; height: 14px; color: var(--acid); }
.pg-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--mut2); }
.pg-meta-2 { margin-top: 8px; font-size: 13px; color: var(--mut2); }
.pg-meta-2 i { background: #3d4a39; }

/* ---------- Видео ---------- */
.pg-video-sec { position: relative; padding: 10px 0 0; }
.pg-video { position: relative; overflow: hidden; border-radius: 20px; background: #0c110c; box-shadow: inset 0 0 0 1px var(--line), 0 0 140px -40px rgba(176, 237, 9, 0.35), 0 60px 100px -40px #000; }
.pg-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pg-video::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(176, 237, 9, 0.3); pointer-events: none; }
.pg-play { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(6, 8, 6, 0.6); box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.4s, background 0.4s; }
.pg-video:hover .pg-play, .pg-play:focus-visible, .pg-video.paused .pg-play { opacity: 1; }
.pg-play:hover { background: rgba(176, 237, 9, 0.2); }
.pg-play span { width: 12px; height: 14px; border-left: 4px solid var(--acid); border-right: 4px solid var(--acid); }
.pg-video.paused .pg-play span { width: 0; height: 0; border: 0; border-left: 13px solid var(--acid); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }

/* ---------- Возможности ---------- */
.pg-sec { padding: clamp(90px, 11vw, 150px) 0; }
.pg-sec > .container > .pg-h2 { max-width: 760px; margin-bottom: 48px; }
.pg-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pg-feat { position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 30px; border-radius: 14px; background: linear-gradient(180deg, #0e140e, #090c09); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.5s var(--ease), transform 0.6s var(--ease); }
.pg-feat:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 0 50px -20px var(--acid-glow); transform: translateY(-3px); }
.pg-feat.wide { grid-column: span 2; }
.pg-feat.full { grid-column: 1 / -1; min-height: 0; }
.pg-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--acid); background: rgba(176, 237, 9, 0.07); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 26px -8px var(--acid-glow); transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.6s var(--ease); }
.pg-ico svg { width: 26px; height: 26px; }
.pg-feat:hover .pg-ico { color: #0a0f04; background: var(--acid); transform: rotate(-6deg); }
.pg-feat h3 { margin-top: auto; padding-top: 44px; font-size: 26px; font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; }
.pg-feat p { margin-top: 10px; max-width: 520px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.pg-keys, .pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pg-keys kbd { padding: 8px 12px; font-family: var(--mono); font-size: 12px; border-radius: 9px; color: var(--acid); box-shadow: inset 0 0 0 1px var(--line-2), 0 3px 0 rgba(176, 237, 9, 0.12); }
.pg-chips span { padding: 6px 12px; border-radius: 99px; font-size: 11px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- OBS ---------- */
.pg-obs-sec { padding-top: 0; }
.pg-obs { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; padding: clamp(32px, 5vw, 64px); border-radius: 20px; background: radial-gradient(600px 400px at 0% 0%, rgba(176, 237, 9, 0.1), transparent 70%), #090c09; box-shadow: inset 0 0 0 1px var(--line); }
.pg-obs-head .pg-muted { margin-top: 18px; max-width: 380px; line-height: 1.55; }
.pg-steps { display: grid; gap: 12px; list-style: none; }
.pg-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 14px; background: #0c110c; box-shadow: inset 0 0 0 1px var(--line); }
.pg-steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 15px; color: #0a0f04; background: linear-gradient(160deg, #c6ff2e, #97d600); box-shadow: 0 0 20px -4px var(--acid-glow); }
.pg-steps p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.pg-steps b { color: var(--ink); font-weight: 600; }

@media (max-width: 1000px) {
  .pg-feats { grid-template-columns: 1fr 1fr; }
  .pg-obs { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .pg-top { min-height: 0; padding: 130px 16px 80px; }
  .pg-title { margin-top: 36px; }
  .pg-dl, .pg-btn-acid { width: 100%; }
  .pg-video { border-radius: 14px; }
  .pg-play { opacity: 1; right: 12px; bottom: 12px; width: 40px; height: 40px; }
  .pg-feats { grid-template-columns: 1fr; }
  .pg-feat.wide { grid-column: auto; }
  .pg-feat { min-height: 0; padding: 26px; }
  .pg-feat h3 { padding-top: 30px; }
  .pg-steps li { grid-template-columns: 36px 1fr; gap: 14px; padding: 16px; }
  .pg-steps span { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-icon img { animation: none; }
}

/* Фон страницы: сетка под тёмным слоем + вспышки (рисуются в canvas) */
html[data-app="pngtube"] body { background: #060806; } /* сетку рисует canvas .pg-bg */
.pg-bg { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.pg-app { z-index: 1; }
html[data-app="pngtube"] .footer { position: relative; z-index: 1; background: #030403; }
/* Полоса над футером: яркая в центре, по краям растворяется; пульсирует */
html[data-app="pngtube"] .footer::before, html[data-app="pngtube"] .footer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
html[data-app="pngtube"] .footer::before { height: 1px; background: radial-gradient(50% 100% at 50% 50%, #eaffb0, rgba(198, 255, 46, 0.85) 25%, rgba(176, 237, 9, 0.25) 65%, transparent); animation: pg-foot 4s ease-in-out infinite; }
html[data-app="pngtube"] .footer::after { top: -40px; height: 80px; background: radial-gradient(40% 50% at 50% 50%, rgba(176, 237, 9, 0.22), rgba(176, 237, 9, 0.06) 55%, transparent); filter: blur(10px); animation: pg-foot 4s ease-in-out infinite; }
@keyframes pg-foot { 0%, 100% { opacity: 0.45; transform: scaleX(0.7); } 50% { opacity: 1; transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { html[data-app="pngtube"] .footer::before, html[data-app="pngtube"] .footer::after { animation: none; } }

/* Меню на странице PNGTube — та же форма, палитра приложения */
html[data-app="pngtube"] .nav.on-dark { border-color: rgba(176, 237, 9, 0.22); background: linear-gradient(145deg, rgba(30, 44, 26, 0.72), rgba(12, 18, 11, 0.6) 58%, rgba(6, 8, 6, 0.55)); box-shadow: inset 0 1px 0 rgba(214, 255, 110, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(176, 237, 9, 0.08), 0 20px 50px -24px rgba(0, 0, 0, 0.7); }
html[data-app="pngtube"] .nav.on-dark::before { background: radial-gradient(ellipse 190px 72px at var(--glass-x, 22%) var(--glass-y, 0%), rgba(214, 255, 110, 0.16), transparent 78%), linear-gradient(165deg, rgba(176, 237, 9, 0.06), transparent 48%); }
html[data-app="pngtube"] .nav.on-dark .nav-item { color: rgba(242, 247, 234, 0.72); }
html[data-app="pngtube"] .nav.on-dark .nav-item:hover, html[data-app="pngtube"] .nav.on-dark .dd.open .nav-item { background: rgba(176, 237, 9, 0.1); color: var(--acid-hi); }
html[data-app="pngtube"] .nav.on-dark .btn-dark { color: #0a0f04; background: linear-gradient(160deg, #c6ff2e, #97d600); box-shadow: 0 0 22px -6px var(--acid-glow); }
html[data-app="pngtube"] .nav.on-dark .btn-dark .btn-ico { background: #0a0f04; color: var(--acid); }
html[data-app="pngtube"] .nav.on-dark .burger { background: var(--acid); }
html[data-app="pngtube"] .nav.on-dark .burger span { background: #0a0f04; }
html[data-app="pngtube"] .nav.on-dark .dd-panel { border-color: rgba(176, 237, 9, 0.2); }
html[data-app="pngtube"] .nav.on-dark a.dd-item:hover { background: rgba(176, 237, 9, 0.1); }
html[data-app="pngtube"] .mobile-menu::before { border-color: rgba(176, 237, 9, 0.22); background: linear-gradient(150deg, rgba(30, 44, 26, 0.86), rgba(12, 18, 11, 0.78) 58%, rgba(6, 8, 6, 0.74)); }
html[data-app="pngtube"] .mobile-menu .btn-dark { color: #0a0f04; background: linear-gradient(160deg, #c6ff2e, #97d600); }
html[data-app="pngtube"] .mobile-menu .btn-dark .btn-ico { background: #0a0f04; color: var(--acid); }

.pg-icon:hover img { scale: 1.08; box-shadow: 0 0 0 1px rgba(214, 255, 110, 0.45), 0 0 70px -18px rgba(176, 237, 9, 0.5); }

/* Видео: по тонкой обводке время от времени пробегает яркий импульс */
@property --pg-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pg-video::before, .pg-feat::before, .pg-obs::before, .pg-steps li::before { content: ""; position: absolute; inset: 0; z-index: 2; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--pg-a), transparent 0 62%, rgba(176, 237, 9, 0.4) 74%, #eaffb0 82%, rgba(176, 237, 9, 0.4) 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 6px rgba(176, 237, 9, 0.8)); animation: pg-pulse 7s cubic-bezier(0.55, 0, 0.35, 1) infinite; }
@keyframes pg-pulse { 0% { --pg-a: 0deg; opacity: 0; } 8% { opacity: 1; } 42% { opacity: 1; } 50% { --pg-a: 360deg; opacity: 0; } 100% { --pg-a: 360deg; opacity: 0; } }
.pg-steps li, .pg-obs { position: relative; }
.pg-feat::before, .pg-obs::before, .pg-steps li::before { padding: 1px; filter: drop-shadow(0 0 4px rgba(176, 237, 9, 0.7)); animation-duration: 9s; }
.pg-feat:nth-child(2)::before { animation-delay: -2.2s; }
.pg-feat:nth-child(3)::before { animation-delay: -5.1s; }
.pg-feat:nth-child(4)::before { animation-delay: -1.3s; }
.pg-feat:nth-child(5)::before { animation-delay: -6.7s; }
.pg-feat:nth-child(6)::before { animation-delay: -3.8s; }
.pg-obs::before { animation: none; opacity: 0; }
.pg-steps li::before {
  padding: 1.5px;
  background: conic-gradient(from var(--pg-a), transparent 0 70%, rgba(176, 237, 9, 0.2) 78%, rgba(198, 255, 46, 0.92) 86%, #f0ffc7 90%, rgba(176, 237, 9, 0.48) 95%, transparent 100%);
  filter: drop-shadow(0 0 7px rgba(176, 237, 9, 0.85));
  animation: pg-step-cascade 9s linear infinite;
}
@keyframes pg-step-cascade {
  0% { --pg-a: 0deg; opacity: 0; }
  2%, 28% { opacity: 1; }
  31% { --pg-a: 360deg; opacity: 0; }
  100% { --pg-a: 360deg; opacity: 0; }
}
.pg-steps li:nth-child(2)::before { animation-delay: -6s; }
.pg-steps li:nth-child(3)::before { animation-delay: -3s; }
@media (prefers-reduced-motion: reduce) { .pg-video::before, .pg-feat::before, .pg-obs::before, .pg-steps li::before { animation: none; opacity: 0; } }

/* Меню на PNGTube: без круглого блика слева — ровное тёмное стекло */
html[data-app="pngtube"] .nav.on-dark { background: linear-gradient(145deg, rgba(14, 20, 13, 0.72), rgba(8, 12, 8, 0.66) 58%, rgba(6, 8, 6, 0.6)); }
html[data-app="pngtube"] .nav.on-dark::before { background: linear-gradient(165deg, rgba(176, 237, 9, 0.035), transparent 48%); }
html[data-app="pngtube"] .mobile-menu::before { background: linear-gradient(150deg, rgba(14, 20, 13, 0.9), rgba(8, 12, 8, 0.84) 58%, rgba(6, 8, 6, 0.8)); }

html[data-app="pngtube"] .nav .nav-logo svg { fill: var(--acid); filter: drop-shadow(0 0 10px rgba(176, 237, 9, 0.35)); }
html[data-app="pngtube"] .footer-top { border-top: 0; }

/* ==========================================================
   Окно «Обсудить проект»: шапка повторяет геометрию меню —
   логотип и «Закрыть» стоят ровно там, где логотип и «Обсудить проект»
   ========================================================== */
.brief-wrap { padding-top: 18px; }
.brief-head {
  box-sizing: border-box;
  height: var(--nav-h);
  margin-inline: calc(50% - min(50vw - 16px, 560px));
  padding: 0 8px 0 24px;
  border: 1px solid transparent;
}
.brief-head > svg { width: 76px; height: 26px; }
.brief-close { height: 46px; gap: 12px; padding: 0 5px 0 20px; font-size: 14px; font-weight: 500; }
.brief-close span { width: 36px; height: 36px; }

/* Мелкие подписи в форме — обычный шрифт сайта, тонкий */
.bf-step-label, .bf-q, .brief .c-link .mono, .brief-block .c-link .mono {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}
.bf-step-label b { font-weight: 500; }

@media (max-width: 760px) {
  .brief-head { height: 60px; padding: 0 6px 0 20px; }
  .brief-head > svg { width: 76px; }
  .brief-close { height: 46px; padding-left: 20px; font-size: 14px; }
  .brief-close span { width: 36px; height: 36px; }
}
/* место под полосу прокрутки держим всегда — при открытии окна ничего не сдвигается */
html { scrollbar-gutter: stable; }

/* Бриф: поле идеи побольше, выбранный раздел над ним */
.field-big textarea { min-height: 150px; }
.bf-step .bf-q + .opts { margin-top: 14px; }
[data-picked] { display: inline-flex; align-self: flex-start; width: fit-content; margin-top: 10px; padding: 6px 14px; border-radius: 99px; color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
[data-picked][hidden] { display: none; }

/* Карточка формы над светом — затемнённое стекло, чтобы текст читался */
.brief .bf { background: rgba(12, 12, 12, 0.62); -webkit-backdrop-filter: blur(26px) saturate(120%); backdrop-filter: blur(26px) saturate(120%); }
/* «Закрыть» над ярким светом — тёмное стекло, чтобы не терялась */
.brief-close { background: rgba(12, 12, 12, 0.55); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.brief-close:hover { background: rgba(24, 24, 24, 0.7); }

/* ==========================================================
   Окно брифа: всё по центру — заголовок, текст, форма, контакты
   ========================================================== */
.brief-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; text-align: center; padding: 48px 0 24px; }
.brief-center .brief-intro { max-width: 760px; }
.brief-center .brief-intro .h2 { font-size: clamp(40px, 5vw, 76px); }
.brief-center .brief-intro .lead { max-width: 600px; margin: 18px auto 0; }
.brief-center .bf { width: min(100%, 640px); min-height: 0; text-align: left; }
.brief .bf-top { justify-content: center; }
.brief .bf-bars { max-width: 240px; }
.brief .bf-step h3 { text-align: center; }
.brief .bf-step .bf-q { text-align: center; }
.brief .bf-step [data-picked] { align-self: center; }
.brief .bf-done { align-items: center; text-align: center; }

/* обводка формы: ярче в центре, к краям расходится и растворяется */
.brief .bf::after { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.28) 28%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.28) 72%, rgba(255, 255, 255, 0.04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.brief .bf { box-shadow: none; }

/* контакты — белые круглые кнопки с иконками */
.brief-contacts { display: flex; justify-content: center; gap: 12px; }
.brief-contact { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #0b0b0b; box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.45); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.brief-contact svg { width: 22px; height: 22px; }
.brief-contact:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 36px -12px rgba(255, 255, 255, 0.6); }
@media (max-width: 760px) {
  .brief-center { gap: 26px; padding-top: 28px; }
  .brief .opts { grid-template-columns: 1fr 1fr; }
  .brief .opt { font-size: 14px; }
}

/* Описание выбранного варианта — тонкий текст под вариантами */
.bf-desc { display: none; margin-top: 2px; font-size: 14px; font-weight: 300; line-height: 1.55; color: rgba(255, 255, 255, 0.62); text-align: center; text-wrap: balance; }
.bf-desc.has { display: block; }
/* Текст под заголовком окна — чистый белый */
.brief-center .brief-intro .lead { color: #fff; }
/* Крестик и иконки: размеры, которые делятся без остатка при масштабе 100/125/150 % — центр не «плывёт» */
.brief-close span { width: 36px; height: 36px; }
.brief-close svg { width: 12px; height: 12px; }
.brief-close:hover span svg { transform: scale(1.33); }
.brief-contact svg { width: 20px; height: 20px; }

/* Текст под заголовком окна — тоньше */
.brief-center .brief-intro .lead { font-weight: 300; }

/* Ошибка и в большом поле */
.field.invalid textarea { box-shadow: inset 0 0 0 1px #fff; animation: shake .45s var(--ease-out); }

/* Полоса прокрутки в поле идеи */
.bf textarea::-webkit-scrollbar { width: 12px; }
.bf textarea::-webkit-scrollbar-track { background: transparent; margin: 12px 0; }
.bf textarea::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 99px; background: rgba(255, 255, 255, 0.28) padding-box; }
.bf textarea::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.55) padding-box; }
@supports (-moz-appearance: none) { .bf textarea { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.35) transparent; } }

/* Календарь «Конкретная дата» — белое окно, чёрно-белый */
.bf-cal { position: absolute; z-index: 5; width: 300px; padding: 16px; border-radius: 24px; background: #fff; color: #0b0b0b; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.04); transform-origin: 50% 100%; }
.bf-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bf-cal-head b { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.bf-cal-nav { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #0b0b0b; transition: background 0.3s; }
.bf-cal-nav:hover:not(:disabled) { background: #f0f0ee; }
.bf-cal-nav:disabled { opacity: 0.25; }
.bf-cal-nav svg { width: 16px; height: 16px; }
.bf-cal-week, .bf-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.bf-cal-week span { padding: 4px 0 8px; font-size: 11px; color: #9a9a95; }
.bf-cal-days button { aspect-ratio: 1; border-radius: 50%; font-size: 13px; font-weight: 500; color: #0b0b0b; transition: background 0.25s, color 0.25s; }
.bf-cal-days button:hover:not(:disabled) { background: #eeeeec; }
.bf-cal-days button.today { box-shadow: inset 0 0 0 1px #0b0b0b; }
.bf-cal-days button.on { background: #0b0b0b; color: #fff; }
.bf-cal-days button:disabled { color: #c9c9c5; cursor: default; }
/* форма (и календарь в ней) — поверх кнопок контактов */
.brief .bf { z-index: 2; }
/* большое поле: непрозрачный фон, подпись — полоса сверху, текст при прокрутке уходит под неё */
.field-big textarea { background: #151515; }
.field-big textarea:focus { background: #1b1b1b; }
.field-big textarea:focus + span, .field-big textarea:not(:placeholder-shown) + span {
  top: 1px; left: 1px; right: 14px; padding: 8px 0 5px 18px; border-radius: 17px 17px 0 0; background: #151515;
}
.field-big textarea:focus + span { background: #1b1b1b; }
.field-big { border-radius: 18px; overflow: hidden; }
.field-big textarea:focus + span, .field-big textarea:not(:placeholder-shown) + span { top: 0; left: 0; right: 12px; padding: 9px 0 7px 19px; border-radius: 0; }

.bf-done .check.is-error { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.brief .bf-done p { max-width: 440px; }

/* Футер: подписи колонок — обычный шрифт сайта, полупрозрачные; большой логотип — по нижней границе */
.f-col .f-label { margin-bottom: 4px; font-size: 14px; font-weight: 400; color: var(--muted); }
.footer { padding-bottom: 0; }
.footer-logo { display: block; margin-bottom: 0; }

/* Линия над футером: к краям растворяется */
.footer-top { position: relative; border-top: 0; }
.footer-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--line-2) 22%, var(--line-2) 78%, transparent); }
html[data-app="pngtube"] .footer-top::before { display: none; }

/* Главная: стекло над карпами тоньше — рыбы видны лучше */
.koi-glass { -webkit-backdrop-filter: blur(7px) saturate(108%); backdrop-filter: blur(7px) saturate(108%); }
@media (max-width: 760px) { .koi-glass { -webkit-backdrop-filter: blur(6px) saturate(112%); backdrop-filter: blur(6px) saturate(112%); } }

/* PNGTube: у логотипа в меню без свечения */
html[data-app="pngtube"] .nav .nav-logo svg { filter: none; }
/* Лампа моргает — вместе с ней темнеет всё, что она освещает: иконка, название, текст, кнопка */
.pg-top-in { filter: brightness(calc(0.16 + 0.84 * min(1, var(--light, 1) * 1.08))); will-change: filter; }
@media (prefers-reduced-motion: reduce) { .pg-top-in { filter: none; } }

/* Окно новости на телефоне — по центру экрана, а не снизу */
@media (max-width: 760px) {
  .nm { align-items: center; padding: 16px; }
  .nm-panel { max-height: calc(100svh - 32px); }
}

/* Крестик окна новости: при наведении не крутится, а увеличивается */
.nm-close:hover { transform: scale(1.06); }
.nm-close svg { transition: transform 0.5s var(--ease); }
.nm-close:hover svg { transform: scale(1.25); }

/* Футер на телефоне: не в один столбик — текст сверху, ниже две колонки */
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-top > p { grid-column: 1 / -1; }
  /* «Студия» слева, «Проекты» справа, под ними — «Связь» */
  .footer-top > .f-col:nth-of-type(1) { grid-column: 1; grid-row: 2 / span 2; }
  .footer-top > .f-col:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  .footer-top > .f-col:nth-of-type(3) { grid-column: 2; grid-row: 3; }
}

.pg-acid { color: var(--acid); }

.bf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ==========================================================
   ЛЁГКИЙ РЕЖИМ (телефоны и планшеты, класс .lite на <html>)
   Меньше постоянной работы для видеокарты: без анимированного шума,
   без двойного размытия над рыбками, без 3D-камеры в переходе.
   ========================================================== */
html.lite .grain { animation: none; inset: 0; }
/* рыбки: одно лёгкое размытие самих рыб, без тяжёлого размытия стекла поверх */
html.lite .koi-fish { filter: blur(3px); }
html.lite .koi-glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(135deg, rgba(255,255,255,.34), rgba(232,232,232,.24) 48%, rgba(255,255,255,.4)), rgba(245,245,245,.22); }
/* стекло меню — лёгкое размытие */
html.lite .nav { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
/* переход: без 3D-камеры и размытия экрана */
html.lite.pt-arrive main, html.lite.pt-arrive .footer, html.lite.pt-arrive .nav-wrap { transform: none; }
html.lite .pt-blur { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.lite .pt-halo { display: none; }
/* окно заявки: над живым фоном — плотная подложка вместо размытия каждого кадра */
html.lite .brief .bf { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 14, 14, 0.86); }
html.lite .brief-close { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 14, 14, 0.82); }

/* Телефон: высота первого экрана не «дышит», когда прячется/появляется адресная строка —
   иначе весь контент ниже (новости) дёргается при прокрутке */
html.lite .blank, html.lite .hero { min-height: 100svh; }

/* Блик по стеклу карточки прайса при смене раздела (js/pricing.js) */
.plan-sheen { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 0; }
/* текст карточки — над бликом */
.plan > .core > :not(.plan-sheen):not(.plan-info) { position: relative; z-index: 1; }
.plan-sheen i {
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%;
  background: linear-gradient(105deg, transparent 0%, rgba(11, 11, 11, 0.035) 35%, rgba(255, 255, 255, 0.9) 50%, rgba(11, 11, 11, 0.035) 65%, transparent 100%);
  transform: translateX(-120%);
}
.plan.featured .plan-sheen i { background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.05) 35%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.05) 65%, transparent 100%); }
