/* NXAI · каталог демо для бухгалтеров и бухгалтерских компаний.
   Характер: светлая, точная фин-редакционная вёрстка. Холодная бумага, тёмно-синие чернила, один акцент — лайм.
   Гарнитуры: Geologica (заголовки), Commissioner (текст), Martian Mono (цифры и пометки).
   Всё видно без JS; скрытые состояния движения включаются только классом .ml-ready (motion-lite). */

:root {
  --bg: #F5F7FA;
  --bg-2: #ECF0F6;
  --surface: #FFFFFF;
  --ink: #0B1B2E;
  --ink-2: #2A3A52;
  --muted: #54627A;
  --line: #D8DFEA;
  --line-2: #E7ECF3;
  --lime: #C8F03C;
  --lime-2: #B6DF25;
  --lime-wash: #F1FACB;

  --f-display: 'Geologica', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Commissioner', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --gut: 16px;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgba(11, 27, 46, .04), 0 18px 40px -22px rgba(11, 27, 46, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
s { text-decoration-thickness: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap, [data-count] { white-space: nowrap; }
.wrap { width: min(100% - var(--gut) * 2, 1200px); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* видимый фокус */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.pack--hot :focus-visible, .stmt__mark:focus-visible { outline-color: var(--lime); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font: 600 1rem/1 var(--f-display); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink);
  transition: background-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--lime { background: var(--lime); box-shadow: 0 3px 0 var(--ink); }
.btn--lime:hover { background: var(--lime-2); }
.btn--lime:active { box-shadow: 0 1px 0 var(--ink); transform: translateY(2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* ---------- общие заголовки ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); flex: none; }
.eyebrow__sep { color: var(--muted); }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
h2 { font-weight: 600; font-size: clamp(1.7rem, 4.4vw, 2.9rem); line-height: 1.08; margin-top: 14px; }
p { text-wrap: pretty; }
.lead { color: var(--ink-2); font-size: 1.0625rem; max-width: 56ch; }
.mark {
  background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .1em; margin: 0 -.1em;
}

.sec { padding: clamp(56px, 9vw, 112px) 0; }
.sec--tight { padding-top: 0; }
.sec--white { background: var(--surface); }
.sec--paper { background: var(--bg-2); }
.sec-head { margin-bottom: clamp(28px, 4.5vw, 52px); }
.sec-head .lead { margin-top: 16px; }
@media (min-width: 900px) {
  .sec-head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
  .sec-head--split .lead { margin: 0; justify-self: end; }
}

/* ---------- N-Enterprise bar: visible link to the studio's main site ---------- */
.studio-bar { background: var(--ink); color: rgba(255, 255, 255, .82); font: 500 12.5px/1.25 var(--f-body); }
.studio-bar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-height: 34px; padding-block: 3px; }
.studio-bar__link { display: inline-flex; align-items: center; min-height: 28px; color: #fff; font-weight: 700; letter-spacing: .01em; text-decoration: none; }
.studio-bar__link::after { content: "\2197"; margin-left: 5px; font-weight: 500; opacity: .8; }
.studio-bar__link:hover, .studio-bar__link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.studio-bar__note { opacity: .74; }

/* ---------- переключатель направлений ---------- */
.mast { background: var(--surface); border-bottom: 1px solid var(--line); }
.mast__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
@media (max-width: 480px) { .niche { padding: 6px 12px; font-size: .8125rem; } }
.niches { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.niche {
  display: inline-block; white-space: nowrap; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  font: 500 .875rem/1.2 var(--f-body); text-decoration: none; color: var(--ink-2); background: var(--bg);
  transition: background-color .2s, border-color .2s, color .2s;
}
.niche:hover { border-color: var(--ink); color: var(--ink); }
.niche.is-current { background: var(--lime); border-color: var(--ink); color: var(--ink); font-weight: 600; }
.mast__note { display: none; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (min-width: 900px) { .mast__note { display: block; } }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(245, 247, 250, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; }
.logo__mark rect, .stmt__mark rect { fill: var(--lime); }
.logo__mark use, .stmt__mark use { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.logo__name { font: 700 1.125rem/1 var(--f-display); letter-spacing: -.02em; }
.logo__sub { display: none; font: 500 .75rem/1 var(--f-mono); letter-spacing: .04em; color: var(--muted); }
.secnav { display: none; gap: 4px; }
.secnav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--ink-2); transition: background-color .2s; }
.secnav a:hover { background: var(--bg-2); color: var(--ink); }
@media (min-width: 560px) { .logo__sub { display: inline; } }
@media (min-width: 1000px) { .secnav { display: flex; } }

/* ---------- первый экран ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 78% 30%, #000 0, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 78% 30%, #000 0, transparent 72%);
}
.hero__grid { position: relative; display: grid; gap: 44px; align-items: center; }
.hero__title {
  margin-top: 18px; font-weight: 600; font-size: clamp(2.15rem, 8.2vw, 4.25rem); line-height: 1.02; letter-spacing: -.04em;
}
.hero__lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.0625rem, 2.4vw, 1.25rem); line-height: 1.5; color: var(--ink-2); }
.facts { display: grid; gap: 0; margin-top: 30px; border-top: 2px solid var(--ink); }
.fact { display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.fact__k { font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact__v { font: 600 1.2rem/1.25 var(--f-display); letter-spacing: -.02em; }
.fact__s { font: 400 .95rem/1.3 var(--f-body); letter-spacing: 0; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(3, 1fr); border-top-width: 2px; }
  .fact { display: block; padding: 16px 18px 16px 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .fact + .fact { padding-left: 18px; }
  .fact:last-child { border-right: 0; }
  .fact__k { display: block; margin-bottom: 8px; }
  .fact__v { font-size: 1.3rem; }
  .fact__s { display: block; margin-top: 2px; }
  .fact:last-child .fact__s { display: inline; }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; }
}

/* «выписка» справа от заголовка */
.hero__visual { position: relative; padding: 26px 0 30px; }
.hero__stack { display: none; }
.stack { position: absolute; width: 36%; border: 6px solid var(--surface); border-radius: 16px; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4 / 5; }
.stack--a { left: -7%; top: -3%; transform: rotate(-7deg); }
.stack--b { right: -6%; bottom: -3%; transform: rotate(6deg); }
@media (min-width: 640px) { .hero__stack { display: block; } }
.stmt {
  position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 22px clamp(18px, 3vw, 28px) 24px; box-shadow: var(--shadow); max-width: 520px; margin-inline: auto;
}
.stmt__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.stmt__title { display: flex; align-items: center; gap: 10px; font: 600 1rem/1.2 var(--f-display); letter-spacing: -.01em; }
.stmt__mark { width: 28px; height: 28px; flex: none; }
.stmt__date { font: 500 .75rem/1 var(--f-mono); padding: 6px 10px; background: var(--lime-wash); border: 1px solid var(--lime-2); border-radius: 999px; white-space: nowrap; }
.stmt__rows { padding: 6px 0; }
.stmt__rows li { display: flex; align-items: baseline; gap: 8px; padding: 11px 0; }
.stmt__k { font-size: .9688rem; line-height: 1.3; color: var(--ink-2); }
.stmt__dots { flex: 1; min-width: 14px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.stmt__v { font: 500 .8125rem/1.3 var(--f-mono); text-align: right; white-space: nowrap; }
.stmt__total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 2px solid var(--ink); font: 600 1rem/1.25 var(--f-display); letter-spacing: -.01em; }
.stmt__total b { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); font: 700 1.5rem/1 var(--f-display); }

/* ---------- без обещаний ---------- */
.promises { background: var(--surface); border-block: 1px solid var(--line); }
.duo { display: grid; gap: 16px; }
.panel { border-radius: var(--r-l); padding: clamp(22px, 3.2vw, 36px); }
.panel__h { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.2; margin-bottom: 20px; }
.panel__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; }
.panel__ico .i { width: 18px; height: 18px; stroke-width: 2.4; }
.panel--never { border: 1.5px dashed #AEB9CB; background: var(--bg); }
.panel--never .panel__ico { background: var(--line); }
.panel--show { border: 1.5px solid var(--ink); background: var(--surface); box-shadow: 8px 8px 0 var(--lime); }
.panel--show .panel__ico { background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.never li, .show li { padding: 13px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.never li:first-child, .show li:first-child { border-top: 0; padding-top: 0; }
.never s { font: 600 1.0625rem/1.35 var(--f-display); letter-spacing: -.01em; color: var(--ink-2); text-decoration-thickness: 1.5px; text-decoration-color: rgba(11, 27, 46, .7); }
.never li span, .show li span { font-size: .9688rem; line-height: 1.45; color: var(--muted); }
.show b { font: 600 1.0625rem/1.35 var(--f-display); letter-spacing: -.01em; }
.show li { position: relative; padding-left: 34px; }
.show li::before { content: ""; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.show li::after { content: ""; position: absolute; left: 8px; top: 18px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) scale(.86); }
.show li:first-child::before { top: 0; }
.show li:first-child::after { top: 4px; }
.rewrite { display: grid; gap: 12px; margin-top: 28px; align-items: stretch; }
.rewrite p { padding: 18px 20px; border-radius: var(--r-m); font-size: 1rem; line-height: 1.5; }
.rewrite__tag { display: block; margin-bottom: 6px; font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rewrite__no { background: var(--bg-2); color: var(--muted); }
.rewrite__no s { text-decoration-thickness: 1.5px; text-decoration-color: rgba(11, 27, 46, .55); }
.rewrite__yes { background: var(--lime-wash); border: 1.5px solid var(--ink); color: var(--ink); }
.rewrite__yes .rewrite__tag { color: var(--ink); }
.rewrite__arrow { display: none; place-items: center; color: var(--ink); }
.rewrite__arrow .i { width: 28px; height: 28px; }
@media (min-width: 820px) {
  .duo { grid-template-columns: 1fr 1fr; gap: 28px; }
  .rewrite { grid-template-columns: 1fr 44px 1.35fr; align-items: center; }
  .rewrite__arrow { display: grid; }
}

/* ---------- фильтры ---------- */
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.fbar__count { font: 500 .875rem/1.2 var(--f-mono); letter-spacing: .02em; color: var(--ink-2); margin-right: auto; }
.fbar__toggle, .fbar__reset { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font: 600 .9375rem/1 var(--f-display); cursor: pointer; }
.fbar__toggle { background: var(--surface); border: 1.5px solid var(--ink); }
.fbar__badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); font: 600 .75rem/1 var(--f-mono); }
.fbar__reset { background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; padding: 0 6px; }
.fpanel { display: grid; gap: 18px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); margin-bottom: clamp(22px, 3vw, 34px); }
.fpanel[data-open="false"] { display: none; }
.fgroup__label { margin-bottom: 10px; font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  font: 500 .9375rem/1.2 var(--f-body); color: var(--ink);
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip__n { font: 500 .6875rem/1 var(--f-mono); color: var(--muted); min-width: 1ch; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .chip__n { color: var(--lime); }
.chip.is-zero { border-style: dashed; color: var(--muted); }
.styles { display: grid; gap: 10px 24px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.styles dt { font: 600 .9375rem/1.3 var(--f-display); letter-spacing: -.01em; }
.styles dd { font-size: .9375rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 900px) {
  .fbar__toggle { display: none; }
  .fpanel, .fpanel[data-open="false"] { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; padding: 26px 28px; }
  .fgroup { grid-column: 1 / -1; }
  .fgroup--half { grid-column: auto; }
  .styles { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- карточки демо ---------- */
.demos { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .demos { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1040px) { .demos { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.demo.is-pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.card:hover, .card:focus-within { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--ink); }
.card__fig { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-2); }
.card__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .7s var(--ease); }
.card:hover .card__fig img { transform: scale(1.04); }
.card__badge {
  position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px 7px 11px;
  background: rgba(255, 255, 255, .93); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 999px; box-shadow: 0 6px 18px -10px rgba(11, 27, 46, .5);
  font: 600 .8125rem/1 var(--f-display); letter-spacing: -.005em;
}
.card__price { font: 500 .75rem/1 var(--f-mono); color: var(--ink-2); padding-left: 9px; border-left: 1px solid var(--line); white-space: nowrap; }
.meter { display: inline-flex; align-items: flex-end; gap: 2px; height: 15px; }
.meter i { width: 4px; border-radius: 1.5px; background: var(--line); }
.meter i:nth-child(1) { height: 6px; }
.meter i:nth-child(2) { height: 9px; }
.meter i:nth-child(3) { height: 12px; }
.meter i:nth-child(4) { height: 15px; }
.meter[data-n="1"] i:nth-child(-n+1), .meter[data-n="2"] i:nth-child(-n+2), .meter[data-n="3"] i:nth-child(-n+3), .meter[data-n="4"] i { background: var(--ink); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card__where { font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.card__brand { margin-top: 8px; font-weight: 600; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.025em; }
.card__practice { margin-top: 6px; color: var(--ink-2); font-size: 1rem; line-height: 1.4; }
.card__tool { margin-top: 14px; padding: 12px 14px; background: var(--bg); border-radius: var(--r-s); font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.card__toollabel { display: block; margin-bottom: 4px; font: 500 .6875rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.card__cta { display: inline-flex; align-items: center; gap: 8px; font: 600 1rem/1 var(--f-display); letter-spacing: -.01em; text-decoration: none; padding: 10px 0 8px; border-bottom: 2px solid var(--lime); }
.card__cta::after { content: ""; position: absolute; inset: 0; }
.card__cta:focus-visible { outline-offset: 6px; }
.card__cta .i { transition: transform .25s var(--ease); }
.card:hover .card__cta .i { transform: translateX(4px); }
.card:hover .card__cta { border-bottom-color: var(--ink); }
.card__pages { font: 500 .75rem/1 var(--f-mono); color: var(--muted); white-space: nowrap; }
.empty { padding: 44px 24px; text-align: center; background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r-l); }
.empty__t { font: 600 1.25rem/1.3 var(--f-display); letter-spacing: -.02em; }
.empty__s { margin: 8px auto 18px; max-width: 40ch; color: var(--muted); }

/* ---------- как это работает ---------- */
.steps { position: relative; display: grid; gap: 28px; padding-left: 0; }
.steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.steps::after {
  content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--ink);
  transform-origin: top; transition: transform 1.6s var(--ease) .2s;
}
.ml-ready .steps:not(.is-in)::after { transform: scaleY(0); }
.step { position: relative; padding-left: 58px; }
.step__dot {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 6px var(--bg); font: 700 1rem/1 var(--f-display); z-index: 1;
}
.step__when { margin-top: 8px; font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.step h3 { margin-top: 6px; font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.step p:last-child { margin-top: 8px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps::before, .steps::after { left: 18px; right: calc(25% - 39px); top: 17px; bottom: auto; width: auto; height: 2px; }
  .steps::after { transform-origin: left; }
  .ml-ready .steps:not(.is-in)::after { transform: scaleX(0); }
  .step { padding: 56px 0 0; }
  .step__dot { left: 0; }
}

/* ---------- предложение «демо за 24 часа» ---------- */
.offer { padding-bottom: clamp(56px, 9vw, 112px); }
.offer__in {
  position: relative; display: grid; gap: 28px; align-items: center; overflow: hidden;
  padding: clamp(28px, 5vw, 64px); background: var(--lime); border: 1.5px solid var(--ink); border-radius: 32px; box-shadow: 0 6px 0 var(--ink);
}
.offer__in::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(0deg, rgba(11, 27, 46, .09) 0 1px, transparent 1px 36px);
}
.offer__text { position: relative; }
.offer__tag { display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.offer__tag::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--ink); }
.offer h2 { margin-top: 16px; font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.12; max-width: 24em; }
.offer__fine { margin: 14px 0 0; max-width: 36em; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.offer__phone { display: inline-flex; align-items: center; gap: 10px; font: 600 1.25rem/1 var(--f-display); letter-spacing: -.01em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
.dial { position: relative; width: 150px; justify-self: start; }
.dial svg { display: block; width: 100%; height: auto; }
.dial__ticks line { stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; opacity: .75; }
.dial__track { fill: none; stroke: rgba(11, 27, 46, .18); stroke-width: 6; }
.dial__ring { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 80px 80px; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.ml-ready .dial:not(.is-in) .dial__ring { stroke-dashoffset: 100; }
.dial__big { font: 700 28px var(--f-display); fill: var(--ink); letter-spacing: -1px; }
.dial__sm { font: 500 8.5px var(--f-mono); fill: var(--ink); letter-spacing: .6px; text-transform: uppercase; }
.dial__cap { margin: 6px 0 0; text-align: center; font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
@media (min-width: 820px) {
  .offer__in { grid-template-columns: 1fr 220px; }
  .dial { width: 220px; justify-self: end; }
}

/* ---------- пакеты ---------- */
.packs { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 720px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .packs { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.pack__in {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px 22px 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l);
}
.pack--hot .pack__in { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 24px 50px -26px rgba(11, 27, 46, .6); }
.pack__flag {
  position: absolute; top: -13px; left: 22px; padding: 6px 12px; background: var(--lime); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px;
  font: 600 .75rem/1 var(--f-display); letter-spacing: .01em;
}
.pack__no { font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pack--hot .pack__no { color: #AFBCD0; }
.pack__name { margin-top: 8px; font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.pack__price { margin-top: 14px; font: 700 clamp(1.75rem, 2.6vw, 2.15rem)/1.05 var(--f-display); letter-spacing: -.035em; }
.pack__meta { margin-top: 8px; font: 500 .8125rem/1.4 var(--f-mono); color: var(--muted); }
.pack--hot .pack__meta { color: #AFBCD0; }
.pack__lead { margin-top: 14px; font-size: .9688rem; line-height: 1.5; color: var(--ink-2); }
.pack--hot .pack__lead { color: #D3DCEA; }
.pack__list { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pack--hot .pack__list { border-top-color: rgba(255, 255, 255, .18); }
.pack__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .9688rem; line-height: 1.4; }
.pack__list .i { width: 20px; height: 20px; padding: 3px; margin-top: 1px; background: var(--lime); border-radius: 50%; stroke: var(--ink); stroke-width: 3; }
.pack__ex { margin-top: auto; padding-top: 22px; }
.pack__exh { margin-bottom: 10px; font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pack--hot .pack__exh { color: #AFBCD0; }
.pack__ex ul { display: grid; gap: 8px; margin-bottom: 16px; }
.ex { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 6px; margin: -6px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.ex:hover { background: rgba(11, 27, 46, .06); }
.pack--hot .ex:hover { background: rgba(255, 255, 255, .1); }
.ex img { width: 40px; height: 50px; object-fit: cover; border-radius: 8px; }
.ex__t { display: grid; gap: 1px; min-width: 0; }
.ex__t b { font: 600 .875rem/1.25 var(--f-display); letter-spacing: -.01em; }
.ex__t small { font-size: .8125rem; line-height: 1.3; color: var(--muted); }
.pack--hot .ex__t small { color: #AFBCD0; }
.pack .btn--block .i { display: none; }
.pack .btn--block { padding: 0 14px; font-size: .9375rem; }
.pack--hot .btn--line { border-color: #fff; color: #fff; }
.pack--hot .btn--line:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* ---------- сравнение ---------- */
.cmp__scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); -webkit-overflow-scrolling: touch; }
.cmp__table { width: 100%; min-width: 780px; border-collapse: separate; border-spacing: 0; font-size: .9688rem; }
.cmp__table th, .cmp__table td { padding: 13px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line-2); line-height: 1.35; }
.cmp__table tbody tr:last-child th, .cmp__table tbody tr:last-child td { border-bottom: 0; }
.cmp__table thead th { position: sticky; top: 0; background: var(--ink); color: #fff; font: 600 .9375rem/1.2 var(--f-display); letter-spacing: -.01em; border-bottom: 0; }
.cmp__table thead th:first-child { border-top-left-radius: calc(var(--r-l) - 2px); }
.cmp__table thead th:last-child { border-top-right-radius: calc(var(--r-l) - 2px); }
.cmp__table thead th.is-hot { background: var(--lime); color: var(--ink); }
.cmp__table tbody th { font-weight: 500; color: var(--ink-2); min-width: 150px; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.cmp__table thead th:first-child { position: sticky; left: 0; z-index: 2; }
.cmp__table td { color: var(--ink); }
.cmp__table td:nth-child(3) { background: var(--lime-wash); }
.cmp__table tbody tr:first-child td, .cmp__table tbody tr:nth-child(2) td { font: 500 .875rem/1.3 var(--f-mono); }
.yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.yes .i { width: 14px; height: 14px; stroke-width: 3; }
.no { color: #8995AA; }
.cmp__hint { display: none; margin-top: 10px; font: 500 .75rem/1.3 var(--f-mono); color: var(--muted); text-align: right; }
@media (max-width: 899px) { .cmp__hint { display: block; } }
@media (min-width: 900px) { .cmp__table tbody th { min-width: 240px; } }

/* ---------- обслуживание ---------- */
.gift { display: grid; gap: 10px; margin-bottom: 22px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-left: 8px solid var(--lime); border-radius: var(--r-m); }
.gift__a { font: 600 1.0625rem/1.4 var(--f-display); letter-spacing: -.015em; }
.gift__b { color: var(--ink-2); font-size: 1rem; }
@media (min-width: 900px) { .gift { grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; } }
.plans { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan__in { position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.plan--rec .plan__in { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--lime); }
.plan__flag { position: absolute; top: -13px; left: 22px; padding: 6px 12px; background: var(--lime); border: 1.5px solid var(--ink); border-radius: 999px; font: 600 .75rem/1 var(--f-display); }
.plan__name { font-weight: 600; font-size: 1.4rem; line-height: 1.1; }
.plan__price { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font: 700 1.9rem/1 var(--f-display); letter-spacing: -.035em; }
.plan__price span { font: 500 .8125rem/1 var(--f-mono); color: var(--muted); }
.plan__lead { margin-top: 10px; color: var(--ink-2); font-size: .9688rem; line-height: 1.45; }
.plan__list { margin: 18px 0 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9688rem; line-height: 1.4; }
.plan__list .i { width: 20px; height: 20px; padding: 3px; margin-top: 1px; background: var(--lime); border-radius: 50%; stroke: var(--ink); stroke-width: 3; }
.ladder { margin-top: auto; display: grid; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--bg); }
.ladder > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 11px 14px; }
.ladder > div + div { border-top: 1px solid var(--line); }
.ladder dt { font: 500 .6875rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ladder dd { font: 600 .9375rem/1.3 var(--f-display); letter-spacing: -.01em; text-align: right; }
.ladder dd span { font: 500 .75rem/1 var(--f-mono); color: var(--ink-2); white-space: nowrap; }
.aibox { margin-top: 36px; padding: clamp(22px, 3.4vw, 36px); border: 1.5px dashed #AEB9CB; border-radius: var(--r-l); background: rgba(255, 255, 255, .55); }
.aibox__head h3 { font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.2; }
.aibox__head p { margin-top: 10px; max-width: 70ch; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.ais { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 900px) { .ais { grid-template-columns: repeat(3, 1fr); } }
.ai__in { display: flex; flex-direction: column; height: 100%; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.ai__name { font: 600 1.15rem/1.2 var(--f-display); letter-spacing: -.02em; }
.ai__price { margin-top: 8px; font-size: .9688rem; line-height: 1.4; color: var(--ink-2); }
.ai__price b { display: block; font: 700 1.3rem/1.2 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.ai__lead { margin: 10px 0 16px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.ai--ask .ai__in { background: transparent; border-style: dashed; }

/* ---------- условия ---------- */
.pay { display: grid; gap: 16px; }
@media (min-width: 760px) { .pay { grid-template-columns: 1fr 1fr; gap: 24px; } }
.pay__card { position: relative; padding: clamp(22px, 3.2vw, 34px); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--bg); }
.pay__card--a { background: var(--lime-wash); border: 1.5px solid var(--ink); }
.pay__card h3 { font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.2; padding-right: 6.5rem; }
.pay__card p { margin-top: 10px; max-width: 46ch; color: var(--ink-2); }
.pay__flag { position: absolute; top: 20px; right: 20px; margin: 0 !important; padding: 6px 12px; background: var(--lime); border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink) !important; font: 600 .75rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.split { display: flex; gap: 4px; margin-top: 20px; height: 34px; }
.split li { display: flex; align-items: center; justify-content: center; border-radius: 8px; font: 600 .8125rem/1 var(--f-mono); }
.split li::after { content: "%"; }
.split li:nth-child(1) { flex: 50; background: var(--ink); color: #fff; }
.split li:nth-child(2) { flex: 30; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--ink); }
.split li:nth-child(3) { flex: 20; background: var(--lime-wash); box-shadow: inset 0 0 0 1.5px var(--ink); }
.terms { display: grid; gap: 0; margin-top: clamp(32px, 5vw, 56px); grid-template-columns: 1fr; }
.terms li { padding: 20px 0 22px; border-top: 2px solid var(--ink); }
.terms__no { font: 500 .75rem/1 var(--f-mono); color: var(--muted); letter-spacing: .08em; }
.terms h3 { margin-top: 12px; font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.terms p { margin-top: 8px; font-size: .9688rem; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 720px) { .terms { grid-template-columns: repeat(2, 1fr); column-gap: 28px; } }
@media (min-width: 1100px) { .terms { grid-template-columns: repeat(5, 1fr); column-gap: 22px; } }

/* ---------- контакт ---------- */
.contact { position: relative; overflow: clip; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 20% 50%, #000 0, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 20% 50%, #000 0, transparent 75%);
}
.contact__in { position: relative; display: grid; gap: 32px; align-items: center; }
.contact h2 { font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.035em; }
.contact .lead { margin-top: 18px; }
.contact__actions { display: grid; gap: 18px; justify-items: start; }
.contact__phone { display: inline-flex; align-items: center; gap: 10px; font: 600 1.5rem/1 var(--f-display); letter-spacing: -.02em; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 6px; }
.contact__phone:hover { border-bottom-color: var(--ink); }
@media (min-width: 900px) { .contact__in { grid-template-columns: 1.3fr 1fr; gap: 64px; } .contact__actions { justify-items: start; } }

/* ---------- подвал ---------- */
.foot { padding: 28px 0 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot__in { display: grid; gap: 8px; }
.foot__brand { font-size: .9375rem; color: var(--ink-2); }
.foot__brand b { font-family: var(--f-display); font-weight: 700; }
.foot__note { font-size: .875rem; line-height: 1.5; color: var(--muted); max-width: 90ch; }
.foot__note a { color: var(--ink-2); text-underline-offset: 3px; }

/* ---------- движение: только когда оно разрешено ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .card:focus-within { transform: none; }
}

/* --- «Хочу такой» на карточках, переключатель направлений (ночь 2026-10-17) --- */
.card__want { margin: 0; }
.card__want-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 600 .9375rem/1 var(--f-body); color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime-2); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.card__want-link:hover { text-decoration-color: var(--ink); }
