/* Сверочка — фирменный стиль сайта
   Идея: «бухгалтерский маркер». Холодная бумага, чернильный синий текст, лаймовый маркер
   выделяет главное, моноширинные суммы и номера документов, штамп «сверено». */

:root {
  --paper: #F3F6FA;
  --paper-2: #E9EEF5;
  --white: #FFFFFF;
  --ink: #0B1630;
  --ink-2: #33405C;
  --muted: #66728C;
  --line: #D9E0EA;
  --line-2: #C5CFDC;
  --blue: #3390EC;
  --blue-ink: #1B5FB0;
  --blue-soft: #E3EFFD;
  --lime: #D6F531;
  --lime-deep: #B9D90F;
  --ok: #138A4C;
  --ok-soft: #DDF3E6;
  --warn: #B76E00;
  --warn-soft: #FCEFD6;
  --err: #D23B41;
  --err-soft: #FBE3E4;
  --night: #0A1428;
  --night-2: #13213D;
  --night-line: #24345A;

  --f-display: "Unbounded", "Onest", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --shadow-1: 0 1px 2px rgba(11, 22, 48, .06), 0 4px 16px rgba(11, 22, 48, .06);
  --shadow-2: 0 2px 6px rgba(11, 22, 48, .06), 0 24px 60px -12px rgba(11, 22, 48, .22);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

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

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero"; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Типографика ---------- */
h1, h2, h3, .display { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.4vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.06; }
h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; }
h2 + .lead, h2 + p { margin-top: 20px; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.eyebrow {
  display: block; font: 600 15px/1.3 var(--f-body); color: var(--blue-ink);
  margin-bottom: 16px;
}
.eyebrow--lime { color: var(--ink); }
.eyebrow--lime::before { background: var(--lime-deep); height: 6px; border-radius: 2px; }

/* Маркер: подчёркивание-выделение, которое «прорисовывается» при появлении */
.mark {
  position: relative; white-space: nowrap; z-index: 0;
  background-image: linear-gradient(100deg, transparent 0 1%, var(--lime) 2% 97%, transparent 99%);
  background-repeat: no-repeat;
  background-size: 0% 42%;
  background-position: 0 88%;
  transition: background-size 1s var(--ease) .25s;
  padding-inline: .06em;
}
.mark.is-in, .in .mark, .no-js .mark { background-size: 100% 42%; }
.mark--blue { background-image: linear-gradient(100deg, transparent 0 1%, rgba(51, 144, 236, .28) 2% 97%, transparent 99%); }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 0;
  background: var(--bg); color: var(--fg); font: 600 16px/1 var(--f-body); text-decoration: none;
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 8px 20px -8px rgba(11, 22, 48, .5);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 14px 28px -10px rgba(11, 22, 48, .55); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); box-shadow: 0 8px 20px -10px rgba(120, 150, 0, .7); }
.btn--blue { --bg: var(--blue); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn--block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px;
  border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  font: 500 14px/1 var(--f-body); color: var(--ink-2); white-space: nowrap;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 246, 250, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(243, 246, 250, .94); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 21px/1 var(--f-display); letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo svg { width: 34px; height: 34px; flex: none; transition: transform .5s var(--ease); }
.logo:hover svg { transform: rotate(-8deg) scale(1.05); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px;
  transition: background-color .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--white); color: var(--ink); }
.site-header .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .site-header .btn--header { display: none; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    box-shadow: 0 30px 40px -30px rgba(11, 22, 48, .3);
  }
  .nav a { min-height: 52px; font-size: 18px; }
  .nav .btn { margin: 8px 0 0; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
}
@media (min-width: 901px) { .nav .btn--menu { display: none; } }

/* ---------- Секции ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); overflow: hidden; }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__text { position: relative; z-index: 2; padding-top: 8px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .row { display: block; }
.hero .lead { margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 32px; }
.hero__price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 24px; border-top: 1px dashed var(--line-2); color: var(--muted); font-size: 15px; }
.hero__price b { font: 600 22px/1 var(--f-display); color: var(--ink); letter-spacing: -.02em; }
.hero__visual { position: relative; min-height: 560px; }
.hero__photo {
  position: absolute; inset: 0 0 64px 40px; border-radius: var(--r-xl); overflow: hidden;
  background: var(--paper-2) center/cover no-repeat; box-shadow: var(--shadow-2);
}
.hero__photo video, .hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 22, 48, 0) 50%, rgba(11, 22, 48, .35)); }
.hero__ui { position: absolute; left: -36px; bottom: 0; width: min(78%, 470px); z-index: 3; }
.hero__receipt { position: absolute; right: -12px; top: 28px; z-index: 4; width: 250px; }
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; aspect-ratio: 4 / 3.4; margin-top: 8px; }
  .hero__photo { inset: 0 0 48px 0; }
  .hero__ui { left: 12px; width: min(76%, 470px); }
  .hero__receipt { right: 8px; top: 16px; width: 230px; }
}
@media (max-width: 560px) {
  .hero__visual { aspect-ratio: auto; height: 440px; }
  .hero__photo { inset: 0 0 96px 0; border-radius: var(--r-l); }
  .hero__ui { left: 0; width: 86%; }
  .hero__receipt { right: 0; top: 12px; width: 200px; }
  .hero__price b { font-size: 19px; }
}

/* Чек-«квитанция» сверки */
.receipt {
  position: relative; background: var(--white); color: var(--ink); padding: 18px 18px 22px; border-radius: 14px 14px 4px 4px;
  box-shadow: var(--shadow-2); font-size: 13px;
}
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background: radial-gradient(circle at 7px -2px, transparent 7px, var(--white) 7.5px) -7px 0 / 14px 10px repeat-x;
  filter: drop-shadow(0 4px 3px rgba(11, 22, 48, .08));
}
.receipt__head { display: flex; justify-content: space-between; gap: 8px; font: 500 11px/1.2 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.receipt__title { font-weight: 600; font-size: 14px; line-height: 1.3; margin-bottom: 2px; }
.receipt__sum { font: 500 13px/1.3 var(--f-mono); color: var(--ink-2); margin-bottom: 12px; }
.receipt ul { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 8px; }
.receipt li { display: flex; align-items: center; gap: 10px; opacity: .25; transform: translateX(-4px); transition: opacity .4s, transform .4s var(--ease); }
.receipt li.on { opacity: 1; transform: none; }
.receipt li svg { width: 18px; height: 18px; flex: none; }
.receipt li span { flex: 1; }
.receipt li em { font: 500 11px/1 var(--f-mono); font-style: normal; color: var(--muted); }
.stamp {
  position: absolute; right: 14px; bottom: 18px; transform: rotate(-12deg) scale(1.6); opacity: 0;
  font: 700 12px/1 var(--f-display); letter-spacing: .08em; color: var(--ok); text-transform: uppercase;
  border: 2px solid currentColor; border-radius: 8px; padding: 6px 8px; transition: opacity .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1);
  mix-blend-mode: multiply; background: rgba(221, 243, 230, .5);
}
.receipt.done .stamp { opacity: 1; transform: rotate(-12deg) scale(1); }

/* ---------- Рамки скриншотов ---------- */
.browser {
  background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-2);
  outline: 1px solid rgba(11, 22, 48, .08);
}
.browser__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: #EEF2F7; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3DAE5; flex: none; }
.browser__bar i:first-child { background: #F2A9A5; } .browser__bar i:nth-child(2) { background: #F5D58E; } .browser__bar i:nth-child(3) { background: #A9DDB6; }
.browser__bar span { margin: 0 auto; transform: translateX(-20px); min-width: 0; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 11.5px/22px var(--f-mono); color: var(--muted); background: var(--white); border-radius: 6px; padding: 0 12px; }
.browser img { width: 100%; }
.phone {
  position: relative; background: #0B1630; border-radius: 42px; padding: 9px; box-shadow: var(--shadow-2);
  aspect-ratio: 390 / 844; width: 100%;
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: #0B1630; border-radius: 0 0 14px 14px; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; background: var(--white); }
.tilt { transition: transform .5s var(--ease); transform-style: preserve-3d; will-change: transform; }

figure { margin: 0; }
figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.45; }
figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- Лента систем ---------- */
.systems { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sys {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 12px; border-radius: 14px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px;
}
.sys svg { width: 26px; height: 26px; flex: none; }
.systems__label { font: 500 13px/1.3 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; }

/* ---------- Боли ---------- */
.pains { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.pains__photo { position: sticky; top: 100px; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-1); }
.pains__photo img { width: 100%; height: 115%; object-fit: cover; }
.pain-list { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.pain-list li { counter-increment: p; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 20px; padding: 32px 0; border-top: 1px solid var(--line); }
.pain-list li:last-child { border-bottom: 1px solid var(--line); }
.pain-list li::before { content: "0" counter(p); grid-row: span 2; font: 600 40px/1 var(--f-display); color: var(--line-2); letter-spacing: -.04em; transition: color .5s; }
.pain-list li.in::before { color: var(--blue); }
.pain-list h3 { margin-bottom: 8px; }
.pain-list p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .pains { grid-template-columns: 1fr; }
  .pains__photo { position: relative; top: 0; aspect-ratio: 16/10; }
  .pain-list li { grid-template-columns: 52px minmax(0, 1fr); }
  .pain-list li::before { font-size: 30px; }
}

/* ---------- Путь накладной (тёмная секция) ---------- */
.flow { background: var(--night); color: #E8EEF8; overflow: hidden; }
.flow .eyebrow { color: #8FA3C8; }
.flow h2 { color: #fff; }
.flow .lead { color: #AEBBD6; }
.flow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(143, 163, 200, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 163, 200, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.route { position: relative; margin-top: 8px; }
.route__svg { width: 100%; height: auto; overflow: visible; }
.route__nodes { display: grid; grid-template-columns: 1fr 1fr 1.25fr 1fr; gap: 16px; margin-top: 28px; }
.node {
  position: relative; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-m); padding: 20px;
  transition: border-color .5s, background-color .5s, transform .5s var(--ease);
}
.node.lit { border-color: rgba(214, 245, 49, .55); background: #16264A; transform: translateY(-4px); }
.node__k { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #8FA3C8; margin-bottom: 14px; display: flex; justify-content: space-between; }
.node__k b { color: var(--lime); font-weight: 500; opacity: 0; transition: opacity .4s; }
.node.lit .node__k b { opacity: 1; }
.node h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.node p { font-size: 14.5px; color: #AEBBD6; margin: 0; line-height: 1.5; }
.node__systems { display: grid; gap: 8px; margin-top: 12px; }
.node__systems span { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #DCE5F5; }
.node__systems svg { width: 20px; height: 20px; flex: none; }
.route-doc { transform-box: fill-box; }
@media (max-width: 960px) {
  .route__svg { display: none; }
  .route__nodes { grid-template-columns: 1fr; gap: 0; margin-top: 0; padding-left: 36px; position: relative; }
  .route__nodes::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--blue), var(--lime)); opacity: .6; }
  .node { margin-bottom: 14px; }
  .node::before { content: ""; position: absolute; left: -31px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--night); border: 2px solid var(--blue); transition: background-color .4s, border-color .4s; }
  .node.lit::before { background: var(--lime); border-color: var(--lime); }
}
.flow__note { margin-top: 28px; font-size: 14px; color: #8FA3C8; max-width: 80ch; }

/* ---------- Блоки модулей ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature--flip .feature__text { order: 2; }
.feature__text h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 16px; letter-spacing: -.025em; }
.feature__text > p { color: var(--ink-2); }
.feature__badge { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 99px; font: 500 12.5px/1 var(--f-body); margin-bottom: 18px; }
.feature__badge--live { background: var(--ok-soft); color: var(--ok); }
.feature__badge--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
.feature__badge--int { background: var(--blue-soft); color: var(--blue-ink); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(19, 138, 76, .45); } 80%, 100% { box-shadow: 0 0 0 8px rgba(19, 138, 76, 0); } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--lime);
  -webkit-mask: none;
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 10px; height: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg);
}
.ticks strong { color: var(--ink); font-weight: 600; }
.feature__media { position: relative; }
.feature__photo { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-1); }
.feature__photo img { width: 100%; height: 118%; object-fit: cover; }
.feature__float { position: absolute; z-index: 2; }
.feature__media--combo { padding: 0 0 48px 0; }
.feature__media--combo { padding-bottom: 72px; }
.feature__media--combo .feature__photo { width: 74%; margin-left: auto; }
.feature__media--combo .feature__float { left: -24px; bottom: 0; width: 76%; }
.feature__media--phone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: 20px; align-items: end; }
.feature__media--phone .phone { max-width: 300px; justify-self: end; }
@media (max-width: 900px) {
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__text { order: 0; }
  .feature__media--combo { padding-bottom: 40px; }
  .feature__media--combo .feature__photo { width: 86%; }
  .feature__media--combo .feature__float { left: 0; width: 86%; }
}
@media (max-width: 560px) {
  .feature__media--phone { grid-template-columns: 1fr .7fr; gap: 12px; }
  .phone { border-radius: 30px; padding: 6px; }
  .phone img { border-radius: 25px; }
  .phone::before { top: 12px; height: 14px; }
}

/* ---------- Галерея интерфейса ---------- */
.gallery__tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; margin: 0 0 24px; background: var(--white); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery__tabs::-webkit-scrollbar { display: none; }
.gallery__tabs button {
  flex: none; min-height: 44px; padding: 0 16px; border-radius: 11px; border: 0; background: transparent; color: var(--ink-2);
  font-weight: 500; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s;
}
.gallery__tabs button:hover { background: var(--paper); }
.gallery__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.gallery__stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.gallery__screen { position: relative; }
.gallery__screen .browser img { transition: opacity .35s; }
.gallery__screen.swap .browser img { opacity: 0; }
.gallery__caption { display: grid; gap: 16px; position: sticky; top: 100px; }
.gallery__caption h3 { font-size: 24px; }
.gallery__caption p { color: var(--ink-2); margin: 0; }
.gallery__caption .phone { max-width: 220px; }
@media (max-width: 960px) {
  .gallery__stage { grid-template-columns: 1fr; }
  .gallery__caption { position: static; grid-template-columns: minmax(0, 1fr) 150px; align-items: start; }
  .gallery__caption .phone { max-width: 150px; grid-row: span 2; grid-column: 2; grid-row-start: 1; }
}
@media (max-width: 560px) { .gallery__caption { grid-template-columns: minmax(0, 1fr) 112px; } }

/* Лента телефонов */
.phones { display: flex; gap: 20px; overflow-x: auto; padding: 24px var(--gutter) 32px; margin-inline: calc(var(--gutter) * -1); scroll-snap-type: x mandatory; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.phones figure { flex: none; width: 220px; scroll-snap-align: start; }
.phones figcaption { text-align: center; }
@media (max-width: 560px) { .phones figure { width: 180px; } }

/* ---------- Кейс ---------- */
.case { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.case__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/4; }
.case__photo img { width: 100%; height: 115%; object-fit: cover; }
.case__tag { position: absolute; left: 20px; bottom: 20px; z-index: 2; background: var(--white); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-1); font-size: 14px; }
.case__tag b { display: block; font-family: var(--f-display); font-size: 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--r-m); overflow: hidden; margin-top: 28px; box-shadow: inset 0 0 0 1px var(--line); }
.fact { background: var(--white); padding: 20px; }
.fact b { display: block; font: 600 20px/1.15 var(--f-display); letter-spacing: -.02em; margin-bottom: 6px; }
.fact span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Роли ---------- */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.role { background: var(--white); border-radius: var(--r-l); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.role:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-1); }
.role svg { width: 40px; height: 40px; margin-bottom: 20px; }
.role h3 { margin-bottom: 10px; font-size: 19px; }
.role p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 1000px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }

/* ---------- Тариф ---------- */
.price-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0; border-radius: var(--r-xl); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-2);
}
.price-card__main { padding: clamp(28px, 4vw, 48px); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.price-card__main::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 245, 49, .35), transparent 65%); }
.price-card__main .eyebrow { color: #9FB0CF; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 6px; }
.price b { font: 700 clamp(44px, 4.6vw, 68px)/.95 var(--f-display); white-space: nowrap; letter-spacing: -.05em; color: #fff; }
.price span { font-size: 18px; color: #C9D4EA; }
.price-card__main p { color: #C9D4EA; font-size: 15.5px; }
.price-card__list { padding: clamp(28px, 4vw, 48px); }
.price-card__list h3 { margin-bottom: 4px; }
.billing { display: inline-flex; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .08); margin: 20px 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.billing button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: #C9D4EA; cursor: pointer; font-weight: 500; font-size: 14.5px; }
.billing button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.price-note { font-size: 14px; color: #9FB0CF; min-height: 3em; }
.incl { display: grid; gap: 4px; margin: 20px 0 0; }
.incl__item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.incl__item svg { width: 32px; height: 32px; }
.incl__item b { display: block; font-weight: 600; }
.incl__item span { font-size: 14.5px; color: var(--muted); display: block; line-height: 1.45; }
.incl__item em { font-style: normal; font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.em-live { background: var(--ok-soft); color: var(--ok); }
.em-int { background: var(--blue-soft); color: var(--blue-ink); }
@media (max-width: 900px) { .price-card { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .incl__item { grid-template-columns: 32px minmax(0, 1fr); } .incl__item em { grid-column: 2; justify-self: start; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; background: var(--white); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); font: 600 18px/1 var(--f-display); margin-bottom: 18px; transition: background-color .4s; }
.step.in::before { background: var(--lime); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); background: var(--white); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { font: 500 12px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--paper); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 600; }
.cmp .us { background: #F7FCE0; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 16px 22px; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1630' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq .faq__a { padding: 0 22px 20px; color: var(--ink-2); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- Карточки статей ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-l); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-2); }
.card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.card__tag { font: 500 11.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--blue-ink); }
.card h3 { font-size: 18.5px; line-height: 1.25; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
.card__more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.card__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.card[hidden] { display: none; }

/* ---------- Форма заявки ---------- */
.lead-box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); background: var(--white); border-radius: var(--r-xl); padding: clamp(24px, 5vw, 64px); box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.lead-box::before { content: ""; position: absolute; left: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 245, 49, .45), transparent 65%); pointer-events: none; }
.lead-box__text { position: relative; }
.lead-box__text h2 { margin-bottom: 18px; }
.lead-box__text .ticks { margin-top: 28px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; position: relative; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--paper);
  font-size: 16px; transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366728C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(51, 144, 236, .15); }
.field .err { font-size: 13px; color: var(--err); min-height: 0; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--err); background: #FFF8F8; }
.field.invalid .err { display: block; }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.check.invalid { color: var(--err); }
.form .btn { grid-column: 1 / -1; }
.form__done { display: none; grid-column: 1 / -1; text-align: left; padding: 8px 0; }
.form.sent > :not(.form__done) { display: none; }
.form.sent .form__done { display: block; animation: rise .6s var(--ease); }
.form__done svg { width: 64px; height: 64px; margin-bottom: 16px; }
.form__done h3 { font-size: 26px; margin-bottom: 10px; }
.form__done p { color: var(--ink-2); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .lead-box { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); color: #B6C2DA; padding-block: 64px 40px; font-size: 15px; }
.site-footer a { color: #E2E9F6; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer .logo { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__grid h4 { margin: 0 0 14px; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: #7F8EAE; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer__grid li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #22304F; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13.5px; color: #7F8EAE; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Страница статьи ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.crumbs a { color: var(--muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; display: inline-flex; align-items: center; }
.art-hero { padding-block: clamp(28px, 4vw, 48px) 32px; }
.art-hero h1 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.06; max-width: 22ch; margin-bottom: 24px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.art-answer { position: relative; max-width: 760px; padding: 24px 28px 24px 28px; border-radius: var(--r-m); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 18.5px; line-height: 1.55; }
.art-answer::before { content: "Коротко"; display: inline-block; margin-bottom: 10px; padding: 5px 9px; border-radius: 6px; background: var(--lime); font: 500 11.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; }
.art-answer p { margin: 0; }
.art-cover { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21/9; margin-top: 8px; box-shadow: var(--shadow-1); }
.art-cover img { width: 100%; height: 120%; object-fit: cover; }
.art-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 6vw, 88px); padding-block: 56px 24px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14.5px; }
.toc b { display: block; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-left-color: var(--blue); font-weight: 600; }
.prose { font-size: 18px; line-height: 1.7; min-width: 0; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--f-body); font-weight: 700; font-size: 20px; margin: 32px 0 12px; letter-spacing: -.01em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); font-weight: 600; }
.prose strong { font-weight: 650; }
.prose figure { margin: 36px 0; }
.prose figure.shot--phone { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: center; }
.prose figure.shot--phone figcaption { margin: 0; font-size: 16px; }
@media (max-width: 1000px) { .art-layout { grid-template-columns: 1fr; } .toc { position: static; display: none; } }
@media (max-width: 560px) {
  .prose { font-size: 17px; }
  .prose figure.shot--phone { grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
  .prose figure.shot--phone figcaption { font-size: 14px; }
  .art-answer { padding: 20px; font-size: 17px; }
  .art-cover { aspect-ratio: 4/3; }
}
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 48px 0; padding: 28px 32px; border-radius: var(--r-l); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 245, 49, .4), transparent 65%); }
.cta-band h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #B6C2DA; font-size: 15.5px; }
.cta-band .btn { position: relative; z-index: 1; }
@media (max-width: 640px) { .cta-band { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- Появление при скролле ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--left { transform: translateX(-32px); }
.js .reveal--scale { transform: scale(.96); }
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .mark { background-size: 100% 42%; }
  [data-parallax] { transform: none !important; }
  .receipt li { opacity: 1; transform: none; }
  .stamp { opacity: 1; transform: rotate(-12deg); }
}

/* ---------- Hero v2: продукт — главный визуал ---------- */
.hero--product h1 { font-size: clamp(34px, 4.6vw, 64px); max-width: 15ch; margin: 0; }
.hero__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.hero__side .lead { margin-bottom: 24px; }
.hero__side .hero__cta { margin-bottom: 16px; }
.hero--product .hero__price { display: block; border: 0; padding: 0; margin: 0; font-size: 15px; color: var(--muted); }
.hero--product .hero__price b { font: 700 17px/1 var(--f-body); color: var(--ink); letter-spacing: 0; }
.hero__shot { margin: 0; }
.hero__desk { position: relative; }
.hero__desk .browser { box-shadow: 0 30px 60px -30px rgba(11, 22, 48, .35); }
.pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--f-body); box-shadow: 0 0 0 4px rgba(255,255,255,.9); }
.hero__mob { display: none; }
.legend { list-style: none; counter-reset: l; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0 10px; padding: 0; }
.legend li { counter-increment: l; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.legend li::before { content: counter(l); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--f-body); }
.legend b { color: var(--ink); font-weight: 600; }
.feature__photo--video video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero__head { grid-template-columns: 1fr; }
  .legend { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 700px) {
  .hero__desk { display: none; }
  .hero__mob { display: block; max-width: 300px; margin: 0 auto; }
}
/* Лента систем — без плашек */
.systems { gap: 6px 28px; }
.sys { background: none; box-shadow: none; padding: 0; min-height: 40px; font-weight: 500; color: var(--ink-2); }
.systems__label { font: 600 15px/1.3 var(--f-body); text-transform: none; letter-spacing: 0; color: var(--muted); }

/* ---------- Сценарий поставки ---------- */
.story { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 72px); }
.story__step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.story__text h3 { font-size: clamp(21px, 2vw, 27px); margin: 14px 0 10px; }
.story__text p { color: var(--ink-2); margin: 0; }
.story__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 15px/1 var(--f-body); }
.results { margin-top: clamp(48px, 6vw, 80px); background: var(--ink); color: #DCE5F5; border-radius: var(--r-l); padding: clamp(24px, 4vw, 40px); }
.results__head { font-weight: 600; color: #fff; margin: 0 0 20px; }
.results__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.results__grid b { display: block; font: 700 clamp(36px, 4vw, 52px)/1 var(--f-display); color: var(--lime); letter-spacing: -.03em; margin-bottom: 8px; }
.results__grid span { font-size: 15px; line-height: 1.45; color: #B6C2DA; }
.status-note { background: var(--blue-soft); border-radius: var(--r-m); padding: 20px 22px; }
.status-note h3 { font-family: var(--f-body); font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: 0; }
.status-note p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 900px) {
  .story__step { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .results__grid { grid-template-columns: 1fr; } }

/* ================= v2: спокойная версия (20.10.2026) ================= */
.btn { box-shadow: none; }
.btn:hover { box-shadow: none; }
.btn::after { display: none; }
.section { padding-block: clamp(56px, 7vw, 104px); }
.sec-title { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; margin-bottom: clamp(28px, 3.5vw, 44px); max-width: 22ch; }
.h2o { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.h2o--small { padding-bottom: 24px; }
.h2o--small h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; }
.h2o__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.h2o h1 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; max-width: 14ch; margin-bottom: 22px; }
.h2o .lead { margin-bottom: 18px; }
.h2o__price { font-size: 16px; color: var(--muted); }
.h2o__price b { color: var(--ink); font-weight: 700; }
.h2o__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.h2o__proof { font-size: 14.5px; color: var(--muted); border-left: 3px solid var(--lime-deep); padding-left: 12px; max-width: 50ch; margin: 0; }
/* карточка сопоставления */
.match { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.match__head { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.match__k { font-size: 13px; font-weight: 600; color: var(--muted); }
.match__rows { list-style: none; margin: 0; padding: 0; }
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mrow__src b, .mrow__dst b { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.mrow span { font-size: 14px; color: var(--muted); }
.mrow__arrow { color: var(--line-2); padding-top: 2px; }
.mrow__arrow svg { width: 18px; height: 18px; }
.mrow__note { grid-column: 3; margin: 0; font-size: 13px; color: var(--ok); }
.mrow--ask { background: var(--warn-soft); }
.mrow--ask .mrow__dst b { color: var(--warn); }
.mrow--ask .mrow__note { color: var(--warn); font-weight: 600; }
.match__foot { padding: 12px 18px 14px; font-size: 13.5px; color: var(--muted); margin: 0; }
/* полоса доверия */
.band { background: var(--ink); color: #D3DCEC; padding-block: clamp(40px, 5vw, 64px); }
.band__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 56px; }
.band h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.band__text p { color: #D3DCEC; max-width: 62ch; }
.facts2 { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.facts2 li { padding-top: 10px; border-top: 1px solid #22304F; color: #B6C2DA; }
.facts2 b { color: #fff; font-weight: 600; }
/* сценарий */
.sc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.sc__steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 22px; }
.sc__steps li { counter-increment: s; position: relative; padding-left: 46px; }
.sc__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 600 14px/1 var(--f-body); }
.sc__steps h3 { font-family: var(--f-body); font-size: 18px; font-weight: 700; letter-spacing: 0; margin: 4px 0 6px; }
.sc__steps p { margin: 0; color: var(--ink-2); font-size: 16px; }
.sc__shot { position: sticky; top: 96px; }
.sc__shot .browser { box-shadow: none; outline: 1px solid var(--line); }
/* модули */
.mod-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 28px; }
.mod-head .sec-title { margin-bottom: 0; }
.mod-legend { margin: 0; font-size: 14px; color: var(--muted); line-height: 2.1; }
.mod-legend .st { margin-right: 4px; }
.mod-legend .st + .st { margin-left: 0; }
.mods { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.mod { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.mod:nth-child(even) { padding: 22px 0 22px 24px; border-left: 1px solid var(--line); }
.mod__name { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mod__name svg { width: 32px; height: 32px; flex: none; }
.mod__name h3 { font-family: var(--f-body); font-size: 19px; font-weight: 700; letter-spacing: 0; }
.mod ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mod li { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15.5px; color: var(--ink-2); }
.st { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; padding: 0 9px; border-radius: 6px; font: 600 12.5px/1 var(--f-body); white-space: nowrap; }
.st--live { background: var(--ok-soft); color: var(--ok); }
.st--test { background: var(--blue-soft); color: var(--blue-ink); }
.st--dev { background: var(--paper-2); color: var(--ink-2); }
/* цена */
.pricing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); }
.pricing__k { font-weight: 600; color: var(--blue-ink); margin-bottom: 8px; }
.pricing__num { font-size: 18px; color: var(--ink-2); margin-bottom: 14px; }
.pricing__num b { font: 700 clamp(40px, 5vw, 60px)/1 var(--f-display); color: var(--ink); letter-spacing: -.03em; margin-right: 8px; }
.pricing__main > p { max-width: 52ch; color: var(--ink-2); }
.calc { margin: 24px 0; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.calc label { display: block; font-weight: 600; margin-bottom: 10px; }
.calc__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.calc__btn { width: 48px; height: 48px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--paper); font-size: 22px; cursor: pointer; }
.calc__btn:hover { border-color: var(--ink); }
.calc input { width: 84px; height: 48px; border-radius: 10px; border: 1.5px solid var(--line-2); text-align: center; font-size: 18px; font-weight: 600; background: var(--white); }
.calc__sum { margin-left: 12px; font: 700 22px/1.2 var(--f-body); }
.calc .small { margin: 12px 0 0; }
.pricing__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pricing__side h3 { font-family: var(--f-body); font-size: 17px; font-weight: 700; letter-spacing: 0; margin: 0 0 10px; }
.pricing__side h3 + ul + h3 { margin-top: 24px; }
.plain { margin: 0; padding-left: 1.1em; color: var(--ink-2); display: grid; gap: 8px; font-size: 15.5px; }
/* подключение */
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.connect h3 { font-family: var(--f-body); font-size: 18px; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.steps2 { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; color: var(--ink-2); }
.steps2 li::marker { font-weight: 700; color: var(--ink); }
.steps2 b { color: var(--ink); font-weight: 600; }
.connect__note { margin-top: 24px; }
/* FAQ, форма, статьи */
.faq-wrap { max-width: 860px; }
.faq details { box-shadow: none; border: 1px solid var(--line); }
.faq details[open] { box-shadow: none; border-color: var(--ink); }
.lead2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.lead2 h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 16px; }
.lead2__text > p { color: var(--ink-2); }
.lead2 .steps2 { margin-bottom: 18px; }
.lead2 .form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.arts-mini { border-top: 1px solid var(--line); }
.arts-mini__title { font-size: 22px; margin-bottom: 16px; }
.arts-mini__list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; }
.arts-mini__list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.arts-mini__list a:hover { color: var(--blue-ink); }
.arts-mini__all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.arts-mini__all svg { width: 16px; height: 16px; }
@media (max-width: 960px) {
  .h2o__grid, .sc, .band__grid, .mod-head, .pricing, .connect, .lead2 { grid-template-columns: 1fr; }
  .sc__shot { position: static; }
  .mods { grid-template-columns: 1fr; }
  .mod, .mod:nth-child(even) { padding: 20px 0; border-left: 0; }
}
@media (max-width: 560px) {
  .mod li { grid-template-columns: 1fr; gap: 6px; }
  .mod li .st { justify-self: start; }
  .mrow { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 4px 10px; padding: 12px 14px; }
  .mrow__note { grid-column: 1 / -1; }
  .match__head { gap: 0 28px; padding: 12px 14px; }
  .arts-mini__list { grid-template-columns: 1fr; }
  .calc__sum { margin: 8px 0 0; width: 100%; }
}

.h2o h1 { font-size: clamp(30px, 3.6vw, 48px); max-width: 17ch; }
.h2o h1 br { display: block; }
@media (max-width: 560px) { .h2o h1 { font-size: 29px; max-width: none; } }
.faq-wrap { max-width: none; }
.faq-wrap .faq { max-width: 860px; }
.site-footer .logo svg path { fill: #fff; }
.site-footer .logo svg rect:first-of-type { fill: #0B1630; }

.btn--ghost, .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.art-hero h1 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.prose h2, .card h3 { overflow-wrap: break-word; }
@media (max-width: 560px) { .art-hero h1 { font-size: 26px; } }

/* Первый экран: одна поставка через все системы */
.flow { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); overflow: hidden; }
.flow__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.flow__head b { display: block; font: 600 17px/1.2 var(--f-body); color: var(--ink); }
.flow__head span { font: 400 13.5px/1.4 var(--f-mono); color: var(--muted); }
.flow__badge { flex: none; background: var(--lime); color: var(--ink) !important; font: 600 13px/1 var(--f-body) !important; padding: 8px 11px; border-radius: 8px; }
.flow__steps { list-style: none; margin: 0; padding: 6px 20px; }
.flow__step { display: grid; grid-template-columns: 32px 112px 1fr 22px; align-items: center; gap: 12px; padding: 13px 0; position: relative; }
.flow__step + .flow__step { border-top: 1px dashed var(--line); }
.flow__ic svg { width: 32px; height: 32px; }
.flow__sys { font-size: 14px; color: var(--muted); }
.flow__what b { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.flow__what small { font-size: 13px; color: var(--muted); }
.flow__ok { width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.flow__ok svg { width: 14px; height: 14px; }
.flow__foot { padding: 10px 20px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--paper); }
@media (max-width: 560px) {
  .flow__step { grid-template-columns: 28px 1fr 22px; grid-template-areas: "ic sys ok" "ic what ok"; row-gap: 2px; }
  .flow__ic { grid-area: ic; } .flow__sys { grid-area: sys; font-size: 12.5px; } .flow__what { grid-area: what; } .flow__ok { grid-area: ok; }
  .flow__head { padding: 14px 16px; } .flow__steps { padding: 4px 16px; } .flow__foot { padding: 10px 16px 12px; }
}

/* Первый экран: видео одной поставки */
.hvid { position: relative; margin: 0; }
.hvid__v { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--paper); }
.hvid__snd { position: relative; margin: 4px auto 0; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font: 600 14px/1 var(--f-body); cursor: pointer; }
.hvid__snd::before { content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='black'/%3E%3Cpath d='M16 9c1.5 1.5 1.5 4.5 0 6M18.5 6.5c3 3 3 8 0 11' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='black'/%3E%3Cpath d='M16 9c1.5 1.5 1.5 4.5 0 6M18.5 6.5c3 3 3 8 0 11' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hvid__snd[aria-pressed="true"] { background: var(--lime); border-color: var(--lime-deep); }
.hvid__snd:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Что входит: система — что с ней делаем */
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.incl li { display: grid; grid-template-columns: 28px 150px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.incl li:first-child { border-top: 1px solid var(--line); }
.incl svg { width: 28px; height: 28px; }
.incl b { font-weight: 600; color: var(--ink); }
.incl span { color: var(--ink-2); }
@media (max-width: 560px) { .incl li { grid-template-columns: 28px minmax(0, 1fr); } .incl span { grid-column: 2; margin-top: -8px; } }
.mod li { grid-template-columns: 20px minmax(0, 1fr) !important; gap: 10px; }
.mod li svg { width: 20px; height: 20px; margin-top: 3px; }
