/* AIConSoft — инженерное бюро
   Светлый «продуктовый» стиль: серый фон, белая страница-контейнер, тёмная навигация-капсула,
   синие градиенты и стеклянные объекты в bento-сетке, тёмно-синий финальный блок. */

/* ---------- Шрифты (локально, без обращений к внешним CDN) ---------- */
@font-face { font-family: "Onest"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/onest-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/onest-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/onest-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/onest-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/onest-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/onest-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/onest-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/onest-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токены ---------- */
:root {
  --bg: #E8ECF0;
  --page: #FFFFFF;
  --soft: #F3F6F9;
  --line: #E1E6EC;
  --ink: #0F1A2B;
  --ink-2: #5A6576;
  --ink-3: #8A94A3;
  --blue: #1460E0;
  --blue-2: #2F80FF;
  --blue-soft: #E8F0FE;
  --navy: #061A3A;
  --navy-2: #0B2A5C;
  --cyan: #5FD3E6;
  --green: #1F9D63;
  --amber: #D98A1C;
  --red: #D6453D;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 26, 43, .06), 0 8px 24px rgba(15, 26, 43, .06);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  padding: 16px;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
.blue { color: var(--blue); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 24px; top: 24px; z-index: 100; background: var(--page); padding: 10px 16px; border-radius: var(--r-sm); }

.page {
  max-width: 1440px; margin: 0 auto; background: var(--page);
  border-radius: var(--r-xl); position: relative;
  overflow: hidden; overflow: clip; /* clip не создаёт контейнер прокрутки, иначе sticky-навигация не работает */
}
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(180deg, #2F80FF, #1460E0); color: #fff;
  box-shadow: 0 6px 18px rgba(20, 96, 224, .35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(20, 96, 224, .45), inset 0 1px 0 rgba(255,255,255,.25); transform: translateY(-1px); }
.btn-light { background: var(--page); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.btn-light:hover { box-shadow: inset 0 0 0 1px #C9D2DD, var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 52px; padding-top: 12px; padding-bottom: 12px; }

/* ---------- Навигация ---------- */
/* Липкая навигация: обёртка нулевой высоты, капсула выступает из неё вниз и не сдвигает первый экран */
.topbar { position: sticky; top: 0; height: 0; z-index: 10; display: flex; justify-content: center; align-items: flex-start; padding: 0 20px; }
[id] { scroll-margin-top: 96px; }
.navpill {
  display: flex; align-items: center; gap: 28px;
  background: var(--navy); color: #fff; border-radius: 999px;
  padding: 8px 8px 8px 22px; box-shadow: 0 10px 30px rgba(6, 26, 58, .25); margin-top: 20px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.logo-mark { width: 30px; height: 21px; }
.navlinks { display: flex; gap: 24px; font-size: 15px; color: rgba(255,255,255,.78); }
.navlinks a:hover { color: #fff; }
.navbtn {
  background: linear-gradient(180deg, #2F80FF, #1460E0); color: #fff; font-size: 15px; font-weight: 500;
  padding: 10px 20px; border-radius: 999px;
}

/* ---------- Первый экран ---------- */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0 0 auto 0; height: 760px; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 96, 224, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 96, 224, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--blue);
  background: var(--blue-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em;
  max-width: 15.5em; text-wrap: balance;
}
.hero-sub { margin-top: 24px; max-width: 40em; font-size: 19px; color: var(--ink-2); text-wrap: pretty; }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.stats {
  margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%; max-width: 980px;
}
.stats > div { padding: 4px 24px; text-align: left; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.stats > div:first-child { border-left: 0; }
.stats dt { font-size: 14px; color: var(--ink-2); }
.stats dd { font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }

/* Витрина: два «скриншота» */
.showcase {
  position: relative; margin-top: 64px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px;
  padding-bottom: 8px;
}
.shot {
  border-radius: var(--r-lg); padding: 28px; min-height: 440px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.shot-dash { background: linear-gradient(160deg, #1D6CF0 0%, #0E3E9E 55%, #061A3A 100%); }
.shot-dash::before, .shot-phone::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 10%, rgba(95, 211, 230, .45), transparent 45%);
}
.shot-phone { background: linear-gradient(200deg, #D9E6F7 0%, #B6CCEC 60%, #8FB0E0 100%); padding-bottom: 0; }
.shot-phone::before { background: radial-gradient(circle at 15% 15%, rgba(255,255,255,.8), transparent 45%); }

.app {
  position: relative; width: 100%; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(3, 14, 36, .45); font-size: 13px;
}
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F4F6F9; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 12px; }
.app-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5DBE3; }
.app-bar span { margin-left: 8px; }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.app-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; color: var(--ink-2); }
.app-side b { color: var(--ink); font-size: 14px; padding: 2px 8px 10px; }
.app-side span { padding: 6px 8px; border-radius: 8px; }
.app-side .on { background: var(--blue-soft); color: var(--blue); font-weight: 500; }
.app-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.kpis small { color: var(--ink-2); font-size: 11.5px; line-height: 1.3; }
.kpis strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.bars { height: 96px; display: flex; align-items: flex-end; gap: 6px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #2F80FF, #9CC2FF); }
/* Высоты столбиков иллюстративной диаграммы: в CSS, а не в style="", чтобы CSP обходился без 'unsafe-inline' */
.bars span:nth-child(1) { height: 38%; }
.bars span:nth-child(2) { height: 46%; }
.bars span:nth-child(3) { height: 44%; }
.bars span:nth-child(4) { height: 58%; }
.bars span:nth-child(5) { height: 55%; }
.bars span:nth-child(6) { height: 66%; }
.bars span:nth-child(7) { height: 62%; }
.bars span:nth-child(8) { height: 74%; }
.bars span:nth-child(9) { height: 70%; }
.bars span:nth-child(10) { height: 82%; }
.bars span:nth-child(11) { height: 79%; }
.bars span:nth-child(12) { height: 90%; }
.done { display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }
.done li { display: flex; align-items: center; gap: 8px; }
.done li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.phone {
  position: relative; width: 270px; background: #0F1A2B; border-radius: 40px 40px 0 0; padding: 12px 12px 0;
  box-shadow: 0 30px 60px rgba(6, 26, 58, .35);
}
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; border-radius: 20px; background: #0F1A2B; z-index: 2; }
.chat { background: #F2F5F9; border-radius: 30px 30px 0 0; padding: 50px 14px 22px; display: flex; flex-direction: column; gap: 8px; min-height: 380px; text-align: left; font-size: 13px; }
.chat-head { display: flex; flex-direction: column; padding: 0 2px 6px; }
.chat-head b { font-size: 14px; }
.chat-head span { font-size: 11.5px; color: var(--green); }
.msg { max-width: 86%; padding: 8px 12px; border-radius: 16px; line-height: 1.4; font-size: 13px; }
.msg.in { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg.out { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(15,26,43,.08); }
.msg.muted { color: var(--ink-2); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.chips span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px #CFE0FB; }

/* Подпись «Пример» на иллюстрациях с выдуманными данными */
.ex, .case-visual > .ex {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  font-size: 12px; font-weight: 500; line-height: 1; color: var(--ink-2);
  background: rgba(255,255,255,.9); padding: 6px 10px; border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15,26,43,.08);
}
.pain-art > .ex { top: 0; right: 0; }
.windows > .ex { top: auto; bottom: 0; right: 0; }

/* ---------- Полоса интеграций ---------- */
.band { padding: 96px 0 24px; text-align: center; }
.band-title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; max-width: 26em; margin: 0 auto; text-wrap: balance; }
.marks {
  margin: 44px auto 0; max-width: 1200px; padding: 0 32px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.marks li {
  font-size: 18px; font-weight: 600; color: #6B7686; letter-spacing: -.01em;
  padding: 14px 24px; border-radius: 999px; background: var(--soft);
}
.band-note { margin: 40px auto 0; max-width: 40em; color: var(--ink-2); }
.band-note b { color: var(--ink); font-weight: 600; }

/* ---------- Секции ---------- */
.section { padding: 96px 0; }
.section-tight { padding-top: 40px; }
.section-soft { background: var(--soft); }
.head { text-align: center; margin: 0 auto 52px; max-width: 760px; }
.head h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.head p { margin-top: 16px; color: var(--ink-2); font-size: 18px; text-wrap: pretty; }

/* ---------- Проблемы ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain {
  background: var(--soft); border-radius: var(--r-lg); padding: 30px 28px 0;
  display: flex; flex-direction: column; overflow: hidden;
}
.pain h3 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.pain p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.pain .pain-out { color: var(--red); font-weight: 500; margin-top: 14px; }
.pain-art { margin-top: 28px; height: 250px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; }

.vac {
  background: #fff; border-radius: 16px 16px 0 0; padding: 18px 18px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px; font-size: 13px;
}
.vac b { font-size: 16px; }
.vac-pay { font-weight: 600; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 4px; }
.tags i { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #EEF2F7; color: var(--ink-2); }
.vac-meta { color: var(--red); font-size: 12.5px; }

.art-bot { gap: 8px; padding-bottom: 26px; }
.art-bot .msg { font-size: 14px; max-width: 82%; }

.art-data { padding-bottom: 26px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 0; align-content: end; }
.card-pd, .card-api { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--ink-2); position: relative; z-index: 1; }
.card-pd b, .card-api b { color: var(--ink); font-size: 13.5px; }
.card-pd { grid-column: 1; grid-row: 1; margin-right: 8px; }
.card-api { grid-column: 2; grid-row: 2; margin-left: 20px; margin-top: 30px; box-shadow: inset 0 0 0 1px #F2C2BE, var(--shadow); }
.flow { grid-column: 1 / 3; grid-row: 1 / 3; align-self: stretch; margin: 40px 25% 40px 25%;
  border-top: 2px dashed var(--red); border-right: 2px dashed var(--red); border-radius: 0 18px 0 0; opacity: .7; }
.warn { position: absolute; left: 22px; bottom: 30px; font-size: 12px; font-weight: 600; color: #fff; background: var(--red); border-radius: 999px; padding: 4px 10px; }

/* ---------- Bento ---------- */
.bento {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px;
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 30px;
  background: var(--soft); min-height: 400px; display: flex; flex-direction: column;
}
.tile h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: 16em; position: relative; z-index: 1; }
.tile p { margin-top: 10px; color: var(--ink-2); font-size: 16px; max-width: 30em; position: relative; z-index: 1; }
.tile-dark { background: linear-gradient(165deg, #1E6CF0 0%, #0C3C9C 50%, #061A3A 100%); color: #fff; }
.tile-dark p { color: rgba(255,255,255,.78); }
.tile-a { grid-column: span 7; }
.tile-b { grid-column: span 5; }
.tile-c { grid-column: span 5; }
.tile-d { grid-column: span 7; }
.tile-e { grid-column: span 7; }
.tile-f { grid-column: span 5; }

/* Орбита */
.orbit { position: relative; flex: 1; min-height: 280px; margin-top: 10px; }
.orbit-ring {
  position: absolute; left: 50%; top: 52%; width: 440px; height: 220px; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid #C9D7EE;
  box-shadow: 0 0 0 46px rgba(20, 96, 224, .035), 0 0 0 47px #D8E2F2;
}
.orbit-core {
  position: absolute; left: 50%; top: 52%; width: 104px; height: 104px; transform: translate(-50%, -50%);
  border-radius: 28px; display: grid; place-items: center;
  background: linear-gradient(150deg, #5AA0FF 0%, #1460E0 55%, #0A3A99 100%);
  box-shadow: 0 24px 50px rgba(20, 96, 224, .45), inset 0 2px 0 rgba(255,255,255,.45), inset 0 -10px 24px rgba(3, 20, 60, .35);
}
.orbit-core svg { width: 54px; height: 38px; }
.node {
  position: absolute; transform: translate(-50%, -50%); font-size: 13px; font-weight: 600; color: var(--ink);
  background: #fff; padding: 7px 12px; border-radius: 12px; box-shadow: var(--shadow); white-space: nowrap;
}
.n1 { left: 50%; top: 10%; }
.n2 { left: 84%; top: 28%; }
.n3 { left: 88%; top: 74%; }
.n4 { left: 50%; top: 94%; }
.n5 { left: 14%; top: 76%; }
.n6 { left: 13%; top: 28%; }
.n7 { left: 30%; top: 14%; color: var(--blue); }
.n8 { left: 70%; top: 88%; color: var(--blue); }

/* Призма CTO */
.prism-stage { flex: 1; position: relative; min-height: 220px; display: grid; place-items: center; }
.prism {
  width: 150px; height: 150px; border-radius: 34px; transform: rotate(-12deg) translateY(-10px);
  background: linear-gradient(140deg, rgba(255,255,255,.95) 0%, rgba(190, 215, 255, .85) 40%, rgba(47, 128, 255, .9) 100%);
  box-shadow: 0 30px 60px rgba(20, 96, 224, .35), inset 0 2px 0 #fff, inset -14px -18px 30px rgba(10, 58, 153, .35);
  display: grid; place-items: center; position: relative; z-index: 1;
}
.prism span { transform: rotate(12deg); font-size: 36px; font-weight: 700; color: #fff; letter-spacing: -.02em; text-shadow: 0 2px 10px rgba(6, 26, 58, .35); }
.plinth { position: absolute; bottom: 14px; width: 220px; height: 40px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(20, 96, 224, .28), transparent 70%); }

/* Шаги (тёмная плитка) */
.steps-art { flex: 1; position: relative; min-height: 220px; }
.glass {
  position: absolute; font-size: 14px; font-weight: 500; color: #fff; white-space: nowrap;
  padding: 12px 16px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 12px 30px rgba(3, 12, 32, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 1;
}
.s1 { left: 0; bottom: 18px; }
.s2 { left: 26%; bottom: 92px; }
.s3 { right: 0; bottom: 166px; background: linear-gradient(135deg, rgba(95, 211, 230, .55), rgba(95, 211, 230, .15)); }
.beam {
  position: absolute; left: 10%; right: 8%; bottom: 40px; height: 170px;
  background: linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(95, 211, 230, .7) 50%, transparent calc(50% + 1px));
}

/* Окна (плитка «от анализа до сопровождения») */
.windows { flex: 1; position: relative; min-height: 270px; margin-top: 18px; }
.win {
  position: absolute; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 14px 34px rgba(15, 26, 43, .12);
  display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); width: 300px;
}
.win b { color: var(--ink); font-size: 14px; }
.win .q { background: #EEF2F7; border-radius: 10px; padding: 7px 10px; color: var(--ink); }
.win .a { background: var(--blue-soft); border-radius: 10px; padding: 7px 10px; color: var(--blue); font-weight: 500; }
.win .row { display: flex; align-items: center; gap: 8px; }
.win i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.win i.ok { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.win i.hand { background: var(--amber); }
.w1 { left: 0; top: 0; }
.w2 { left: 24%; top: 138px; z-index: 2; width: 330px; }
.w3 { right: 0; top: 34px; width: 230px; }

/* Договор */
.contract {
  margin-top: 26px; align-self: flex-start; width: min(100%, 520px); background: #fff; border-radius: 16px;
  padding: 22px 24px; box-shadow: 0 14px 34px rgba(15, 26, 43, .1);
  display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--ink-2); position: relative;
}
.contract b { color: var(--ink); font-size: 15px; }
.contract span { padding-left: 14px; border-left: 3px solid var(--blue-2); }
.contract em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }

/* Плита 152-ФЗ */
.plate-stage { flex: 1; position: relative; min-height: 220px; display: grid; place-items: center; }
.plate {
  width: 210px; height: 130px; border-radius: 26px; transform: perspective(600px) rotateX(38deg) rotateZ(-8deg);
  background: linear-gradient(140deg, rgba(255,255,255,.35), rgba(255,255,255,.06));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), inset 0 2px 0 rgba(255,255,255,.6), 0 40px 60px rgba(2, 10, 30, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; place-items: center; position: relative; z-index: 1;
}
.plate span { font-size: 34px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.glow { position: absolute; width: 260px; height: 160px; border-radius: 50%; background: radial-gradient(ellipse, rgba(95, 211, 230, .55), transparent 65%); bottom: 10px; }

/* ---------- Инструменты ---------- */
.tools { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tools li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--page); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: 15px;
}
.ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center;
  font-style: normal; font-weight: 700; font-size: 13px; color: #fff; letter-spacing: -.02em;
}
.g1 { background: linear-gradient(140deg, #3D7BD9, #2B5EA8); }
.g2 { background: linear-gradient(140deg, #4A7BB0, #2F5680); }
.g3 { background: linear-gradient(140deg, #2FA6F2, #1477CC); }
.g4 { background: linear-gradient(140deg, #4C78E6, #2C55C4); }
.g5 { background: linear-gradient(140deg, #F06A6A, #D24A5A); }
.g6 { background: linear-gradient(140deg, #1E2A3B, #0F1A2B); }
.g7 { background: linear-gradient(140deg, #E2456C, #B92E55); }
.g8 { background: linear-gradient(140deg, #F5A23A, #E0702A); }
.g9 { background: linear-gradient(140deg, #F2C230, #DFA20F); color: #3A2A00; }
.g10 { background: linear-gradient(140deg, #2FC6F6, #1B9BD8); }
.g11 { background: linear-gradient(140deg, #22B573, #12925A); }
.g12 { background: linear-gradient(140deg, #FF5A3C, #E33A1E); }

/* ---------- Решения: вкладки ---------- */
.tabs {
  display: flex; gap: 6px; padding: 6px; background: var(--page); border-radius: 999px;
  width: max-content; max-width: 100%; margin: 0 auto 28px; overflow-x: auto; box-shadow: inset 0 0 0 1px var(--line);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel[hidden] { display: none; }

.case, .founder-card {
  background: var(--page); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow);
}
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.case-top h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.pill { font-size: 13.5px; font-weight: 500; color: var(--blue); background: var(--blue-soft); padding: 6px 12px; border-radius: 999px; }
.case-row { display: flex; gap: 14px; align-items: flex-start; }
.case-row b { font-weight: 600; }
.case-row p { color: var(--ink-2); font-size: 16px; margin-top: 2px; }
.ci { width: 40px; height: 40px; border-radius: 12px; flex: none; position: relative; }
.ci::after { content: ""; position: absolute; inset: 12px; border-radius: 4px; background: #fff; opacity: .9; }
.ci-a { background: linear-gradient(140deg, #5AA0FF, #1460E0); }
.ci-b { background: linear-gradient(140deg, #7FE3EF, #2BA9C4); }
.ci-b::after { border-radius: 50%; }
.ci-c { background: linear-gradient(140deg, #1E3F7A, #061A3A); }
.ci-c::after { inset: 13px 11px; border-radius: 2px; }
.case-metrics { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 18px; }
.case-metrics div { display: flex; flex-direction: column; padding-left: 16px; border-left: 1px solid var(--line); }
.case-metrics div:first-child { padding-left: 0; border-left: 0; }
.case-metrics strong { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.case-metrics span { color: var(--ink-2); font-size: 14px; }

.case-link { font-weight: 500; color: var(--blue); }
.case-link:hover { text-decoration: underline; }
.case-visual {
  border-radius: var(--r-lg); min-height: 380px; padding: 36px; display: grid; place-items: center;
  background: linear-gradient(160deg, #1D6CF0 0%, #0E3E9E 55%, #061A3A 100%); position: relative; overflow: hidden;
}
.case-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 12%, rgba(95, 211, 230, .45), transparent 45%); }
.case-visual > * { position: relative; }
.report, .schedule, .mini-chat, .search {
  width: 100%; max-width: 420px; background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 30px 60px rgba(3, 14, 36, .45);
  display: flex; flex-direction: column; gap: 8px; font-size: 14px;
}
.report b, .schedule b { font-size: 15px; margin-bottom: 4px; }
.rep-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.rep-row em { font-style: normal; font-size: 12.5px; font-weight: 500; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.rep-row .hi { background: #E2F5EC; color: var(--green); }
.rep-row .mid { background: var(--blue-soft); color: var(--blue); }
.rep-row .lo { background: #EEF2F7; color: var(--ink-2); }
.mini-chat { background: #F2F5F9; }
.slot { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; }
.slot span { font-weight: 600; width: 44px; }
.slot.busy { background: #EEF2F7; color: var(--ink-3); }
.slot.new { background: var(--blue-soft); color: var(--blue); font-weight: 500; }
.slot.free { border: 1px dashed #C9D2DD; color: var(--ink-2); }
.search-q { background: #EEF2F7; border-radius: 12px; padding: 12px 14px; }
.search-a { background: var(--blue-soft); color: var(--ink); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.search-a span { font-size: 12.5px; color: var(--blue); font-weight: 500; }

/* ---------- Основатель ---------- */
.founder { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.founder-card { box-shadow: inset 0 0 0 1px var(--line); }
.founder-photo {
  border-radius: var(--r-lg); min-height: 420px; overflow: hidden; position: relative;
  background: linear-gradient(200deg, #D9E6F7 0%, #B6CCEC 60%, #8FB0E0 100%);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(15, 26, 43, .45); font-weight: 500; }

/* ---------- Калькулятор ---------- */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
.calc-side { display: flex; flex-direction: column; gap: 20px; }
.calc-card { background: var(--soft); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.calc-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.calc-card > p { color: var(--ink-2); }
.calc-title { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.field { display: flex; flex-direction: column; gap: 14px; background: var(--page); border-radius: var(--r-md); padding: 20px 22px; }
.field > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink-2); font-size: 15px; }
.field output { color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--blue-2) var(--p, 31%), #DCE3EC var(--p, 31%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--blue-2) inset, 0 2px 8px rgba(15,26,43,.25); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--blue-2) inset, 0 2px 8px rgba(15,26,43,.25); }
.calc-hint { font-size: 14px; color: var(--ink-2); }
.result { background: linear-gradient(165deg, #1E6CF0 0%, #0C3C9C 55%, #061A3A 100%); color: #fff; }
.res-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.16); }
.res-line span { color: rgba(255,255,255,.75); }
.res-line strong { font-size: 26px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.result .calc-note { font-size: 14px; color: rgba(255,255,255,.72); }
.result .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 8px 20px rgba(3, 12, 32, .3); }

/* ---------- FAQ ---------- */
.faq-wrap { padding-top: 40px; }
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 52px 24px 0; position: relative;
  font-size: 20px; font-weight: 500; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%230F1A2B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blue-soft); }
.faq details p { padding: 0 52px 24px 0; color: var(--ink-2); max-width: 44em; }

/* ---------- Финальный CTA ---------- */
.cta { padding: 0 20px 20px; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(ellipse 60% 80% at 100% 100%, rgba(95, 211, 230, .5), transparent 60%),
              radial-gradient(ellipse 50% 60% at 0% 0%, rgba(47, 128, 255, .35), transparent 60%),
              linear-gradient(160deg, #0B2A5C 0%, #061A3A 60%);
  padding: 80px 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-inner > * { position: relative; }
.cta h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
.cta-left > p { margin-top: 18px; font-size: 19px; color: rgba(255,255,255,.78); max-width: 26em; }
.cta-buttons { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-right {
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--r-lg); padding: 30px;
}
.cta-right h3 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.cta-right > p { margin-top: 8px; color: rgba(255,255,255,.75); font-size: 16px; }
.cta-cards { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cta-cards li { background: rgba(255,255,255,.08); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.cta-cards b { font-size: 16px; font-weight: 600; }
.cta-cards span { font-size: 13.5px; color: rgba(255,255,255,.7); line-height: 1.35; }
.cc { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 8px; }
.cc1 { background: linear-gradient(140deg, #7FE3EF, #2BA9C4); }
.cc2 { background: linear-gradient(140deg, #5AA0FF, #1460E0); }
.cc3 { background: linear-gradient(140deg, #fff, #B6CCEC); }

/* ---------- Подвал ---------- */
.footer { padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.4fr; gap: 32px; }
.logo-dark { color: var(--ink); }
.footer-brand p { margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 18em; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.footer-col b { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.footer-col a:hover { color: var(--blue); }
.footer-big { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.footer-links { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 15px; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { margin-top: 56px; }
.footer-bottom p { padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .navlinks { display: none; }
  .tools { grid-template-columns: repeat(4, 1fr); }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e, .tile-f { grid-column: span 6; }
  .w2 { left: 18%; }
  .w3 { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { padding: 8px; }
  .page { border-radius: 24px; }
  .container, .bento { padding: 0 20px; }
  .hero { padding-top: 112px; }
  .hero-sub { font-size: 17px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; margin-top: 44px; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats dd { font-size: 28px; }
  .showcase { grid-template-columns: 1fr; margin-top: 44px; }
  .shot { min-height: 0; padding: 18px; }
  .shot-phone { padding-top: 32px; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .band, .section { padding: 64px 0; }
  .section-tight, .faq-wrap { padding-top: 24px; }
  .head { margin-bottom: 36px; }
  .head p { font-size: 17px; }
  .pains { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e, .tile-f { grid-column: auto; }
  .tile { min-height: 0; padding: 24px; }
  .orbit { min-height: 300px; }
  .orbit-ring { width: 300px; height: 170px; box-shadow: 0 0 0 30px rgba(20, 96, 224, .035), 0 0 0 31px #D8E2F2; }
  .n7, .n8 { display: none; }
  .windows { min-height: 0; display: flex; flex-direction: column; gap: 10px; }
  .win, .w2 { position: static; width: auto; }
  .windows > .ex { position: static; align-self: flex-end; }
  .shot-phone { padding-top: 48px; }
  .tools { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tabs { justify-content: flex-start; width: 100%; border-radius: 18px; }
  .panel, .founder, .calc { grid-template-columns: minmax(0, 1fr); }
  .field output, .res-line strong { font-size: 22px; }
  .case, .founder-card, .calc-card { padding: 22px; }
  .case-visual { min-height: 0; padding: 22px; }
  .case-metrics strong { font-size: 21px; }
  .founder-photo { min-height: 300px; }
  .faq summary { font-size: 18px; }
  .cta { padding: 0 8px 8px; }
  .cta-inner { grid-template-columns: 1fr; padding: 44px 22px; gap: 32px; }
  .cta-cards { grid-template-columns: 1fr; }
  .cta-buttons .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .navpill { gap: 12px; padding-left: 16px; }
  .navbtn { padding: 9px 14px; font-size: 14px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .stats > div { padding: 2px 14px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div:last-child { display: none; }
  .tools li { font-size: 14px; padding: 12px; gap: 10px; }
  .ic { width: 34px; height: 34px; }
}

/* ---------- Страницы услуг ---------- */
.hero-service { padding-top: 124px; padding-bottom: 72px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 32px; list-style: none; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #C3CBD6; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--blue); }
.svc-hero { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.svc-hero h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.svc-hero .hero-sub { margin-top: 22px; }
.svc-hero .hero-actions { justify-content: flex-start; }
.svc-hero .stats { grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
.svc-hero .stats > div:first-child { padding-left: 0; }
.svc-hero .shot { min-height: 480px; }

.pains-text .pain { padding-bottom: 30px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features li { background: var(--page); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.features h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.features p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

.svc-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; }
.svc-dark {
  border-radius: var(--r-lg); padding: 40px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 100% 100%, rgba(95, 211, 230, .45), transparent 60%), linear-gradient(165deg, #1E6CF0 0%, #0C3C9C 50%, #061A3A 100%);
}
.svc-dark h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.svc-dark p { margin-top: 18px; color: rgba(255,255,255,.8); font-size: 18px; }
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { background: var(--soft); border-radius: var(--r-md); padding: 18px 20px 18px 54px; position: relative; color: var(--ink-2); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 20px; top: 21px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.steps li { background: var(--soft); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.step-n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff; background: linear-gradient(140deg, #5AA0FF, #1460E0); box-shadow: 0 8px 20px rgba(20, 96, 224, .3); }
.steps h3 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin-top: 6px; }
.steps p { color: var(--ink-2); font-size: 16px; }

.kpi-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kpi-list li { background: var(--page); border-radius: var(--r-lg); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); border-top: 4px solid var(--blue-2); }
.kpi-list h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.kpi-list p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .kpi-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-service { padding-top: 104px; padding-bottom: 48px; }
  .svc-hero h1 { font-size: 34px; }
  .svc-hero, .svc-split, .steps, .features, .kpi-list { grid-template-columns: minmax(0, 1fr); }
  .svc-hero { gap: 36px; }
  .svc-hero .stats { grid-template-columns: repeat(3, 1fr); }
  .svc-hero .stats > div:nth-child(3) { border-left: 1px solid var(--line); }
  .svc-hero .stats dd { font-size: 24px; }
  .svc-hero .shot { min-height: 0; }
  .svc-dark { padding: 28px 24px; }
  .features li, .steps li { padding: 22px; }
}
@media (max-width: 480px) {
  .svc-hero .stats > div { padding: 2px 10px; }
  .svc-hero .stats dt { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Политика ПДн ---------- */
.legal { max-width: 860px; margin: 0 auto; color: var(--ink-2); }
.legal h2 { margin: 48px 0 16px; color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-table { overflow-x: auto; margin: 0 0 16px; }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.legal th, .legal td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Уведомление о cookie ---------- */
.cookie-notice {
  position: fixed; left: 50%; bottom: 20px; z-index: 20; transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px;
  width: calc(100% - 40px); max-width: 860px; padding: 16px 20px;
  background: var(--page); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line), var(--shadow);
  color: var(--ink-2); font-size: 14px; line-height: 1.45;
}
.cookie-notice p { margin: 0; }
.cookie-notice a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice .btn { flex: none; }
@media (max-width: 640px) {
  .cookie-notice { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; width: calc(100% - 24px); padding: 14px 16px; }
}
