/* css/variables.css */
/* ==========================================================================
   Токены Apprica — источник: макет «Apprica Website» (Downloads/Apprica Website).
   Шрифты локальные (fonts/): внешний fonts.googleapis.com не грузим — лишний
   запрос в критическом пути и передача IP посетителя за рубеж (152-ФЗ).
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrainsmono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrainsmono-latin.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --ink: #111633; --ink-deep: #0A0E24; --ink-up: #1D2452;
  --silver: #F5F5F7; --paper: #FFFFFF; --graphite: #5A6078; --mist: #A3A9C2;
  --brand: #FF6A1A; --brand-ink: #D1500A;
  --tl-1: #FF9257; --tl-2: #FFBE96; --tl-3: #FFE0CC;
  --td-1: #E65B1C; --td-2: #B8461F; --td-3: #7E3220;
  /* Жёлтый — только молния у скидки: точечный акцент рядом с оранжевым. */
  --spark: #FFC21A;
  --ok: #2F9E6B; --bad: #D64545;
  --line-d: rgba(255,255,255,.10); --line-l: rgba(17,22,51,.10);
  /* Заголовки — тоже Manrope: засечный Playfair и курсив убраны ради читаемости */
  --f-display: "Manrope", -apple-system, "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", -apple-system, "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  /* Шкала мелкого текста. Меньше 14px на сайте нет: мельче читать тяжело.
     Исключение — мини-макеты окон и схемы: там размер задаёт масштаб картинки. */
  --fs-eyebrow: clamp(16px, 1.3vw, 19px);
  --fs-body: 17px;
  --fs-s: 16px;
  --fs-xs: 15px;
  --fs-2xs: 14px;
  --ease: cubic-bezier(.2,.7,.1,1);
  /* Вертикальный отступ полос: секции должны помещаться в экран, без пустых полей */
  --band-y: clamp(48px, 5.5vw, 88px);
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
}

/* css/base.css */
/* База: сброс, сетка .wrap, полосы .band, типографика, кнопки, окно приложения. */
/* Layout: Apple-style long scroll with alternating ink and silver bands; one pinned scene (seven stages) carries the story, everything else is a full-width band with a single media slot. Fixed look by design: the brand lives on ink and silver, not on the viewer's theme. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--ink-deep); color: #fff; font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
/* Атрибут hidden сильнее любого display из классов: им прячут переключаемые панели. */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
@media (min-width: 760px) { :root { --gut-l: max(32px, env(safe-area-inset-left, 0px)); --gut-r: max(32px, env(safe-area-inset-right, 0px)); } }
.band { position: relative; }
.band.light { background: var(--paper); color: var(--ink); }
.band.silver { background: var(--silver); color: var(--ink); }
.band.ink { background: var(--ink); color: #fff; }
.band.deep { background: var(--ink-deep); color: #fff; }
.eyebrow { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .02em; color: var(--brand); }
.light .eyebrow, .silver .eyebrow { color: var(--brand-ink); }
.h-xl { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 6.2vw, 86px); line-height: 1.04; letter-spacing: -.035em; }
.h-l { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.03em; }
/* Акцент заголовка — цветом, не курсивом */
.h-xl em, .h-l em { font-style: normal; color: var(--tl-2); }
.light .h-xl em, .light .h-l em, .silver .h-xl em, .silver .h-l em { color: var(--brand-ink); }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; font-weight: 500; max-width: 40ch; color: var(--mist); }
.light .lede, .silver .lede { color: var(--graphite); }
.lede b { color: #fff; font-weight: 600; }
.light .lede b, .silver .lede b { color: var(--ink); }

/* Слот медиа: место под реальный скриншот или видео. */
.slot { position: relative; }

/* css/header.css */
/* ---------- Nav ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(10,14,36,.82); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(10,14,36,.72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line-d); }
html { --nav-h: 72px; scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: var(--nav-h); }
.nav .logo { display: flex; color: #fff; }
.nav .logo svg { height: 30px; aspect-ratio: 7219 / 1980; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0 0 0 auto; padding: 0; font-size: var(--fs-s); font-weight: 500; color: rgba(255,255,255,.78); }
.nav ul a { text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav ul a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-sm { font-size: var(--fs-xs); padding: 7px 14px; }
.nav .btn-sm { font-size: var(--fs-s); padding: 11px 22px; }
.btn-lg { font-size: var(--fs-body); padding: 14px 26px; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 30px -8px rgba(255,106,26,.6); }
.btn-brand:hover { background: #FF7A30; }
.btn-white { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-up); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; color: var(--tl-1); }
.light .link-arrow, .silver .link-arrow { color: var(--brand-ink); }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow span { transition: transform .2s var(--ease); }
/* Кнопка шапки длинная («Обсудить потенциал для моей компании»): меню прячется
   раньше, чем начнёт переноситься, а на телефоне кнопка в две строки. */
@media (max-width: 1240px) { .nav ul { gap: 20px; font-size: var(--fs-xs); } .nav .wrap { gap: 24px; } }
@media (max-width: 1140px) { .nav ul { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 860px) { html { --nav-h: 60px; } .nav .logo svg { height: 24px; } .nav .btn-sm { font-size: var(--fs-xs); padding: 9px 18px; } }

/* Узкий экран: длинная подпись кнопки переносится, а не распирает колонку. */
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; justify-content: center; line-height: 1.2; max-width: 100%; }
  .nav .btn-sm { font-size: var(--fs-2xs); padding: 8px 14px; max-width: 220px; }
}

/* css/hero.css */
/* ---------- Hero: крупный заголовок, оранжевая точка, водяной знак ----------
   Статика. Линию маршрута строит js/landing.js по строкам заголовка. */
.hero { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 85% 0%, rgba(29,36,82,.65) 0%, transparent 65%), radial-gradient(40% 50% at 10% 100%, rgba(29,36,82,.45) 0%, transparent 70%), var(--ink-deep); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: calc(100% / 6) 100%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent); }
/* Hero ровно в экран под шапкой, текст одной колонкой слева — справа
   остаётся водяной знак. Размер заголовка привязан и к высоте окна (svh):
   на низком ноутбуке блок не уходит под скролл. */
.hwrap { position: relative; z-index: 1; min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; padding-block: clamp(28px, 6vh, 72px); }
.hmain { display: grid; gap: clamp(24px, 4.5vh, 44px); max-width: 1000px; }
.hmain > .eyebrow { margin-bottom: calc(clamp(24px, 4.5vh, 44px) * -.5); }


.hhead { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, min(3.9vw, 8svh), 56px); line-height: 1.02; letter-spacing: -.045em; display: grid; }
.hhead .l1 { justify-self: start; }
/* Обе строки — от левого края: «лесенка» (вторая строка вправо) читается как случайный отступ.
   Акцент длинный и переносится сам; точка держится за последнее слово через .nw. */
.hhead .l2 { justify-self: start; position: relative; }
.hhead em { position: relative; display: inline-block; font-style: normal; color: var(--tl-2); padding-right: .04em; }
.hhead .nw { white-space: nowrap; }
.hhead .hdot { color: var(--brand); font-style: normal; }


.hbottom { display: grid; gap: clamp(20px, 3vh, 28px); }
.hbottom .lede { max-width: 56ch; font-size: clamp(16px, 1.25vw, 19px); margin: 0; }
.hbottom .ctas { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }


/* Водяной знак: логотип крупно справа, за краем блока, растворяется книзу */
.hmark { position: absolute; z-index: 0; right: -6vw; top: 50%; width: min(64vw, 920px); height: auto; aspect-ratio: 1; transform: translateY(-40%); color: #fff; fill: currentColor; opacity: .06; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 95%); mask-image: linear-gradient(180deg, #000 35%, transparent 95%); }
@media (max-width: 760px) { .hmark { width: 120vw; right: -40vw; top: 30%; } }

/* Схема этапов справа: кольцо и этапы неподвижны, по кольцу за --hs-lap
   бежит комета и зажигает этапы; шаг подсветки = круг / 5 (этапов пять).
   Стоит от края окна, а не от сетки .wrap: на широком экране уходит
   вправо и не забирает место у текста. */
.hscheme { --hs-lap: 12s; position: absolute; z-index: 0; right: 8vw; top: 50%; width: min(40vw, 560px); height: auto; transform: translateY(-50%); pointer-events: none; overflow: visible; }
.hs-halo { fill: url(#hsCore); }
.hs-ring { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 1.2; }
.hs-ring-in { stroke: rgba(255,255,255,.1); stroke-dasharray: 3 5; }
.hs-core { color: #fff; }
.hs-chevron { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hs-comet { transform-box: view-box; transform-origin: 280px 240px; animation: hs-spin var(--hs-lap) linear infinite; }
.hs-tail { fill: none; stroke: url(#hsTail); stroke-width: 2.4; stroke-linecap: round; }
.hs-head { fill: #fff; filter: drop-shadow(0 0 6px var(--brand)); }
.hs-head-glow { fill: url(#hsHead); }

.hs-stage circle { fill: var(--ink-up); stroke: rgba(255,255,255,.35); stroke-width: 1.2; }
.hs-stage use { color: #fff; }
.hs-stage text { font: 500 15px var(--f-mono); letter-spacing: .02em; fill: #fff; }
.hs-stage circle { animation: hs-lit-ring var(--hs-lap) linear infinite; animation-delay: calc(var(--hs-lap) / 5 * var(--i)); }
.hs-stage text { animation: hs-lit-text var(--hs-lap) linear infinite; animation-delay: calc(var(--hs-lap) / 5 * var(--i)); }
@keyframes hs-spin { to { transform: rotate(360deg); } }
/* Вспышка, пока голова кометы в кружке, и плавное угасание следом. */
@keyframes hs-lit-ring {
  0%, 3% { stroke: var(--brand); stroke-width: 2; fill: color-mix(in srgb, var(--brand) 22%, var(--ink-up)); }
  16%, 100% { stroke: rgba(255,255,255,.35); stroke-width: 1.2; fill: var(--ink-up); }
}
@keyframes hs-lit-text {
  0%, 3% { fill: var(--tl-2); }
  16%, 100% { fill: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-comet { display: none; }
  .hs-stage circle, .hs-stage text { animation: none; }
}
@media (max-width: 960px) { .hscheme { display: none; } }

/* Маршрут */
.htrail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.htrail path { fill: none; stroke-linecap: round; }
.htrail .t-base { stroke: rgba(255,255,255,.14); stroke-width: 1.2; }
.htrail .t-halo { fill: url(#tHalo); opacity: .7; }

@media (max-width: 960px) {
  .hwrap { min-height: 0; }
}
@media (max-width: 760px) {
  .hwrap { padding-top: 40px; }
  .hhead { font-size: clamp(34px, 9.6vw, 64px); }
}

@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

.win { border-radius: 14px; overflow: hidden; background: #ECEDF2; box-shadow: 0 0 0 1px rgba(17,22,51,.10), 0 50px 100px -40px rgba(17,22,51,.45); }
.win-bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #E3E5EC; border-bottom: 1px solid #D5D8E1; position: relative; }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.win-bar i:nth-child(2) { background: #FEBC2E; }
.win-bar i:nth-child(3) { background: #28C840; }
.win-bar b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 12px var(--f-body); color: #4A5068; pointer-events: none; }
.screen { container-type: inline-size; aspect-ratio: 16 / 10; position: relative; color: var(--ink); font-family: var(--f-body); background: #F7F8FA; overflow: hidden; }


/* css/footer.css */
/* ---------- Footer ---------- */
.foot { background: #070A1C; color: var(--mist); border-top: 1px solid var(--line-d); }
.foot .wrap { padding-block: clamp(56px, 7vw, 88px) 40px; display: grid; gap: 36px; }
.f-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.f-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.f-wm { height: 26px; aspect-ratio: 7219 / 1980; color: #fff; }
.f-brand p { font-size: var(--fs-s); line-height: 1.55; max-width: 40ch; }
.f-soc { display: flex; gap: 10px; }
.f-soc a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.07); transition: background .2s; }
.f-soc a:hover { background: rgba(255,255,255,.14); }
.f-soc svg { width: 20px; height: 20px; }
.f-col { display: grid; gap: 12px; align-content: start; font-size: var(--fs-s); }
.f-col b { color: #fff; font-size: var(--fs-s); margin-bottom: 4px; }
.f-col a { text-decoration: none; transition: color .2s; }
.f-col a:hover { color: #fff; }
.f-col .sel { color: #fff; font-weight: 600; user-select: all; font-variant-numeric: tabular-nums; }
.f-addr { font-size: var(--fs-xs); line-height: 1.5; }
.f-legal { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 28px; border-top: 1px solid var(--line-d); font-size: var(--fs-xs); }
.f-bottom { display: grid; gap: 10px; font-size: var(--fs-2xs); line-height: 1.6; color: #6E7598; }
@media (max-width: 900px) { .f-top { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .f-top { grid-template-columns: 1fr; } }


/* Юр-ссылки и контакты — ссылки (в макете были текстом-заглушкой). */
.f-legal a { text-decoration: none; transition: color .2s; }
.f-legal a:hover { color: #fff; }
.f-col a.sel:hover { color: var(--tl-2); }

/* css/components/cards.css */
/* Карточки с полосой бренда (components/cards.php) — приём «problem cards»
   (21st): метка моношрифтом, заголовок, цифра, текст или список, подвал под чертой. */
.info-cards { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px; border-radius: 22px; background: var(--silver); overflow: hidden; }
.silver .info-card { background: var(--paper); }
.info-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--tl-2)); }
.info-card__kicker { font: 500 var(--fs-2xs) var(--f-mono); color: var(--brand-ink); letter-spacing: .08em; }
.info-card__title { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2vw, 27px); line-height: 1.15; letter-spacing: -.01em; }
.info-card__body { display: grid; gap: 12px; align-content: start; }
.info-card__body p { margin: 0; color: var(--graphite); font-size: var(--fs-body); line-height: 1.5; }
/* Цифра роли: крупно, под ней — что именно измерено. */
.info-card__body .info-card__metric { display: grid; gap: 8px; padding-top: 18px; margin-top: 6px; border-top: 1px solid var(--line-l); }
.info-card__metric b { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 4.2vw, 60px); line-height: 1; letter-spacing: -.035em; color: var(--brand-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.info-card__metric span { font-size: var(--fs-body); line-height: 1.45; color: var(--graphite); max-width: 28ch; }
.info-card__foot { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line-l); display: grid; gap: 6px; font-size: var(--fs-s); line-height: 1.45; color: var(--ink); }
.info-card__foot-label { font: 500 var(--fs-2xs) var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
/* Ровная сетка: метка, заголовок, текст и подвал у всех карточек на общих строках. */
@supports (grid-template-rows: subgrid) {
  .info-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
  .info-card__foot { margin-top: 8px; align-self: start; }
}
@media (max-width: 900px) { .info-cards { grid-template-columns: 1fr; } }

/* css/components/checklist.css */
/* Список с галочками (components/checklist.php) — приём «feature with
   advantages» (21st): галочка бренда, текст на светлой и тёмной полосе. */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--fs-body); line-height: 1.45; color: var(--graphite); }
.checklist svg { width: 22px; height: 22px; color: var(--brand-ink); margin-top: -.5px; }
.ink .checklist li, .deep .checklist li { color: var(--mist); }
.ink .checklist svg, .deep .checklist svg { color: var(--brand); }
/* Колонки: короткие пункты раскладываются в 2–3 колонки по ширине. */
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px 32px; }
.checklist--lg li { font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; color: var(--ink); }
.ink .checklist--lg li, .deep .checklist--lg li { color: #fff; }

/* css/components/lightbox.css */
/* Картинка с открытием на весь экран и окно просмотра (components/zoom-image.php, lightbox.php). */

.zoom-image { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; }
.zoom-image__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.zoom-image__hint { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); opacity: .72; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.zoom-image__hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.zoom-image:hover .zoom-image__hint,
.zoom-image:focus-visible .zoom-image__hint { opacity: 1; transform: scale(1.06); }
.zoom-image:active .zoom-image__hint { transform: scale(.96); }
.zoom-image:focus-visible { outline-offset: -4px; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(12px, 3vw, 40px); border: 0; background: transparent; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(10, 14, 36, .88); }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); background: var(--paper); }
.lightbox__close { position: fixed; top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--paper); color: var(--ink); cursor: pointer; transition: transform .2s var(--ease); }
.lightbox__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.lightbox__close:hover { transform: scale(1.06); }
.lightbox__close:active { transform: scale(.96); }
html:has(.lightbox[open]) { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .zoom-image__hint, .lightbox__close { transition: none; }
}

/* css/components/range-field.css */
/* Число с ползунком (components/range-field.php). Сделан для светлой панели;
   цвета — переменными, тёмный фон переопределяет их у себя. */
.range-field {
  --rf-text: var(--ink);
  --rf-muted: var(--graphite);
  --rf-field: var(--silver);
  --rf-line: var(--line-l);
  --rf-track: rgba(17,22,51,.10);
  --rf-hover: rgba(17,22,51,.22);
  --rf-thumb: var(--paper);
  display: grid; gap: 12px; min-width: 0; color: var(--rf-text);
}

.range-field__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.range-field__label { font-size: var(--fs-s); font-weight: 600; line-height: 1.35; }

/* Поле точного ввода: число и единица в одной плашке, плашка — фокус целиком. */
.range-field__value { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 12px; background: var(--rf-field); box-shadow: inset 0 0 0 1px var(--rf-line); transition: box-shadow .2s; }
.range-field__value:hover { box-shadow: inset 0 0 0 1px var(--rf-hover); }
.range-field__value:focus-within { box-shadow: inset 0 0 0 2px var(--brand); }
.range-field__input { width: 4.5ch; padding: 0; border: 0; background: none; color: inherit; font: 700 var(--fs-body) var(--f-body); font-variant-numeric: tabular-nums; text-align: right; -moz-appearance: textfield; appearance: textfield; }
.range-field__input:focus { outline: none; }
.range-field__input::-webkit-inner-spin-button, .range-field__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.range-field__unit { font: 500 var(--fs-2xs) var(--f-mono); color: var(--rf-muted); letter-spacing: .02em; white-space: nowrap; }

/* Ползунок: залитая часть шкалы — бренд до --fill, дальше — трек. */
.range-field__slider { --rf-bar: linear-gradient(90deg, var(--brand) var(--fill, 0%), var(--rf-track) var(--fill, 0%)); width: 100%; height: 24px; margin: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.range-field__slider::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--rf-bar); }
.range-field__slider::-moz-range-track { height: 6px; border-radius: 3px; background: var(--rf-bar); }
.range-field__slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--rf-thumb); border: 2px solid var(--brand); box-shadow: 0 4px 10px -2px rgba(17,22,51,.30); transition: transform .15s var(--ease), box-shadow .15s; }
.range-field__slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--rf-thumb); border: 2px solid var(--brand); box-shadow: 0 4px 10px -2px rgba(17,22,51,.30); transition: transform .15s var(--ease), box-shadow .15s; }
.range-field__slider:hover::-webkit-slider-thumb { transform: scale(1.1); }
.range-field__slider:hover::-moz-range-thumb { transform: scale(1.1); }
.range-field__slider:active::-webkit-slider-thumb { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(255,106,26,.18); }
.range-field__slider:active::-moz-range-thumb { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(255,106,26,.18); }
.range-field__slider:focus { outline: none; }
.range-field__slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255,106,26,.35); }
.range-field__slider:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(255,106,26,.35); }
.range-field__slider:disabled { opacity: .5; cursor: not-allowed; }

.range-field__scale { display: flex; justify-content: space-between; margin-top: -6px; font: 500 var(--fs-2xs) var(--f-mono); color: var(--rf-muted); }

@media (prefers-reduced-motion: reduce) {
  .range-field__slider::-webkit-slider-thumb, .range-field__slider::-moz-range-thumb { transition: none; }
}

/* css/components/section-head.css */
/* Шапка секции (components/section-head.php): надзаголовок, заголовок, лид.
   Цвета берутся от полосы (.light/.silver/.ink) через правила base.css. */
.head { display: grid; gap: 14px; max-width: 920px; }
.head .lede { max-width: 60ch; }
.head--center { justify-items: center; text-align: center; margin-inline: auto; }
.head--center .lede { text-align: center; }
/* Длинный заголовок или узкая колонка (половина полосы): чуть мельче h-l,
   иначе заголовок растягивается на пять-шесть строк. */
.head--long .h-l { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; }
/* Заголовок из двух длинных фраз: первая крупно, акцент — подзаголовком
   с новой строки. Текст тот же, меняется только иерархия. */
.head--split .h-l { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.head--split .h-l em { display: block; margin-top: 18px; font-size: clamp(18px, 1.55vw, 22px); font-weight: 600; line-height: 1.4; letter-spacing: -.005em; }

/* css/sections/contact/buy.css */
/* ---------- Блок 12 «Финальный CTA»: панель — текст слева, форма справа ---------- */
.buy .wrap { padding-block: clamp(40px, 4.5vw, 64px); display: grid; justify-items: center; gap: 0; }
.bframe { position: relative; width: 100%; max-width: 1080px; padding: clamp(0px, 1.6vw, 22px); }
/* Сетка-подложка под панелью цены (приём «single pricing card»): тонкие
   линии гаснут к краям, по углам рамки — метки-крестики. */
.bframe::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line-l) 1px, transparent 1px), linear-gradient(90deg, var(--line-l) 1px, transparent 1px); background-size: 40px 40px; background-position: center; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%); }
.bframe .cx { position: absolute; width: 15px; height: 15px; pointer-events: none; }
.bframe .cx::before, .bframe .cx::after { content: ""; position: absolute; background: #9DA2B6; }
.bframe .cx::before { left: 7px; top: 0; width: 1px; height: 15px; }
.bframe .cx::after { top: 7px; left: 0; height: 1px; width: 15px; }
.bframe .cx:nth-of-type(1) { left: -7px; top: -7px; }
.bframe .cx:nth-of-type(2) { right: -7px; top: -7px; }
.bframe .cx:nth-of-type(3) { left: -7px; bottom: -7px; }
.bframe .cx:nth-of-type(4) { right: -7px; bottom: -7px; }
.bpanel { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 32px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line-l), 0 50px 100px -50px rgba(17,22,51,.45); text-align: left; }
.bp-l { padding: clamp(28px, 3.6vw, 52px); display: grid; align-content: center; }
.bp-l .lede { font-size: clamp(16px, 1.3vw, 19px); }
.bp-r { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 3vw, 40px); background: linear-gradient(170deg, #1C2350, var(--ink)); color: #fff; display: grid; gap: 22px; align-content: center; }
/* Тёплое свечение у кнопки — акцент, не фон: бренд остаётся точкой. */
.bp-r::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -140px; width: 520px; height: 300px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,106,26,.28), rgba(255,106,26,0)); pointer-events: none; }
.bp-r::after { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,190,150,.45), transparent); }
.bp-r label { font-weight: 700; font-size: var(--fs-s); }
.bp-r form { display: grid; gap: 10px; }
.bp-r .itb-lead-form__field input { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; font: 500 var(--fs-s) var(--f-body); }
.bp-r input::placeholder { color: #8A90B0; }
.bp-r .itb-lead-form__field input { transition: border-color .2s, background .2s, box-shadow .2s; }
.bp-r .itb-lead-form__field input:hover { border-color: rgba(255,255,255,.24); }
.bp-r .itb-lead-form__field input:focus { outline: none; border-color: var(--tl-1); background: rgba(255,255,255,.09); box-shadow: 0 0 0 4px rgba(255,106,26,.18); }
.bp-r .btn { justify-content: center; margin-top: 6px; }
/* Поля заявки сеткой в две колонки; узкие — по одному в строку. */
.itb-lead-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .itb-lead-form__fields { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .bpanel { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .bframe .cx { display: none; } .bframe::before { inset: -16px; } }

.bp-title { margin: 0 0 -4px; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.015em; color: #fff; display: flex; align-items: center; gap: 12px; }
.bp-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(255,106,26,.18); flex: none; }

/* css/sections/contact/cookie-banner.css */
/* Баннер согласия на cookie (template-parts/cookie-banner.php, js/cookie-banner.js). */
.itb-cookie { position: fixed; z-index: 80; left: var(--gut-l); right: var(--gut-r); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; }
.itb-cookie.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.itb-cookie__inner { max-width: 760px; display: flex; align-items: center; gap: 18px; padding: 14px 16px 14px 20px; border-radius: 20px; background: rgba(17,22,51,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.1); color: var(--mist); }
.itb-cookie__text { font-size: var(--fs-xs); line-height: 1.5; }
.itb-cookie__text a { color: #fff; }
.itb-cookie__accept { flex: none; }
@media (max-width: 620px) { .itb-cookie__inner { flex-direction: column; align-items: stretch; } }

/* css/sections/contact/lead-form.css */
/* Форма заявки на пилот (секция «Пилот», тёмная колонка .bp-r):
   согласия 152-ФЗ, honeypot, результат отправки. Логика — js/lead-form.js. */

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.itb-lead-form { text-align: left; }
.itb-lead-form__field { display: block; }
.itb-lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.itb-lead-form__consents { display: grid; gap: 10px; margin-top: 4px; }
.bp-r .itb-consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-weight: 500; font-size: var(--fs-2xs); line-height: 1.5; color: var(--mist); cursor: pointer; }
.itb-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); }
.itb-consent a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 2px; }
.itb-consent a:hover { text-decoration-color: currentColor; }
.itb-consent__req { color: var(--tl-1); }

.itb-lead-form__submit:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
/* На тёмной колонке полупрозрачный оранжевый выглядел грязно-коричневым:
   выключенная кнопка — нейтральная «стеклянная», цвет приходит с согласием. */
.bp-r .itb-lead-form__submit { transition: background .3s, color .3s, box-shadow .3s; }
.bp-r .itb-lead-form__submit:disabled { opacity: 1; background: rgba(255,255,255,.07); color: #8A90B0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.itb-lead-form__submit.is-loading { opacity: .7; cursor: progress; }
.itb-lead-form__result { font-size: var(--fs-s); font-weight: 600; color: #9BEBC6; }
.itb-lead-form__result.is-error { color: #FFB4A0; }

/* css/sections/intro/calculator.css */
/* ---------- ROI-калькулятор (template-parts/landing/intro/calculator.php) ----------
   Стоит на серебряной полосе «Эффект» под карточками ролей: слева белая панель
   ввода, справа тёмная карточка результата той же высоты. Цвета панелей заданы
   переменными, и карточка результата переопределяет их у себя — одни и те же
   подписи и строки работают и на белом, и на тёмном. */
.itb-roi {
  --roi-r: 22px;            /* как у .tile и .pains li */
  --roi-gap: 16px;
  --roi-pad: clamp(18px, 2vw, 26px);
  --roi-panel: var(--paper);
  --roi-line: var(--line-l);
  --roi-text: var(--ink);
  --roi-muted: var(--graphite);
  --roi-shadow: 0 40px 80px -40px rgba(17,22,51,.55);
  margin-top: clamp(32px, 4vw, 56px);
  color: var(--roi-text);
  font-family: var(--f-body);
}

.itb-roi__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--roi-gap) clamp(16px, 2.4vw, 32px); align-items: stretch; }
.itb-roi__inputs { display: grid; min-width: 0; }
.itb-roi__results { display: flex; min-width: 0; }

/* ---------- Панель ---------- */
.itb-roi__panel { display: grid; gap: 16px; padding: var(--roi-pad); border-radius: var(--roi-r); background: var(--roi-panel); box-shadow: inset 0 0 0 1px var(--roi-line); min-width: 0; }
.itb-roi__panel-title { display: flex; align-items: center; gap: 10px; font-size: var(--fs-s); font-weight: 800; letter-spacing: -.01em; line-height: 1.35; }
/* Маркер — та же оранжевая точка, что у рисков в «Проблеме». */
.itb-roi__panel-title::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }

/* ---------- Поля (components/range-field.php) ---------- */
.itb-roi__fields { display: grid; gap: 22px; }

.itb-roi__note { font-size: var(--fs-xs); line-height: 1.5; color: var(--roi-muted); }

/* ---------- Карточка результата ---------- */
.itb-roi__card {
  --roi-panel: rgba(255,255,255,.04);
  --roi-line: var(--line-d);
  --roi-text: #fff;
  --roi-muted: var(--mist);
  /* Итог сверху, кнопка снизу, показатели — посередине свободной высоты. */
  position: relative; overflow: hidden; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  padding: clamp(22px, 2.4vw, 32px); border-radius: 28px;
  background: var(--ink); color: var(--roi-text); box-shadow: var(--roi-shadow);
}
.itb-roi__card::before { content: ""; position: absolute; right: -30%; top: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,106,26,.24), transparent); pointer-events: none; }
.itb-roi__card > * { position: relative; }

.itb-roi__label { font: 500 var(--fs-2xs) var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--roi-muted); }
.itb-roi__card .itb-roi__headline .itb-roi__label { color: var(--tl-1); }

.itb-roi__headline { display: grid; gap: 8px; }
.itb-roi__headline-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; color: var(--brand); font-variant-numeric: lining-nums tabular-nums; }
.itb-roi__headline-unit { font-size: .36em; font-weight: 600; letter-spacing: 0; color: var(--roi-text); }

.itb-roi__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--roi-line); }
.itb-roi__kpi { display: grid; gap: 6px; align-content: start; padding: 14px 0; border-bottom: 1px solid var(--roi-line); min-width: 0; }
.itb-roi__kpi:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--roi-line); }
.itb-roi__kpi-value { margin: 0; display: flex; align-items: baseline; gap: 4px; font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.itb-roi__kpi-value .itb-roi__unit { font-size: var(--fs-2xs); }
.itb-roi__kpi.is-pos .itb-roi__kpi-value { color: var(--tl-2); }
.itb-roi__kpi.is-neg .itb-roi__kpi-value { color: var(--bad); }

/* .btn по умолчанию не переносит текст — в узкой карточке длинная подпись вылезла бы. */
.itb-roi__cta { justify-content: center; width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
.itb-roi__cta:focus-visible { outline-offset: 3px; border-radius: 999px; }

.itb-roi__footnote { margin-top: -6px; }
.itb-roi__inputs .itb-roi__panel { align-content: start; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .itb-roi__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .itb-roi { --roi-r: 18px; }
  .itb-roi__kpi:nth-child(even) { padding-left: 12px; }
}

/* css/sections/intro/effect.css */
/* ---------- Экран 2 «Эффект» ----------
   Карточки ролей — общий компонент; роль крупнее обычной метки: CEO / CFO / CIO —
   первое, что ищет взгляд руководителя. */
.effect .wrap { padding-block: var(--band-y); }
.effect__cta { display: flex; justify-content: center; margin-top: clamp(28px, 3.5vw, 44px); }
.effect .info-card__kicker { font-size: var(--fs-s); font-weight: 500; letter-spacing: .12em; }

/* css/sections/pages/404.css */
/* 404 и поиск: тёмная полоса в цвет hero, крупный код и выход на главную. */
.itb-404 { background: var(--ink-deep); color: #fff; }
.itb-404 .wrap { padding-block: clamp(96px, 12vw, 168px); display: grid; gap: 22px; justify-items: start; max-width: 860px; }
.itb-404__code { font: 500 var(--fs-xs) var(--f-mono); letter-spacing: .12em; color: var(--tl-1); }
.itb-404__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.itb-404__title em { font-style: normal; color: var(--tl-2); }
.itb-404__actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.itb-404__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: var(--fs-s); }
.itb-404__list a { color: rgba(255,255,255,.78); text-decoration: none; }
.itb-404__list a:hover { color: #fff; }

/* css/sections/pages/legal.css */
/* Юридические страницы (templates/template-legal.php) и обычные страницы.
   Тексты длинные — светлая полоса, узкая колонка, Manrope. */
.itb-legal, .itb-page { background: var(--paper); color: var(--ink); }
.itb-legal .wrap, .itb-page .wrap { padding-block: clamp(64px, 8vw, 112px); }
.itb-legal__article, .itb-page__article { max-width: 820px; margin-inline: auto; }
.itb-legal__title, .itb-page__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 40px; }
.itb-legal__content { color: #2C3252; font-size: var(--fs-body); line-height: 1.7; }
.itb-legal__content h2 { font-size: 22px; line-height: 1.3; font-weight: 800; color: var(--ink); margin: 48px 0 16px; }
.itb-legal__content h3 { font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--ink); margin: 32px 0 12px; }
.itb-legal__content > h2:first-child { margin-top: 0; }
.itb-legal__content p, .itb-legal__content ul, .itb-legal__content ol { margin: 0 0 16px; }
.itb-legal__content ul, .itb-legal__content ol { padding-left: 22px; }
.itb-legal__content li + li { margin-top: 6px; }
.itb-legal__content a { color: var(--brand-ink); }
.itb-legal__content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: var(--fs-s); }
.itb-legal__content th, .itb-legal__content td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-l); }
.itb-legal__content th { font-weight: 700; color: var(--ink); background: var(--silver); }

/* Блок реквизитов в начале документов (dl.legal-req из seed/legal/*.html). */
.legal-req { margin: 0 0 32px; padding: 20px 24px; border-radius: 18px; background: var(--silver); display: grid; gap: 8px; }
.legal-req__row { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 16px; }
.legal-req__row dt { font: 500 var(--fs-2xs)/1.6 var(--f-mono); color: var(--graphite); text-transform: uppercase; letter-spacing: .04em; }
.legal-req__row dd { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 620px) { .legal-req__row { grid-template-columns: 1fr; gap: 2px; } }

/* css/sections/product/process.css */
/* ---------- Экран 3 «Как это работает»: этапы слева, окно с результатом справа ---------- */
.process { }
.process .pin { padding-block: var(--band-y); }
.process .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; row-gap: 0; }
.process .head { grid-column: 1 / -1; max-width: none; margin: 0 0 clamp(24px, 3vw, 40px); gap: 8px; }
.process .head .lede { max-width: 70ch; margin-top: 6px; }
/* Выводы блока во всю ширину под этапами и окном: две ячейки на зазоре 1px. */
.pr-points { grid-column: 1 / -1; list-style: none; margin: clamp(28px, 3.5vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: 18px; overflow: hidden; background: var(--line-l); box-shadow: 0 0 0 1px var(--line-l); }
.pr-points li { display: flex; align-items: flex-start; gap: 14px; padding: clamp(18px, 2vw, 24px); background: var(--silver); }
.pr-points svg { width: 24px; height: 24px; flex: none; margin-top: 1px; color: var(--brand-ink); }
.pr-points p { margin: 0; font-size: var(--fs-body); line-height: 1.5; color: var(--graphite); }
.pr-points b { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .pr-points { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; display: grid; gap: 2px; }
.steps::before { content: ""; position: absolute; left: 9px; top: 18px; bottom: 18px; width: 2px; background: var(--line-l); border-radius: 2px; }
.fillr { position: absolute; left: 9px; top: 18px; width: 2px; height: var(--fy, 0px); border-radius: 2px; background: linear-gradient(var(--tl-3), var(--brand)); transition: height .95s cubic-bezier(.7,0,.2,1); }
.step:hover { color: var(--graphite); }
.step.on:hover { color: var(--ink); }
.pctl { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 22px; font: 500 var(--fs-xs) var(--f-mono); color: var(--graphite); }
.pctl button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--silver); display: grid; place-items: center; transition: background .2s, transform .2s; }
.pctl button:hover { background: var(--silver); box-shadow: 0 0 0 1px var(--line-l); }
.pctl button:active { transform: scale(.94); }
.pctl button:disabled { opacity: .35; cursor: default; }
.pctl svg { width: 18px; height: 18px; }
.rider { position: absolute; left: 1px; top: 0; width: 18px; height: 72px; transform: translateY(var(--ry, 0px)); transition: transform .95s cubic-bezier(.7,0,.2,1); will-change: transform; }
.rider svg { width: 100%; height: 100%; overflow: visible; }
.rider .tr { transform-box: view-box; transform-origin: 50% 100%; transition: transform .95s cubic-bezier(.7,0,.2,1); }
.rider.go .tr { animation: stretch .95s cubic-bezier(.7,0,.2,1); }
@keyframes stretch { 45% { transform: scaleY(1.9); } }
.rider svg { width: 100%; height: 100%; overflow: visible; }
.step { padding: 10px 0; color: #B3B7C7; transition: color .6s var(--ease); cursor: pointer; }
.step b { display: block; font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; letter-spacing: -.01em; }
.step small { display: block; font: 400 var(--fs-2xs)/1.4 var(--f-mono); margin-top: 3px; color: var(--graphite); opacity: .45; transition: opacity .6s var(--ease); }
.step.on { color: var(--ink); }
.step.on small { opacity: 1; }
.step-cap { display: none; }
.pscreens { position: relative; }
.pscreens .win { background: #fff; }
.pscreen { position: absolute; inset: 0; opacity: 0; transform: translateY(3%) scale(.985); filter: blur(10px); transition: opacity .8s cubic-bezier(.25,.1,.25,1), transform 1s cubic-bezier(.2,.7,.1,1), filter .8s cubic-bezier(.25,.1,.25,1); }
.pscreen.past { transform: translateY(-3%) scale(.985); }
.pscreen.on { opacity: 1; transform: none; filter: none; }
.pscreen.first { position: relative; }
/* Скриншот занимает окно целиком; шире 16:10 — вписан, поля белые, как фон приложения. */
.pscreen-shot { position: absolute; inset: 0; }
.pnum-unused { position: absolute; right: -6px; bottom: -36px; font-family: var(--f-display); font-size: var(--fs-s); color: var(--graphite); }

/* Generic page-like contents for process screens */
.pg { position: absolute; inset: 0; padding: 4.93cqw 6.38cqw; font-size: 1.81cqw; display: grid; align-content: start; gap: 1.5cqw; background: #fff; }
.pg .crumb { font: 500 1.45cqw var(--f-mono); color: #8A90A8; }
.pg h4 { font-size: 3.77cqw; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.pg .row { display: flex; gap: 1.45cqw; flex-wrap: wrap; }
.pg .chip { font-size: 1.45cqw; font-weight: 700; padding: 0.58cqw 1.45cqw; border-radius: 99px; background: #EEF0F6; color: #3A405C; }
.pg .chip.o { background: #FFE9DC; color: var(--brand-ink); }
.pg .chip.g { background: #DFF3EA; color: #1E7A50; }
.pg .hd { font-weight: 800; font-size: 2.03cqw; margin-top: 1.16cqw; }
.pg .txt { display: grid; gap: 1.16cqw; }
.pg .txt i { display: block; height: 1.23cqw; border-radius: 99px; background: #ECEEF3; }
.pg ol, .pg ul { margin: 0; padding-left: 3.19cqw; display: grid; gap: 0.87cqw; }
.pg .quote { border-left: 0.51cqw solid var(--brand); padding: 0.87cqw 2.03cqw; background: #FFF6F0; border-radius: 0 0.87cqw 0.87cqw 0; }
.pg .muted { color: #8A90A8; }
.pg table { border-collapse: collapse; width: 100%; font-size: 1.59cqw; }
.pg td, .pg th { text-align: left; padding: 1.45cqw 1.16cqw; border-bottom: 1px solid #ECEEF3; }
.pg th { font-size: 1.38cqw; color: #8A90A8; text-transform: uppercase; letter-spacing: .05em; }
.pg .mono { font-family: var(--f-mono); font-size: 1.52cqw; }
.pg.code { background: #0E1230; color: #D6D9E8; font-family: var(--f-mono); font-size: 1.74cqw; gap: 0.43cqw; padding: 4.35cqw 4.93cqw; }
.pg.code .ln { white-space: pre; }
.pg.code .add { background: rgba(47,158,107,.18); color: #9BE3C1; margin: 0 -4.93cqw; padding: 0 4.93cqw; }
.pg.code .del { background: rgba(214,69,69,.16); color: #F4A5A5; margin: 0 -4.93cqw; padding: 0 4.93cqw; }
.pg.code .k { color: var(--tl-1); }
.pg.code .c { color: #6E7598; }
.pg .wire { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.90cqw; margin-top: 0.87cqw; }
.pg .wire > div { border: 1px dashed #C9CCD8; border-radius: 1.45cqw; padding: 2.32cqw; display: grid; gap: 1.45cqw; align-content: start; }
.pg .field { height: 4.35cqw; border-radius: 1.01cqw; background: #F2F3F7; border: 1px solid #E3E5EC; }
.pg .fbtn { height: 4.35cqw; border-radius: 99px; background: var(--ink); width: 50%; }
.pg .comment { border: 1px solid #E3E5EC; border-radius: 1.45cqw; padding: 2.32cqw 2.61cqw; display: grid; gap: 1.16cqw; line-height: 1.5; }
.pg .comment .who { display: flex; align-items: center; gap: 1.16cqw; font-weight: 700; }
.pg .comment .who i { width: 3.48cqw; height: 3.48cqw; border-radius: 50%; background: var(--ink); }
.pg .comment .who small { font-weight: 500; color: #8A90A8; font-size: 1.45cqw; }
.pg .shot { aspect-ratio: 16 / 7; border-radius: 1.45cqw; background: repeating-linear-gradient(135deg, #F4F5F8 0 1.45cqw, #ECEEF3 1.45cqw 2.90cqw); display: grid; place-items: center; color: #8A90A8; font: 500 1.45cqw var(--f-mono); }


/* css/sections/proof/cases.css */
/* ---------- Экран 4 «Кейсы» ----------
   Три равные белые карточки на серой полосе, как «Проекты и результаты»
   на intec-balance.ru. Части карточки стоят на общих строках сетки (subgrid):
   заголовки, тексты и показатели соседних карточек начинаются на одной высоте. */
.cases .wrap { padding-block: clamp(32px, 3.5vw, 56px); display: grid; gap: clamp(20px, 2.4vw, 32px); }

.cs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cs { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line-l); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.cs:hover { box-shadow: 0 0 0 1px var(--line-l), 0 24px 48px -28px rgba(17,22,51,.35); transform: translateY(-2px); }
@supports (grid-template-rows: subgrid) {
  .cs { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
}

/* Фото невысокое: блок должен влезть в экран вместе с показателями. */
.cs__media { position: relative; aspect-ratio: 16 / 6; overflow: hidden; background: radial-gradient(70% 90% at 80% 0%, rgba(255,106,26,.28), transparent 70%), var(--ink); }
.cs__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.cs:hover .cs__img { transform: scale(1.03); }
.cs__mark { position: absolute; right: -6%; top: 50%; width: 46%; height: auto; aspect-ratio: 1; transform: translateY(-50%); color: #fff; fill: currentColor; opacity: .12; }

.cs__body { display: grid; align-content: start; gap: 10px; padding: 18px 22px 0; }
.cs__tag { justify-self: start; padding: 5px 12px; border-radius: 8px; background: var(--silver); font: 500 var(--fs-2xs) var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.cs__title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.cs__text { margin: 0; font-size: var(--fs-s); line-height: 1.5; color: var(--graphite); }

.cs__link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-s); font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-l); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.cs__link span { color: var(--brand-ink); transition: transform .2s var(--ease); }
.cs__link:hover { color: var(--brand-ink); border-color: var(--brand); }
.cs__link:hover span { transform: translateX(3px); }
.cs__link:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }

/* Показатели строками: короткая цифра слева, остальное — подписью справа.
   У соседних карточек показатели начинаются на одной линии (общая строка сетки). */
.cs__foot { display: grid; align-content: start; gap: 10px; padding: 14px 22px 20px; }
.cs__metrics { margin: 0; display: grid; border-top: 1px solid var(--line-l); }
.cs__metrics > div { display: grid; grid-template-columns: 7.6rem minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-l); }
.cs__metrics dd { grid-area: 1 / 1; margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 1.8vw, 26px); line-height: 1.05; letter-spacing: -.02em; color: var(--brand-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs__metrics dt { grid-area: 1 / 2; font-size: var(--fs-xs); line-height: 1.4; color: var(--graphite); }
.cs__note { margin: 0; display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--graphite); }
.cs__note svg { width: 18px; height: 18px; flex: none; color: var(--brand-ink); }

@media (max-width: 960px) {
  .cs-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .cs { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cs, .cs__img { transition: none; }
}

/* css/sections/proof/pricing.css */
/* ---------- Экран 5 «Тарифы»: пакеты плашками в один ряд ----------
   Серая карточка подписки: сверху название, под ним баннер скидки, в ряд — белые плашки
   пакетов, внизу общее для всех — что входит и кнопка. */
.pricing .wrap { padding-block: var(--band-y); display: grid; gap: clamp(32px, 4vw, 52px); }
.offer { width: 100%; display: grid; gap: clamp(22px, 2.6vw, 30px); padding: clamp(22px, 2.6vw, 34px); border-radius: 28px; background: var(--silver); color: var(--ink); }
.offer__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 24px; }
.offer__name { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.01em; }
/* Условия — справа, вровень с названием: оплата за год и НДС. */
.offer__terms { margin: 0; display: grid; justify-items: end; gap: 2px; text-align: right; font-size: var(--fs-xs); line-height: 1.4; color: var(--graphite); }
.offer__terms span:first-child { font-weight: 700; color: var(--ink); }

/* Баннер скидки: спокойная тёмная панель во всю ширину карточки.
   Оранжевый — только в цифре, за ней едва заметное тёплое свечение. */
.offer__promo { display: flex; align-items: center; gap: 10px clamp(14px, 1.8vw, 22px); padding: clamp(12px, 1.4vw, 16px) clamp(18px, 2vw, 26px); border-radius: 16px; color: #fff;
  background: radial-gradient(22% 140% at 8% 50%, rgba(255,106,26,.18) 0%, transparent 70%), linear-gradient(90deg, var(--ink) 0%, var(--ink-up) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.offer__bolt { flex: none; width: 24px; height: 24px; color: var(--spark); }
.offer__promo-value { flex: none; font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; letter-spacing: -.03em; color: var(--brand); font-variant-numeric: tabular-nums; }
.offer__promo-text { margin: 0; padding-left: clamp(14px, 1.8vw, 22px); border-left: 1px solid var(--line-d); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.35; color: rgba(255,255,255,.9); }
@media (max-width: 560px) {
  .offer__terms { justify-items: start; text-align: left; }
  .offer__promo { flex-wrap: wrap; }
  .offer__promo-text { flex-basis: 100%; padding-left: 0; border-left: 0; }
}
.offer__kick { font: 500 var(--fs-2xs) var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }

/* Плашки: части идут на общих строках сетки (subgrid), поэтому цены
   и годовые суммы соседних плашек стоят на одной высоте. */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 12px; }
.plan { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; border-radius: 20px; background: var(--paper); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
/* Наведение: обводка брендом и лёгкий подъём — какую плашку сейчас читают. */
.plan:hover { box-shadow: inset 0 0 0 1.5px var(--brand), 0 18px 36px -24px rgba(17,22,51,.45); transform: translateY(-2px); }
@supports (grid-template-rows: subgrid) {
  .plan { display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; }
}
.plan p { margin: 0; }
.plan__head { min-height: 26px; }
.plan__size { font-size: var(--fs-s); font-weight: 700; color: var(--ink); text-decoration: underline 2px var(--brand); text-underline-offset: 6px; text-decoration-skip-ink: none; }
/* Скидка — ярлык на верхнем крае плашки: не отнимает ширину у текста. */
.plan__off { position: absolute; top: -11px; right: 16px; padding: 3px 10px; border-radius: 99px; background: var(--brand); color: #fff; font-size: var(--fs-2xs); font-weight: 800; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: 0 6px 14px -6px rgba(255,106,26,.6); }
.plan__price, .plan__year { display: grid; gap: 4px; align-content: start; }
.plan__price span, .plan__year span { font-size: var(--fs-2xs); line-height: 1.3; color: var(--graphite); }
.plan__price { padding-block: 6px 4px; }
.plan__price b { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 2.6vw, 38px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Сумма за команду в год — то, что реально платят. */
.plan__year { align-self: end; padding-top: 14px; border-top: 1px solid var(--line-l); }
.plan__year b { font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* «Более 50»: светлая, но без заливки — пунктирная рамка отличает её от
   пакетов с ценой. Вместо цены — текст без переносов по слогам, внизу ссылка к форме. */
.plan--custom { background: transparent; border: 1.5px dashed rgba(17,22,51,.22); }
.plan--custom .plan__size { text-decoration: none; }
.plan--custom .plan__price b { font-size: var(--fs-body); font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--graphite); white-space: normal; }
.plan--custom .link-arrow:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.offer__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px 40px; padding-top: clamp(22px, 2.6vw, 30px); border-top: 1px solid var(--line-l); }
.offer__incl { display: grid; gap: 14px; }
.offer__cta { justify-content: center; }

/* Пять плашек в ряд не помещаются — по две, «Более 50» во всю ширину. */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--custom { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .offer__cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .plan { transition: none; } .plan:hover { transform: none; } }

/* css/responsive.css */
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .process .wrap { grid-template-columns: 1fr; gap: 22px; align-content: center; }
  .process .head { margin: 0; }
  .process h2 { font-size: 30px; }
  .steps { display: flex; padding: 0; gap: 6px; }
  .steps::before, .rider, .fillr { display: none; }
  .step { flex: 1; padding: 0; height: 4px; border-radius: 99px; background: #E6E8EF; font-size: 0; transition: background .4s; }
  .step.on { background: var(--brand); }
  .step b, .step small { display: none; }
  .step-cap { display: grid; gap: 4px; min-height: 64px; }
  .step-cap b { font-size: 20px; font-weight: 800; }
  .step-cap small { font: 400 var(--fs-2xs)/1.4 var(--f-mono); color: var(--graphite); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

