/* ==========================================================================
   Шаблон «Премиум» — услуги как продуктовая линейка
   Система: чёрные и светлые сцены, продукт (ваши сайты и боты на устройствах) — герой,
   сдержанные синие ссылки, аккуратные цены. H1 ≤ 48px (телефон ≤ 32), разделы 26–32px.
   Главные цвета — переменные в :root ниже.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --line-2: #e8e8ed;
  --night: #000000;
  --night-2: #161617;
  --night-3: #1d1d1f;
  --night-line: #424245;
  --on-night: #f5f5f7;
  --on-night-2: #a1a1a6;
  --on-night-3: #86868b;
  --link: #0b5bc4;
  --link-night: #4aa0ff;
  --btn: #0a66d8;
  --btn-h: #0858bd;
  --sand: #ece7de;
  --sand-2: #e3ddd1;
  --navy: #07101f;
  --gold: #c8a96a;
  --wrap: 1180px;
  --wrap-wide: 1440px;
  --gut: 22px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--link-night); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 8px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.wrap-wide { width: min(var(--wrap-wide), 100% - 24px); margin-inline: auto; }

/* ---------- типографика ---------- */
.h1 {
  font-size: 48px; line-height: 1.083; font-weight: 600; letter-spacing: -0.026em;
  text-wrap: balance;
}
.h2 {
  font-size: 32px; line-height: 1.125; font-weight: 600; letter-spacing: -0.022em;
  text-wrap: balance;
}
.h2 .mute, .h3 .mute { color: var(--ink-2); }
.dark .h2 .mute, .dark .h3 .mute { color: var(--on-night-3); }
.h3 { font-size: 28px; line-height: 1.143; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.45; font-weight: 400; letter-spacing: -0.014em; }
.eyebrow { font-size: 17px; line-height: 1.24; font-weight: 600; letter-spacing: -0.012em; }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -0.008em; }
.cap { font-size: 13px; line-height: 1.38; letter-spacing: 0; }
.mute { color: var(--ink-2); }
.dark .mute { color: var(--on-night-2); }
.num { font-variant-numeric: tabular-nums; }
.nb { white-space: nowrap; }
.m-only { display: none; }
@media (max-width: 734px) { .d-only { display: none; } .m-only { display: inline; } }

/* ---------- ссылки и кнопки ---------- */
.more {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--link); font-size: inherit; line-height: inherit;
  min-height: 24px;
}
.more svg { width: .62em; height: .62em; margin-left: 2px; transform: translateY(.04em); }
.more:hover { text-decoration: underline; text-underline-offset: .14em; }
.dark .more, .more.on-dark { color: var(--link-night); }
.more.ext svg { width: .6em; height: .6em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px;
  border-radius: 980px;
  background: var(--btn); color: #fff;
  font-size: 17px; line-height: 1.18; font-weight: 400; letter-spacing: -0.016em;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--btn-h); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.sm { min-height: 36px; padding: 8px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--btn); box-shadow: inset 0 0 0 1px var(--btn); }
.btn.ghost:hover { background: var(--btn); color: #fff; }
.dark .btn.ghost { color: var(--link-night); box-shadow: inset 0 0 0 1px var(--link-night); }
.dark .btn.ghost:hover { background: var(--link-night); color: #000; }
.btn.light { background: #f5f5f7; color: #1d1d1f; }
.btn.light:hover { background: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.btns.center { justify-content: center; }

/* ---------- глобальная шапка ---------- */
.gnav {
  position: sticky; top: 0; z-index: 50;
  height: 48px;
  background: rgba(22, 22, 23, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: #e8e8ed;
}
.gnav .in {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(1024px, 100% - 2 * var(--gut)); margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: #f5f5f7; min-height: 44px; white-space: nowrap; flex: none; }
.brand .mk {
  position: relative; overflow: hidden;
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: linear-gradient(160deg, #3a3a3c, #1c1c1e); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.18);
  color: #f5f5f7;
}
.brand .mk svg { position: absolute; inset: 0; }
/* знак: три столбика разной высоты — «линейка» услуг; замените своим логотипом (README) */
.brand .mk svg { color: #f5f5f7; }
.gnav .links { display: flex; align-items: center; gap: 0; }
.gnav .links a {
  font-size: 12.5px; letter-spacing: -0.005em; color: rgba(232, 232, 237, .82);
  padding: 0 11px; line-height: 48px; transition: color .2s;
}
.gnav .links a:hover, .gnav .links a[aria-current] { color: #fff; }
.gnav .act { display: flex; align-items: center; gap: 6px; }
.gnav .tg-ic { width: 44px; height: 44px; display: grid; place-items: center; color: rgba(232,232,237,.86); border-radius: 50%; }
.gnav .tg-ic:hover { color: #fff; }
.gnav .tg-ic svg { width: 17px; height: 17px; }
.gnav .btn.sm { min-height: 28px; padding: 5px 13px 5px 11px; font-size: 12.5px; gap: 6px; }
.gnav .btn.sm svg { width: 13px; height: 13px; }
.menu-btn { display: none; flex: none; width: 44px; height: 44px; place-items: center; color: #e8e8ed; }
.menu-btn svg { width: 18px; height: 18px; }

/* лента под шапкой */
.ribbon { background: #161617; color: var(--on-night-2); text-align: center; font-size: 14px; line-height: 1.43; padding: 11px var(--gut); }
.ribbon a { color: var(--link-night); white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.ribbon a svg { display: inline-block; width: 7px; height: 11px; }
.more svg, .lead .more svg { display: inline-block; }
.ribbon a:hover { text-decoration: underline; }
.ribbon.light { background: var(--bg-2); color: var(--ink-2); }
.ribbon.light a { color: var(--link); }

/* мобильное меню */
.msheet {
  position: fixed; inset: 0; z-index: 60; background: #0b0b0c;   /* непрозрачный: в Safari полупрозрачный фон с blur просвечивал */
  color: #f5f5f7; padding: 8px var(--gut) 32px; display: none; flex-direction: column;
}
.msheet.open { display: flex; }
.msheet .top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.msheet nav { margin-top: 18px; display: grid; gap: 2px; }
.msheet nav a { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; padding: 8px 0; color: #e8e8ed; }
.msheet .sub { margin-top: auto; display: grid; gap: 12px; }
.msheet .sub .btn { width: 100%; }

/* ---------- значки (inline SVG) ---------- */
.ic { width: 20px; height: 20px; flex: none; }

/* ==========================================================================
   Устройства: рамка-картинка с прозрачным экраном + живой HTML под ней.
   Внутренний экран рисуется в «точках» 390×844 через --u (1/390 ширины экрана).
   ========================================================================== */
.phone {
  position: relative;
  aspect-ratio: 900 / 1778;
  width: 300px;
  isolation: isolate;
}
.phone.light { aspect-ratio: 900 / 1827; }
.phone > .frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; user-select: none; }
.phone::before { content: ""; position: absolute; z-index: 0; inset: 1% 2.5%; border-radius: 13% / 6.4%; box-shadow: var(--ph-shadow, none); pointer-events: none; }
.phone > .screen {
  position: absolute; z-index: 1;
  left: 5.3%; top: 2.3%; width: 89.4%; height: 95.4%;
  border-radius: 12.4% / 6%;
  overflow: hidden;
  container-type: inline-size;
  background: #000;
}
.phone.light > .screen { left: 5.3%; top: 2.2%; width: 89.4%; height: 95.5%; border-radius: 12.4% / 5.8%; }

/* экран: единица --u = ширина экрана / 390 */
.scr {
  --u: calc(100cqw / 390);
  text-align: left;
  position: absolute; inset: 0;
  font-family: var(--font);
  font-size: calc(16 * var(--u));
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: #000;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.scr .sb {
  flex: none; height: calc(54 * var(--u)); display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 calc(30 * var(--u)) calc(9 * var(--u)) calc(44 * var(--u));
  font-size: calc(16.5 * var(--u)); font-weight: 600; letter-spacing: -0.01em;
}
.scr .sb .ics { display: flex; gap: calc(6 * var(--u)); align-items: center; }
.scr .sb svg { height: calc(12 * var(--u)); width: auto; }
.scr .hi { position: absolute; left: 50%; bottom: calc(8 * var(--u)); width: calc(134 * var(--u)); height: calc(5 * var(--u)); margin-left: calc(-67 * var(--u)); border-radius: 99px; background: rgba(0,0,0,.86); z-index: 5; }
.scr.on-dark .hi { background: rgba(255,255,255,.9); }

/* ----- чат бота (мессенджер в светлой теме) ----- */
.chat { background: #fff; }
.chat .sb { background: rgba(247,247,247,.96); }
.chat-head {
  flex: none; height: calc(52 * var(--u)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 calc(12 * var(--u)); background: rgba(247,247,247,.96);
  border-bottom: calc(.6 * var(--u)) solid rgba(0,0,0,.14);
}
.chat-head .back { display: flex; align-items: center; gap: calc(4 * var(--u)); color: #0a84ff; font-size: calc(17 * var(--u)); font-family: inherit; line-height: 1; }
button.back { min-height: calc(44 * var(--u)); padding: 0; cursor: pointer; }
.chat-head .back svg { width: calc(12 * var(--u)); height: calc(20 * var(--u)); }
.chat-head .who { text-align: center; line-height: 1.18; }
.chat-head .who b { display: block; font-size: calc(16.5 * var(--u)); font-weight: 600; }
.chat-head .who i { font-style: normal; font-size: calc(13 * var(--u)); color: #8e8e93; }
.chat-head .ava {
  justify-self: end; width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 600; font-size: calc(14 * var(--u));
  background: linear-gradient(180deg, #5aa7ea, #2f7ed1);
}
.chat-head .ava svg { width: 56%; height: 56%; }
.chat-body {
  flex: 1; position: relative; overflow: hidden;
  padding: calc(10 * var(--u)) calc(9 * var(--u)) calc(8 * var(--u));
  display: flex; flex-direction: column; justify-content: flex-end; gap: calc(5 * var(--u));
  background:
    radial-gradient(120% 70% at 0% 0%, #d7e6cf 0%, rgba(215,230,207,0) 60%),
    radial-gradient(110% 80% at 100% 30%, #c9dcea 0%, rgba(201,220,234,0) 62%),
    radial-gradient(120% 90% at 30% 100%, #d9e2c4 0%, rgba(217,226,196,0) 60%),
    #cfdfe3;
}
.chat-body .day {
  align-self: center; font-size: calc(13 * var(--u)); font-weight: 500; color: #fff;
  background: rgba(70, 95, 105, .32); padding: calc(3 * var(--u)) calc(10 * var(--u)); border-radius: 99px; margin-bottom: calc(4 * var(--u));
}
.msg {
  position: relative; max-width: 80%;
  padding: calc(7 * var(--u)) calc(11 * var(--u)) calc(7 * var(--u)) calc(12 * var(--u));
  border-radius: calc(17 * var(--u));
  background: #fff; color: #000;
  box-shadow: 0 calc(.6 * var(--u)) calc(.8 * var(--u)) rgba(0,0,0,.12);
  font-size: calc(16 * var(--u)); line-height: 1.3;
}
.msg.in { align-self: flex-start; border-bottom-left-radius: calc(5 * var(--u)); }
.msg.out { align-self: flex-end; background: #effdde; border-bottom-right-radius: calc(5 * var(--u)); }
.msg time {
  float: right; margin: calc(6 * var(--u)) 0 calc(-4 * var(--u)) calc(9 * var(--u));
  font-size: calc(11.5 * var(--u)); color: #8c9399; display: inline-flex; align-items: center; gap: calc(3 * var(--u));
}
.msg.out time { color: #4fae4e; }
.msg time svg { width: calc(16 * var(--u)); height: calc(10 * var(--u)); }
.msg b { font-weight: 600; }
.msg .ttl { display: block; font-weight: 600; margin-bottom: calc(2 * var(--u)); }
.msg .row { display: flex; justify-content: space-between; gap: calc(12 * var(--u)); }
.msg .row + .row { margin-top: calc(2 * var(--u)); }
.msg .sum { border-top: calc(.6 * var(--u)) solid rgba(0,0,0,.12); margin-top: calc(6 * var(--u)); padding-top: calc(6 * var(--u)); font-weight: 600; }
.msg.file { display: flex; gap: calc(10 * var(--u)); align-items: center; padding-right: calc(14 * var(--u)); }
.msg.file .fi { width: calc(42 * var(--u)); height: calc(42 * var(--u)); border-radius: 50%; background: #3aa0ef; display: grid; place-items: center; color: #fff; flex: none; }
.msg.out.file .fi { background: #5cbd5a; }
.msg.file .fi svg { width: 48%; height: 48%; }
.msg.file small { display: block; color: #8c9399; font-size: calc(13 * var(--u)); }
.msg .lnk { display: block; margin-top: calc(6 * var(--u)); border-left: calc(2.5 * var(--u)) solid #3aa0ef; padding-left: calc(8 * var(--u)); }
.msg.out .lnk { border-color: #5cbd5a; }
.msg .lnk b { color: #2c87d1; font-weight: 600; font-size: calc(14.5 * var(--u)); }
.msg.out .lnk b { color: #3a9a39; }
.msg .lnk span { display: block; font-size: calc(14 * var(--u)); color: #222; }
.msg .lnk img { margin-top: calc(6 * var(--u)); border-radius: calc(8 * var(--u)); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.kb { align-self: flex-start; width: 80%; display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: calc(5 * var(--u)); margin-top: calc(-1 * var(--u)); }
.kb span {
  display: grid; place-items: center; text-align: center; min-height: calc(38 * var(--u)); padding: 0 calc(6 * var(--u));
  border-radius: calc(10 * var(--u)); background: rgba(50, 82, 96, .30); color: #fff;
  font-size: calc(14.5 * var(--u)); font-weight: 500; line-height: 1.15;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.kb span.on { background: rgba(30, 60, 74, .55); box-shadow: inset 0 0 0 calc(1.2 * var(--u)) rgba(255,255,255,.6); }
.typing { align-self: flex-start; display: inline-flex; gap: calc(4 * var(--u)); padding: calc(11 * var(--u)) calc(13 * var(--u)); border-radius: calc(17 * var(--u)); border-bottom-left-radius: calc(5 * var(--u)); background: #fff; }
.typing i { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: #9aa3a9; animation: dot 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(calc(-2 * var(--u))); } }
.chat-input {
  flex: none; display: flex; align-items: center; gap: calc(10 * var(--u));
  padding: calc(7 * var(--u)) calc(12 * var(--u)) calc(30 * var(--u));
  background: rgba(247,247,247,.97); border-top: calc(.6 * var(--u)) solid rgba(0,0,0,.12); color: #8e8e93;
}
.chat-input .fld { flex: 1; height: calc(34 * var(--u)); border-radius: 99px; border: calc(.8 * var(--u)) solid rgba(0,0,0,.14); background: #fff; display: flex; align-items: center; padding: 0 calc(13 * var(--u)); font-size: calc(16 * var(--u)); color: #a3a3a8; }
.chat-input svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); color: #8e8e93; }

/* MAX: та же логика, другой мессенджер */
.chat.max .chat-head .back { color: #4c5cf5; }
.chat.max .chat-head .ava { background: linear-gradient(160deg, #3f8cff, #6a4dff); }
.chat.max .chat-body { background: linear-gradient(180deg, #f3f4f9, #eceef6); }
.chat.max .msg.out { background: #dfe4ff; }
.chat.max .msg.out time { color: #5b67e8; }
.chat.max .kb span { background: #fff; color: #3d4be0; box-shadow: 0 calc(.6 * var(--u)) calc(1 * var(--u)) rgba(0,0,0,.08); }
.chat.max .kb span.on { background: #e3e7ff; box-shadow: inset 0 0 0 calc(1.2 * var(--u)) #6d78f0; }
.chat.max .day { background: rgba(60, 70, 110, .14); color: #50566f; }

/* ----- экран блокировки ----- */
.lock {
  color: #fff;
  background:
    radial-gradient(90% 55% at 70% 12%, rgba(74, 98, 160, .55), rgba(74,98,160,0) 70%),
    radial-gradient(80% 60% at 10% 90%, rgba(26, 44, 92, .7), rgba(26,44,92,0) 70%),
    linear-gradient(180deg, #0b1630 0%, #070d1d 55%, #04070f 100%);
}
.lock .sb { color: #fff; }
.lock .clock { text-align: center; margin-top: calc(18 * var(--u)); }
.lock .clock .d { font-size: calc(19 * var(--u)); font-weight: 500; opacity: .86; letter-spacing: -0.01em; }
.lock .clock .t { font-size: min(calc(64 * var(--u)), 46px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; margin-top: calc(2 * var(--u)); font-variant-numeric: tabular-nums; }
.lock .stack { position: absolute; left: calc(10 * var(--u)); right: calc(10 * var(--u)); bottom: calc(96 * var(--u)); display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
.nt {
  width: 100%; text-align: left; font-family: inherit; cursor: default;
  display: grid; grid-template-columns: calc(38 * var(--u)) 1fr; gap: calc(11 * var(--u)); align-items: start;
  padding: calc(12 * var(--u)) calc(14 * var(--u)) calc(13 * var(--u)) calc(12 * var(--u));
  border-radius: calc(22 * var(--u));
  background: rgba(236, 238, 245, .2);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 0 0 calc(.6 * var(--u)) rgba(255,255,255,.12);
  color: #fff; font-size: calc(15 * var(--u)); line-height: 1.3;
}
.nt .ai { width: calc(38 * var(--u)); height: calc(38 * var(--u)); border-radius: calc(9 * var(--u)); display: grid; place-items: center; background: linear-gradient(180deg, #5aa7ea, #2a78cc); }
.nt .ai.max { background: linear-gradient(160deg, #3f8cff, #6a4dff); }
.nt .ai.pay { background: linear-gradient(180deg, #4cc06b, #2a9a4b); }
.nt .ai svg { width: 58%; height: 58%; color: #fff; }
.nt .hd { display: flex; justify-content: space-between; gap: calc(8 * var(--u)); }
.nt .hd b { font-weight: 600; }
.nt .hd i { font-style: normal; opacity: .62; font-size: calc(13.5 * var(--u)); white-space: nowrap; }
.nt p, .nt .p { display: block; opacity: .94; }
.nt .hd { display: flex; }
button.nt { cursor: pointer; transition: background .25s, transform .25s; }
button.nt:hover { background: rgba(236, 238, 245, .3); }
button.nt:active { transform: scale(.98); }
.lock .tools { position: absolute; left: calc(46 * var(--u)); right: calc(46 * var(--u)); bottom: calc(36 * var(--u)); display: flex; justify-content: space-between; }
.lock .tools span { width: calc(50 * var(--u)); height: calc(50 * var(--u)); border-radius: 50%; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: grid; place-items: center; }
.lock .tools svg { width: 42%; height: 42%; }

/* ==========================================================================
   Общее для секций
   ========================================================================== */
.dark { background: #000; color: var(--on-night); }
section { position: relative; }
.sec-head { padding: 0 0 40px; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.sec-head.row .h2 { max-width: 760px; }
.sec-head .more { font-size: 17px; white-space: nowrap; padding-bottom: 4px; }
.credit { font-size: 13px; line-height: 1.38; color: var(--ink-2); letter-spacing: 0; }
.dark .credit, .t-night .credit, .t-graphite .credit { color: var(--on-night-2); }
/* сноска: надстрочная цифра шрифта, зона нажатия 44 px уходит вправо, вёрстку не сдвигает */
.fnref { position: relative; color: inherit; opacity: .8; padding: 14px 36px 14px 6px; margin: -14px -36px -14px -6px; }
.fnref:hover { color: var(--link); opacity: 1; }
/* сноска в конце строки (факт со статусом): зона нажатия не выходит за край экрана */
.facts .fnref { padding: 14px 8px 14px 30px; margin: -14px -8px -14px -26px; }
.live { color: #30d158; }
.live svg { flex: none; }
.live.down { color: #a1a1a6; }

/* появление при прокрутке */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   1. Первый экран
   ========================================================================== */
.hero { --fade: 1; overflow: hidden; padding: 0 0 8px; }
.hero-copy { position: relative; z-index: 3; text-align: center; padding-top: 48px; opacity: var(--fade); }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; color: var(--on-night-2); }
.hero-kicker svg { color: #7cc0ff; }
.hero-h { color: #f5f5f7; margin: 10px auto 0; max-width: 1040px; }
.hero-lead { color: var(--on-night-2); margin: 12px auto 0; max-width: 820px; font-size: 21px; line-height: 1.38; }
.hero-price { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin-top: 14px; font-size: 16px; color: #f5f5f7; font-variant-numeric: tabular-nums; }
.hero-price i { font-style: normal; color: #6e6e73; }
.hero-price .more { color: var(--link-night); }
.hero-btns { margin-top: 24px; gap: 14px; }
.hero-btns .btn.ghost { color: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.hero-btns .btn.ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-media { position: relative; z-index: 1; margin: 28px 0 0; display: flex; flex-direction: column; align-items: center; }
.hstage { position: relative; width: min(1200px, 86vw); aspect-ratio: 2400 / 1449; transform-origin: 50% 20%; will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 84%, transparent 100%);
  mask-composite: intersect; }
.hframe, .hframe img, .hbaked { position: absolute; inset: 0; width: 100%; height: 100%; }
.hframe { z-index: 2; }
.hbaked { z-index: 3; }
.hlive { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hscr { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform-origin: 0 0; overflow: hidden; background: #fff; }
.hpage { position: absolute; left: 0; top: 0; width: 1440px; max-width: none; height: auto; opacity: 0; transition: opacity .9s var(--ease); will-change: transform; }
.hpage.on { opacity: 1; }
.hglare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 32%); }
.js .hero .hstage { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.js .hero.ready .hstage { opacity: 1; }
.js .hero-copy > * { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .hero.ready .hero-copy > * { opacity: 1; transform: none; }
.js .hero.ready .hero-copy > :nth-child(2) { transition-delay: .06s; }
.js .hero.ready .hero-copy > :nth-child(3) { transition-delay: .12s; }
.js .hero.ready .hero-copy > :nth-child(4) { transition-delay: .18s; }
.js .hero.ready .hero-copy > :nth-child(5) { transition-delay: .24s; }
/* подпись к продукту — справа от экрана, как выноска */
.hero-cap { position: absolute; z-index: 3; left: calc(50% + min(600px, 43vw) * .32); top: 22%; display: grid; gap: 6px; max-width: 320px; font-size: 14px; line-height: 1.4; color: #8e8e93; text-align: left; }
.hero-cap b { font-weight: 600; color: #e8e8ed; }
.hero-cap .live { display: inline-flex; align-items: center; gap: 7px; }
.hero-cap .live span { color: #a1a1a6; }
.buy-pill {
  flex: none; display: flex; align-items: center; gap: 20px;
  padding: 10px 10px 10px 24px; border-radius: 999px;
  background: rgba(44, 44, 46, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.buy-pill p { font-size: 15px; line-height: 1.4; color: #f5f5f7; display: grid; }
.buy-pill p > span + span { color: var(--on-night-2); font-size: 14px; }
.buy-pill .btn { min-height: 40px; padding: 8px 18px 8px 16px; font-size: 15px; }
.js .buy-pill { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out) .45s, transform 1s var(--ease-out) .45s; }
.js .ready .buy-pill { opacity: 1; transform: none; }

/* ==========================================================================
   2. Работы
   ========================================================================== */
.works { background: #000; color: var(--on-night); padding: 112px 0 120px; }
.works .sec-head .more { color: var(--link-night); }
.live-line { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; color: #30d158; }
.live-line span { color: var(--on-night-2); }
.gal { position: relative; }
.gal-track {
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2));
  scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2));
}
.gal-track::-webkit-scrollbar { display: none; }
.gcard { position: relative; flex: 0 0 min(var(--wrap), 100vw - 2 * var(--gut)); height: 680px; border-radius: 28px; overflow: hidden; background: #161617; scroll-snap-align: start; }
.gc-copy { position: absolute; z-index: 3; top: 44px; left: 48px; right: 48px; max-width: 600px; }
.gc-copy p { font-size: 18px; line-height: 1.42; letter-spacing: -0.014em; color: var(--on-night-2); }
.gc-copy p b { color: #f5f5f7; font-weight: 600; }
.gc-links { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.gc-links .more { font-size: 17px; color: var(--link-night); }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #30d158; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st:empty { display: none; }
.st.down { color: #8e8e93; }
.gc-media { position: absolute; left: 48px; right: 48px; bottom: -64px; }
.gc-media .browser { width: 80%; }
.browser { border-radius: 14px; overflow: hidden; background: #2a2a2c; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }
.bbar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #2c2c2e; }
.bbar i { width: 11px; height: 11px; border-radius: 50%; background: #48484a; }
.bbar span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: #a1a1a6; background: #1c1c1e; padding: 3px 18px; border-radius: 7px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.gc-media .phone.sm { position: absolute; width: 224px; right: 0; bottom: 104px; --ph-shadow: 0 30px 60px rgba(0,0,0,.6); }
.phone.sm .screen img, .screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gal-ctl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.dots { display: flex; align-items: center; padding: 0 12px; height: 56px; border-radius: 999px; background: #232325; }
.dot { width: 22px; height: 44px; display: grid; place-items: center; }
.dot svg { width: 8px; height: 8px; overflow: visible; transition: width .5s var(--ease-out); }
.dot .d-bg { fill: #6e6e73; transition: fill .3s; }
.dot .d-fill { fill: #f5f5f7; transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.dot[aria-current] { width: 58px; }
.dot[aria-current] svg { width: 46px; }
.dot[aria-current] .d-bg { fill: #48484a; }
.dot[aria-current] .d-fill { transform: scaleX(1); }
.gal.playing .dot[aria-current] .d-fill { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pp { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #232325; color: #f5f5f7; }
.pp .i-play { display: none; }
.gal:not(.playing) .pp .i-pause { display: none; }
.gal:not(.playing) .pp .i-play { display: block; }
.pad, .gal-count { display: none; }
.pad { width: 48px; height: 48px; border-radius: 50%; place-items: center; background: #232325; color: #f5f5f7; }
.pad:disabled { opacity: .4; }
.pad.on-light { display: grid; background: #e3e3e8; color: #1d1d1f; }
.pad.on-light:disabled { opacity: .45; cursor: default; }
.gal-count { font-size: 15px; color: var(--on-night-2); min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
.gal-count b { color: #f5f5f7; font-weight: 600; }
.gal-count.light { color: var(--ink-2); }
.gal-count.light b { color: var(--ink); }
.all-btn-wrap { display: none; }

.all[data-all] { margin-top: 96px; }
.all-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--night-line); }
.all-head .h3 { color: #f5f5f7; }
.all-close { display: none; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #1d1d1f; gap: 2px; }
.seg button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 16px 6px 13px; border-radius: 999px; font-size: 14px; color: var(--on-night-2); transition: background .25s, color .25s; white-space: nowrap; }
.seg button svg { opacity: .8; }
.seg button[aria-pressed="true"] { background: #f5f5f7; color: #1d1d1f; }
.all-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.all-list li { border-bottom: 1px solid #2a2a2c; }
.all-list li[hidden] { display: none; }
.all-list a { display: grid; grid-template-columns: 128px 1fr auto; grid-template-rows: auto auto; column-gap: 20px; align-items: center; padding: 14px 0; }
.all-list img { grid-row: 1 / 3; width: 128px; height: 80px; border-radius: 10px; object-fit: cover; object-position: top; background: #1d1d1f; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.all-list .n { font-size: 17px; font-weight: 600; color: #f5f5f7; align-self: end; }
.all-list .t { grid-column: 2; font-size: 14px; color: var(--on-night-3); align-self: start; }
.all-list .d { grid-row: 1; grid-column: 3; font-size: 14px; color: var(--link-night); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; justify-self: end; align-self: end; }
.all-list .st { grid-row: 2; grid-column: 3; justify-self: end; align-self: start; font-size: 14px; }
.all-list a:hover .n { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   3. Что я делаю: витрины
   ========================================================================== */
.line { padding: 112px 0 12px; background: #fff; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; }
.tile { position: relative; overflow: hidden; text-align: center; display: flex; flex-direction: column; min-height: 700px; background: var(--bg-2); color: var(--ink); }
.tile.full { grid-column: 1 / -1; min-height: 780px; }
.tile-copy { position: relative; z-index: 3; padding: 52px 28px 0; }
.tile .h3 { font-size: 32px; line-height: 1.125; letter-spacing: -0.022em; }
.tile .tag { font-size: 18px; line-height: 1.4; letter-spacing: -0.014em; margin-top: 8px; }
.tile .meta { font-size: 15px; line-height: 1.45; color: var(--ink-2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.tile .btns { margin-top: 18px; }
.tile .btn.sm { gap: 7px; padding: 8px 17px 8px 14px; }
.tile .btn.sm svg { width: 14px; height: 14px; }
.tile .ex { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.tile .ex a { display: inline; }
.tile .ex a svg { display: inline-block; margin-left: 4px; vertical-align: 1px; }
.tile .ex a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.t-light { background: #f5f5f7; }
.t-sand { background: #e9e3d8; }
.t-sand .meta, .t-sand .ex { color: #5e574c; }
.t-night { background: radial-gradient(120% 80% at 50% 110%, #12213d 0%, #070d1a 55%, #000 100%); color: #f5f5f7; }
.t-graphite { background: #000; color: #f5f5f7; }
.t-night .meta, .t-graphite .meta, .t-night .ex, .t-graphite .ex { color: var(--on-night-2); }
.t-night .btn.ghost, .t-graphite .btn.ghost { color: var(--link-night); box-shadow: inset 0 0 0 1px var(--link-night); }
.t-night .btn.ghost:hover, .t-graphite .btn.ghost:hover { background: var(--link-night); color: #000; }
.t-night .ex a:hover, .t-graphite .ex a:hover { color: var(--link-night); }
.tile-media { position: relative; flex: 1; min-height: 380px; margin: 10px 0 0; }
.tile-media > img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: 50% 100%; transform: translateX(-50%); transition: transform 1.2s var(--ease-out), opacity .8s var(--ease);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 94%, transparent 100%);
  mask-composite: intersect; }
.t-light .tile-media > img { mix-blend-mode: multiply; }
.tile:hover .tile-media > img { transform: translateX(-50%) scale(1.015); }
.tile-media.bleed > img { height: 116%; bottom: -9%; max-width: 104%; }
#t-site .tile-media.bleed > img { height: 120%; bottom: -12%; }
.tm-cab.bleed > img { height: 118%; bottom: -12%; }
.tile-media .credit { position: absolute; left: 24px; bottom: 18px; z-index: 3; text-align: left; max-width: 60%; }
.tile-media .credit a { color: var(--link-night); display: inline-flex; align-items: center; gap: 3px; }

/* магазин: обмен с 1С идёт по строкам */
.sync { position: absolute; z-index: 3; left: 28px; bottom: 28px; width: 300px; padding: 16px 16px 10px; border-radius: 18px; text-align: left;
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 18px 40px rgba(60, 45, 20, .16), inset 0 0 0 1px rgba(255,255,255,.6); color: var(--ink); }
.sync-h { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sync-h svg { color: var(--btn); transition: transform .6s var(--ease); }
.sync.busy .sync-h svg { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sync-h b { font-weight: 600; }
.sync-st { margin-left: auto; font-size: 13px; color: var(--ink-2); }
.sync ul { margin-top: 8px; }
.sync li { position: relative; display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(0,0,0,.07); font-size: 14px; }
.sync li em { font-style: normal; color: var(--ink-2); font-size: 13px; }
.sync li i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #30a14e; color: #fff; transform: scale(1); transition: transform .3s var(--ease-out), background .3s; }
.sync li i svg { width: 12px; height: 12px; }
.sync li.run i { background: transparent; box-shadow: inset 0 0 0 2px rgba(10,102,216,.25); border-top: 2px solid var(--btn); animation: spin .7s linear infinite; }
.sync li.run i svg { opacity: 0; }
.sync li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--btn); border-radius: 2px; }
.sync li.run::after { width: 100%; transition: width .6s linear; }
.sync li.ok i { animation: pop .35s var(--ease-out); }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* бот: ночь в ускоренной съёмке */
.tm-phone { display: flex; justify-content: center; align-items: flex-start; min-height: 0; overflow: hidden; }
.tm-phone .phone { width: 300px; margin-top: 6px; margin-bottom: -240px; --ph-shadow: 0 30px 70px rgba(0,0,0,.65); }
.tm-phone .lock .clock { margin-top: calc(10 * var(--u)); }
.tm-phone .lock .clock .t { font-size: min(calc(60 * var(--u)), 42px); }
.tm-phone .lock .stack { top: calc(190 * var(--u)); bottom: auto; }
.tm-phone .nt { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.tm-phone .nt:not(.show) { opacity: 0; transform: translateY(-10px) scale(.97); }

/* мини-приложение: владелец отмечает «готово» — гость видит это сразу */
.tm-app { display: flex; justify-content: center; align-items: flex-start; overflow: hidden; }
.app-phone { width: 280px; margin-top: 12px; margin-bottom: -200px; --ph-shadow: 0 30px 60px rgba(0,0,0,.14); transform: translateX(-90px); }
.app-shot { position: absolute; inset: 0; }
.app-shot.ready { opacity: 0; transition: opacity .45s var(--ease); }
.free .app-shot.ready { opacity: 1; }
@keyframes ping { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }
.app-toast { position: absolute; z-index: 3; left: 50%; top: 3.4%; transform: translate(-50%, -12px); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 99px; background: rgba(20,20,22,.86); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .35s, transform .45s var(--ease-out); }
.app-toast svg { color: #30d158; }
.free .app-toast { opacity: 1; transform: translate(-50%, 0); transition-delay: .25s; }
.owner { position: absolute; z-index: 3; right: 26px; bottom: 30px; width: 236px; padding: 14px 16px 6px; border-radius: 18px; text-align: left;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12), inset 0 0 0 1px rgba(255,255,255,.7); }
.owner-h { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
.owner .switch { margin-top: 4px; font-size: 15px; }

/* кабинет: репетитор / ученик */
.role { display: inline-flex; gap: 2px; padding: 3px; margin-top: 16px; border-radius: 999px; background: #1d1d1f; }
.role button svg { flex: none; }
.role button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 15px 6px 12px; border-radius: 999px; font-size: 14px; color: var(--on-night-2); transition: background .25s, color .25s; }
.role button[aria-pressed="true"] { background: #f5f5f7; color: #1d1d1f; }
.tm-cab > img.cab-v { opacity: 0; }
.tm-cab > img.cab-v.on { opacity: 1; }

/* лента и полоса поддержки */
.rail-ctl { display: none; }
.strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 12px 12px 0; padding: 26px 40px; background: #1d1d1f; color: #f5f5f7; transition: background .25s; }
.strip:hover { background: #262628; }
.care-t { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--on-night-2); }
.care-t > svg { color: #f5f5f7; flex: none; }
.care-t b { color: #f5f5f7; font-weight: 600; }
.strip .more { color: var(--link-night); white-space: nowrap; font-size: 17px; }

/* ==========================================================================
   4. Как я работаю
   ========================================================================== */
.how { background: #f5f5f7; padding: 112px 0 96px; }
.how .h2 { max-width: 700px; }
.scrub { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 40px; }
.scrub-line { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 21px; height: 2px; background: #d2d2d7; border-radius: 2px; }
.scrub-line i { position: absolute; inset: 0; background: var(--btn); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease-out); border-radius: 2px; }
.scrub-t { position: relative; display: grid; justify-items: center; gap: 2px; padding: 12px 6px 6px; min-height: 44px; text-align: center; }
.scrub-t .sd { width: 20px; height: 20px; margin-bottom: 10px; overflow: visible; }
.scrub-t .sd circle { fill: #f5f5f7; stroke: #c7c7cc; stroke-width: 2; transition: fill .3s, stroke .3s; }
.scrub-t.done .sd circle { stroke: var(--btn); }
.scrub-t[aria-selected="true"] .sd circle { fill: var(--btn); stroke: var(--btn); filter: drop-shadow(0 0 4px rgba(10,102,216,.35)); }
.scrub-t .w { font-size: 14px; color: var(--ink-2); }
.scrub-t .t { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.scrub-t[aria-selected="true"] .t { color: var(--ink); }
.how-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 96px; align-items: start; margin-top: 44px; }
.how-copy { padding-top: 40px; }
.how-p .how-w { font-size: 15px; font-weight: 600; color: var(--link); }
.how-p .h3 { margin-top: 6px; }
.how-tx { font-size: 19px; line-height: 1.45; color: var(--ink-2); margin-top: 12px; max-width: 560px; }
.how-you { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 16px; color: var(--ink); }
.how-you svg { color: #1a8f3c; flex: none; }
.how-next { margin-top: 18px; font-size: 17px; min-height: 44px; }
.js .how-p:not([hidden]) { animation: swapIn .6s var(--ease-out); }
.how-phone { display: flex; justify-content: center; height: 560px; overflow: hidden; align-items: flex-start;
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }
.how-phone .phone { width: 320px; --ph-shadow: 0 30px 60px rgba(0,0,0,.14); flex: none; }
.how-phone .scr { --u: calc(100cqw / 350); }
.how-phone .chat-body { justify-content: flex-start; }
.how-phone .chat-body:not([hidden]) > * { animation: swapIn .5s var(--ease-out) both; }
.how-phone .chat-body > :nth-child(2) { animation-delay: .08s; } .how-phone .chat-body > :nth-child(3) { animation-delay: .16s; }
.how-phone .chat-body > :nth-child(4) { animation-delay: .24s; } .how-phone .chat-body > :nth-child(5) { animation-delay: .32s; }

/* ==========================================================================
   5. Цены: сравнение и смета
   ========================================================================== */
.cmp { padding: 112px 0 112px; background: #fff; }
.cmp-head { text-align: center; max-width: 760px; margin: 0 auto; }
.cmp-head p { margin-top: 12px; font-size: 15px; }
.cmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.cmp-col { text-align: center; min-width: 0; }
.cmp-sel { position: relative; display: block; }
.cmp-sel select { width: 100%; height: 48px; appearance: none; -webkit-appearance: none; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  font: 600 17px/1 var(--font); letter-spacing: -0.012em; padding: 0 44px 0 16px; cursor: pointer; text-overflow: ellipsis; }
.cmp-sel svg { position: absolute; right: 16px; top: 50%; margin-top: -7px; pointer-events: none; color: var(--ink-2); }
.cmp-img { position: relative; height: 248px; margin: 22px 0; border-radius: 20px; background: #fff; overflow: hidden; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.cmp-img img { position: absolute; left: 4%; top: 5%; width: 92%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.cmp-ic { width: 120px; height: 120px; border-radius: 50%; background: #f5f5f7; display: grid; place-items: center; color: var(--ink); }
.cmp-name { font-size: 21px; font-weight: 600; letter-spacing: -0.016em; }
.cmp-price { font-size: 17px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.cmp-term { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.cmp-act { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.cmp-act .btn.sm { gap: 7px; padding: 8px 16px 8px 13px; }
.cmp-grp { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.cmp-grp h3 { font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 12px; }
.cmp-list li, .cmp-add li { font-size: 15px; line-height: 1.43; padding: 4px 0; }
.cmp-add li b { font-weight: 400; color: var(--ink-2); }
.cmp-add li.none { color: var(--ink-3); }
.cmp-grp p { font-size: 15px; }
/* пример в колонке — обычная строчная ссылка: inline-flex съедал пробел перед последним словом */
.cmp-grp .more { display: inline; }
.cmp-grp .more svg { vertical-align: 0; }
.cmp-col.swap .cmp-img img, .cmp-col.swap .cmp-name, .cmp-col.swap .cmp-price { animation: swapIn .5s var(--ease-out); }

.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; margin-top: 80px; padding: 40px; border-radius: 28px; background: #f5f5f7; scroll-margin-top: 70px; }
.cfg-h { font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: -0.02em; }
.build-form { display: grid; gap: 28px; margin-top: 24px; }
.bf-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.bf-step legend { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.bf-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bf-kinds.k4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kind, .opt { position: relative; cursor: pointer; transition: box-shadow .2s, background .2s; }
.kind { display: grid; gap: 2px; align-content: center; min-height: 66px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.kind input, .opt input, .seg.wide input, .switch input { position: absolute; opacity: 0; pointer-events: none; }
.kind:has(input:checked) { box-shadow: inset 0 0 0 2px var(--btn); }
.kind:has(input:focus-visible), .opt:has(input:focus-visible), .seg.wide label:has(input:focus-visible), .switch:has(input:focus-visible) { outline: 2px solid var(--btn); outline-offset: 2px; }
.k-name { font-size: 16px; font-weight: 600; letter-spacing: -0.012em; }
.k-meta { font-size: 14px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.opt[hidden] { display: none; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--btn); background: #eef5ff; }
.o-box { width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #aeaeb2; display: grid; place-items: center; color: transparent; transition: background .2s, box-shadow .2s; }
.opt:has(input:checked) .o-box { background: var(--btn); box-shadow: none; color: #fff; }
.o-name { font-size: 15px; font-weight: 500; }
.o-price { font-size: 14px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pages-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pages-row .small { font-size: 15px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.stepper button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.stepper button:hover { background: #f5f5f7; }
.stepper button:disabled { color: #c7c7cc; cursor: default; background: none; }
.stepper svg { width: 16px; height: 16px; }
.stepper output { min-width: 110px; text-align: center; font-size: 16px; font-weight: 600; }
.sup-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.seg.wide { display: inline-grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 0; padding: 3px; border-radius: 14px; background: #e8e8ed; }
.seg.wide label { position: relative; display: grid; justify-items: center; text-align: center; padding: 7px 10px; min-height: 52px; border-radius: 11px; cursor: pointer; font-size: 15px; font-weight: 600; transition: background .2s, box-shadow .2s; }
.seg.wide label small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.seg.wide label:has(input:checked) { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.switch { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; font-size: 15px; font-weight: 600; text-align: left; }
.switch small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.switch .sw { width: 51px; height: 31px; flex: none; border-radius: 99px; background: #d9d9de; position: relative; transition: background .25s; }
.switch .sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 1px 1px rgba(0,0,0,.16); transition: transform .25s var(--ease-out); }
.switch:has(input:checked) .sw { background: #30c55a; }
.cfg .switch:has(input:checked) .sw { background: var(--btn); }
.switch:has(input:checked) .sw::after { transform: translateX(20px); }
.cfg-sum { position: sticky; top: 76px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 0 24px 24px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.06); overflow: hidden; }
.cfg-vis { position: relative; height: 170px; margin: 0 -24px 14px; background: #fff; border-bottom: 1px solid var(--line-2); }
.cfg-vis img { position: absolute; left: 50%; top: 50%; width: auto; height: 86%; max-width: 88%; object-fit: contain; transform: translate(-50%, -50%) scale(.97); opacity: 0; transition: opacity .5s var(--ease), transform .7s var(--ease-out); mix-blend-mode: multiply; }
.cfg-vis img.on { opacity: 1; transform: translate(-50%, -50%); }
.cfg-label { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.bar-tot { font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bar-tot b { font-weight: 600; }
.bar-term { font-size: 15px; color: var(--ink-2); }
.cfg-lines { margin: 14px 0 18px; padding-top: 14px; border-top: 1px solid var(--line-2); display: grid; gap: 8px; font-size: 14px; }
.cfg-lines li { display: flex; justify-content: space-between; gap: 12px; }
.cfg-lines li span:last-child { color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cfg-sum .btn { width: 100%; }
.s-s { display: none; }

/* ==========================================================================
   6. Обо мне
   ========================================================================== */
.about { padding: 112px 0; background: #f5f5f7; color: var(--ink); }
.about-in { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 96px; align-items: center; }
.poster { position: relative; border-radius: 32px; overflow: hidden; background: #111; aspect-ratio: 4 / 5; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 28px 26px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.78)); display: grid; gap: 2px; }
.poster figcaption b { font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.poster figcaption > span { font-size: 15px; color: #c7c7cc; }
.about .h2 .mute { color: var(--ink-2); }
.about-copy p { font-size: 18px; line-height: 1.5; color: var(--ink-2); margin-top: 18px; max-width: 600px; }
.about-copy .h2 + p { margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 15px; color: var(--ink); max-width: 640px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { color: var(--ink-2); }
.facts .live { color: #137333; }
.facts .live svg { color: #30d158; }
.acts { display: flex; gap: 14px; margin-top: 32px; }
.act { display: grid; justify-items: center; gap: 8px; min-width: 76px; font-size: 13px; color: var(--ink-2); }
.act .ai { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: background .2s; }
.act:hover .ai { background: #fafafa; }
.act:first-child .ai { background: var(--btn); color: #fff; }
.act:first-child:hover .ai { background: var(--btn-h); }

/* ==========================================================================
   7. Поддержка по подписке — тёмная вставка: текст + панель присмотра за сайтами
   ========================================================================== */
.care { position: relative; padding: 120px 0; overflow: hidden; color: var(--on-night);
  background: radial-gradient(80% 90% at 88% 0%, #12274a 0%, #07101f 42%, #000 78%); }
.care::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(74,160,255,0), rgba(74,160,255,.5), rgba(74,160,255,0)); }
.care-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 80px; align-items: center; }
.care-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #7cc0ff; }
.care-h { margin-top: 14px; }
.care .h2 .mute { color: var(--on-night-3); }
.care-text { font-size: 18px; line-height: 1.5; color: var(--on-night-2); margin-top: 20px; max-width: 540px; }
.care-inc { display: grid; gap: 12px; margin-top: 26px; font-size: 16px; line-height: 1.4; color: #e8e8ed; }
.care-inc li { display: flex; align-items: center; gap: 12px; }
.care-inc svg { flex: none; color: var(--link-night); }
.care-plans { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cp { display: grid; gap: 2px; min-width: 156px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.cp > span { font-size: 14px; color: var(--on-night-2); }
.cp b { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.care .btns { margin-top: 30px; }
.care .more { color: var(--link-night); font-size: 17px; min-height: 44px; display: inline-flex; align-items: center; }
.care-board { position: relative; border-radius: 28px; padding: 24px 26px 18px; background: linear-gradient(180deg, rgba(36,36,40,.9), rgba(18,18,20,.94));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 40px 90px rgba(0,0,0,.55); }
.cb-head { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.09); }
.cb-t { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.cb-t svg { color: #30d158; }
.cb-sum { font-size: 14px; color: var(--on-night-2); padding-left: 26px; }
.cb-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.cb-n { display: grid; gap: 1px; min-width: 0; }
.cb-n b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-n i { font-style: normal; font-size: 14px; color: var(--on-night-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-list .st { flex: none; color: var(--on-night-3); }
.cb-list .st svg { color: #48484a; }
.has-status .cb-list .st { color: #e8e8ed; }
.has-status .cb-list .st svg { color: #30d158; }
.cb-list .st.down svg { color: #ff453a; }
.cb-foot { display: grid; gap: 8px; padding-top: 14px; font-size: 14px; color: var(--on-night-2); }
.cb-foot p { display: flex; align-items: center; gap: 8px; }
.cb-foot svg { flex: none; color: var(--on-night-3); }

/* ==========================================================================
   8. Вопросы и связь
   ========================================================================== */
.ask { padding: 112px 0; background: #fff; }
.ask-in { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 96px; align-items: start; }
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0; cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: -0.014em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; color: var(--ink-2); transition: transform .35s var(--ease-out); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa-a p { font-size: 17px; line-height: 1.53; color: var(--ink-2); padding: 0 48px 24px 0; max-width: 680px; }
.qa[open] .qa-a { animation: swapIn .45s var(--ease-out); }
.faq-more { display: none; }
.talk { position: sticky; top: 80px; }
.talk-phone { display: flex; justify-content: center; height: 420px; overflow: hidden; border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #f5f5f7, #ececf0); padding-top: 34px; }
.talk-phone .phone { width: 280px; --ph-shadow: 0 30px 50px rgba(0,0,0,.14); }
.talk-phone .chat-body { justify-content: flex-start; padding-top: calc(16 * var(--u)); }
.talk-copy { background: #f5f5f7; border-radius: 0 0 28px 28px; padding: 28px 28px 30px; }
.talk-copy .h2 { font-size: 26px; line-height: 1.15; }
.talk-lead { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 14px 7px 11px; border-radius: 999px; font-size: 14px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s; }
.chip svg { color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip[aria-pressed="true"] svg { color: #fff; }
.talk-copy .btns { margin-top: 20px; }
.talk-copy .cap { margin-top: 12px; }
.chat .ava.ph { background: #222; overflow: hidden; }
.chat .ava.mono { background: linear-gradient(180deg, #48484a, #1d1d1f); color: #f5f5f7; letter-spacing: .01em; }
.chat .ava.ph img { width: 100%; height: 100%; object-fit: cover; }
.chat-head .who i.on { color: #2c87d1; }
.msg .li { display: block; padding-left: calc(20 * var(--u)); position: relative; }
.msg .li::before { content: ""; position: absolute; left: 0; top: calc(4 * var(--u)); width: calc(12 * var(--u)); height: calc(7 * var(--u)); border-left: calc(2 * var(--u)) solid #2fa84f; border-bottom: calc(2 * var(--u)) solid #2fa84f; transform: rotate(-45deg); }
.msg .nx { display: block; margin-top: calc(6 * var(--u)); color: #6b7378; font-size: calc(14.5 * var(--u)); }
.msg.pre, .kb.pre { opacity: 0; transform: translateY(6px) scale(.98); }
.msg, .kb { transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.msg.swap { animation: swapIn .45s var(--ease-out); }

/* ==========================================================================
   Подвал
   ========================================================================== */
.foot { background: #f5f5f7; color: var(--ink-2); font-size: 12px; line-height: 1.4; padding: 36px 0 28px; }
.foot a { color: #424245; }
.foot a:hover { text-decoration: underline; }
.notes { list-style: decimal; padding-left: 1.3em; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.notes li { margin-bottom: 8px; padding-left: 2px; scroll-margin-top: 80px; }
.notes li:target { color: var(--ink); }
.notes a { color: var(--link); }
.dir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 26px 0 30px; }
.dir h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.dir summary { list-style: none; cursor: default; }
.dir summary::-webkit-details-marker { display: none; }
.dir summary svg { display: none; }
.dir li { margin-bottom: 9px; }
.legal { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.geo { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; color: var(--ink); }
.geo svg { color: var(--link); }

/* ==========================================================================
   Посадочная «Боты»
   ========================================================================== */
.lnav { position: sticky; top: 0; z-index: 45; height: 0; }
/* свой слой: иначе WebKit рисует составные слои «Ночной смены» поверх липкой навигации нулевой высоты */
.lnav .in { transform: translateZ(0); }
.lnav .in {
  position: relative; top: 8px; width: min(1040px, 100% - 2 * var(--gut)); margin: 0 auto; height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 8px 0 20px; border-radius: 999px;
  background: rgba(30, 30, 32, .74); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.18); color: #f5f5f7;
}
.lnav-t { font-size: 17px; font-weight: 600; letter-spacing: -0.016em; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.lnav-links { display: flex; gap: 2px; }
.lnav-links a { position: relative; font-size: 13px; color: rgba(245,245,247,.78); padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.lnav-links a:hover, .lnav-links a[aria-current] { color: #fff; }
.lnav-links a[aria-current]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 9px; height: 2px; border-radius: 2px; background: var(--link-night); }
.lnav .btn.sm { min-height: 36px; padding: 7px 16px 7px 13px; font-size: 14px; gap: 7px; }
.lnav .btn.sm svg { width: 14px; height: 14px; }
.p-bots .gnav { position: relative; }

.bhero { position: relative; min-height: min(100svh - 48px, 960px); display: grid; align-items: end; overflow: hidden; background: #03050a; }
.bhero-media { position: absolute; inset: 0; margin: 0; }
.bhero-media picture, .bhero-media img { width: 100%; height: 100%; }
.bhero-media img { object-fit: cover; object-position: 50% 62%; }
.js .bhero-media img { opacity: 0; transform: scale(1.04); transition: opacity 1.8s var(--ease-out), transform 3s var(--ease-out); }
.js .bhero.ready .bhero-media img { opacity: 1; transform: none; }
.bhero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,5,10,.66) 0%, rgba(3,5,10,0) 36%), linear-gradient(0deg, rgba(3,5,10,.55) 0%, rgba(3,5,10,0) 30%); }
.bhero-copy { position: relative; z-index: 2; min-height: min(100svh - 48px, 960px); display: flex; flex-direction: column; justify-content: space-between; padding: 112px 0 48px; }
.bhero .eyebrow { color: #a8b3c7; margin-bottom: 10px; }
.bhero .h1 { color: #f5f5f7; }
.bhero .lead { color: #c3c9d4; margin-top: 14px; max-width: 540px; }
.bhero .buy-pill { align-self: flex-end; background: rgba(20, 26, 40, .6); }
.js .bhero .hero-text > * { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .bhero.ready .hero-text > * { opacity: 1; transform: none; }
.js .bhero.ready .hero-text > :nth-child(2) { transition-delay: .1s; }
.js .bhero.ready .hero-text > :nth-child(3) { transition-delay: .2s; }

/* ночная смена */
.night { --dawn: 0; background: #050a16; color: #f5f5f7; }
.night-track { height: 300vh; }
.night-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; align-items: center;
  background: radial-gradient(70% 60% at 78% 18%, rgba(120, 150, 205, calc(.10 + .22 * var(--dawn))), rgba(0,0,0,0) 70%), linear-gradient(180deg, color-mix(in srgb, #050a16 calc(100% - 55% * var(--dawn)), #2a3447), #050a16); }
.night-in { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: center; }
.night .h2 { color: #f5f5f7; }
.night .h2 .mute { color: #8a93a6; }
.night-steps { margin-top: 36px; display: grid; gap: 2px; }
.ns-b { width: 100%; display: grid; grid-template-columns: 22px 56px 1fr; gap: 12px; align-items: start; padding: 14px 10px; margin: 0 -10px; border-radius: 14px; text-align: left; color: #707a8d; transition: color .4s, background .25s; }
.ns-b:hover { background: rgba(255,255,255,.05); }
.ns-b svg { margin-top: 2px; }
.ns-b b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ns-b span { font-size: 17px; line-height: 1.47; }
.ns.on .ns-b { color: #f5f5f7; }
.ns.on .ns-b b, .ns.on .ns-b svg { color: #8fb4ff; }
.night-note { margin-top: 18px; font-size: 14px; color: #7d8699; }
.night-phone { position: relative; display: flex; justify-content: center; }
.night-phone .phone { width: min(380px, calc((100vh - 140px) * 900 / 1778)); --ph-shadow: 0 40px 90px rgba(0,0,0,.6); }
.night .lock .clock .t { font-size: min(calc(60 * var(--u)), 46px); }
.night .lock .stack { top: calc(200 * var(--u)); bottom: auto; }
.night .lock .nt { opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), background .25s; pointer-events: none; }
.night .lock .nt.show { opacity: 1; transform: none; pointer-events: auto; }
.lock-hint { position: absolute; left: 0; right: 0; bottom: calc(40 * var(--u)); display: flex; align-items: center; justify-content: center; gap: calc(6 * var(--u)); font-size: calc(13 * var(--u)); color: rgba(255,255,255,.7); }
.lock-hint svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.lock { transition: transform .5s var(--ease-out), opacity .4s var(--ease); }
.lock.away { transform: scale(.94); opacity: 0; pointer-events: none; }
.nchat { transform: translateX(100%); transition: transform .45s var(--ease-out); z-index: 3; }
.nchat.on { transform: none; }

/* утро */
.morning { position: relative; background: #1a120b; color: #fff; overflow: hidden; }
.morning-media { margin: 0; }
.morning-media img { width: 100%; height: auto; aspect-ratio: 1440 / 804; object-fit: cover; }
.morning-copy { position: absolute; left: 0; right: 0; top: 64px; z-index: 2; }
.morning-copy .h2 { color: #fff; max-width: 560px; text-shadow: 0 1px 24px rgba(40,20,0,.35); }
.morning-copy .h2 .mute { color: rgba(255,255,255,.78); }
.morning-copy p { margin-top: 14px; max-width: 460px; font-size: 18px; line-height: 1.45; color: rgba(255,255,255,.88); text-shadow: 0 1px 18px rgba(40,20,0,.4); }
.morning::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 55%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(26,14,4,.55), rgba(26,14,4,0)); }

/* что умеет бот */
.look { padding: 112px 0; background: #f5f5f7; }
.look-in { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 52px; min-height: 640px; }
.look-pills { display: grid; gap: 10px; align-content: center; }
.look-pills li { justify-self: start; border-radius: 28px; background: #fff; overflow: hidden; max-width: 400px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.lp-btn { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 22px 10px 12px; font-size: 17px; font-weight: 600; color: var(--ink); text-align: left; }
.lp-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.look-pills li.open .lp-btn { display: none; }
.lp-body { display: none; padding: 22px 26px 24px; }
.look-pills li.open .lp-body { display: block; animation: swapIn .5s var(--ease-out); }
.lp-body p, .look-desc p { font-size: 17px; line-height: 1.47; color: var(--ink-2); }
.lp-body p b, .look-desc p b { color: var(--ink); font-weight: 600; }
.look-stage { display: flex; justify-content: center; }
.look-stage .phone { width: 340px; --ph-shadow: 0 34px 70px rgba(0,0,0,.16); }
.look-stage .screen .scr { opacity: 0; transition: opacity .45s var(--ease); }
.look-stage .screen .scr.on { opacity: 1; }
.look-desc { display: none; }
.also { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.also-h { font-size: 17px; font-weight: 600; }
.also-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 48px; margin-top: 18px; }
.also-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.also-list svg { color: var(--ink-2); flex: none; margin-top: 1px; }
.also-list .mute { color: var(--ink-2); }
.rkb { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: calc(6 * var(--u)); padding: calc(8 * var(--u)) calc(8 * var(--u)) calc(30 * var(--u)); background: #d1d5db; }
.rkb span { display: grid; place-items: center; min-height: calc(46 * var(--u)); border-radius: calc(8 * var(--u)); background: #fff; font-size: calc(15 * var(--u)); color: #000; box-shadow: 0 calc(1 * var(--u)) 0 rgba(0,0,0,.25); text-align: center; padding: 0 calc(6 * var(--u)); line-height: 1.15; }
.msg .nm { display: block; font-size: calc(13.5 * var(--u)); font-weight: 600; color: #b5562f; margin-bottom: calc(2 * var(--u)); }
.scr.app { background: #f2f2f7; color: #000; }
.app-head { flex: none; height: calc(50 * var(--u)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 calc(16 * var(--u)); background: #f9f9fb; border-bottom: calc(.6 * var(--u)) solid rgba(0,0,0,.12); }
.app-head b { font-size: calc(17 * var(--u)); font-weight: 600; }
.app-head .x { font-size: calc(16 * var(--u)); color: #0a84ff; }
.app-head .x.r { justify-self: end; }
.app-body { flex: 1; padding: calc(8 * var(--u)) calc(16 * var(--u)); overflow: hidden; }
.app-h { font-size: calc(13 * var(--u)); color: #6d6d72; text-transform: uppercase; letter-spacing: .02em; margin: calc(16 * var(--u)) calc(4 * var(--u)) calc(6 * var(--u)); }
.app-list { background: #fff; border-radius: calc(12 * var(--u)); overflow: hidden; }
.app-row { display: flex; align-items: center; gap: calc(10 * var(--u)); min-height: calc(46 * var(--u)); padding: 0 calc(14 * var(--u)); font-size: calc(16 * var(--u)); border-bottom: calc(.6 * var(--u)) solid rgba(0,0,0,.1); }
.app-row:last-child { border-bottom: 0; }
.app-row span:first-child { flex: 1; }
.app-row b { font-weight: 400; color: #3c3c43; }
.app-row i { font-style: normal; color: #0a84ff; font-size: calc(15 * var(--u)); }
.tgl { width: calc(46 * var(--u)); height: calc(28 * var(--u)); border-radius: 99px; background: #e9e9eb; position: relative; flex: none; }
.tgl.on { background: #34c759; }
.tgl::after { content: ""; position: absolute; top: calc(2 * var(--u)); left: calc(2 * var(--u)); width: calc(24 * var(--u)); height: calc(24 * var(--u)); border-radius: 50%; background: #fff; box-shadow: 0 calc(2 * var(--u)) calc(4 * var(--u)) rgba(0,0,0,.2); }
.tgl.on::after { left: calc(20 * var(--u)); }
.app-btn { margin: calc(20 * var(--u)) 0 0; height: calc(50 * var(--u)); border-radius: calc(12 * var(--u)); background: #0a84ff; color: #fff; display: grid; place-items: center; font-size: calc(17 * var(--u)); font-weight: 600; }

/* в работе: крупные экраны без рамок */
.cases { background: #fff; padding: 112px 0 96px; }
.cases .shelf-ctl { display: flex; gap: 12px; }
.shelf-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; align-items: flex-start;
  padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)); scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
.shelf-track::-webkit-scrollbar { display: none; }
.case { flex: 0 0 auto; scroll-snap-align: start; }
.case.wide { width: 720px; }
.case.tall { width: 300px; }
.case-shot { height: 450px; border-radius: 22px; overflow: hidden; background: #f5f5f7; box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px rgba(0,0,0,.06); }
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-shot picture { display: block; height: 100%; }
.case-shot.chat-shot { position: relative; container-type: inline-size; }
.scr.chat.flat { position: absolute; inset: 0; --u: calc(100cqw / 360); }
.case figcaption { font-size: 15px; line-height: 1.47; color: var(--ink-2); margin-top: 18px; max-width: 640px; }
.case figcaption b { color: var(--ink); font-weight: 600; }
.case figcaption .more { display: inline; font-size: 15px; }
.case figcaption .more svg { display: inline-block; vertical-align: 0; margin-left: 3px; }

/* цены на посадочной */
.bbuild { background: #fff; padding: 24px 0 112px; }
.bbuild .cfg { margin-top: 40px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.flow li { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: start; }
.flow .fn { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: #f5f5f7; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.flow b { font-size: 17px; font-weight: 600; }
.flow li > span:last-child { font-size: 15px; color: var(--ink-2); }

/* ==========================================================================
   Адаптив: 1068 / 900 / 734 / 360
   ========================================================================== */
@media (max-width: 1068px) {
  :root { --wrap: 980px; }
  .gnav .links a { padding: 0 8px; font-size: 12px; }
  .h1 { font-size: 42px; }
  .hero-copy { padding-top: 44px; }
  .hero-lead { font-size: 19px; }
  .hstage { width: 92vw; }
  .hero-cap { top: 18%; max-width: 300px; }
  .tile { min-height: 640px; }
  .tile.full { min-height: 700px; }
  .tile .h3 { font-size: 28px; }
  .sync { width: 260px; left: 18px; bottom: 18px; }
  .owner { right: 14px; bottom: 18px; width: 210px; }
  .gcard { height: 600px; }
  .gc-media { left: 32px; right: 32px; }
  .gc-media .phone.sm { width: 188px; }
  .all-list { column-gap: 32px; }
  .all-list a { grid-template-columns: 104px 1fr auto; }
  .all-list img { width: 104px; height: 65px; }
  .cmp-grid { gap: 18px; }
  .how-in { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
  .how-phone .phone { width: 300px; }
  .cfg { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding: 28px; }
  .cfg-sum .btn { font-size: 15px; padding-left: 14px; padding-right: 14px; }
  .bf-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-in { grid-template-columns: 340px minmax(0, 1fr); gap: 56px; }
  .care-in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; }
  .ask-in { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .talk-phone .phone { width: 250px; }
  .lnav-links a { padding: 0 7px; }
  .night-in { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
  .night-phone .phone { width: min(300px, calc((100vh - 140px) * 900 / 1778)); }
  .look-in { grid-template-columns: 360px minmax(0, 1fr); }
  .look-stage .phone { width: 300px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .case.wide { width: 600px; }
}

@media (max-width: 900px) {
  .gnav .links { display: none; }
  .menu-btn { display: grid; }
  .gnav .tg-ic { display: none; }
  .lnav-links { display: none; }
}

@media (max-width: 734px) {
  :root { --gut: 16px; }
  .h1 { font-size: 32px; line-height: 1.125; letter-spacing: -0.022em; }
  .h2 { font-size: 26px; line-height: 1.154; }
  .h3 { font-size: 24px; line-height: 1.167; }
  .lead { font-size: 17px; line-height: 1.47; }
  .cap { font-size: 14px; }
  .btn { min-height: 48px; }
  .btn.sm { min-height: 44px; padding: 10px 18px 10px 15px; font-size: 15px; }
  .gnav { background: #161617; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .gnav .btn.sm { position: relative; z-index: 0; min-height: 44px; padding: 0 14px 0 12px; font-size: 14px; background: none; }
  .gnav .btn.sm::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 6px; bottom: 6px; border-radius: 999px; background: var(--btn); }
  .more { min-height: 44px; }
  .lead .more, p .more { min-height: 0; padding: 12px 0; margin: -12px 0; }
  .sec-head { padding-bottom: 26px; }
  .sec-head.row { display: block; }
  .sec-head.row .more { margin-top: 8px; display: inline-flex; }
  .credit { font-size: 14px; }
  /* экраны устройств: на телефоне — «крупный шрифт», чтобы переписка читалась */
  .scr { --u: calc(100cqw / 320); }

  .hero { padding-bottom: 28px; }
  .hero-copy { padding-top: 30px; }
  .hero-kicker { font-size: 15px; }
  .hero-kicker .co { display: none; }
  .hero-h { font-size: clamp(26px, 7.7vw, 30px); line-height: 1.15; }
  .hero-lead { font-size: 17px; margin-top: 10px; }
  .hero-price { font-size: 15px; gap: 2px 16px; margin-top: 12px; }
  .hero-price i { display: none; }
  .hero-price .more { min-height: 0; padding: 12px 0; margin: -12px 0; }
  .hero-btns { margin-top: 18px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .hero-media { margin-top: 18px; }
  .hstage { width: 100%; aspect-ratio: 1200 / 739;
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); -webkit-mask-composite: source-over; mask-composite: add; }
  .hero-cap { position: static; max-width: none; justify-items: center; text-align: center; margin-top: 2px; padding: 0 var(--gut); }

  .works { padding: 72px 0 72px; }
  .live-line { font-size: 14px; }
  .gcard { height: 560px; border-radius: 24px; }
  .gc-copy { top: 24px; left: 20px; right: 20px; }
  .gc-copy p { font-size: 16px; line-height: 1.45; }
  .gc-media { left: 0; right: 0; bottom: -40px; display: flex; justify-content: center; }
  .gc-media .browser { display: none; }
  .gc-media .phone.sm { position: relative; left: auto; right: auto; bottom: auto; width: 230px; }
  .dots { display: none; }
  .pad { display: grid; }
  .gal-count { display: block; }
  .pp { width: 48px; height: 48px; }
  .gal-ctl { gap: 10px; }
  .all-link { display: none !important; }
  .all-btn-wrap { display: block; margin-top: 22px; }
  .all-btn { width: 100%; color: var(--link-night); box-shadow: inset 0 0 0 1px #48484a; }
  /* все работы — шторкой */
  .all[data-all] { position: fixed; inset: 0; z-index: 70; margin: 0; background: rgba(0,0,0,.6); display: none; align-items: flex-end; }
  .all[data-all].open { display: flex; }
  .all-in { width: 100%; max-height: 88svh; overflow-y: auto; overscroll-behavior: contain; background: #111113; border-radius: 22px 22px 0 0; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); animation: up .4s var(--ease-out); }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .all-head { position: sticky; top: -8px; z-index: 2; background: #111113; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 0 14px; }
  .all-head .seg { grid-column: 1 / -1; grid-row: 2; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .all-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #2c2c2e; color: #f5f5f7; }
  .seg button { min-height: 44px; padding: 8px 14px 8px 12px; }
  .all-list { grid-template-columns: 1fr; }
  .all-list a { grid-template-columns: 96px 1fr; column-gap: 14px; padding: 12px 0; }
  .all-list img { width: 96px; height: 60px; }
  .all-list .d { display: none; }
  .all-list .st { grid-row: auto; grid-column: 2; justify-self: start; }

  .line { padding: 64px 0 40px; }
  .tiles { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 0 var(--gut); scroll-padding: 0 var(--gut); }
  .tiles::-webkit-scrollbar { display: none; }
  .tile, .tile.full { flex: 0 0 86%; min-height: 0; border-radius: 24px; scroll-snap-align: start; }
  .tile-copy { padding: 30px 18px 0; }
  .tile .h3 { font-size: 24px; }
  .tile .tag { font-size: 16px; }
  .tile .meta { font-size: 15px; }
  .tile .ex { margin-top: 4px; font-size: 14px; }
  .tile .ex { margin-top: 10px; }
  .tile .ex a { padding: 14px 0; }
  .tile .btns { margin-top: 14px; gap: 10px; }
  .tile-media { flex: 1 0 300px; height: auto; min-height: 300px; margin-top: 8px; }
  /* картинка заполняет всё место под текстом: устройство уходит за край, без пустого поля сверху */
  .tile-media > img, .tile-media.bleed > img, #t-site .tile-media.bleed > img, .tm-cab.bleed > img { left: 0; bottom: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: none; }
  .tile:hover .tile-media > img { transform: none; }
  #t-site .tile-media > img { object-position: 0% 64%; }
  .tm-store > img { object-position: 40% 58%; }
  .tm-cab > img { object-position: 62% 58%; }
  .tile-media > img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%); mask-image: linear-gradient(180deg, transparent 0, #000 12%); }
  .tm-cab.bleed > img { bottom: 78px; height: calc(100% - 78px); }
  .tm-cab .credit { left: 18px; right: 18px; bottom: 10px; max-width: none; }
  .tm-cab .credit a { display: flex; width: fit-content; min-height: 44px; align-items: center; }
  .chat-head button.back { min-height: max(44px, calc(44 * var(--u))); }
  .tm-phone .phone { width: 250px; margin-bottom: 0; }
  .tm-phone .lock .clock .t { font-size: min(calc(60 * var(--u)), 30px); }
  .sync { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 12px 14px 6px; background: rgba(255,255,255,.9); }
  .sync-h { font-size: 14px; }
  .sync li { font-size: 14px; padding: 6px 0; }
  .sync li em, .sync-st { font-size: 14px; }
  .owner-h { font-size: 14px; }
  .sync li:nth-child(n+3) { display: none; }
  .app-phone { width: 230px; margin-bottom: 0; transform: translateX(-40px); }
  .owner { right: 10px; bottom: 12px; width: 180px; padding: 10px 12px 4px; }
  .owner .switch { font-size: 14px; }
  .owner .switch small { display: none; }
  .role { margin-top: 12px; }
  .role button { min-height: 44px; }
  .rail-ctl:not([hidden]) { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
  .strip { margin: 16px var(--gut) 0; padding: 18px; border-radius: 18px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .care-t { font-size: 15px; align-items: flex-start; }

  .how { padding: 64px 0 56px; }
  .scrub { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 22px calc(-1 * var(--gut)) 0; padding: 0 var(--gut); scroll-padding-inline: var(--gut); scroll-snap-type: x proximity; }
  .scrub::-webkit-scrollbar { display: none; }
  .scrub-line { display: none; }
  .scrub-t { flex: none; padding: 10px 14px; border-radius: 14px; background: #fff; scroll-snap-align: start; }
  .scrub-t .sd { display: none; }
  .scrub-t .w { font-size: 14px; }
  .scrub-t[aria-selected="true"] { background: var(--ink); }
  .scrub-t[aria-selected="true"] .t, .scrub-t[aria-selected="true"] .w { color: #fff; }
  .how-in { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .how-copy { padding-top: 0; }
  .how-tx { font-size: 17px; }
  .how-phone { height: 470px; }
  .how-phone .phone { width: 300px; }
  .how-phone .scr { --u: calc(100cqw / 300); }

  .cmp { padding: 64px 0 0; }
  .cmp-head { text-align: left; }
  .cmp-grid, #kinds-data { display: none; }
  .cfg { grid-template-columns: 1fr; gap: 18px; margin: 28px calc(-1 * var(--gut)) 0; padding: 26px var(--gut) 0; border-radius: 0; }
  .cfg-h { font-size: 22px; }
  .build-form { gap: 22px; margin-top: 16px; }
  .bf-kinds, .bf-kinds.k4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kind { min-height: 62px; padding: 9px 12px; }
  .k-name { font-size: 15px; }
  .k-meta { font-size: 14px; }
  .opt { padding: 7px 12px 7px 9px; }
  .o-name, .o-price { font-size: 14px; }
  .pages-row .small { font-size: 14px; }
  .sup-row { display: grid; gap: 8px; }
  .seg.wide { display: grid; grid-template-columns: repeat(3, 1fr); }
  .seg.wide label { padding: 7px 4px; min-height: 56px; font-size: 15px; }
  .seg.wide label small, .switch small { font-size: 14px; }
  .cfg-sum { position: sticky; top: auto; bottom: 0; z-index: 20; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 0; margin: 0 calc(-1 * var(--gut)); padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); border-radius: 0; background: rgba(255,255,255,.97); box-shadow: 0 -1px 0 var(--line-2), 0 -8px 24px rgba(0,0,0,.05); }
  .cfg-vis, .cfg-label, .cfg-lines { display: none; }
  .bar-tot { grid-column: 1; font-size: 20px; }
  .bar-term { grid-column: 1; font-size: 14px; white-space: nowrap; }
  .cfg-sum .btn { grid-column: 2; grid-row: 1 / 3; width: auto; min-height: 48px; padding: 10px 16px 10px 14px; font-size: 15px; }
  .s-l { display: none; }
  .s-s { display: inline; }

  .about { padding: 64px 0; }
  .about-in { grid-template-columns: 1fr; gap: 28px; }
  .poster { aspect-ratio: 4 / 3; border-radius: 24px; }
  .poster img { object-position: 50% 70%; }
  .about-copy p { font-size: 16px; }
  .facts { font-size: 15px; }
  .act { font-size: 14px; }
  .acts { gap: 8px; }

  .care { padding: 64px 0; background: radial-gradient(140% 60% at 90% 0%, #12274a 0%, #07101f 45%, #000 85%); }
  .care-in { grid-template-columns: 1fr; gap: 36px; }
  .care-text { font-size: 16px; }
  .care-inc { font-size: 15px; }
  .cp { min-width: 0; flex: 1 1 0; }
  .care-board { border-radius: 22px; padding: 18px 16px 12px; }
  .cb-list li { gap: 10px; }

  .ask { padding: 64px 0; }
  .ask-in { grid-template-columns: 1fr; gap: 40px; }
  .faq { margin-top: 22px; }
  .faq:not(.faq-open) .qa:nth-child(n+6) { display: none; }
  .faq-more { display: inline-flex; margin-top: 18px; }
  .faq.faq-open + .faq-more { display: none; }
  .qa summary { font-size: 17px; min-height: 60px; }
  .qa-a p { font-size: 16px; padding-right: 0; }
  .talk { position: relative; top: 0; }
  .talk-phone { display: none; }
  .talk-copy { border-radius: 24px; padding: 24px 18px 26px; }
  .chip { min-height: 44px; padding: 10px 16px 10px 12px; font-size: 15px; }

  .foot { font-size: 14px; }
  .notes li { margin-bottom: 10px; }
  .dir { grid-template-columns: 1fr; gap: 0; padding: 14px 0 22px; }
  .dir details { border-bottom: 1px solid var(--line); }
  .dir summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; }
  .dir summary h3 { margin: 0; font-size: 15px; }
  .dir summary svg { display: block; color: var(--ink-2); transition: transform .3s var(--ease-out); }
  .dir details[open] summary svg { transform: rotate(180deg); }
  .dir ul { padding: 0 0 10px 12px; }
  .dir li { margin: 0; }
  .dir li a { display: flex; align-items: center; min-height: 44px; font-size: 15px; }
  .legal { flex-direction: column; gap: 8px; }
  .geo { display: flex; margin: 0 0 6px; }

  /* «Боты» */
  .p-bots .gnav .btn.sm { display: none; }
  .lnav { height: 52px; margin-bottom: -52px; }
  .lnav .in { width: 100%; height: 52px; padding: 0 8px 0 16px; top: 0; border-radius: 0; background: #161617; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
  .lnav .btn.sm { min-height: 44px; padding: 0 16px 0 13px; font-size: 14px; }
  .case figcaption .more { display: flex; width: fit-content; min-height: 44px; align-items: center; margin-top: 2px; }
  .bhero { min-height: 0; display: block; }
  .bhero-media { position: relative; inset: auto; }
  .bhero-media img { height: auto; aspect-ratio: 1170 / 858; object-position: 50% 70%; }
  .bhero-media picture { display: block; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
  .js .bhero-media img { transform: none; transition: opacity 1.2s var(--ease-out); }
  .bhero::before { display: none; }
  .bhero-copy { min-height: 0; padding: 0 0 30px; margin-top: -54px; gap: 20px; }
  .bhero .buy-pill { align-self: stretch; flex-wrap: wrap; gap: 14px; padding: 16px; border-radius: 24px; }
  .bhero .buy-pill p { flex: 1 1 100%; padding: 0 4px; }
  .bhero .buy-pill .btn { flex: 1 1 100%; justify-content: center; min-height: 44px; }
  .night-track { height: auto; }
  .night-stage { position: relative; height: auto; padding: 64px 0; background: linear-gradient(180deg, #050a16, #1b2333); }
  .night-in { grid-template-columns: 1fr; gap: 28px; }
  .night-steps { margin-top: 20px; }
  .ns-b { grid-template-columns: 20px 48px 1fr; padding: 12px 8px; margin: 0 -8px; color: #c7ccd6; }
  .ns-b b, .ns-b svg { color: #8fb4ff; }
  .ns-b b { font-size: 16px; }
  .ns-b span { font-size: 16px; }
  .night .lock .nt { opacity: 1; transform: none; pointer-events: auto; }
  .night-phone .phone { width: min(300px, 86vw); }
  .night .lock .clock .t { font-size: min(calc(60 * var(--u)), 30px); }
  .night .lock .stack { top: calc(150 * var(--u)); }
  .lock-hint { bottom: calc(26 * var(--u)); }
  .morning-copy { position: relative; top: auto; padding: 22px 0 56px; }
  .morning::before { display: none; }
  .morning-copy .h2, .morning-copy p { text-shadow: none; }
  .morning-copy p { font-size: 16px; }
  .look { padding: 64px 0; }
  .look-in { grid-template-columns: 1fr; gap: 20px; margin-top: 22px; min-height: 0; }
  .look-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; }
  .look-pills::-webkit-scrollbar { display: none; }
  .look-pills li { flex: none; max-width: none; border-radius: 99px; }
  .look-pills li.open { background: var(--ink); }
  .look-pills li .lp-btn, .look-pills li.open .lp-btn { display: flex; min-height: 44px; padding: 6px 16px 6px 8px; font-size: 15px; }
  .look-pills li.open .lp-btn { color: #fff; }
  .look-pills li.open .lp-ic { background: #fff; color: var(--ink); }
  .look-pills li .lp-body, .look-pills li.open .lp-body { display: none; }
  .look-stage .phone { width: 280px; }
  .look-desc { display: block; }
  .look-desc p { font-size: 16px; }
  .also { margin-top: 40px; }
  .also-list { grid-template-columns: 1fr; }
  .also-list li { font-size: 15px; }
  .cases { padding: 64px 0 56px; }
  /* на телефоне у всех карточек одна высота: сайты — в мобильной версии, без пустоты под короткими */
  .case.wide, .case.tall { width: 80vw; }
  .case-shot, .case.wide .case-shot { height: auto; aspect-ratio: 4 / 5; border-radius: 18px; }
  .case .chat-shot .chat-body .day { display: none; }
  .cases .shelf-ctl { margin-top: 14px; }
  .bbuild { padding: 0 0 0; }
  .flow { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
  .flow li > span:last-child { font-size: 14px; }
}

/* Макеты экранов на телефоне: текст переписок и уведомлений не мельче 14 px, служебные подписи — не мельче 13 px */
@media (max-width: 734px) {
  .scr { font-size: max(14px, calc(16 * var(--u))); }
  .scr .sb { font-size: max(13px, calc(16.5 * var(--u))); }
  .chat-head .back { font-size: max(14px, calc(17 * var(--u))); }
  .chat-head .who b { font-size: max(14px, calc(16.5 * var(--u))); }
  .chat-head .who i { font-size: max(13px, calc(13 * var(--u))); }
  .chat-head .ava { font-size: max(13px, calc(14 * var(--u))); }
  .chat-body .day { font-size: max(13px, calc(13 * var(--u))); }
  .msg { font-size: max(14px, calc(16 * var(--u))); }
  .msg time { font-size: max(13px, calc(11.5 * var(--u))); }
  .msg.file small { font-size: max(13px, calc(13 * var(--u))); }
  .msg .lnk b, .msg .lnk span, .msg .nx { font-size: max(14px, calc(14.5 * var(--u))); }
  .msg .nm { font-size: max(13px, calc(13.5 * var(--u))); }
  .kb span, .rkb span { font-size: max(14px, calc(14.5 * var(--u))); }
  .chat-input .fld { font-size: max(14px, calc(16 * var(--u))); }
  .lock .clock .d { font-size: max(14px, calc(19 * var(--u))); }
  .nt { font-size: max(14px, calc(15 * var(--u))); }
  .nt .hd i { font-size: max(13px, calc(13.5 * var(--u))); }
  .lock-hint { font-size: max(14px, calc(13 * var(--u))); }
  .app-head b, .app-head .x, .app-row, .app-row i, .app-btn { font-size: max(14px, calc(16 * var(--u))); }
  .app-h { font-size: max(13px, calc(13 * var(--u))); }
  .app-toast { font-size: 13px; }
  .chat-head { height: auto; min-height: calc(52 * var(--u)); padding-top: 3px; padding-bottom: 3px; }
}

/* телефон: у переписок ночной смены только стрелка «назад», как в iOS при длинном заголовке */
@media (max-width: 430px) {
  .nchat .chat-head .back .bl { display: none; }
  .nchat .chat-head button.back { min-width: 44px; }
}
@media (max-width: 359px) {
  .app-phone { width: 214px; transform: translateX(-22px); }
}

@media (max-width: 360px) {
  .gnav .in { gap: 8px; }
  .brand { gap: 7px; }
  .gnav .btn.sm { padding: 0 11px 0 10px; gap: 6px; }
  .h1 { font-size: 29px; }
  .tile .h3 { font-size: 22px; }
  .buy-pill p { font-size: 14px; }
  .gcard { height: 540px; }
  .bf-kinds, .bf-kinds.k4 { grid-template-columns: 1fr; }
  .lnav .in { gap: 8px; padding-left: 14px; }
  .lnav-t { font-size: 15px; }
  .lnav .btn.sm { padding: 0 12px 0 10px; gap: 6px; }
}

/* «Открыть сайт»: снимок страницы целиком в окне поверх сайта (пока адрес работы не указан в config.js) */
.sview { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 28px; background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .25s var(--ease); }
.sview[hidden] { display: none; }
.sview.open { opacity: 1; }
.sv-win { width: min(1120px, 100%); height: 100%; max-height: 920px; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: #1d1d1f; box-shadow: 0 40px 100px rgba(0,0,0,.5); transform: translateY(14px) scale(.985); transition: transform .4s var(--ease-out); }
.sview.open .sv-win { transform: none; }
.sv-bar { flex: none; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 6px 0 18px; color: #f5f5f7; border-bottom: 1px solid rgba(255,255,255,.08); }
.sv-dots { display: inline-flex; gap: 7px; margin-right: 6px; }
.sv-dots i { width: 11px; height: 11px; border-radius: 50%; background: #48484a; }
.sv-t { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-note { flex: 1; font-size: 14px; color: var(--on-night-2); white-space: nowrap; }
.sv-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #f5f5f7; }
.sv-close:hover { background: rgba(255,255,255,.1); }
.sv-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: #f5f5f7; }
.sv-img { display: block; width: 100%; height: auto; }
@media (max-width: 734px) {
  .sview { padding: 0; }
  .sv-win { width: 100%; max-height: none; border-radius: 0; }
  .sv-bar { padding: env(safe-area-inset-top) 4px 0 16px; }
  .sv-dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv, .js .hero-copy > *, .js .buy-pill, .js .hero .hstage { opacity: 1 !important; transform: none !important; }
  .look-stage .screen .scr:not(.on), .nchat:not(.on) { display: none; }
}

/* режим полного скриншота: липкие элементы — на своих местах, анимации — в конечном состоянии */
.shot .cfg-sum, .shot .talk, .shot .gnav, .shot .lnav { position: relative !important; top: auto !important; bottom: auto !important; }
.shot .rv { opacity: 1 !important; transform: none !important; }
.shot .msg.pre, .shot .kb.pre, .shot .tm-phone .nt, .shot .night .lock .nt { opacity: 1 !important; transform: none !important; }
.shot .night-track { height: auto; }
.shot .night-stage { position: relative; height: auto; min-height: 900px; }
