/* ==========================================================================
   САКУРА — дизайн-система сайта
   Семейство с Cognitum: светлая тема, белые карточки, мягкие тени, pill-навигация.
   Бренд: слива и румянец из логотипа САКУРЫ.
   ========================================================================== */

:root {
  --bg: #f5f3f6;
  --bg-2: #efecf1;
  --card: #ffffff;
  --ink: #18131b;
  --ink-2: #3a3340;
  --muted: #6e6672;
  --faint: #9a93a0;
  --line: #e8e3ec;
  --line-2: #dcd5e1;

  --plum: #6b0e66;
  --plum-deep: #3f0645;
  --plum-tint: #f4e6f1;
  --rose: #c2457b;
  --blush: #f6dde1;
  --blush-2: #fbeef0;

  --ok: #1e8a5a;
  --ok-tint: #e3f3ea;
  --warn: #b7791f;
  --warn-tint: #fbf0dc;
  --crit: #c2383a;
  --crit-tint: #fbe5e4;
  --info: #3d5ea8;
  --info-tint: #e6ebf7;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(40, 14, 44, .05), 0 2px 8px rgba(40, 14, 44, .05);
  --shadow: 0 1px 2px rgba(40, 14, 44, .04), 0 10px 30px -8px rgba(40, 14, 44, .12);
  --shadow-lg: 0 2px 4px rgba(40, 14, 44, .04), 0 30px 60px -20px rgba(40, 14, 44, .22);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1232px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(88px, 11vw, 150px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(194, 69, 123, .12); touch-action: manipulation; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.018em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blush); color: var(--plum-deep); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 16px; }

/* Фоновая подсветка страницы: мягкие пятна сливы и румянца, как у Cognitum */
.page-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.page-glow::before, .page-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
}
.page-glow::before { width: 720px; height: 520px; left: -220px; top: -180px; background: radial-gradient(closest-side, #f1dbe9, transparent); }
.page-glow::after { width: 820px; height: 620px; right: -260px; top: 30vh; background: radial-gradient(closest-side, #ece4f6, transparent); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section) 0; }
.section:last-of-type { padding-bottom: var(--section); }
.mono { font-family: var(--mono); font-feature-settings: normal; letter-spacing: -.01em; }

/* ---------- Типографика ---------- */
.h-display { font-size: clamp(38px, 4.9vw, 58px); letter-spacing: -.026em; line-height: 1.06; }
.h-1 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.022em; line-height: 1.12; }
.h-2 { font-size: clamp(20px, 1.9vw, 23px); letter-spacing: -.016em; line-height: 1.25; font-weight: 650; }
.h-3 { font-size: 19px; letter-spacing: -.015em; line-height: 1.3; font-weight: 650; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.body { color: var(--muted); font-size: 15px; line-height: 1.6; }
.small { font-size: 13px; color: var(--muted); }
.kicker { display: block; font-size: 14px; font-weight: 600; color: var(--plum); margin-bottom: 14px; letter-spacing: -.005em; }
.ink-soft { color: var(--faint); }

.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }
.head--center { text-align: center; justify-items: center; }
.head--center .lead { margin-inline: auto; }
.head--split { grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }
.head--split > div { display: grid; gap: 18px; }
@media (max-width: 760px) { .head--split { grid-template-columns: 1fr; } }

/* ---------- Кнопки ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--plum) 0%, var(--plum-deep) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -8px rgba(63, 6, 69, .6);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 28px -10px rgba(63, 6, 69, .65); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.btn--text { background: none; color: var(--muted); padding: 0 8px; font-weight: 500; }
.btn--text:hover { color: var(--ink); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--link { color: var(--plum); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.btn--link svg { width: 14px; height: 14px; transition: transform .2s; }
.btn--link:hover svg { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Навигация ---------- */
.nav-wrap { position: fixed; inset: 12px 0 auto; z-index: 50; padding-inline: max(12px, calc((100vw - 1280px) / 2)); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px; padding: 0 8px 0 20px; border-radius: 999px;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 12px 32px -12px rgba(40, 14, 44, .18);
  transition: box-shadow .3s;
}
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-2); }
.nav__links a {
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s, box-shadow .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { background: var(--card); color: var(--plum); box-shadow: var(--shadow-sm); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-2); cursor: pointer; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.nav__burger span::before { top: -5px; } .nav__burger span::after { top: 5px; }
.nav-open .nav__burger span { background: transparent; }
.nav-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }
.nav-sheet { display: none; }

@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta .btn { --h: 42px; padding: 0 16px; font-size: 14px; }
  .nav-sheet {
    display: grid; gap: 4px; margin-top: 8px; padding: 10px; border-radius: 24px;
    background: rgba(255,255,255,.96); backdrop-filter: blur(18px); box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav-sheet a { padding: 12px 16px; border-radius: 14px; font-weight: 500; }
  .nav-sheet a[aria-current="page"] { background: var(--plum-tint); color: var(--plum); }
  .nav-open .nav-sheet { opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 400px) { .nav__cta .btn { padding: 0 14px; font-size: 13px; } .nav { padding-left: 14px; } }

/* ---------- Карточки ---------- */
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); position: relative; }
.card--pad { padding: clamp(22px, 2.4vw, 30px); }
.icon-bubble {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--plum-tint); color: var(--plum); flex: none;
}
.icon-bubble svg { width: 20px; height: 20px; }
.icon-bubble--ring { background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.tone-rose .icon-bubble { background: var(--blush-2); color: var(--rose); }
.tone-ok .icon-bubble { background: var(--ok-tint); color: var(--ok); }
.tone-warn .icon-bubble { background: var(--warn-tint); color: var(--warn); }
.tone-info .icon-bubble { background: var(--info-tint); color: var(--info); }
.tone-crit .icon-bubble { background: var(--crit-tint); color: var(--crit); }

/* Чипы */
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; color: var(--plum); }
.chip--soft { background: var(--bg-2); box-shadow: none; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--plum-tint); color: var(--plum); white-space: nowrap; }
.tag--ok { background: var(--ok-tint); color: var(--ok); }
.tag--warn { background: var(--warn-tint); color: var(--warn); }
.tag--crit { background: var(--crit-tint); color: var(--crit); }
.tag--info { background: var(--info-tint); color: var(--info); }
.tag--muted { background: var(--bg-2); color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }

/* Заглушки для данных, которые команда должна подтвердить */
.todo {
  background: repeating-linear-gradient(-45deg, #fff6df, #fff6df 6px, #fdefc8 6px, #fdefc8 12px);
  outline: 1.5px dashed #d59b21; outline-offset: 2px; border-radius: 4px; color: #6b4a06;
  padding: 0 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.todo-note {
  display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; padding: 4px 10px;
  border-radius: 8px; font-size: 12px; line-height: 1.4; color: #6b4a06; background: #fff6df; border: 1px dashed #d59b21;
}
.todo-note::before { content: "Заглушка"; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(128px, 14vw, 170px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__copy .lead { max-width: 34em; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 5px;
  border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); font-size: 13px; color: var(--ink-2);
  transition: box-shadow .2s;
}
.hero__badge:hover { box-shadow: var(--shadow); }
.hero__badge .mono { padding: 3px 9px; border-radius: 999px; background: var(--plum-tint); color: var(--plum); font-size: 12px; font-weight: 600; }
.hero__badge svg { width: 14px; height: 14px; color: var(--faint); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.hero__proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof svg { width: 15px; height: 15px; color: var(--plum); }
@media (max-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.enter { opacity: 0; transform: translateY(16px); animation: enter .7s var(--ease) forwards; }
.enter-1 { animation-delay: .08s; } .enter-2 { animation-delay: .16s; } .enter-3 { animation-delay: .24s; } .enter-4 { animation-delay: .32s; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* ---------- Окно консоли (мок интерфейса) ---------- */
.window { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.window__dots { display: flex; gap: 7px; }
.window__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window__url { margin-inline: auto; padding: 3px 14px; border-radius: 999px; background: var(--bg-2); font: 500 11px/1.5 var(--mono); color: var(--faint); }
.window__bar::after { content: ""; width: 44px; }

/* Консоль героя */
.console { display: grid; grid-template-columns: 196px 1fr; min-height: 470px; }
.console__side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 2px; font-size: 12.5px; }
.console__side .s-item { display: flex; align-items: center; gap: 9px; padding: 7px 10px; white-space: nowrap; border-radius: 10px; color: var(--muted); }
.console__side .s-item svg { width: 15px; height: 15px; flex: none; }
.console__side .s-item.is-active { background: var(--bg-2); color: var(--ink); font-weight: 600; }
.console__side .s-label { margin: 12px 10px 4px; font-size: 11px; color: var(--faint); }
.console__side .s-count { margin-left: auto; font: 500 11px var(--mono); color: var(--faint); }
.console__main { padding: 14px 16px 16px; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; background: #fcfbfd; min-width: 0; }
.console__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 650; }
.console__title .small { font-weight: 400; font-size: 12px; }
.lights { display: flex; gap: 6px; }
.lights span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); font-size: 11.5px; color: var(--ink-2); }
.lights b { font: 600 11.5px var(--mono); }

.ws-list { display: grid; gap: 6px; align-content: start; }
.ws {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), background .4s;
}
.ws__name { font: 600 12.5px/1.2 var(--mono); }
.ws__meta { font-size: 11.5px; color: var(--faint); margin-top: 3px; display: flex; gap: 8px; }
.ws.is-focus { box-shadow: 0 0 0 1.5px var(--rose), 0 10px 24px -10px rgba(194, 69, 123, .45); transform: scale(1.01); }
.status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; transition: background .35s, color .35s; white-space: nowrap; }
.status[data-s="ok"] { background: var(--ok-tint); color: var(--ok); }
.status[data-s="warn"] { background: var(--warn-tint); color: var(--warn); }
.status[data-s="crit"] { background: var(--crit-tint); color: var(--crit); }
.status[data-s="check"] { background: var(--info-tint); color: var(--info); }
.status[data-s="off"] { background: var(--bg-2); color: var(--faint); }

/* Панель проверки в герое */
.check-panel {
  border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); padding: 12px;
  display: grid; gap: 8px; align-content: start; min-height: 196px;
}
.check-panel__head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.check-panel__head b { color: var(--ink); font-weight: 600; }
.rule { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; font-size: 12.5px; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s var(--ease); }
.rule.is-in { opacity: 1; transform: none; }
.rule__ico { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--faint); }
.rule__ico svg { width: 11px; height: 11px; }
.rule[data-r="run"] .rule__ico { background: none; box-shadow: inset 0 0 0 2px var(--info-tint); border-top: 2px solid var(--info); animation: spin .8s linear infinite; }
.rule[data-r="run"] .rule__ico svg { display: none; }
.rule[data-r="ok"] .rule__ico { background: var(--ok-tint); color: var(--ok); }
.rule[data-r="bad"] .rule__ico { background: var(--crit-tint); color: var(--crit); }
.rule__pts { font: 600 11.5px var(--mono); color: var(--faint); }
.rule[data-r="bad"] .rule__pts { color: var(--crit); }
@keyframes spin { to { transform: rotate(360deg); } }
.score { display: flex; align-items: center; gap: 10px; margin-top: 2px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 12px; color: var(--muted); }
.score__bar { flex: 1; height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.score__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--warn), var(--crit)); transition: width .6s var(--ease); }
.score b { font: 600 12px var(--mono); color: var(--ink); min-width: 52px; text-align: right; }

/* Всплывающее уведомление агента */
.toast {
  position: absolute; right: 18px; bottom: 18px; width: min(300px, calc(100% - 36px)); z-index: 3;
  padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.97); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 12.5px;
  opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .4s, transform .5s var(--ease); pointer-events: none;
}
.toast.is-in { opacity: 1; transform: none; }
.toast__ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--sakura-grad, var(--plum-tint)); }
.toast__ico img { width: 20px; }
.toast b { display: block; font-weight: 600; margin-bottom: 2px; }
.toast p { color: var(--muted); line-height: 1.45; }
.toast__act { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--plum); color: #fff; font-weight: 600; font-size: 11.5px; transition: transform .2s, background .3s; }
.toast__act.is-press { transform: scale(.94); background: var(--plum-deep); }
.hero-stage { position: relative; }
.hero-stage .window { position: relative; }
.hero-caption { margin-top: 14px; display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 13px; color: var(--faint); min-height: 28px; }
.hero-caption [data-caption] { transition: opacity .3s; }
.hero-pause { height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--bg-2); color: var(--muted); font-size: 12px; font-weight: 500; cursor: pointer; }
.hero-pause:hover { color: var(--ink); }

@media (max-width: 640px) {
  .console { grid-template-columns: 1fr; min-height: 0; }
  .console__side { display: none; }
  .lights { display: none; }
}

/* ---------- Бегущая лента ---------- */
.marquee-card { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; padding: 14px 14px 14px 28px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); }
.marquee-card__label { font-size: 13px; color: var(--faint); white-space: nowrap; }
.marquee { --gap: 12px; --dur: 60s; display: flex; gap: var(--gap); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: var(--gap); flex: none; min-width: 100%; justify-content: space-around; animation: marquee var(--dur) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .chip { background: var(--bg-2); box-shadow: none; height: 34px; padding: 0 14px; font-size: 14px; }
.marquee .chip .dot { color: var(--plum); width: 6px; height: 6px; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
@media (max-width: 640px) { .marquee-card { grid-template-columns: 1fr; border-radius: var(--r-lg); padding: 18px; gap: 12px; } }

/* ---------- Бенто ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento > * { grid-column: span 6; }
.bento .span-4 { grid-column: span 4; } .bento .span-5 { grid-column: span 5; } .bento .span-7 { grid-column: span 7; } .bento .span-8 { grid-column: span 8; } .bento .span-12 { grid-column: span 12; }
.tile { display: grid; grid-template-rows: 1fr auto; gap: 22px; padding: 22px 24px 26px; min-height: 360px; overflow: hidden; }
.tile__art { position: relative; min-height: 170px; display: grid; align-items: center; }
.tile__text { display: grid; gap: 10px; justify-items: start; }
.tile__text .body { max-width: 52ch; }
@media (max-width: 980px) { .bento > *, .bento .span-4, .bento .span-5, .bento .span-7, .bento .span-8 { grid-column: span 12; } }

/* Мини-иллюстрации в бенто */
.mini-rules { display: grid; gap: 7px; width: min(100%, 360px); }
.mini-rule { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--bg); font-size: 13px; }
.mini-rule .rule__ico { width: 20px; height: 20px; }
.mini-rule span.grow { flex: 1; }
.mini-rule .mono { font-size: 11.5px; color: var(--faint); }

.notice { width: min(100%, 340px); padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow), 0 0 0 1px var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 13px; }
.notice__ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--blush-2); }
.notice__ico img { width: 22px; }
.notice b { display: block; font-weight: 600; margin-bottom: 2px; }
.notice p { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.notice .btn-row { margin-top: 10px; gap: 6px; }
.notice .pill { height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; }
.notice .pill--p { background: var(--plum); color: #fff; }
.notice .pill--g { background: var(--bg-2); color: var(--muted); }
.notice-stack { position: relative; display: grid; justify-items: center; }
.notice-stack .notice:nth-child(2) { position: absolute; top: -18px; transform: scale(.93); opacity: .55; z-index: -1; filter: blur(.2px); }

.matrix { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 12px; }
.matrix th { font-weight: 500; color: var(--faint); text-align: left; padding: 2px 6px; font-size: 11.5px; }
.matrix td { padding: 8px 10px; border-radius: 10px; background: var(--bg); color: var(--ink-2); white-space: nowrap; transition: background .4s, color .4s, box-shadow .4s; }
.matrix td.is-hit { background: var(--plum); color: #fff; box-shadow: 0 6px 16px -6px rgba(107, 14, 102, .6); }

.score-rows { display: grid; gap: 10px; width: min(100%, 380px); }
.score-row { display: grid; grid-template-columns: 1fr 120px 44px; gap: 12px; align-items: center; font-size: 13px; }
.score-row .bar { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.score-row .bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c, var(--plum)); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.is-visible .score-row .bar i { transform: scaleX(1); }
.score-row .mono { font-size: 12px; text-align: right; color: var(--ink-2); }

.monitors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.monitor { padding: 12px; border-radius: 14px; background: var(--bg); display: grid; gap: 6px; font-size: 12.5px; }
.monitor svg { width: 16px; height: 16px; color: var(--plum); }
.monitor .mono { font-size: 15px; color: var(--ink); font-weight: 600; }
.monitor span:last-child { color: var(--muted); font-size: 11.5px; }

/* ---------- Анимированные лучи (схемы связей) ---------- */
.beam-stage { position: relative; }
.beam-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.beam-svg .b-base { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.beam-svg .b-flow { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 90 910; animation: beam var(--d, 3.2s) linear infinite; animation-delay: var(--delay, 0s); }
.beam-svg .b-flow.is-deny { stroke: var(--crit) !important; }
@keyframes beam { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.beam-svg .b-flow.rev { animation-name: beam-rev; }
@keyframes beam-rev { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 1000; } }
.node { position: relative; z-index: 1; }
.hub {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; background: var(--card);
  display: grid; place-items: center; box-shadow: var(--shadow), 0 0 0 6px rgba(255,255,255,.7);
}
.hub img { width: 40px; }
.hub::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid var(--blush); animation: pulse-ring 2.8s ease-out infinite; }
@keyframes pulse-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.hub--rect { width: auto; height: auto; border-radius: 22px; padding: 14px 18px; display: grid; gap: 6px; justify-items: center; font-size: 12px; font-weight: 600; }
.hub--rect::before { border-radius: 30px; }

.beam-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; align-content: center; gap: 24px; padding: 24px clamp(12px, 3vw, 32px); }
.beam-col { display: grid; gap: 14px; }
.beam-col--l { justify-items: start; }
.beam-col--r { justify-items: end; }
.beam-panel { border-radius: 22px; background: var(--bg); padding: 8px 0; }
.beam-panel__head { display: flex; justify-content: space-between; padding: 14px 24px 0; font-size: 12px; color: var(--faint); }
@media (max-width: 560px) { .beam-row { gap: 10px; padding-inline: 8px; } .beam-row .chip { font-size: 11px; padding: 0 8px; height: 26px; } .beam-row .chip svg { display: none; } .hub { width: 56px; height: 56px; } .hub img { width: 30px; } }

/* ---------- Сетка карточек модулей ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1060px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.module { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 30px 26px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.module::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: var(--bar, var(--plum)); }
a.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.module .body { font-size: 14.5px; }
.module .btn--link { margin-top: 6px; }

.why { display: grid; grid-template-rows: auto auto 1fr; gap: 14px; padding: 26px; }
.why__top { display: flex; justify-content: space-between; align-items: flex-start; }

/* Двухколоночный раздел: текст + схема */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split__copy { display: grid; gap: 22px; justify-items: start; }
@media (max-width: 980px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev .split__copy { order: -1; } }
.ticks { display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 0; border-radius: 50%; background: var(--plum-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b0e66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Табы и галерея скриншотов ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 5px; border-radius: 999px; background: var(--bg-2); margin: 0 auto 28px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.tabs button svg { width: 16px; height: 16px; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--plum); box-shadow: var(--shadow-sm); }
.tabs-center { display: flex; justify-content: center; }
@media (max-width: 640px) { .tabs { border-radius: 22px; } .tabs button { height: 36px; padding: 0 12px; font-size: 13.5px; } }

.shots { position: relative; }
.shot { display: none; }
.shot.is-active { display: block; animation: shot-in .5s var(--ease); }
@keyframes shot-in { from { opacity: 0; transform: translateY(8px) scale(.995); } to { opacity: 1; transform: none; } }
.shot__frame { border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot__frame img { width: 100%; height: auto; }
.shot__ph {
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; gap: 8px; padding: 24px;
  background: repeating-linear-gradient(-45deg, #fbf9fc 0 12px, #fff 12px 24px);
  color: var(--faint); font-size: 14px;
}
.shot__ph > div { display: grid; gap: 8px; justify-items: center; background: var(--card); padding: 18px 24px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.shot__ph code { font: 500 12.5px var(--mono); color: var(--plum); background: var(--plum-tint); padding: 3px 8px; border-radius: 6px; }
.shot__cap { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.progress-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.progress-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-2); transition: width .3s, background .3s; }
.progress-dots i.is-active { width: 32px; background: var(--plum); }

/* ---------- Таймлайн релизов ---------- */
.timeline { display: grid; gap: 24px; position: relative; }
.release { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; position: relative; }
.release__meta { position: relative; display: grid; grid-template-columns: 1fr 16px 96px; align-items: start; column-gap: 12px; padding-top: 26px; }
.release__v { font: 600 20px/1 var(--mono); letter-spacing: -.02em; text-align: right; }
.release__pin { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--plum); background: var(--card); z-index: 1; }
.release.is-current .release__pin { background: var(--plum); box-shadow: 0 0 0 5px var(--plum-tint); }
.release__date { font-size: 13.5px; color: var(--muted); display: grid; gap: 8px; justify-items: start; padding-top: 1px; }
.timeline::before { content: ""; position: absolute; left: 103px; top: 36px; bottom: 30px; width: 2px; background: linear-gradient(var(--plum) 0%, var(--line-2) 30%, transparent); border-radius: 2px; }
.release__card { padding: 26px 30px; }
.release__card h3 { margin-bottom: 14px; }
.release__card ul { display: grid; gap: 9px; }
.release__card li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.release__card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); opacity: .7; }
.release__card .btn--link { margin-top: 16px; }
@media (max-width: 800px) {
  .timeline::before { display: none; }
  .release { grid-template-columns: 1fr; gap: 12px; }
  .release__meta { justify-content: start; padding-top: 0; grid-template-columns: auto auto; }
  .release__pin { display: none; }
  .release__date { grid-auto-flow: column; align-items: center; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 800px; margin-inline: auto; }
.faq details { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--faint); flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); color: var(--plum); }
.faq__body { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 68ch; }
.faq__body p + p { margin-top: 10px; }
.faq__body a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta {
  max-width: 800px; margin-inline: auto; text-align: center; padding: clamp(40px, 6vw, 64px) clamp(22px, 5vw, 56px);
  border-radius: 36px; box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff 0%, #fbf5f9 55%, #f6e6ef 100%);
  display: grid; gap: 22px; justify-items: center; position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; bottom: -200px; background: url("../img/sakura-mark.svg") center / contain no-repeat; opacity: .07; pointer-events: none; }
.cta .lead { max-width: 44ch; }
.cta .small { color: var(--faint); }

/* ---------- Подвал ---------- */
.footer { margin-top: var(--section); padding-block: 56px 40px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand img { height: 26px; width: auto; }
.footer__brand p { color: var(--muted); font-size: 14.5px; max-width: 30ch; }
.footer__h { font-size: 14px; font-weight: 600; letter-spacing: -.005em; margin-bottom: 18px; line-height: 1.4; }
.footer ul { display: grid; gap: 12px; }
.footer ul a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: var(--plum); }
.footer__legal { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-2); display: grid; gap: 8px; justify-items: center; text-align: center; font-size: 13px; color: var(--muted); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }

/* ---------- Внутренние страницы ---------- */
.page-hero { padding-top: clamp(140px, 15vw, 180px); }
.page-hero .head { margin-bottom: 0; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.crumbs a:hover { color: var(--plum); }
.subnav { position: sticky; top: 84px; z-index: 20; display: flex; justify-content: center; margin-top: 36px; }
.subnav .tabs { margin: 0; background: rgba(239, 236, 241, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.subnav .tabs a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.subnav .tabs a:hover { color: var(--ink); }
.subnav .tabs a.is-active { background: var(--card); color: var(--plum); box-shadow: var(--shadow-sm); }
@media (max-width: 760px) { .subnav { top: 80px; overflow-x: auto; justify-content: start; } .subnav .tabs { flex-wrap: nowrap; } .subnav .tabs a { white-space: nowrap; } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature--rev > :first-child { order: 2; }
.feature__copy { display: grid; gap: 20px; justify-items: start; }
.feature__art { padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); min-height: 320px; display: grid; place-items: center; overflow: hidden; position: relative; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature--rev > :first-child { order: 0; } }

.table-card { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.table th, .table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-size: 13px; font-weight: 500; color: var(--faint); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 550; color: var(--ink); }
.table td { color: var(--muted); }
.table .col-hl { background: #fbf6fa; color: var(--ink-2); }
.table thead .col-hl { color: var(--plum); font-weight: 700; font-size: 15px; }
.yes { color: var(--ok); font-weight: 600; }

.spec { display: grid; gap: 0; }
.spec > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec > div:last-child { border-bottom: 0; }
.spec dt { color: var(--faint); }
.spec dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .spec > div { grid-template-columns: 1fr; gap: 4px; } }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter button { height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--card); box-shadow: var(--shadow-sm); cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.filter button[aria-pressed="true"] { background: var(--plum); color: #fff; }
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.int { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-sm); transition: opacity .3s, transform .3s var(--ease); }
.int[hidden] { display: none; }
.int__logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); font: 700 13px var(--mono); color: var(--plum); letter-spacing: -.04em; }
.int b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.int p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.int .tag { margin-top: 8px; }

/* Форма */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card);
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: 110px; padding: 12px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px var(--blush-2); }
.field input[aria-invalid="true"] { border-color: var(--crit); }
.form__err { color: var(--crit); font-size: 13px; min-height: 18px; }
.form__ok { display: none; text-align: center; padding: 40px 16px; gap: 12px; justify-items: center; }
.form.is-sent > :not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: grid; }

/* Калькулятор */
.range { width: 100%; accent-color: var(--plum); }
.seg { display: inline-flex; gap: 2px; padding: 4px; background: var(--bg-2); border-radius: 999px; flex-wrap: wrap; }
.seg button { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--plum); box-shadow: var(--shadow-sm); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 26px; display: grid; gap: 12px; align-content: start; }
.step__n { font: 600 13px var(--mono); color: var(--plum); display: flex; justify-content: space-between; align-items: center; }
.step__n .tag { font-family: var(--font); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.price { display: grid; gap: 18px; padding: 30px 28px; align-content: start; }
.price--hl { box-shadow: 0 0 0 2px var(--plum), var(--shadow-lg); }
.price__sum { font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.price__sum small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; display: block; }

/* Появление при прокрутке — только для схем и бенто, не для каждого блока */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .enter, .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .beam-svg .b-flow { display: none; }
}

/* Иконки из спрайта */
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Схема отказоустойчивости */
.dc { display: grid; gap: 10px; padding: 16px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-sm); transition: opacity .5s, filter .5s; }
.dc__head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.dc .srv { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 12px; background: var(--bg); font-size: 12.5px; transition: background .4s, color .4s, opacity .4s; }
.dc .srv .i { width: 15px; height: 15px; color: var(--plum); }
.dc .srv .dot { margin-left: auto; color: var(--ok); }
.srv.is-down, .dc.is-down .srv { background: var(--crit-tint); color: var(--crit); }
.srv.is-down .dot, .dc.is-down .srv .dot { color: var(--crit); }
.srv.is-down .i, .dc.is-down .srv .i { color: var(--crit); }
.dc.is-down .dc__head .tag { background: var(--crit-tint); color: var(--crit); }
.failover-note { text-align: center; font-size: 13px; color: var(--muted); min-height: 20px; padding: 14px 0 4px; }

/* Факты нагрузочного испытания */
.facts { display: grid; width: 100%; }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font: 600 22px/1.1 var(--mono); letter-spacing: -.03em; color: var(--plum); }
.facts dd { margin: 0; color: var(--ink-2); font-size: 15px; }
.tile h3 { font-size: 21px; }

.calc { margin-top: 16px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.xsell { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 800px) {
  .calc { grid-template-columns: 1fr; }
  .xsell { grid-template-columns: 1fr; justify-items: start; gap: 16px; }
}

.dc.node { z-index: 1; }
.seg { justify-self: start; }
.grid-4 > .card, .grid-3 > .card { align-content: start; }
.contacts { display: grid; gap: 12px; }
.contacts li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.contacts .i { width: 18px; height: 18px; color: var(--plum); }
.contacts a:hover { color: var(--plum); }

@media (max-width: 640px) {
  .matrix { border-spacing: 3px; font-size: 11px; }
  .matrix th { font-size: 10.5px; padding: 2px 4px; }
  .matrix td { white-space: normal; padding: 7px 6px; }
  .tile { padding: 20px 18px 22px; min-height: 0; }
  .h-display { font-size: clamp(32px, 9vw, 40px); }
}

.table, .facts, .spec, .matrix, .score-row .mono, .release__v { font-variant-numeric: tabular-nums; }

/* Примеры запросов к агенту Cognitum */
.asks { display: grid; gap: 8px; justify-items: start; }
.asks span { padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.window > img { width: 100%; height: auto; display: block; }
.shot__frame img { display: block; }
.split--xs { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
@media (max-width: 980px) { .split--xs { grid-template-columns: 1fr; } }
