/*
 * Новая подача сайта VybeCRM.
 *
 * Отдельный файл рядом со старым: работающий сайт не должен измениться ни на
 * пиксель, пока новая главная не утверждена.
 *
 * Как устроена страница. Секции идут чередой тёплых и холодных фонов, между
 * ними — мягкое растворение, а не линия: резкая граница разрезает страницу на
 * куски, и глаз каждый раз спотыкается. Поверх фонов лежат две вещи, дающие
 * глубину: размытые цветные пятна и мелкая сетка точек. Оба слоя
 * декоративные, лежат под содержимым и в поток не вмешиваются.
 *
 * Ничего внешнего: ни шрифтов с чужих серверов, ни библиотек анимации —
 * градиенты, сетка, пятна и движение сделаны средствами самого браузера.
 */

:root {
  --nb-ink: #1d2638;
  --nb-ink-soft: #465269;
  --nb-faint: #606c80;
  --nb-line: #e2e7ef;
  --nb-paper: #ffffff;

  /* Фоны секций: тёплые и холодные по очереди, как у крупных витрин рынка. */
  --nb-cream: #f7f3ec;
  --nb-cream-2: #efe6d5;
  --nb-mint: #e8f0ec;
  --nb-sky: #eaeef6;
  --nb-lilac: #eceef5;
  --nb-dark: #161e2e;
  --nb-dark-2: #1d2638;

  --nb-brand: #4a67e8;
  --nb-brand-dark: #394fb2;
  --nb-brand-soft: #dfe5fe;
  --nb-teal: #1a6a56;

  --nb-shadow: 0 34px 80px -34px rgba(29, 38, 56, 0.42);
  --nb-shadow-soft: 0 20px 44px -28px rgba(29, 38, 56, 0.4);
  --nb-radius: 22px;
  --nb-wrap: 1180px;
}

* { box-sizing: border-box; }

body.nb {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--nb-ink);
  background: var(--nb-paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

.nb img { display: block; max-width: 100%; height: auto; }
/* пиксель счётчика без скриптов: уводим со страницы, а не прячем display:none */
.nb-trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
/*
 * Ссылки наследуют цвет — кроме кнопок.
 *
 * Правило `.nb a` сильнее, чем `.nb-btn`, и однажды перекрасило текст тёмной
 * кнопки в цвет страницы: кнопка вышла пустой чёрной таблеткой. Поэтому
 * кнопки исключены явно.
 */
.nb a:not([class*='nb-btn']) { color: inherit; }
.nb a { text-decoration: none; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--nb-ink); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; z-index: 100; }

.nb-wrap { position: relative; z-index: 1; width: 100%; max-width: var(--nb-wrap); margin: 0 auto; padding: 0 24px; }

/* ================= верхняя полоса ================= */
/* Служебный ряд: мелкий шрифт, приглушённый цвет — он не должен спорить с меню продукта. */
/* ================= шапка ================= */
.nb-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nb-top.is-stuck { border-bottom-color: var(--nb-line); box-shadow: 0 10px 30px -24px rgba(29, 38, 56, 0.7); }
.nb-top-in { display: flex; align-items: center; gap: 28px; height: 74px; }

/* Полоска прочтения: сколько страницы позади. Тонкая, чтобы читалась как деталь. */
.nb-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform: scaleX(var(--nb-read, 0)); transform-origin: 0 50%; background: linear-gradient(90deg, var(--nb-brand), var(--nb-teal)); }

.nb-logo { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; letter-spacing: -0.025em; }
.nb-logo svg { flex: none; filter: drop-shadow(0 10px 18px rgba(74, 103, 232, 0.35)); }
.nb-logo-text { font-weight: 500; color: var(--nb-ink); }
.nb-logo-text b { font-weight: 800; }

/* разделы — посередине между знаком и действиями, с воздухом вокруг */
.nb-nav { display: flex; gap: 30px; margin: 0 auto; font-size: 15px; font-weight: 500; color: var(--nb-ink-soft); }
.nb-nav a[aria-current='page'] { color: var(--nb-ink); }
.nb-nav a[aria-current='page']::after { transform: scaleX(1); }
.nb-nav-out { font-size: 12px; color: var(--nb-faint); }
.nb-nav a { position: relative; padding: 6px 0; white-space: nowrap; transition: color 0.15s ease; }
.nb-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--nb-brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.2s ease; }
.nb-nav a:hover { color: var(--nb-ink); }
.nb-nav a:hover::after { transform: scaleX(1); }

.nb-top-act { display: flex; align-items: center; gap: 10px; }
/* кабинет — кнопкой-контуром рядом с регистрацией: его ищут глазами в шапке */
.nb a.nb-top-lk {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
  border: 1px solid var(--nb-line); border-radius: 999px; background: var(--nb-paper);
  font-size: 14px; font-weight: 700; color: var(--nb-ink); white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nb a.nb-top-lk:hover { border-color: var(--nb-brand); color: var(--nb-brand); }
.nb-top-lk svg { color: var(--nb-brand); }
.nb-top-me svg { flex: none; }
.nb-burger { display: none; }
.nb-nav-cta { display: none; }

/* ================= кнопки ================= */
.nb-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px;
  background: linear-gradient(135deg, var(--nb-brand), #4f6ef7); color: #fff;
  font-weight: 600; font-size: 16px; border: 1px solid transparent;
  box-shadow: 0 16px 34px -20px rgba(74, 103, 232, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nb-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35), transparent 70%); transform: translateX(-120%); transition: transform 0.55s ease; }
.nb-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -20px rgba(74, 103, 232, 0.95); }
.nb-btn:hover::after { transform: translateX(120%); }
.nb-btn-sm { padding: 10px 20px; font-size: 14px; }
/*
 * Вторая кнопка — тёмная, а не бледная обводка.
 *
 * Пара «цветная + еле заметная» выглядит так, будто второй путь предлагают
 * нехотя. У витрин, на которые тут равняются, обе кнопки полноценные и
 * различаются цветом, а не силой.
 */
.nb-btn-dark { background: var(--nb-ink); border-color: var(--nb-ink); color: #fff; box-shadow: 0 16px 34px -22px rgba(29, 38, 56, 0.9); }
.nb-btn-dark:hover { background: #28324a; border-color: #28324a; }
.nb-btn-ghost { background: rgba(255, 255, 255, 0.72); color: var(--nb-ink) !important; border-color: rgba(29, 38, 56, 0.14); box-shadow: none; }
.nb-btn-ghost:hover { background: #fff; box-shadow: var(--nb-shadow-soft); }
.nb-act-center { justify-content: center; margin-top: 28px; }

.nb-link-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--nb-brand); font-weight: 600; font-size: 15px; }
.nb-link-btn:hover { color: var(--nb-brand-dark); }
.nb-link-btn:hover .nb-arr { transform: translateX(4px); }
.nb-arr { display: inline-block; transition: transform 0.2s ease; }

/* ================= декорации ================= */
/* Размытые пятна дают глубину без картинок: один div, один градиент, ноль запросов. */
.nb-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.75; pointer-events: none; z-index: 0; }
.nb-orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, #c9dcff 0%, rgba(199, 209, 252, 0) 70%); top: -180px; right: -120px; }
.nb-orb-2 { width: 460px; height: 460px; background: radial-gradient(circle, #ffe0c2 0%, rgba(239, 230, 213, 0) 70%); bottom: -200px; left: -160px; }
.nb-orb-3 { width: 380px; height: 380px; background: radial-gradient(circle, #cdf3ec 0%, rgba(219, 233, 227, 0) 70%); top: 38%; left: 46%; }

/* Сетка точек — та же роль, что у миллиметровки под чертежом: держит масштаб. */
.nb-dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(29, 38, 56, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 35%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 35%, transparent 72%);
}

/* ================= подпись раздела ================= */
/*
 * Номер, линия, слово — вместо бейджа-пилюли над центрованным заголовком.
 * Пилюля с точкой стоит сегодня на каждом втором лендинге и первым выдаёт
 * шаблон; номер раздела делает страницу похожей на разворот, а не на витрину.
 */
.nb-mark-row { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.nb-num { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; color: var(--nb-brand); }
.nb-rule { flex: 0 0 64px; height: 1px; background: linear-gradient(90deg, var(--nb-brand), transparent); }
.nb-word { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nb-faint); }
.nb-sec-dark .nb-word { color: #8ea3c4; }
.nb-sec-dark .nb-num { color: #c7d1fc; }
.nb-sec-dark .nb-rule { background: linear-gradient(90deg, #c7d1fc, transparent); }

/* ================= первый экран ================= */
.nb-hero {
  position: relative; overflow: hidden;
  padding: 86px 0 136px;
  background:
    radial-gradient(1100px 520px at 78% 8%, rgba(223, 229, 254, 0.85), transparent 70%),
    linear-gradient(190deg, #f1f3fe 0%, #eaf2fc 46%, #dde8f7 100%);
}
.nb-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }

.nb-hero h1 { margin: 0 0 22px; font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 800; }
.nb-hero h1 em { font-style: normal; color: var(--nb-brand); }
/* Росчерк под словом: рисованная линия живее ровного подчёркивания и не выглядит ссылкой. */
.nb-accent { position: relative; display: inline-block; color: var(--nb-brand); }
.nb-underline { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.24em; color: rgba(74, 103, 232, 0.35); }
.nb-underline path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: nb-draw 1.1s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes nb-draw { to { stroke-dashoffset: 0; } }
.nb-lead { margin: 0 0 30px; font-size: clamp(17px, 1.6vw, 20px); color: var(--nb-ink-soft); max-width: 30em; }
.nb-hero-act { display: flex; flex-wrap: wrap; gap: 14px; }
.nb-hero-note { margin: 14px 0 0; font-size: 14px; color: var(--nb-faint); }
.nb-link-lg { font-size: 16px; padding: 15px 4px; }

/* Отметки под текстом блока: три коротких слова вместо ещё одного абзаца. */
.nb-marks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.nb-marks li { padding: 7px 13px; border-radius: 10px; background: rgba(74, 103, 232, 0.08); color: var(--nb-brand-dark); font-size: 13.5px; font-weight: 600; }

.nb-hero-shot { position: relative; }
/* Кадр слегка наклонён и выпрямляется при наведении: экран выглядит предметом, а не картинкой. */
.nb-frame {
  position: relative; border-radius: var(--nb-radius); overflow: hidden;
  border: 1px solid rgba(29, 38, 56, 0.08); background: var(--nb-paper);
  box-shadow: var(--nb-shadow);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
  transition: transform 0.5s ease;
}
.nb-hero-shot:hover .nb-frame { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }
.nb-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 45%); pointer-events: none; }

.nb-chip {
  position: absolute; z-index: 2; padding: 10px 15px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--nb-line);
  font-size: 13px; font-weight: 600; box-shadow: var(--nb-shadow-soft);
  animation: nb-float 6s ease-in-out infinite;
}
.nb-chip-b { right: -18px; bottom: 12%; color: var(--nb-brand); }
.nb-chip-c { left: -22px; top: 16%; color: var(--nb-teal); animation-delay: 1.8s; }

@keyframes nb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ================= цифры ================= */
/*
 * Полоса цифр — первый лист стопки: она наезжает на первый экран скруглённым
 * верхом ровно так же, как дальше наезжают цветные секции. Раньше между
 * героем и цифрами не было ничего: два светлых блока встык читались как один
 * длинный, и переход не замечался вовсе.
 */
.nb-facts {
  position: relative; z-index: 2;
  margin-top: -58px; padding: 84px 0 18px;
  border-top-left-radius: 56px; border-top-right-radius: 56px;
  background: linear-gradient(180deg, #fdf6ee 0%, var(--nb-paper) 74%);
  box-shadow: 0 -26px 54px -38px rgba(29, 38, 56, 0.5);
}
.nb-facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 40px 24px; border-radius: var(--nb-radius); background: rgba(255, 255, 255, 0.86); border: 1px solid var(--nb-line); box-shadow: var(--nb-shadow-soft); }
.nb-fact-value { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.nb-fact-label { margin-top: 6px; font-size: 14px; color: var(--nb-faint); }

/* ================= секции ================= */
/*
 * Секции со скруглёнными углами наезжают друг на друга.
 *
 * Именно этим переход у больших витрин отличается от полосы: цветной блок
 * ложится на соседний краем, и страница читается стопкой карточек, а не
 *列 полос. Отрицательный отступ снизу прячет стык.
 */
.nb-sec { position: relative; padding: 112px 0; overflow: hidden; }

/*
 * Скругляем только верхние углы — и ничего больше.
 *
 * Сначала радиус стоял на всех четырёх, и на стыке торчали тёмные уголки
 * предыдущей секции: выглядело как брак печати. Нижний край секции всегда
 * прямой, а следующая накрывает его скруглённым верхом — тогда шва не видно
 * вовсе, и страница читается стопкой листов.
 */
.nb-round-top { border-top-left-radius: 56px; border-top-right-radius: 56px; }
.nb-lift { position: relative; z-index: 2; margin-top: -56px; padding-top: 140px; }
.nb-sec-cream { background: linear-gradient(180deg, var(--nb-paper) 0%, var(--nb-cream) 18%, var(--nb-cream-2) 82%, var(--nb-paper) 100%); }
.nb-sec-sky { background: linear-gradient(180deg, var(--nb-paper) 0%, var(--nb-sky) 20%, var(--nb-lilac) 80%, var(--nb-paper) 100%); }
.nb-sec-mint { background: linear-gradient(180deg, var(--nb-paper) 0%, var(--nb-mint) 22%, #edf0f6 78%, var(--nb-paper) 100%); }
.nb-sec-dark { background: radial-gradient(900px 420px at 20% 0%, rgba(74, 103, 232, 0.35), transparent 65%), linear-gradient(180deg, var(--nb-dark) 0%, var(--nb-dark-2) 100%); color: #eef2f9; }

.nb-sec-head { max-width: 780px; margin: 0 0 60px; }
.nb-sec-head h2 { margin: 0 0 16px; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -0.032em; font-weight: 800; }
.nb-sec-head p { margin: 0; font-size: 17.5px; color: var(--nb-ink-soft); }
.nb-sec-dark .nb-sec-head p { color: #b8c4d8; }

/* ================= экраны системы ================= */
.nb-show { position: relative; padding: 52px 0; }
.nb-show-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 60px; align-items: center; }
.nb-show-flip .nb-show-text { order: 2; }
.nb-show-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 17px; background: linear-gradient(140deg, var(--nb-brand-soft), #fff); color: var(--nb-brand); border: 1px solid rgba(74, 103, 232, 0.18); }
.nb-show h3 { margin: 0 0 14px; font-size: clamp(24px, 2.7vw, 34px); letter-spacing: -0.028em; }
.nb-show p { margin: 0 0 20px; font-size: 17px; color: var(--nb-ink-soft); }
.nb-show .nb-frame { transform: none; }
.nb-show-shot { position: relative; }
.nb-show-shot::before { content: ''; position: absolute; inset: -12% -8% -18%; border-radius: 50%; background: radial-gradient(circle, rgba(74, 103, 232, 0.13), transparent 68%); filter: blur(28px); z-index: 0; }
.nb-show-shot .nb-frame { position: relative; z-index: 1; }

/* ================= круг возможностей ================= */
/*
 * Схема «в центре система, вокруг разделы»: круги вращаются медленно и в
 * разные стороны, подписи на них — против хода, иначе текст переворачивается
 * вверх ногами. Это не украшение ради движения: за полминуты человек видит
 * состав системы целиком, не читая списка.
 */
.nb-sec-orbit { background: linear-gradient(180deg, #fff9f1 0%, #f7f3ec 34%, #efe6d5 100%); }
/* Высота и радиусы подобраны так, чтобы дальняя подпись оставалась внутри блока:
   иначе она наезжает на заголовок соседней секции — так и было в первой сборке. */
.nb-orbit { position: relative; container-type: inline-size; width: min(620px, 100%); aspect-ratio: 1; margin: 0 auto 10px; }
.nb-ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(74, 103, 232, 0.22); border-radius: 50%; transform: translate(-50%, -50%); }
.nb-ring-1 { width: 30cqw; height: 30cqw; }
.nb-ring-2 { width: 54cqw; height: 54cqw; }
.nb-ring-3 { width: 78cqw; height: 78cqw; }

.nb-orbit-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 999px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--nb-brand), #4f6ef7); color: #fff;
  box-shadow: 0 22px 44px -22px rgba(74, 103, 232, 0.95);
}

/*
 * Поле спутников сжато по вертикали — тогда они ходят по тому же эллипсу,
 * что нарисован кольцами. Без сжатия подписи двигались по кругу, а кольца
 * оставались эллипсами: сверху и снизу подписи улетали за пределы блока.
 * Сами подписи растянуты обратно, иначе текст выглядел бы приплюснутым.
 */
/*
 * Поле без сжатия, орбиты круглые.
 *
 * Сжатие по вертикали давало настоящий эллипс, но подписи на нём перекашивало:
 * поворот в сжатой системе координат — это скос, а не поворот. Круг честнее
 * и читается одинаково в любом браузере.
 */
.nb-orbit-field { position: absolute; inset: 0; }
.nb-sat {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateX(var(--r, 0px));
  animation: nb-spin var(--dur, 46s) linear infinite;
}
.nb-sat b {
  display: inline-block; padding: 9px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(74, 103, 232, 0.22);
  font-size: 13.5px; font-weight: 600; white-space: nowrap; color: var(--nb-ink);
  box-shadow: 0 14px 28px -20px rgba(29, 38, 56, 0.6);
  transform: rotate(calc(-1 * var(--a, 0deg)));
  animation: nb-spin-back var(--dur, 46s) linear infinite;
}
.nb-a-0 { --a: 0deg; }
.nb-a-20 { --a: 20deg; }
.nb-a-40 { --a: 40deg; }
.nb-a-100 { --a: 100deg; }
.nb-a-160 { --a: 160deg; }
.nb-a-180 { --a: 180deg; }
.nb-a-200 { --a: 200deg; }
.nb-a-280 { --a: 280deg; }
.nb-a-300 { --a: 300deg; }

.nb-sat-1 { --r: 15cqw; --dur: 34s; }
.nb-sat-2 { --r: 27cqw; --dur: 46s; }
.nb-sat-3 { --r: 39cqw; --dur: 62s; }

@keyframes nb-spin { from { transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateX(var(--r, 0px)); } to { transform: translate(-50%, -50%) rotate(calc(var(--a, 0deg) + 360deg)) translateX(var(--r, 0px)); } }
@keyframes nb-spin-back { from { transform: rotate(calc(-1 * var(--a, 0deg))); } to { transform: rotate(calc(-1 * var(--a, 0deg) - 360deg)); } }

.nb-sec-head-mid { margin-left: auto; margin-right: auto; text-align: center; }

/* ================= почему ================= */
.nb-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.nb-why-card {
  position: relative; overflow: hidden; padding: 32px;
  border-radius: var(--nb-radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.nb-why-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 200px at 0% 0%, rgba(120, 160, 255, 0.22), transparent 70%); opacity: 0; transition: opacity 0.3s ease; }
.nb-why-card:hover { transform: translateY(-4px); border-color: rgba(140, 175, 255, 0.4); }
.nb-why-card:hover::before { opacity: 1; }
.nb-why-icon { position: relative; display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 15px; background: rgba(255, 255, 255, 0.1); color: #c7d1fc; border: 1px solid rgba(255, 255, 255, 0.16); }
.nb-why-card h3 { position: relative; margin: 16px 0 10px; font-size: 22px; letter-spacing: -0.02em; }
.nb-why-card p { position: relative; margin: 0; color: #b8c4d8; font-size: 16px; }

/* ================= решения ================= */
.nb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nb-tile {
  position: relative; padding: 26px 24px; border-radius: var(--nb-radius);
  background: rgba(255, 255, 255, 0.88); border: 1px solid var(--nb-line);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.nb-tile::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--nb-brand), var(--nb-teal)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.3s ease; }
.nb-tile:hover { transform: translateY(-6px); border-color: #c9d6f5; box-shadow: var(--nb-shadow-soft); }
.nb-tile:hover::after { transform: scaleX(1); }
.nb-tile-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 14px; background: var(--nb-brand-soft); color: var(--nb-brand); }
.nb-tile h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.015em; }
.nb-tile p { margin: 0; font-size: 14px; color: var(--nb-faint); }

/* ================= ниши ================= */
.nb-niches { display: flex; flex-wrap: wrap; gap: 12px; }
.nb-niche {
  padding: 13px 24px; border-radius: 999px; background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--nb-line); font-weight: 600; font-size: 15px;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.nb-niche:hover { transform: translateY(-3px); border-color: var(--nb-brand); color: var(--nb-brand); box-shadow: var(--nb-shadow-soft); }

/* ================= цены ================= */
/* карточки одной высоты, кнопки — по одной линии внизу: сравнивают тарифы рядом */
.nb-price { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.nb-price-card { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: var(--nb-radius); border: 1px solid var(--nb-line); background: rgba(255, 255, 255, 0.94); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.nb-price-card:hover { transform: translateY(-4px); box-shadow: var(--nb-shadow-soft); }
.nb-price-pick { border-color: rgba(74, 103, 232, 0.45); box-shadow: 0 34px 70px -44px rgba(74, 103, 232, 0.95); }
.nb-price-tag { position: absolute; top: -14px; left: 34px; padding: 6px 15px; border-radius: 999px; background: linear-gradient(135deg, var(--nb-brand), #4f6ef7); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.nb-price-card h3 { margin: 0 0 12px; font-size: 20px; }
.nb-price-value { font-size: 36px; font-weight: 800; letter-spacing: -0.035em; }
.nb-price-value span { display: block; font-size: 14px; font-weight: 500; color: var(--nb-faint); letter-spacing: 0; }
.nb-price-card ul { margin: 22px 0 28px; padding: 0; list-style: none; display: grid; gap: 11px; }
.nb-price-card li { position: relative; padding-left: 28px; font-size: 15px; color: var(--nb-ink-soft); }
.nb-price-card li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--nb-brand-soft); }
.nb-price-card li::after { content: ''; position: absolute; left: 5px; top: 7px; width: 8px; height: 4px; border-left: 2px solid var(--nb-brand); border-bottom: 2px solid var(--nb-brand); transform: rotate(-45deg); }
.nb-price-note { margin: 30px 0 0; font-size: 15px; color: var(--nb-faint); }
/* Подпись под ценой: у каждого тарифа своя, одинаково врать нельзя. */
.nb-price-sub { margin: 8px 0 0; font-size: 13.5px; color: var(--nb-faint); }
.nb-price-card .nb-btn { margin-top: auto; }

/* ================= вопросы ================= */
.nb-qa-wrap { max-width: 880px; }
.nb-qa { display: grid; gap: 12px; }
.nb-qa details { border: 1px solid var(--nb-line); border-radius: 16px; background: rgba(255, 255, 255, 0.94); overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.nb-qa details[open] { border-color: rgba(74, 103, 232, 0.35); box-shadow: var(--nb-shadow-soft); }
/* Цвет задаём сами: на тёмной секции плашка светлая, а текст иначе наследует
   светлый цвет секции и пропадает — так и вышло на страницах под нишу. */
.nb-qa summary { cursor: pointer; padding: 21px 26px; font-weight: 600; font-size: 17px; list-style: none; position: relative; padding-right: 58px; color: var(--nb-ink); }
.nb-qa summary::-webkit-details-marker { display: none; }
.nb-qa summary::after { content: ''; position: absolute; right: 26px; top: 27px; width: 9px; height: 9px; border-right: 2px solid var(--nb-brand); border-bottom: 2px solid var(--nb-brand); transform: rotate(45deg); transition: transform 0.25s ease; }
.nb-qa details[open] summary::after { transform: rotate(-135deg); }
.nb-qa p { margin: 0; padding: 0 26px 24px; color: var(--nb-ink-soft); font-size: 16px; }

/* ================= призыв ================= */
.nb-cta { position: relative; overflow: hidden; padding: 112px 0 168px; color: #fff; text-align: center;
  background: radial-gradient(760px 340px at 50% 0%, rgba(74, 103, 232, 0.5), transparent 70%), linear-gradient(180deg, var(--nb-dark-2), var(--nb-dark)); }
.nb-cta h2 { margin: 0 0 16px; font-size: clamp(28px, 4.2vw, 48px); letter-spacing: -0.032em; font-weight: 800; }
.nb-cta p { margin: 0 0 30px; color: #b8c4d8; font-size: 17.5px; }
.nb-cta-in .nb-hero-act { justify-content: center; }
.nb-cta .nb-btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff !important; border-color: rgba(255, 255, 255, 0.28); }
.nb-cta .nb-btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* ================= подвал ================= */
/*
 * Подвал — последний лист стопки.
 *
 * Прямой стык тёмного призыва и светлого подвала обрывал страницу: цвет
 * менялся посреди воздуха, и низ выглядел отрезанным. Теперь подвал наезжает
 * на призыв скруглённым верхом — тем же движением, каким разделы наезжают
 * друг на друга выше, — а тонкая линия над ним ловит край тени.
 */
.nb-foot {
  position: relative; z-index: 2;
  margin-top: -72px; padding: 104px 0 40px;
  border-top-left-radius: 56px; border-top-right-radius: 56px;
  background: linear-gradient(180deg, var(--nb-paper) 0%, var(--nb-cream) 46%);
  box-shadow: 0 -30px 60px -40px rgba(29, 38, 56, 0.55);
  font-size: 15px;
}
.nb-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.nb-foot-grid p { color: var(--nb-ink-soft); max-width: 34em; }
.nb-foot h3 { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nb-faint); }
.nb-foot-grid a { display: block; margin-bottom: 10px; color: var(--nb-ink-soft); }
.nb-foot-grid a:hover { color: var(--nb-brand); }
.nb-logo-foot { margin-bottom: 14px; }
.nb-foot-line { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(29, 38, 56, 0.1); color: var(--nb-faint); font-size: 14px; }

.nb-pass { padding: 13px 20px; border-radius: 999px; border: 1px solid var(--nb-line); background: var(--nb-paper); font: inherit; font-size: 16px; min-width: 240px; }
.nb-pass:focus { outline: 2px solid var(--nb-brand); outline-offset: 2px; border-color: var(--nb-brand); }

/* ================= появление ================= */
/*
 * Блоки приходят с той стороны, где им место: текст слева — слева, кадр
 * справа — справа. Так движение объясняет вёрстку, а не просто оживляет её.
 */
.nb-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.nb-reveal-left { transform: translateX(-32px); }
.nb-reveal-right { transform: translateX(32px); }
.nb-reveal-zoom { transform: scale(0.94); }
.nb-reveal.is-in { opacity: 1; transform: none; }

.nb-rise { animation: nb-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.nb-rise-1 { animation-delay: 0.08s; }
.nb-rise-2 { animation-delay: 0.18s; }
.nb-rise-3 { animation-delay: 0.28s; }
.nb-rise-4 { animation-delay: 0.38s; }
@keyframes nb-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Лёгкий увод кадров при прокрутке: глубина без рывков, величину считает скрипт. */
.nb-parallax { transform: translate3d(0, var(--nb-shift, 0px), 0); will-change: transform; }

.nb-noscript .nb-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .nb-reveal, .nb-rise, .nb-chip, .nb-parallax, .nb-frame, .nb-underline path { animation: none !important; transition: none !important; opacity: 1 !important; }
  .nb-reveal, .nb-rise, .nb-parallax, .nb-frame { transform: none !important; }
  /* круг замирает, но остаётся собранным: подписи стоят на своих местах */
  .nb-sat, .nb-sat b { animation: none !important; }
  .nb-underline path { stroke-dashoffset: 0 !important; }
}

/* ================= внутренние страницы ================= */
/*
 * Своего первого экрана у внутренней страницы нет: там нечего показывать
 * кадром, а повторять приём главной — значит обесценить его. Здесь короткий
 * заголовочный блок на том же светлом фоне, и сразу дело.
 */
/*
 * Нижний отступ считается с наездом: следующая секция поднимается на 56 px
 * (`nb-lift`) и съедает их. При padding-bottom 64 под кнопками оставалось
 * восемь пикселей — кнопки читались приклеенными к краю.
 */
.nb-page-hero {
  position: relative; overflow: hidden; padding: 78px 0 148px;
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(223, 229, 254, 0.75), transparent 70%),
    linear-gradient(190deg, #f1f3fe 0%, #eef4fd 60%, #fdf8f2 100%);
}
.nb-page-hero-in { position: relative; z-index: 1; max-width: 900px; }
.nb-page-hero h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.nb-page-hero p { margin: 0 0 26px; font-size: clamp(16.5px, 1.5vw, 19.5px); color: var(--nb-ink-soft); max-width: 40em; }

/* ================= журнал обновлений ================= */
.nb-changes { display: grid; gap: 12px; }
.nb-change {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 20px 22px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--nb-line);
}
.nb-change-v {
  padding: 5px 11px; border-radius: 999px; background: var(--nb-brand-soft);
  color: var(--nb-brand-dark); font-size: 13px; font-weight: 800; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.nb-change b { font-size: 16.5px; letter-spacing: -0.015em; }
.nb-change p { margin: 4px 0 0; font-size: 15px; color: var(--nb-ink-soft); }

/* ================= каталог решений ================= */
/*
 * Карточка раскрывается на месте. Отдельных страниц у решений нет: пятнадцать
 * страниц с одним абзацем каждая — это пятнадцать поводов уйти, а описание из
 * манифеста и так короче экрана.
 */
.nb-sols { display: grid; gap: 12px; }
.nb-sol {
  border: 1px solid var(--nb-line); border-radius: 18px;
  background: rgba(255, 255, 255, 0.94); overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nb-sol[open] { border-color: rgba(74, 103, 232, 0.35); box-shadow: var(--nb-shadow-soft); }
.nb-sol summary {
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  padding: 18px 58px 18px 20px; list-style: none; position: relative; color: var(--nb-ink);
}
.nb-sol summary::-webkit-details-marker { display: none; }
.nb-sol summary::after {
  content: ''; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px;
  margin-top: -6px; border-right: 2px solid var(--nb-brand); border-bottom: 2px solid var(--nb-brand);
  transform: rotate(45deg); transition: transform 0.25s ease;
}
.nb-sol[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.nb-sol summary .nb-tile-icon { margin-bottom: 0; flex: none; }
.nb-sol-name { display: block; min-width: 0; }
.nb-sol-name b { display: block; font-size: 17px; letter-spacing: -0.015em; }
.nb-sol-name > span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--nb-faint); }
.nb-sol-body { padding: 0 24px 22px 80px; }
.nb-sol-body p { margin: 0 0 12px; font-size: 15.5px; color: var(--nb-ink-soft); max-width: 60em; }
.nb-sol-gives { margin: 16px 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.nb-sol-gives li { position: relative; padding-left: 28px; font-size: 15px; color: var(--nb-ink-soft); }
.nb-sol-gives li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--nb-brand-soft); }
.nb-sol-gives li::after { content: ''; position: absolute; left: 5px; top: 7px; width: 8px; height: 4px; border-left: 2px solid var(--nb-brand); border-bottom: 2px solid var(--nb-brand); transform: rotate(-45deg); }
.nb-sol-where { font-size: 14px !important; color: var(--nb-faint) !important; }

/* ================= словарь ниши ================= */
/*
 * Пары «как называется у вас — как называлось в поставке». Не таблица:
 * второе слово здесь пояснение, а не равноправная колонка.
 */
.nb-words { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nb-word-row {
  padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.86); border: 1px solid var(--nb-line);
}
.nb-word-row b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.nb-word-row span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--nb-faint); }

/* ================= таблицы ================= */
.nb-table-wrap {
  overflow-x: auto; border-radius: var(--nb-radius);
  border: 1px solid var(--nb-line); background: var(--nb-paper); box-shadow: var(--nb-shadow-soft);
}
.nb-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.nb-table th {
  padding: 16px 18px; text-align: left; white-space: nowrap;
  font-size: 12.5px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--nb-faint); font-weight: 700; border-bottom: 1px solid var(--nb-line);
}
.nb-table td { padding: 15px 18px; border-bottom: 1px solid var(--nb-line); vertical-align: top; }
.nb-table tr:last-child td { border-bottom: 0; }
.nb-table-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Наша колонка в сравнении: её и ищут глазами. */
.nb-table-mine { background: rgba(74, 103, 232, 0.06); font-weight: 700; color: var(--nb-brand-dark); }
.nb-table-row-h { font-weight: 700; }
.nb-after { margin: 18px 0 0; font-size: 14.5px; color: var(--nb-faint); max-width: 60em; }
/* под кнопками первого экрана — воздух: вплотную абзац читается подписью к кнопке */
.nb-hero-act + .nb-after { margin-top: 30px; }

/* ================= шаги ================= */
.nb-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: nb-step; }
.nb-step {
  position: relative; padding: 26px 24px 24px; border-radius: var(--nb-radius);
  background: var(--nb-paper); border: 1px solid var(--nb-line); box-shadow: var(--nb-shadow-soft);
}
.nb-step::before {
  counter-increment: nb-step; content: counter(nb-step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 14px; border-radius: 12px;
  background: var(--nb-brand-soft); color: var(--nb-brand-dark); font-weight: 800; font-size: 15px;
}
.nb-step h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.02em; }
.nb-step p { margin: 0; color: var(--nb-ink-soft); font-size: 15px; }
.nb-step-when { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--nb-teal); }

/* ================= заявка ================= */
.nb-form-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 24px; align-items: start; }
.nb-form {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px; border-radius: var(--nb-radius);
  background: var(--nb-paper); border: 1px solid var(--nb-line); box-shadow: var(--nb-shadow-soft);
}
.nb-field { display: flex; flex-direction: column; gap: 7px; }
.nb-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nb-opt { font-weight: 500; color: var(--nb-faint); font-size: 13px; }
@media (max-width: 720px) { .nb-field-row { grid-template-columns: minmax(0, 1fr); } }
.nb-field label { font-size: 14.5px; font-weight: 600; color: var(--nb-ink-soft); }
.nb-field input, .nb-field select, .nb-field textarea {
  padding: 13px 15px; border-radius: 13px; border: 1px solid var(--nb-line);
  background: var(--nb-paper); font: inherit; font-size: 16px; color: var(--nb-ink);
}
.nb-field textarea { min-height: 130px; resize: vertical; }
.nb-field input:focus, .nb-field select:focus, .nb-field textarea:focus {
  outline: 2px solid var(--nb-brand); outline-offset: 1px; border-color: var(--nb-brand);
}
.nb-form-note { margin: 0; font-size: 13.5px; color: var(--nb-faint); }
.nb-wide { width: 100%; justify-content: center; text-align: center; }
/* Ловушка для роботов: уводим со страницы, а не прячем display:none. */
.nb-trap-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.nb-aside { display: flex; flex-direction: column; gap: 16px; }
.nb-aside-card { padding: 22px 24px; border-radius: var(--nb-radius); background: rgba(255, 255, 255, 0.7); border: 1px solid var(--nb-line); }
.nb-aside-card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.02em; }
.nb-aside-card p { margin: 0 0 10px; font-size: 15px; color: var(--nb-ink-soft); }
.nb-aside-card p:last-child { margin-bottom: 0; }

.nb-note-bad { margin: 0 0 24px; padding: 14px 18px; border-radius: 14px; background: rgba(157, 47, 39, 0.1); color: #a03232; font-weight: 600; }

/* ================= правовые страницы ================= */
/*
 * Оферта и политика читаются не сверху вниз, а поиском нужного пункта.
 * Поэтому узкая колонка, крупный межстрочный интервал и заметные подзаголовки:
 * стена текста в ширину экрана — верный способ, чтобы её не прочитали вовсе.
 */
.nb-doc { max-width: 46em; font-size: 16.5px; line-height: 1.7; color: var(--nb-ink-soft); }
.nb-doc h2 { margin: 40px 0 14px; font-size: 25px; letter-spacing: -0.025em; color: var(--nb-ink); }
.nb-doc h2:first-child { margin-top: 0; }
.nb-doc p { margin: 0 0 16px; }
.nb-doc ul, .nb-doc ol { margin: 0 0 16px; padding-left: 22px; }
.nb-doc li { margin-bottom: 8px; }
.nb-doc a { color: var(--nb-brand); font-weight: 600; }
.nb-doc-date { margin: 0 0 28px; font-size: 14px; color: var(--nb-faint); }

/* ================= узкий экран ================= */
@media (max-width: 1180px) {
  .nb-nav { gap: 22px; }
}

@media (max-width: 1000px) {
  .nb-hero-in, .nb-show-in { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .nb-show-flip .nb-show-text { order: 0; }
  .nb-facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-price { grid-template-columns: minmax(0, 1fr); }
  .nb-why { grid-template-columns: minmax(0, 1fr); }
  .nb-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .nb-steps { grid-template-columns: minmax(0, 1fr); }
  .nb-words { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-form-grid { grid-template-columns: minmax(0, 1fr); }
  .nb-frame { transform: none; }
}

@media (max-width: 720px) {
  .nb-sec { padding: 76px 0; }
  .nb-page-hero { padding: 52px 0 110px; }
  .nb-sol summary { padding-right: 46px; }
  .nb-sol-body { padding-left: 20px; }
  .nb-words { grid-template-columns: minmax(0, 1fr); }
  .nb-form { padding: 20px; }
  .nb-mark-row { gap: 12px; margin-bottom: 20px; }
  .nb-rule { flex-basis: 34px; }
  .nb-hero { padding: 52px 0 96px; }
  .nb-nav {
    position: fixed; inset: 74px 0 auto; z-index: 39;
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
    background: var(--nb-paper); border-bottom: 1px solid var(--nb-line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nb-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nb-nav a { padding: 15px 0; border-bottom: 1px solid var(--nb-line); }
  /* на телефоне кабинет остаётся на виду значком рядом с меню; регистрация — в самом меню */
  .nb-top-act { margin-left: auto; gap: 8px; }
  .nb-top-act .nb-btn:not(.nb-top-me) { display: none; }
  .nb-top-me { padding: 10px 14px; }
  .nb a.nb-top-lk { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 13px; font-size: 0; gap: 0; }
  .nb-top-lk svg { width: 20px; height: 20px; }
  .nb-nav-cta { display: block; margin-top: 8px; font-weight: 700; color: var(--nb-brand); border-bottom: 0; }
  .nb-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; margin-left: 0; background: none; border: 1px solid var(--nb-line); border-radius: 13px; cursor: pointer; }
  .nb-burger span { display: block; height: 2px; background: var(--nb-ink); border-radius: 2px; transition: transform 0.22s ease, opacity 0.22s ease; }
  .nb-burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nb-burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nb-burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nb-chip { display: none; }
  .nb-tiles { grid-template-columns: minmax(0, 1fr); }
  .nb-facts { margin-top: -38px; padding-top: 56px; border-top-left-radius: 34px; border-top-right-radius: 34px; }
  .nb-facts-in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .nb-cta { padding-bottom: 128px; }
  .nb-foot { margin-top: -48px; padding-top: 76px; border-top-left-radius: 34px; border-top-right-radius: 34px; }
  .nb-foot-line { flex-direction: column; }
  .nb-orb { filter: blur(50px); }
  /* на телефоне круг становится тесным: убираем дальнюю орбиту, она всё равно не читается */
  .nb-sat-3, .nb-ring-3 { display: none; }
  .nb-sat b { font-size: 12.5px; padding: 7px 12px; }
}

/* ================= как завести систему себе ================= */
.nb-start { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.nb-start .nb-sec-head { margin-bottom: 28px; }
.nb-start-steps { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.nb-start-steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
.nb-start-steps li::before {
  content: counter(step); grid-row: span 2; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--nb-paper); border: 1px solid var(--nb-line);
  font-weight: 800; color: var(--nb-brand);
}
.nb-start-steps b { font-size: 17px; }
.nb-start-steps span { color: var(--nb-ink-soft); font-size: 15px; }
.nb-start .nb-hero-act { align-items: center; }

/* образец кабинета — тот же лист, что человек увидит после входа */
.nb-lk-demo {
  padding: 24px 26px; border-radius: 20px; background: var(--nb-paper);
  border: 1px solid var(--nb-line); box-shadow: var(--nb-shadow);
}
.nb-lk-demo-top { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.nb-lk-demo-top small { margin-left: auto; font-size: 12.5px; color: var(--nb-faint); font-weight: 600; }
.nb-lk-demo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nb-teal); box-shadow: 0 0 0 4px rgba(26, 106, 86, 0.16); }
.nb-lk-demo-k { margin-top: 20px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nb-faint); font-weight: 700; }
.nb-lk-demo-v { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.nb-lk-demo-v span { font-size: 16px; font-weight: 600; color: var(--nb-faint); }
.nb-lk-demo-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin-top: 14px; }
.nb-lk-demo-months i { display: block; height: 10px; border-radius: 4px; background: var(--nb-brand); }
.nb-lk-demo-months i.is-now { box-shadow: 0 0 0 2px var(--nb-paper), 0 0 0 3.5px var(--nb-ink); }
.nb-lk-demo-rows { margin-top: 20px; border-top: 1px solid var(--nb-line); }
.nb-lk-demo-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--nb-line); font-size: 14.5px; }
.nb-lk-demo-rows span { color: var(--nb-faint); }
.nb-lk-demo-rows b { font-weight: 600; text-align: right; }

@media (max-width: 960px) {
  .nb-start { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ================= плашка о куки ================= */
.nb-cookie {
  position: fixed; left: 50%; bottom: 18px; z-index: 60; transform: translateX(-50%);
  width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; gap: 18px; padding: 16px 18px;
  border-radius: 18px; background: var(--nb-paper); border: 1px solid var(--nb-line); box-shadow: var(--nb-shadow);
}
.nb-cookie[hidden] { display: none; }
.nb-cookie p { margin: 0; font-size: 14px; color: var(--nb-ink-soft); }
.nb .nb-cookie p a { color: var(--nb-brand); font-weight: 600; }
.nb-cookie-act { display: flex; gap: 8px; flex: none; }
@media (max-width: 720px) {
  .nb-cookie { flex-direction: column; align-items: stretch; bottom: 12px; }
  .nb-cookie-act { flex-direction: column; }
}

/* ================= блог ================= */
.nb-blog-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.nb .nb-blog-topics a {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--nb-line); background: var(--nb-paper);
  font-size: 14px; font-weight: 600; color: var(--nb-ink-soft);
}
.nb .nb-blog-topics a.is-on { background: var(--nb-ink); border-color: var(--nb-ink); color: #fff; }

/* страницы блога: счётчик сверху, переключатель снизу */
.nb-pager-count { margin: -12px 0 20px; font-size: 14px; color: var(--nb-ink-soft); }
.nb-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.nb-pager-nums { display: flex; align-items: center; gap: 6px; }
.nb .nb-pager-num, .nb-pager-num {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--nb-line); background: var(--nb-paper);
  font-size: 15px; font-weight: 600; color: var(--nb-ink-soft); font-variant-numeric: tabular-nums;
}
.nb .nb-pager-num:hover { border-color: var(--nb-ink); color: var(--nb-ink); }
.nb-pager-num.is-on { background: var(--nb-ink); border-color: var(--nb-ink); color: #fff; }
.nb-pager-gap { color: var(--nb-ink-soft); padding: 0 2px; }
.nb .nb-pager-step, .nb-pager-step { font-size: 15px; font-weight: 600; color: var(--nb-brand-dark); padding: 10px 6px; }
.nb-pager-step.is-off { color: var(--nb-faint); opacity: 0.6; pointer-events: none; }
/* переход по номеру ведёт к списку — не под липкую шапку */
#stati { scroll-margin-top: 96px; }
@media (max-width: 480px) {
  /* на телефоне слова не влезают рядом с номерами — остаются стрелки */
  .nb-pager { gap: 6px; flex-wrap: nowrap; }
  .nb-pager-word { display: none; }
  .nb .nb-pager-step, .nb-pager-step { font-size: 20px; padding: 8px 10px; }
  .nb .nb-pager-num, .nb-pager-num { min-width: 40px; height: 40px; padding: 0 10px; }
}

.nb-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nb-post {
  display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; border-radius: 20px; overflow: hidden;
  background: var(--nb-paper); border: 1px solid var(--nb-line); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nb-post[hidden] { display: none; }
.nb-post:hover { transform: translateY(-3px); box-shadow: var(--nb-shadow-soft); }
.nb-post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nb-post-meta { padding: 4px 20px 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--nb-brand); }
.nb-post b { padding: 0 20px; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.nb-post-lead { padding: 0 20px; font-size: 14.5px; line-height: 1.5; color: var(--nb-ink-soft); }

.nb-article-head { padding: 56px 0 40px; background: linear-gradient(190deg, #f1f3fe 0%, #f6f7fb 100%); }
.nb-article-head-in { max-width: 860px; }
.nb-crumbs { font-size: 13.5px; color: var(--nb-faint); margin-bottom: 18px; }
.nb .nb-crumbs a { color: var(--nb-ink-soft); }
.nb-article-head h1 { margin: 0 0 16px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.nb-article-lead { margin: 0 0 16px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--nb-ink-soft); }
.nb-article-meta { margin: 0; font-size: 14px; color: var(--nb-faint); }

.nb-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 40px; padding-bottom: 72px; align-items: start; }
.nb-article-img { margin: 0 0 32px; border-radius: 18px; overflow: hidden; }
.nb-article-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.nb-prose { max-width: 700px; font-size: 17.5px; line-height: 1.7; color: #2b3447; }
.nb-prose h2 { margin: 40px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; color: var(--nb-ink); }
.nb-prose p { margin: 0 0 16px; }
.nb-prose ul, .nb-prose ol { margin: 0 0 18px; padding-left: 22px; }
.nb-prose li { margin-bottom: 8px; }
.nb .nb-prose a { color: var(--nb-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nb-prose table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.nb-prose th { text-align: left; padding: 10px 12px; background: var(--nb-brand-soft); color: var(--nb-brand-dark); font-size: 13.5px; }
.nb-prose td { padding: 10px 12px; border-bottom: 1px solid var(--nb-line); }

.nb-blog-cta {
  display: flex; align-items: center; gap: 22px; margin: 32px 0; padding: 22px 24px;
  border-radius: 18px; background: var(--nb-brand-soft); border: 1px solid #c7d1fc;
}
.nb-blog-cta b { display: block; font-size: 17px; color: var(--nb-ink); }
.nb-blog-cta p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--nb-ink-soft); }
.nb-blog-cta-act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: none; }
.nb .nb-prose .nb-blog-cta a.nb-btn { color: #fff; text-decoration: none; }
.nb .nb-prose .nb-blog-cta a.nb-link-btn { text-decoration: none; }

.nb-article-next {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 700px;
  margin-top: 36px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--nb-line);
}
.nb-article-next span { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nb-faint); }
.nb .nb-article-next a { font-weight: 700; color: var(--nb-brand); }

.nb-article-side { position: sticky; top: 96px; }
.nb-side-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 18px; background: var(--nb-paper); border: 1px solid var(--nb-line); box-shadow: var(--nb-shadow-soft); }
.nb-side-card b { font-size: 18px; }
.nb-side-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--nb-ink-soft); }
.nb-side-note { font-size: 13px !important; }
.nb .nb-side-note a { color: var(--nb-brand); font-weight: 600; }

@media (max-width: 1000px) {
  .nb-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-article-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .nb-article-side { position: static; }
}
@media (max-width: 720px) {
  .nb-posts { grid-template-columns: minmax(0, 1fr); }
  .nb-blog-cta { flex-direction: column; align-items: flex-start; }
  .nb-prose { font-size: 16.5px; }
}
