/* WorkFolio — лендинг. Графит + голографический акцент «Аква · сирень» (H40): глубина — ступенями поверхности и рамками 1px;
   перелив акцента — главная кнопка, выбранная вкладка, «сегодня», знак; аква — точки, «вовремя», ряд «вовремя/продуктивно» на графиках.
   Страница: первый экран с терминалом FaceID → «Что внутри» (шесть живых плиток-якорей) → «Возможности» во вкладках →
   камеры и зоны («скоро», план офиса) → «О нас» → тарифы → заявка. Движение — только при разрешённой анимации (класс .anim). */

/* ── шрифты Geist и Geist Mono (свои файлы, без CDN; лицензия — ../fonts/OFL.txt) ── */
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-cyrillic-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-mono-cyrillic-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-mono-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-mono-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-mono-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  /* поверхности: фон → панель → приподнятое → выбранное */
  --bg: #0B0C0E;
  --panel: #131417;
  --raised: #191A1E;
  --sel: #1F2025;
  --line: #25272C;
  --line-2: #35373D;
  --line-3: #4A4D55;
  /* текст: основной, второй, третий (третий — не на #191A1E и #1F2025) */
  --text: #EDEDEF;
  --text-2: #A4A7AF;
  --text-3: #7E818B;
  /* акцент и статусы */
  --aqua: #A9DCE6;
  --lilac: #C4BDF5;
  --acc-grad: linear-gradient(115deg, #CBE8EC, #D6D3F0, #C7E4EA, #DCD7F2, #CBE8EC, #D6D3F0); /* перелив, текст на нём тёмный */
  --acc-text: linear-gradient(115deg, #A9DCE6, #C4BDF5, #9FD9E3, #CFC8F7, #A9DCE6);              /* градиентный текст */
  --acc-line: linear-gradient(90deg, #A9DCE6, #C4BDF5);
  --acc-v: linear-gradient(180deg, #D6D3F0, #A9DCE6);  /* столбики «вовремя/продуктивно» */
  --acc-h: linear-gradient(90deg, #A9DCE6, #D6D3F0);   /* полосы */
  --acc-tint: rgba(169, 220, 230, .12);
  --acc-gloss: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 18px -8px rgba(169, 220, 230, .45);
  --amber: #F0A63A;
  --red: #F2555A;
  --gray: #8E929B;
  --neutral: #4A4D55;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --hdr-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
html.menu-open { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font: 400 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* язык не русский: прячем страницу до подмены текстов (страховка — сама откроется через 1,6 с) */
html.i18n-wait body { opacity: 0; animation: wf-show 0s linear 1.6s forwards; }
@keyframes wf-show { to { opacity: 1; } }

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
::selection { background: var(--line-2); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 8px; background: var(--acc-grad); color: var(--bg); font-weight: 500;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }
.tn { font-variant-numeric: tabular-nums; }
.m { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mark { flex: none; }

/* ── раскладка ── */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.sec { padding: 80px 0; border-top: 1px solid var(--line); }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.eyebrow { font: 400 12px/16px var(--mono); letter-spacing: 0; color: var(--text-3); }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; font-weight: 500; letter-spacing: -.03em; }
.lead { max-width: 480px; font-size: 17px; line-height: 27px; color: var(--text-2); }
.note { font-size: 13px; line-height: 18px; color: var(--text-3); }
.caption { padding-top: 14px; font-size: 12px; line-height: 16px; color: var(--text-3); }
.ph { color: var(--text-2); }

/* ── кнопки и ссылки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px;
  font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; text-align: center;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.btn-lg { height: 48px; font-size: 15px; }
.btn-sm { height: 36px; padding: 0 14px; border-radius: 8px; }
/* перелив акцента «Аква · сирень»: у главных кнопок градиент — отдельный слой, его медленно сдвигает transform
   (это делает видеокарта, страница не перерисовывается); мелкие акценты — тот же градиент, неподвижный */
.btn-primary { position: relative; isolation: isolate; overflow: hidden; background: #D2DDEE; color: var(--bg); box-shadow: var(--acc-gloss); }
.btn-primary::before { content: ''; position: absolute; z-index: -1; left: 0; top: 0; width: 260%; height: 100%; background: var(--acc-grad); pointer-events: none; }
.anim .btn-primary::before { animation: holo-x 10s ease-in-out infinite; will-change: transform; }
@keyframes holo-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-61.5%); } }
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:disabled:hover { filter: none; }
.holo { background: var(--acc-grad); background-size: 260% 260%; background-position: 30% 50%; color: var(--bg); }
.tab[aria-selected='true']::after, .plan-hi::before { background: var(--acc-line); }
.acc-num { background: var(--acc-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes acc-shift { 0%, 100% { background-position: 0% 30%; } 50% { background-position: 100% 70%; } }
/* «живая» точка: расходящееся кольцо — только transform и opacity */
.pulse { position: relative; }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--aqua); opacity: 0; }
.anim .pulse::after { animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.btn-outline { background: var(--bg); border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { background: var(--raised); border-color: var(--line-3); }
.btn:disabled { cursor: default; }
.lk { border-radius: 4px; color: var(--text-2); transition: color .12s ease; }
.lk:hover { color: var(--text); }
.lk-u { display: inline-flex; align-items: center; gap: 6px; border-radius: 4px; color: var(--text); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 4px; }
.lk-u:hover { text-decoration-color: var(--text); }
.lk-u .i { width: 14px; height: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── шапка ── */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr-in { height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-t { font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.nav > ul { display: flex; align-items: center; gap: 28px; }
.nav a, .nav-btn { font-size: 14px; white-space: nowrap; }
.nav a.active, .nav-btn.active { color: var(--text); }
.hdr-act { display: flex; align-items: center; gap: 16px; }
.hdr-act > .lk { font-size: 14px; white-space: nowrap; }
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang button {
  height: 28px; padding: 0 6px; border: 0; border-radius: 6px; background: none;
  font: 400 12px/28px var(--mono); letter-spacing: 0; color: var(--text-3); transition: color .12s ease;
}
.lang button:hover, .lang button[aria-pressed='true'] { color: var(--text); }
.menu-btn { display: none; gap: 8px; padding: 0 12px; }
.menu-btn .i-shut { display: none; }
.hdr.menu-open .menu-btn .i-open { display: none; }
.hdr.menu-open .menu-btn .i-shut { display: block; }

/* «Возможности» в шапке: раскрывающийся список якорей */
.nav-dd { position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 2px; border: 0; border-radius: 4px; background: none; color: var(--text-2); transition: color .12s ease; }
.nav-btn:hover, .nav-btn[aria-expanded='true'] { color: var(--text); }
.nav-btn .i { width: 14px; height: 14px; transition: transform .15s ease; }
.nav-btn[aria-expanded='true'] .i { transform: rotate(180deg); }
.nav-pop { position: absolute; top: calc(100% + 12px); left: -12px; z-index: 60; width: 320px; padding: 6px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); }
.nav-pop a { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 7px; white-space: normal; }
.nav-pop a:hover { background: var(--raised); }
.np-t { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.np-d { font-size: 12px; line-height: 16px; color: var(--text-2); }

/* меню на узком экране: на весь экран под шапкой, без размытия */
.mnav {
  position: absolute; left: 0; right: 0; top: 100%;
  height: calc(100vh - var(--hdr-h)); height: calc(100dvh - var(--hdr-h));
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-top: 1px solid var(--line);
}
.mnav-in { display: flex; flex-direction: column; gap: 24px; padding-top: 4px; padding-bottom: 40px; }
.mnav-in > * { max-width: 560px; }
.mnav-group { padding: 14px 0 6px; font: 400 12px/16px var(--mono); color: var(--text-3); }
.mnav-sub a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-left: 14px; border-left: 1px solid var(--line-2); font-size: 17px; line-height: 22px; }
.mnav-links { margin-top: 12px; }
.mnav-links a {
  display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line);
  font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -.01em;
}
.mnav-links li:first-child a { border-top: 1px solid var(--line); }
.mnav-sub a:hover, .mnav-links a:hover { color: var(--text-2); }
.mnav-act { display: flex; flex-direction: column; gap: 10px; }

/* ── первый экран ── */
.hero { padding-top: 64px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-eb { display: inline-flex; align-items: center; gap: 10px; }
.hero-eb > i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
.h1 { font-size: clamp(40px, 5.1vw, 74px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; }
/* «Видно,» — градиентный текст; перелив проходит два круга после загрузки и замирает (перерисовка текста каждый кадр — дорого) */
.h1 em { font-style: normal; background: var(--acc-text); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.anim .h1 em { animation: acc-shift 10s ease-in-out 2; }
.hero.off .h1 em { animation-play-state: paused; }
.hero-sub { max-width: 540px; font-size: 19px; line-height: 29px; color: var(--text-2); }
.hero-cta { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; color: var(--text-3); }
.live > i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }

/* терминал FaceID: линейный рисунок лица, опорные точки и сетка, проход сканера; после распознавания — строка в журнале */
.hero-vis { min-width: 0; }
.scan { display: grid; grid-template-columns: minmax(0, 248px) minmax(0, 1fr); gap: 20px; align-items: center; }
.scan-dev { min-width: 0; padding: 12px 10px 14px; border: 1px solid var(--line-3); border-radius: 30px; background: var(--raised); }
.scan-cam { display: block; width: 8px; height: 8px; margin: 0 auto 10px; border: 1px solid var(--line-3); border-radius: 50%; background: var(--bg); }
.scan-scr { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.scan-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; line-height: 14px; color: var(--text-3); white-space: nowrap; }
.scan-view { position: relative; }
.scan-svg { display: block; width: 100%; height: auto; }
.scan-sweep { position: absolute; left: 7%; right: 7%; top: 0; height: 18%; opacity: 0; pointer-events: none; will-change: transform, opacity; transition: opacity .35s ease;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(169, 220, 230, .2), rgba(169, 220, 230, 0)); }
.scan-sweep::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 1px; background: linear-gradient(90deg, rgba(169, 220, 230, 0), #A9DCE6 22%, #C4BDF5 78%, rgba(196, 189, 245, 0)); }
.scan.sweeping .scan-sweep { opacity: 1; }
.scan-br path { fill: none; stroke: var(--line-3); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.scan-br-ok { opacity: 0; transition: opacity .5s ease; }
.scan-br-ok path { stroke: url(#sc-acc); stroke-width: 2.4; }
.scan.ok .scan-br-ok { opacity: 1; }
.fs-face { visibility: hidden; opacity: 0; transition: opacity .7s ease, visibility 0s linear .7s; }
.fs-face.on { visibility: visible; opacity: 1; transition: opacity .7s ease, visibility 0s; }
.fs-lines path { fill: none; stroke: var(--text-2); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: .62; vector-effect: non-scaling-stroke; }
.fs-lines .fl-i { opacity: .38; }
.fs-mesh { fill: none; stroke: var(--lilac); stroke-width: .75; opacity: .36; vector-effect: non-scaling-stroke; }
.fs-pts circle { fill: var(--aqua); }
.fs-scan { transition: opacity .6s ease; }
.scan.ok .fs-scan { opacity: .78; }
.scan-res { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 66px; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.scan.ok .scan-res { opacity: 1; transform: none; }
.scan-name { max-width: 100%; font-size: 14px; line-height: 19px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scan-meta { display: inline-flex; gap: 6px; font-size: 12px; line-height: 16px; color: var(--text-2); }
.scan-res .tag { margin-top: 4px; height: 20px; padding: 0 8px; font-size: 11px; }
/* неподвижный вид (без JavaScript и при «уменьшить движение»): Азиз уже распознан */
.scan.static [data-face="ak"] { visibility: visible; opacity: 1; }
.scan.static .fs-scan { opacity: .78; }
.scan.static .scan-br-ok, .scan.static .scan-res { opacity: 1; transform: none; }
.scan-log { min-width: 0; padding: 16px 18px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); container-type: inline-size; }
.scan-log-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; font-size: 13px; line-height: 18px; font-weight: 500; }
.sl-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; min-height: 46px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; }
.sl-t { font-size: 12px; color: var(--text-2); }
.sl-n { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-r .tag { height: 20px; padding: 0 7px; font-size: 11px; }
.sl-r.is-new { animation: lr-in .55s ease both; }
[data-scan-log] { transition: opacity .3s ease; }
[data-scan-log].swap { opacity: 0; }
@container (max-width: 250px) {
  .sl-r { grid-template-columns: auto minmax(0, 1fr); min-height: 0; }
  .sl-r .tag { grid-column: 2; justify-self: start; }
}

/* общие мелочи фрагментов интерфейса */
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; }
.tag-ok { background: var(--acc-tint); color: var(--aqua); }
.tag-late { background: rgba(240, 166, 58, .12); color: var(--amber); }
.tab-soon, .soon-tag { flex: none; display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 11px; line-height: 16px; font-weight: 400; letter-spacing: 0; color: var(--text-2); white-space: nowrap; }
.c-ok { background: var(--acc-v); }
.c-late { background: var(--amber); }
.c-neu { background: var(--neutral); }
.c-idle { background: var(--line-2); }
.c-none { background: var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--text-2); }
.legend > span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { flex: none; width: 7px; height: 7px; border-radius: 2px; }
.av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--sel); font-size: 13px; font-weight: 300; }

/* ── «Что внутри»: шесть плиток, у каждой — маленький фрагмент интерфейса и ссылка на свою вкладку ── */
.inside { padding: 64px 0 80px; }
.inside-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 14px; }
.inside-head .caption { padding: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.tiles > li { display: flex; min-width: 0; background: var(--bg); }
.tile { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 14px 18px; transition: background-color .12s ease; }
.tile:hover { background: var(--panel); }
.tile:focus-visible { outline-offset: -3px; }
.tile-pic { position: relative; display: block; height: 128px; margin-bottom: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); container-type: inline-size; transition: border-color .12s ease; }
.tile:hover .tile-pic { border-color: var(--line-3); }
.tile-t { display: flex; align-items: center; gap: 8px; padding: 0 4px; font-size: 16px; line-height: 22px; font-weight: 500; letter-spacing: -.01em; }
.tile-t .i { margin-left: auto; color: var(--text-3); transition: transform .15s ease, color .12s ease; }
.tile:hover .tile-t .i { color: var(--text); transform: translateX(2px); }
.tile-d { padding: 0 4px; font-size: 13px; line-height: 19px; color: var(--text-2); }

/* маленькие фрагменты в плитках */
.mf { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; font-size: 12px; line-height: 16px; }
.mf-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 11px; line-height: 14px; color: var(--text-3); white-space: nowrap; }
.mf-h > span { overflow: hidden; text-overflow: ellipsis; }
.mf-bar { position: relative; display: block; height: 5px; border-radius: 1.5px; background: var(--line); }
.mf-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 1.5px; }
/* FaceID: рамка распознавания с проходом сканера, «Пришли 45 из 48» и 48 рисок дня */
.mf-face { flex-direction: row; align-items: center; gap: 16px; }
.mf-scan { flex: none; width: 44px; height: 56px; overflow: visible; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ms-br { stroke: var(--aqua); }
.ms-face { stroke: var(--text-3); }
.mf-scanw { position: relative; flex: none; display: block; }
.ms-line { position: absolute; left: 4px; right: 4px; top: 0; height: 1.5px; border-radius: 1px; background: var(--acc-line); opacity: 0; }
.anim .ms-line { animation: ms-sweep 3.2s cubic-bezier(.45, 0, .55, 1) infinite; will-change: transform, opacity; }
@keyframes ms-sweep { 0% { transform: translateY(6px); opacity: 0; } 8% { opacity: 1; } 46% { transform: translateY(50px); opacity: 1; } 54%, 100% { transform: translateY(50px); opacity: 0; } }
.mf-att { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mf-att .mf-kv { font-size: 30px; line-height: 32px; }
/* агент: программы и время */
.mf-a { display: grid; grid-template-columns: minmax(0, 72px) minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 20px; }
.mf-a > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-a .m { font-size: 11px; color: var(--text-2); white-space: nowrap; }
.mf-apps .mf-h { margin-bottom: 4px; }
/* аналитика: продуктивность и столбики по дням */
.mf-an { flex-direction: row; align-items: stretch; gap: 16px; }
.mf-num { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.mf-big { font-size: 34px; line-height: 36px; font-weight: 300; letter-spacing: -.035em; }
.mf-big small { margin-left: 3px; font-size: 14px; letter-spacing: 0; color: var(--text-2); }
.mf-sub { font-size: 11px; line-height: 14px; color: var(--text-2); white-space: nowrap; }
.mf-cmp { position: relative; display: block; width: 92px; height: 10px; margin: 4px 0 2px; }
.mf-cmp i { position: absolute; display: block; }
.mf-cmp .bg { left: 0; right: 0; top: 3px; height: 4px; border-radius: 1.5px; background: var(--line); }
.mf-cmp .v { left: 0; top: 3px; height: 4px; border-radius: 1.5px; }
.mf-cmp .mk { top: 0; width: 2px; height: 10px; border-radius: 1px; background: var(--text-3); }
.mf-cols { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 5px; min-width: 0; height: 74px; align-self: flex-end; padding-bottom: 2px; border-bottom: 1px solid var(--line-2); }
.mf-cols > span { flex: 0 1 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; min-width: 4px; }
.mf-cols i { display: block; border-radius: 1.5px; }
/* KPI: итог и три критерия */
.mf-kh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.mf-kh .mf-h { align-self: center; }
.mf-kv { font-size: 26px; line-height: 28px; font-weight: 300; letter-spacing: -.03em; white-space: nowrap; }
.ticks { display: flex; align-items: flex-end; gap: 2px; height: 26px; }
.ticks i { flex: 1 1 0; min-width: 2px; height: 100%; border-radius: 1px; transform-origin: center bottom; }
.ticks i.o { background: var(--acc-v); }
.ticks i.l { background: var(--amber); }
.ticks i.v { height: 35%; background: var(--gray); }
.ticks i.x { height: 35%; background: var(--red); }
.ticks-sm { height: 18px; gap: 1.5px; }
.ticks-sm i { min-width: 1.5px; }
.mf-kv small { margin-left: 4px; font-size: 12px; letter-spacing: 0; color: var(--text-2); }
.mf-k { display: grid; grid-template-columns: minmax(0, 76px) minmax(0, 1fr) 20px; align-items: center; gap: 10px; min-height: 18px; }
.mf-k > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
.mf-k .tn { font-size: 12px; text-align: right; }
.mf-k .mf-bar i, .wa .mf-bar i, .ag-bar i.c-ok, .mf-bar i.c-ok, .kc-bar i, .cmp-v, .mf-cmp .v { background: var(--acc-h); }
/* кабинет: верх телефона */
.mf-ph { align-items: center; padding-bottom: 0; }
.mf-phone { display: flex; flex-direction: column; gap: 7px; width: min(196px, 100%); height: 130px; padding: 12px 10px 0; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 20px 20px 0 0; background: var(--bg); }
.mf-ph-h { padding: 0 4px; font-size: 12.5px; line-height: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-ph-c { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 11.5px; line-height: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.mf-ph-c > i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
.mf-ph-c > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mf-ph-b { display: flex; align-items: center; justify-content: center; height: 28px; border-radius: 7px; font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; box-shadow: var(--acc-gloss); }
/* камеры: маленький план */
.mf-plan { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.mw { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid var(--panel); border-radius: 50%; background: var(--gray); opacity: 0;
  will-change: transform, opacity; transition: background-color .45s ease, opacity .5s ease; }
.mw.on { background: var(--aqua); }
.mw.in { opacity: 1; }
.mp { stroke: var(--panel); stroke-width: 2; }
.mp.on { fill: var(--aqua); }
.mp.late { fill: var(--amber); }
.mp.away { fill: var(--gray); }

@container (max-width: 300px) {
  .mf-scanw { display: none; }
  .mf-a { grid-template-columns: minmax(0, 64px) minmax(0, 1fr); }
  .mf-a .m { display: none; }
  .mf-k { grid-template-columns: minmax(0, 68px) minmax(0, 1fr) 18px; gap: 8px; }
}
@container (max-width: 230px) {
  .mf { padding: 10px 9px; }
  .mf-apps .mf-h { font-size: 10.5px; }
  .mf-apps .live { gap: 0; }
  .mf-apps .live > i { display: none; }
  .mf-att .mf-kv { font-size: 26px; line-height: 28px; }
  .mf-an { flex-direction: column; gap: 6px; }
  .mf-cols { flex: none; align-self: stretch; height: 48px; gap: 3px; }
  .ticks-sm { gap: 1px; }
  .ticks-sm i { min-width: 0; }
  .mf-big { font-size: 26px; line-height: 28px; }
  .mf-cmp, .mf-num > .mf-sub:first-child { display: none; }
  .mf-num { flex-direction: row; align-items: baseline; gap: 8px; }
  .mf-kh .mf-h { display: none; }
  .mf-kv { font-size: 24px; line-height: 26px; }
  .mf-phone { gap: 6px; padding: 10px 6px 0; border-radius: 16px 16px 0 0; }
  .mf-ph-h { font-size: 11px; line-height: 14px; }
  .mf-ph-c { gap: 5px; padding: 6px; font-size: 10.5px; }
  .mf-ph-b { height: 26px; font-size: 10.5px; }
  .mf-k { grid-template-columns: minmax(0, 1fr) 18px; row-gap: 3px; }
  .mf-k .mf-bar { grid-column: 1 / -1; grid-row: 2; }
  .mf-k { min-height: 0; }
  .mf-kpi { gap: 4px; }
  .mf-kpi .mf-k:nth-of-type(n+4) { display: none; }
}

/* ── возможности: вкладки (без JavaScript — все разделы друг под другом) ── */
.feat-h { margin-bottom: 18px; }
.tabs-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 32px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 28px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 1px;
  border: 0; background: none; font-size: 15px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color .12s ease;
}
.tab:hover, .tab[aria-selected='true'] { color: var(--text); }
.tab[aria-selected='true']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; }
.tab:focus-visible { outline-offset: -2px; }
.tabs-more { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; border-radius: 4px; font-size: 14px; color: var(--text-2); transition: color .12s ease; }
.tabs-more:hover { color: var(--text); }
.tabs-more .i { width: 14px; height: 14px; }
.panels { margin-top: 36px; }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.panel + .panel { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
.is-tabs .panel + .panel { margin-top: 0; padding-top: 0; border-top: 0; }
.is-tabs .panel { scroll-margin-top: var(--tab-off, 0px); }
.panel:focus-visible { outline-offset: 8px; }
.panel-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 8px; }
.panel-t { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; font-weight: 500; letter-spacing: -.025em; }
.panel-copy .rows { margin-top: 10px; }
.panel-note { font-size: 13px; line-height: 18px; color: var(--text-3); }
.panel-vis { min-width: 0; }
.rows { border-bottom: 1px solid var(--line); }
.rows li { display: flex; align-items: center; min-height: 46px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 23px; }
/* FaceID во вкладке: показатели дня → журнал проходов → табель */
.fid { overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); container-type: inline-size; }
.fid-kpi { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 1px; border-bottom: 1px solid var(--line); background: var(--line); }
.kt { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px 18px; background: var(--panel); }
.kt-hero { gap: 12px; }
.kt-l { font-size: 11px; line-height: 14px; color: var(--text-3); }
.kt-v { display: flex; align-items: baseline; gap: 8px; }
.kt-big { font-size: 40px; line-height: 40px; font-weight: 300; letter-spacing: -.035em; }
.kt-u { font-size: 15px; color: var(--text-2); }
.kt-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.kt-num { font-size: 32px; line-height: 34px; font-weight: 300; letter-spacing: -.03em; white-space: nowrap; }
.kt-s { font-size: 11px; line-height: 14px; color: var(--text-2); }
.spark { flex: none; overflow: visible; }
.spark polyline { fill: none; stroke: var(--lilac); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.spark circle { fill: var(--aqua); }
.fid-log { padding: 14px 20px 6px; border-bottom: 1px solid var(--line); }
.fid-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; font-size: 13px; line-height: 18px; font-weight: 500; }
.fid-h .m { font-size: 11px; font-weight: 400; color: var(--text-3); }
.fl-r { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; min-height: 44px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.fl-t { font-size: 13px; color: var(--text-2); }
.fl-n { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-e { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.lr.is-new { animation: lr-in .5s ease both; }
@keyframes lr-in { from { opacity: 0; transform: translateY(-6px); } }
.fid-sheet { padding: 16px 20px 18px; }
.ts { display: flex; flex-direction: column; gap: 5px; }
.ts-row { display: flex; align-items: center; gap: 14px; }
.ts-n { flex: 1 1 auto; min-width: 0; font-size: 13px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-c { flex: none; display: flex; gap: 4px; }
.ts-c > i { flex: none; display: block; width: 24px; height: 24px; border-radius: 4px; font: normal 500 10px/24px var(--mono); text-align: center; color: rgba(11, 12, 14, .85); }
.ts-c > i.w2 { margin-left: 8px; }
.ts-hd .ts-c > i { height: 18px; font-weight: 400; line-height: 18px; color: var(--text-3); }
.ts-hd .ts-c > i.today { color: var(--bg); font-weight: 500; }
.fid-note { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--text-3); }
@container (max-width: 560px) {
  .fid-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fid-kpi .kt-hero { grid-column: 1 / -1; }
  .fid-log { padding: 12px 14px 4px; }
  .fl-r { grid-template-columns: 40px minmax(0, 1fr); gap: 2px 8px; min-height: 0; padding: 7px 0; font-size: 13px; }
  .fl-e { grid-column: 2; }
  .fid-sheet { padding: 14px; }
  .ts-c > .wk1 { display: none; }
  .ts-c > i.w2 { margin-left: 0; }
}

/* агент: активность ПК */
.ag { overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); }
.ag-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ag-id { display: flex; flex-direction: column; min-width: 0; }
.ag-n { font-size: 15px; line-height: 20px; font-weight: 500; }
.ag-s { font-size: 12px; line-height: 16px; color: var(--text-3); }
.ag-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ag-now-l { font-size: 12px; color: var(--text-3); }
.ag-day { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 8px; }
.ag-line { display: flex; gap: 2px; height: 14px; }
.ag-line i { flex: 1 1 0; border-radius: 2px; }
.ag-hours { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); }
.ag-apps { padding: 2px 20px; }
.ag-apps li { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 96px; align-items: center; gap: 14px; min-height: 36px; font-size: 13px; }
.ag-apps li + li { border-top: 1px solid var(--line); }
.ag-bar { position: relative; height: 6px; }
.ag-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 1.5px; }
.ag-time { font-size: 12px; color: var(--text-2); text-align: right; white-space: nowrap; }
.ag .legend { padding: 10px 20px 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; max-width: 100%;
  min-height: 28px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  font-size: 12px; line-height: 16px; color: var(--text-2);
}
.chip::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.chip-live::before { background: var(--aqua); }
.anim .chip-live::before { animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* аналитика сотрудника */
.af { overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); }
.af-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.af-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.af-id { display: flex; flex-direction: column; min-width: 0; }
.af-n { font-size: 15px; line-height: 20px; font-weight: 500; }
.af-p { font-size: 12px; line-height: 16px; color: var(--text-3); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.seg > span { height: 26px; padding: 0 10px; border-radius: 6px; font-size: 12px; line-height: 26px; color: var(--text-2); white-space: nowrap; }
.seg > .on { background: var(--sel); color: #fff; font-weight: 500; }
.af-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-bottom: 1px solid var(--line); background: var(--line); }
.am { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px 20px; background: var(--panel); }
.am-l { font-size: 12px; line-height: 16px; color: var(--text-3); }
.am-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.am-big { font-size: 36px; line-height: 38px; font-weight: 300; letter-spacing: -.03em; }
.am-u { font-size: 14px; color: var(--text-2); }
.am-s { font-size: 12px; color: var(--text-2); }
.cmp { position: relative; display: block; height: 14px; }
.cmp i { position: absolute; display: block; }
.cmp-bg { left: 0; right: 0; top: 4px; height: 6px; border-radius: 1.5px; background: var(--line); }
.cmp-v { left: 0; top: 4px; height: 6px; border-radius: 1.5px; }
.cmp-mk { top: 0; width: 2px; height: 14px; border-radius: 1px; background: var(--text-3); }
.af-chart { display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 18px; }
.pnl-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.pnl-t { font-size: 13px; font-weight: 500; }
.bars { position: relative; display: flex; align-items: flex-end; padding-top: 6px; }
.bars .grid { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.bars .grid:first-child { background: var(--line-2); }
.bars-in { position: relative; flex: 1; display: flex; align-items: flex-end; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.stk { display: flex; flex-direction: column; gap: 2px; width: 20px; }
.stk i { display: block; border-radius: 1.5px; }
.bar .d { font-size: 11px; line-height: 18px; color: var(--text-3); white-space: nowrap; }
.bar .d.today { height: 18px; padding: 0 5px; border-radius: 4px; color: var(--bg); font-weight: 500; }
.wk-gap { flex: 0 0 10px; }

/* карточка KPI */
.kc { overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); }
.kc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.kc-total { flex: none; display: flex; align-items: baseline; gap: 6px; }
.kc-num { font-size: 40px; line-height: 40px; font-weight: 300; letter-spacing: -.035em; }
.kc-of { font-size: 14px; color: var(--text-2); }
.kc-rows { padding: 4px 20px; }
.kc-rows li { display: grid; grid-template-columns: minmax(0, 168px) minmax(0, 1fr) 30px minmax(0, 150px); align-items: center; gap: 14px; min-height: 48px; }
.kc-rows li + li { border-top: 1px solid var(--line); }
.kc-l { font-size: 14px; }
.kc-bar { position: relative; height: 6px; border-radius: 1.5px; background: var(--line); }
.kc-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 1.5px; }
.kc-v { font-size: 15px; text-align: right; }
.kc-src { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.kc-files { font-size: 12px; color: var(--text-3); }

/* кабинет сотрудника: окно агента на компьютере и телефон */
.cab { position: relative; display: flex; justify-content: flex-end; }
.win { position: absolute; left: 0; top: 40px; width: calc(100% - 248px); overflow: hidden; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); }
.win-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--bg); font-size: 12px; color: var(--text-2); }
.win-t { display: flex; align-items: center; gap: 8px; }
.win-ctl { width: 54px; height: 10px; fill: none; stroke: var(--text-3); stroke-width: 1; }
.win-body { display: flex; flex-direction: column; gap: 12px; max-width: 300px; padding: 16px; }
.win-h { display: flex; flex-direction: column; gap: 2px; }
.win-h b { font-size: 17px; line-height: 22px; font-weight: 500; letter-spacing: -.01em; }
.win-h span { font-size: 12px; line-height: 16px; color: var(--text-2); }
.wc { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.wc-t { font-size: 12px; line-height: 16px; font-weight: 500; }
.wk { display: flex; align-items: flex-end; gap: 10px; height: 92px; }
.wk > span { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.wk b { font-size: 12px; line-height: 14px; font-weight: 400; }
.wk i { display: block; width: 100%; max-width: 24px; border-radius: 2px; background: var(--acc-v); transform-origin: center bottom; }
.wk i.next { border: 1px dashed var(--line-3); background: transparent; }
.wk em { font: normal 400 10px/12px var(--mono); color: var(--text-3); }
.wa { display: grid; grid-template-columns: minmax(0, 64px) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 12px; line-height: 16px; }
.wa .m { font-size: 11px; color: var(--text-2); white-space: nowrap; }
.cab .phone { position: relative; z-index: 1; }
.phone { width: 300px; display: flex; flex-direction: column; gap: 12px; padding: 22px 16px 18px; border: 1px solid var(--line-2); border-radius: 32px; background: var(--bg); }
.ph-hi { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 4px; }
.ph-h { font-size: 21px; line-height: 26px; font-weight: 500; letter-spacing: -.02em; }
.ph-d { font-size: 12px; line-height: 16px; color: var(--text-2); }
.ph-card { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.ph-col { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ph-card.ph-col { gap: 4px; }
.ph-card.ph-gap10 { gap: 10px; }
.ph-here { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; }
.ph-here > i { flex: none; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--aqua); }
.ph-strong { font-size: 14px; line-height: 19px; font-weight: 500; }
.ph-15 { font-size: 15px; line-height: 20px; }
.ph-sub { font-size: 11px; line-height: 15px; color: var(--text-2); }
.ph-lbl { font-size: 11px; line-height: 14px; color: var(--text-3); }
.ph-btn { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 9px; font-size: 14px; font-weight: 500; box-shadow: var(--acc-gloss); }
.ph-v { display: flex; align-items: baseline; gap: 5px; }
.ph-big { font-size: 34px; line-height: 36px; font-weight: 300; letter-spacing: -.03em; }
.ph-u { font-size: 13px; color: var(--text-2); }

/* «Камеры — скоро»: план офиса как чертёж; люди — метки с инициалами */
.plan-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 280px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); text-align: left; }
.plan-main { position: relative; min-width: 0; padding: 18px; }
.plan-svg { display: block; width: 100%; height: auto; }
.pm-layer { position: absolute; left: 0; top: 0; overflow: hidden; pointer-events: none; transition: opacity .5s ease; }
.plan-card.fading .pm-layer { opacity: 0; }
.plan-card.html-people .pl-people { display: none; }
.pm { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: var(--pm, 26px); height: var(--pm, 26px); margin: calc(var(--pm, 26px) / -2) 0 0 calc(var(--pm, 26px) / -2);
  border: 2px solid var(--bg); border-radius: 50%; background: var(--aqua); color: var(--bg); font-size: var(--pmf, 10px); font-weight: 600; letter-spacing: -.02em; line-height: 1;
  will-change: transform; transition: background-color .45s ease, opacity .4s ease; }
.pm.late { background: var(--amber); }
.pm.away { background: var(--gray); }
.pm.out { opacity: 0; }
.plan-svg path, .plan-svg rect, .plan-svg circle { vector-effect: non-scaling-stroke; }
.pl-zones rect { fill: rgba(169, 220, 230, 0); stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; transition: fill .9s ease, stroke .9s ease; }
.pl-zones rect.occ { fill: rgba(169, 220, 230, .09); stroke: rgba(169, 220, 230, .5); }
.pl-fov { fill: none; stroke: var(--line-3); stroke-width: 1; stroke-dasharray: 2 3; }
.pl-camb { fill: var(--raised); stroke: var(--text-3); stroke-width: 1; }
.pl-lens { fill: var(--aqua); }
.pl-chip { opacity: 0; transition: opacity .5s ease; }
.pl-chip.show { opacity: 1; }
.pl-chip rect { fill: var(--panel); stroke: var(--line-3); stroke-width: 1; }
.pl-chip text { fill: var(--text-2); font-size: 11px; }
.pl-chip .m { fill: var(--aqua); font-family: var(--mono); }
.pl-desk, .pl-item { fill: var(--panel); stroke: var(--line-3); stroke-width: 1; }
.pl-mon { fill: var(--text-3); stroke: none; }
.pl-chair, .pl-thin { fill: none; stroke: var(--line-3); stroke-width: 1; }
.plan-svg .pl-wall, .plan-svg .pl-part { vector-effect: none; }
.pl-wall { fill: none; stroke: var(--line-3); stroke-width: 5; stroke-linecap: square; stroke-linejoin: miter; }
.pl-part { fill: none; stroke: var(--line-3); stroke-width: 2.5; stroke-linecap: square; }
.pl-win path { fill: none; stroke: var(--text-3); stroke-width: 1; }
.pl-leaf { fill: none; stroke: var(--text-3); stroke-width: 1.5; }
.pl-swing { fill: none; stroke: var(--line-3); stroke-width: 1; stroke-dasharray: 2 3; }
.pl-room { fill: var(--text-2); font-size: 15px; font-weight: 500; letter-spacing: -.005em; }
.pl-area, .pl-num { fill: var(--text-3); font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0; }
.pl-face { fill: var(--text-2); font-size: 11px; }
.pl-term rect { fill: var(--raised); stroke: var(--text-2); stroke-width: 1.2; transition: stroke .2s ease; }
.pl-term circle { fill: var(--text-2); stroke: none; transition: fill .2s ease; }
.pl-term.scan rect { stroke: var(--aqua); }
.pl-term.scan circle { fill: var(--aqua); }
.pp { transition: opacity .4s ease; }
.pp circle { fill: var(--aqua); stroke: var(--bg); stroke-width: 2; transition: fill .45s ease; }
.pp text { fill: var(--bg); font-size: 10.5px; font-weight: 600; letter-spacing: -.02em; text-anchor: middle; }
.pp.late circle { fill: var(--amber); }
.pp.away circle { fill: var(--gray); }
.pp.out { opacity: 0; }
.pl-people, .ps-log ol { transition: opacity .5s ease; }
.plan-card.fading .pl-people, .plan-card.fading .ps-log ol { opacity: 0; }
.mf-plan .pl-wall { stroke-width: 4; }
.mf-plan .pl-part { stroke-width: 2.5; }
.mf-plan .pl-desk { stroke: var(--line-2); }
.mp { transition: fill .45s ease; }

.plan-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 18px 20px; border-left: 1px solid var(--line); background: var(--panel); }
.ps-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-3); }
.ps-head .live > i { background: var(--text-3); }
.ps-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.ps-stats p { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 12px; background: var(--bg); }
.ps-num { font-size: 26px; line-height: 28px; font-weight: 300; letter-spacing: -.03em; }
.ps-lbl { font-size: 11px; line-height: 14px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-title { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 12px; line-height: 16px; color: var(--text-2); }
.ps-title .m { color: var(--text-3); }
.lr { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); }
.lr-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 13px; line-height: 18px; }
.lr-top .m { flex: none; font-size: 12px; color: var(--text-2); }
.lr-top span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-bot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; font-size: 11px; line-height: 15px; color: var(--text-3); }
.lr-bot .tag { height: 18px; padding: 0 6px; border-radius: 5px; font-size: 11px; }
.ps-legend { display: flex; flex-direction: column; gap: 6px; margin-top: auto; font-size: 11px; line-height: 15px; color: var(--text-2); }
.ps-legend li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ps-legend i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.lg-on { background: var(--aqua); }
.lg-late { background: var(--amber); }
.lg-away { background: var(--gray); }

/* ── камеры и зоны рабочих мест (скоро): заголовок и план во всю ширину ── */
.cams-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 56px; align-items: end; margin-bottom: 32px; }
.cams-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cams-eb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.cams .caption { padding-top: 14px; }

/* ── о нас ── */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.about-copy .h2 { font-size: clamp(30px, 3.2vw, 44px); }
.about-copy .lead + .lead { margin-top: -4px; }
.about-deploy { max-width: 480px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 23px; color: var(--text-2); }
/* что мы делаем: решения команды */
.sol { display: flex; flex-direction: column; min-width: 0; padding: 20px 20px 6px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); }
.sol-h { padding-bottom: 14px; font-size: 13px; line-height: 18px; font-weight: 500; }
.sol-list { margin: 0; padding: 0; list-style: none; }
.sol-i { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 3px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.sol-i .i { grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 1px; color: var(--aqua); }
.sol-t { font-size: 15px; line-height: 21px; font-weight: 500; }
.sol-d { grid-column: 2; font-size: 13px; line-height: 19px; color: var(--text-2); }
.sol-i .chip { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.about-side { display: flex; flex-direction: column; min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: 28px; }
.facts > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.facts dt { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 300; letter-spacing: -.03em; }
.facts dd { font-size: 14px; line-height: 20px; color: var(--text-2); }

/* ── тарифы ── */
.price-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.price-note { font-size: 15px; line-height: 22px; color: var(--text-2); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.plan { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 24px 26px; background: var(--bg); }
.plan-hi { position: relative; background: var(--panel); }
.plan-hi::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.plan h3 { font-size: 18px; line-height: 22px; font-weight: 500; }
.plan-price { display: flex; flex-direction: column; gap: 6px; }
.plan-v { font-size: clamp(34px, 3.2vw, 44px); line-height: 1.05; font-weight: 300; letter-spacing: -.03em; }
.plan-v.is-tbd { color: var(--text-2); }
.plan-cur { font-size: 15px; letter-spacing: 0; color: var(--text-2); }
.plan-per { font-size: 13px; line-height: 18px; color: var(--text-3); }
.plan ul { flex: 1; border-bottom: 1px solid var(--line); }
.plan li { display: flex; align-items: center; min-height: 36px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.plan .btn { width: 100%; height: auto; min-height: 44px; padding-top: 10px; padding-bottom: 10px; line-height: 1.3; white-space: normal; }
.plan .btn-outline { background: transparent; }
.plan .btn-outline:hover { background: var(--raised); }
/* строки карточек выровнены между собой: название, цена, список, кнопка */
@supports (grid-template-rows: subgrid) {
  .plans { grid-template-rows: auto auto 1fr auto; }
  .plan { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 20px; }
}

/* ── заявка на демо и вопросы ── */
.final { padding-bottom: 88px; }
.final-head { grid-area: head; display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.final-head .lead { max-width: 480px; }
.h-xl { max-width: 900px; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; }
.final-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "head form" "faq form"; gap: 0 56px; align-items: start; }
.faq { grid-area: faq; min-width: 0; }
.faq-t { margin-bottom: 8px; font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -.01em; }
.final-form { grid-area: form; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.final-self { font-size: 14px; line-height: 20px; color: var(--text-2); }
.qa-list { border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 13px 0; cursor: pointer; list-style: none;
  font-size: 16px; line-height: 23px; font-weight: 500; letter-spacing: -.005em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { color: var(--text-3); transition: transform .2s ease, color .12s ease; }
.qa summary:hover .i { color: var(--text); }
.qa[open]:not(.closing) summary .i { transform: rotate(45deg); }
.qa-a { overflow: hidden; }
.qa-a p { max-width: 640px; padding: 0 32px 18px 0; font-size: 15px; line-height: 23px; color: var(--text-2); }
.form-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.form { display: flex; flex-direction: column; }
.form-t { margin-bottom: 16px; font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -.01em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; line-height: 18px; color: var(--text-2); }
.req { color: var(--text-2); }
.opt { margin-left: 4px; font-size: 12px; color: var(--text-3); }
.input {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg);
  font-size: 15px; color: var(--text); transition: border-color .12s ease, box-shadow .12s ease;
}
.input::placeholder { color: var(--text-3); opacity: 1; }
.input:hover { border-color: var(--line-3); }
.input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
textarea.input { height: auto; min-height: 76px; padding: 10px 12px; line-height: 22px; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23A4A7AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
}
select.input.is-empty { color: var(--text-3); }
select.input option { background: var(--panel); color: var(--text); }
.input[aria-invalid='true'] { border-color: var(--red); }
.input[aria-invalid='true']:focus { box-shadow: 0 0 0 1px var(--red); }
.err { font-size: 12px; line-height: 16px; color: var(--red); }
.err:empty { display: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: rgba(242, 85, 90, .12); font-size: 14px; line-height: 20px; color: var(--red); }
.form-error .i { margin-top: 2px; }
.form-submit { align-self: flex-start; margin-top: 20px; }
.form-submit .spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(11, 12, 14, .3); border-top-color: var(--bg); border-radius: 50%; animation: spin .7s linear infinite; }
.form-submit .lbl-sending, .form-submit .lbl-retry { display: none; }
.form.is-sending .spinner, .form.is-sending .lbl-sending { display: inline-block; }
.form.is-sending .lbl-send, .form.is-sending .lbl-retry, .form.is-error .lbl-send { display: none; }
.form.is-error:not(.is-sending) .lbl-retry { display: inline; }
.form.is-sending .form-submit { opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin-top: 14px; font-size: 12px; line-height: 18px; color: var(--text-3); }
.form-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 48px 8px; text-align: center; outline: none; }
.done-ic { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--aqua); }
.done-ic .i { width: 20px; height: 20px; }
.form-done h3 { margin-top: 8px; font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: -.02em; }
.form-done p { max-width: 380px; font-size: 15px; line-height: 23px; color: var(--text-2); }
.form-done .btn { margin-top: 12px; }

/* ── появление при прокрутке: полосы растут, столбики поднимаются, риски и клетки табеля проявляются, линия рисуется ── */
.anim .rv .gx { transform-origin: left center; transition: transform .95s cubic-bezier(.22, .8, .24, 1) calc(var(--i, 0) * 70ms + 150ms); }
.anim .rv:not(.in) .gx { transform: scaleX(0); }
.anim .rv .gy { transform-origin: center bottom; transition: transform .9s cubic-bezier(.22, .8, .24, 1) calc(var(--i, 0) * 55ms + 150ms); }
.anim .rv:not(.in) .gy { transform: scaleY(0); }
.anim .rv .fu { transition: opacity .6s ease calc(var(--i, 0) * 120ms + 300ms), transform .6s cubic-bezier(.22, .8, .24, 1) calc(var(--i, 0) * 120ms + 300ms); }
.anim .rv:not(.in) .fu { opacity: 0; transform: translateY(8px); }
.anim .rv .ticks i { transition: opacity .3s ease calc(var(--i) * 16ms + 150ms), transform .5s cubic-bezier(.22, .8, .24, 1) calc(var(--i) * 16ms + 150ms); }
.anim .rv:not(.in) .ticks i { opacity: 0; transform: scaleY(.15); }
.anim .rv .spark polyline { stroke-dasharray: 100; transition: stroke-dashoffset 1.6s cubic-bezier(.45, 0, .2, 1) .35s; }
.anim .rv:not(.in) .spark polyline { stroke-dashoffset: 100; }
.anim .rv .spark circle { transform-box: fill-box; transform-origin: center; transition: opacity .4s ease 1.8s, transform .45s cubic-bezier(.3, 1.6, .5, 1) 1.8s; }
.anim .rv:not(.in) .spark circle { opacity: 0; transform: scale(.3); }
.anim .rv .ts-c > i[style] { transition: opacity .4s ease calc(var(--c) * 45ms + 450ms), transform .5s cubic-bezier(.22, .8, .24, 1) calc(var(--c) * 45ms + 450ms); }
.anim .rv:not(.in) .ts-c > i[style] { opacity: 0; transform: scale(.55); }
.anim .rv .wipe { clip-path: inset(0 0 0 0); transition: clip-path 1.7s cubic-bezier(.45, 0, .2, 1) .2s; }
.anim .rv:not(.in) .wipe { clip-path: inset(0 100% 0 0); }

/* ── подвал ── */
.ftr { border-top: 1px solid var(--line); }
.ftr-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.ftr-brand { display: flex; align-items: center; gap: 12px; }
.ftr-brand p { font-size: 13px; line-height: 18px; color: var(--text-2); }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; font-size: 13px; line-height: 18px; }

/* ── адаптивность ── */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 1100px) {
  .final-grid { column-gap: 40px; }
  .hero-in { gap: 32px 36px; }
  .scan { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 16px; }
  .panel, .about { gap: 40px; }
  .tabs-bar { flex-direction: column; align-items: stretch; border-bottom: 0; }
  .tabs { border-bottom: 1px solid var(--line); }
  .tabs-more { height: 40px; }
  .panels { margin-top: 28px; }
  .plan-card { grid-template-columns: minmax(0, 1fr); }
  .plan-side {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'head log' 'stats log' 'legend log';
    align-content: start; gap: 14px 28px; border-left: 0; border-top: 1px solid var(--line);
  }
  .ps-head { grid-area: head; }
  .ps-stats { grid-area: stats; }
  .ps-log { grid-area: log; }
  .ps-legend { grid-area: legend; flex-direction: row; flex-wrap: wrap; gap: 6px 16px; margin-top: 0; }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 680px; }
  .hero-vis { max-width: 640px; }
  .scan { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 20px; }
  .cams-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .panel-copy { max-width: 680px; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-copy { max-width: 680px; }
  .final-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "form" "faq"; gap: 40px; }
  .final-head { margin-bottom: 0; }
  .final-form { max-width: 720px; }
  .plan { padding: 22px 20px; }
}
@media (max-width: 760px) {
  .hdr-wide { display: none; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sec { padding: 56px 0; }
  .hero { padding-top: 40px; }
  .hero-copy { gap: 20px; }
  .hero-sub { font-size: 17px; line-height: 26px; }
  .input { font-size: 16px; } /* iPhone не увеличивает страницу при вводе */
  .btns > .btn { flex: 1 1 100%; }
  .inside { padding: 36px 0 56px; }
  .af-metrics { grid-template-columns: minmax(0, 1fr); }
  .kc-rows li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 30px; }
  .kc-src { display: none; }
  .ag-apps li { grid-template-columns: minmax(0, 92px) minmax(0, 1fr) 84px; gap: 10px; }
  .cab { justify-content: center; }
  .cab .win { display: none; }
  .phone { width: 100%; max-width: 320px; }
  .final { padding-bottom: 72px; }
  .form-card { padding: 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-submit { align-self: stretch; }
  .ftr-nav { margin-left: 0; }
}
@media (max-width: 700px) {
  .plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .plan { padding: 24px 26px; }
  .plan-v { font-size: 44px; }
}
@media (max-width: 600px) {
  .scan { grid-template-columns: minmax(0, 148px) minmax(0, 1fr); gap: 10px; }
  .scan-dev { padding: 8px 6px 9px; border-radius: 22px; }
  .scan-cam { width: 6px; height: 6px; margin-bottom: 6px; }
  .scan-scr { gap: 4px; padding: 8px 7px 9px; border-radius: 15px; }
  .scan-top { font-size: 10px; }
  .scan-res { min-height: 54px; }
  .scan-name { font-size: 12px; line-height: 16px; }
  .scan-meta { font-size: 11px; }
  .scan-log { padding: 12px 12px 2px; }
  .scan-log-h { padding-bottom: 6px; font-size: 12px; }
  .sl-r { padding: 6px 0; font-size: 12px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { padding: 12px 12px 16px; }
  .tile-pic { height: 116px; margin-bottom: 10px; }
  .tile-t { font-size: 15px; line-height: 20px; }
  .tile-t .i { display: none; }
  .tile-d { font-size: 12.5px; line-height: 18px; }
  .plan-main { padding: 10px; }
  .plan-side { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'stats' 'log' 'legend'; padding: 16px; }
  .ps-log li:nth-child(n+3) { display: none; }
  .sol { padding: 16px 16px 4px; }
  .sol-i { grid-template-columns: 20px minmax(0, 1fr); }
  .sol-i .chip { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 6px; }
  .facts { gap: 0 14px; }
  .facts dt { font-size: 22px; }
  .facts dd { font-size: 12.5px; line-height: 17px; }
}
@media (max-width: 900px) {
  .pp circle { r: 16px; }
  .pp text { font-size: 12px; }
}
@media (max-width: 520px) {
  .wk1 { display: none; }
  .qa-a p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary::before, .h1 em, .ms-line, .pulse::after, .chip-live::before { animation: none !important; }
  *, *::before, *::after { transition: none !important; animation-duration: .01ms !important; }
  .form-submit .spinner { animation: spin 1.2s linear infinite !important; }
}
