/* Палітра - з tysha-ios/Tysha/DesignSystem/Tokens.swift, щоб сайт і застосунок
   виглядали одним продуктом. Мʼята - акцент, і тема тут темна за замовчуванням,
   як у застосунку. Розкладка й ритм спільні з pulo.life: це один дім. */
:root {
  --bg: #08090B;
  --panel: #101215;
  --panel-raised: #171A1F;
  --line: #23272E;
  --line-strong: #333945;
  --text: #F2F5F4;
  --text-2: #A3ACAC;
  --text-3: #6C7473;
  --brand: #39E0C0;
  --brand-soft: #7FF0DA;
  --brand-tint: #07231E;
  --on-brand: #08090B;
  --glow: rgba(57, 224, 192, .18);
  --shadow: rgba(0, 0, 0, .6);
  --mark: rgba(57, 224, 192, .16);
  color-scheme: dark;
}

/* Три стани, а не два. Людина, яка нічого не вибирала, отримує тему системи;
   той, хто вибрав, отримує вибране - і його вибір має перемагати систему в
   обидва боки, тому явні `[data-theme]` стоять і для світлої, і для темної. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --bg: #F4F7F5;
  --panel: #FFFFFF;
  --panel-raised: #EAF0EC;
  --line: #D3DDD7;
  --line-strong: #8C9A93;
  --text: #101413;
  --text-2: #414B47;
  --text-3: #6B7571;
  --brand: #0B8B73;
  --brand-soft: #2FBFA2;
  --brand-tint: #E3F6F1;
  --on-brand: #FFFFFF;
  --glow: rgba(11, 139, 115, .18);
  --shadow: rgba(16, 32, 28, .16);
  --mark: rgba(11, 139, 115, .14);
  color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg: #F4F7F5;
  --panel: #FFFFFF;
  --panel-raised: #EAF0EC;
  --line: #D3DDD7;
  --line-strong: #8C9A93;
  --text: #101413;
  --text-2: #414B47;
  --text-3: #6B7571;
  --brand: #0B8B73;
  --brand-soft: #2FBFA2;
  --brand-tint: #E3F6F1;
  --on-brand: #FFFFFF;
  --glow: rgba(11, 139, 115, .18);
  --shadow: rgba(16, 32, 28, .16);
  --mark: rgba(11, 139, 115, .14);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #08090B;
  --panel: #101215;
  --panel-raised: #171A1F;
  --line: #23272E;
  --line-strong: #333945;
  --text: #F2F5F4;
  --text-2: #A3ACAC;
  --text-3: #6C7473;
  --brand: #39E0C0;
  --brand-soft: #7FF0DA;
  --brand-tint: #07231E;
  --on-brand: #08090B;
  --glow: rgba(57, 224, 192, .18);
  --shadow: rgba(0, 0, 0, .6);
  --mark: rgba(57, 224, 192, .16);
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  /* КГ 18.09: текст - Montserrat Alternates, як у буклетах; заголовки лишаються
     фірмовим Unbounded */
  font: 400 16.5px/1.6 "Montserrat Alternates", Manrope, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .wordmark, .band-range, .big {
  font-family: Unbounded, "Montserrat Alternates", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: pretty;
  line-height: 1.12;
}

a { color: var(--brand); text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); margin-inline: auto; }

/* --- шапка --- */
header.top {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.wordmark { font-size: 21px; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 9px; }
.wordmark img { width: 26px; height: 26px; border-radius: 7px; }
/* Montserrat Alternates ширший за Manrope: у прежньому кеглі пункти меню
   переставали вміщатись у рядок і «Підтримка» падала під шапку (КГ 18.09).
   Тому вужчий проміжок, менший кегль і заборона переносу - меню або в рядок,
   або (на вузьких екранах) ховається під кнопку. */
.nav-wide { display: flex; align-items: center; gap: 15px; margin-left: auto; flex-wrap: nowrap; white-space: nowrap; }
.nav-wide a { display: inline-flex; align-items: center; line-height: 1.2; color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.nav-wide a:hover { color: var(--text); }
.lang { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.lang:hover { border-color: var(--line-strong); color: var(--text); }

/* --- меню для вузьких екранів ---
   <details> замість кнопки з JS: навігація мусить відкриватися і з вимкненим
   скриптом. На широких екранах меню сховане - там працює .nav-wide. */
.menu { display: none; position: relative; margin-left: auto; }
.menu > summary {
  display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover, .menu[open] > summary { color: var(--text); border-color: var(--line-strong); }
/* Три смуги, які на відкритому меню стають хрестиком. */
.menu-i { position: relative; width: 15px; height: 11px; flex: none; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-i::before { content: ""; position: absolute; left: 0; top: 3.5px; width: 100%; border-top: 2px solid currentColor; }
.menu[open] .menu-i { border-color: transparent; }
.menu[open] .menu-i::before { transform: rotate(45deg); }
.menu[open] .menu-i::after { content: ""; position: absolute; left: 0; top: 3.5px; width: 100%; border-top: 2px solid currentColor; transform: rotate(-45deg); }

/* Панель абсолютна: сторінка під шапкою не стрибає, висота шапки лишається 62px. */
/* Поки меню відкрите, у шапки прибираємо backdrop-filter: у Chromium панель,
   що виходить за межі елемента з фільтром, малюється крізь себе - крізь пункти
   видно заголовок сторінки. Суцільний фон замість розмиття цього не допускає. */
.top:has(.menu[open]) { backdrop-filter: none; background: var(--bg); }

.menu-panel {
  position: absolute; top: calc(100% + 11px); right: 0;
  width: min(290px, calc(100vw - 32px));
  max-height: calc(100dvh - 84px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 8px 8px 12px; box-shadow: 0 26px 60px -26px var(--shadow);
}
.menu-panel nav { display: grid; }
.menu-panel a { display: block; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; padding: 9px 12px; border-radius: 10px; }
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--panel-raised); }
.menu-h { margin: 11px 12px 3px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.menu-panel > .menu-h:first-child { margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] .menu-panel { animation: menu-in .16s ease-out; }
  .menu-i, .menu-i::before { transition: transform .16s ease, border-color .16s ease; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1040px) {
  .nav-wide, .lang { display: none; }
  .menu { display: block; }
  .top-in { gap: 14px; }
}

/* --- герой --- */
.hero { position: relative; padding: 76px 0 20px; }

/* Перший екран має поміщатися цілком: висота вікна розподіляється між шапкою,
   відступами й телефоном. На великому моніторі все лишається як було (clamp
   упирається у верхню межу), на ноутбуці 1280x800 відступи стискаються, а
   макет телефона зменшується рівно настільки, щоб «Завантажити в App Store»
   і рядок під ним були видні без прокрутки. */
.hero.home { padding: clamp(24px, 5vh, 76px) 0 clamp(12px, 2.2vh, 20px); }
.hero.home .eyebrow { margin-bottom: clamp(10px, 1.9vh, 18px); }
.hero.home h1 { margin-bottom: clamp(10px, 2vh, 20px); }
.hero.home .deck { margin-top: clamp(8px, 1.5vh, 14px); }
.hero.home .lead { margin-bottom: clamp(16px, 3vh, 30px); }
.hero.home .cta-note { margin-top: clamp(10px, 1.7vh, 16px); }
@media (min-width: 901px) {
  .hero.home .demo-phone { width: min(330px, calc((100dvh - 268px) * 0.46)); }
  .hero.home .demo { gap: clamp(6px, 1.2vh, 12px); }
}
.hero::before {
  content: ""; position: absolute; inset: -220px 0 auto; height: 620px; pointer-events: none;
  background: radial-gradient(58% 70% at 50% 0%, var(--glow), transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 18px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); margin: 0 0 20px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); margin: 0 0 30px; max-width: 40em; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand); color: var(--on-brand); text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: 14px;
  box-shadow: 0 10px 28px -12px var(--brand);
}
.btn:hover { filter: brightness(1.06); }
.btn.soon { background: transparent; color: var(--text-2); border: 1px dashed var(--line-strong); box-shadow: none; font-weight: 600; cursor: default; }
.cta-note { font-size: 14px; color: var(--text-3); margin: 16px 0 0; }
/* Точка стану (status.202ok.online/widget.js). Віджет вставляє ці стилі сам, але CSP style-src 'self'
   таку вставку блокує - тому вони тут, 1:1 з tools/status-widget/widget.js. */
.status-line { font-size: 14px; color: var(--text-3); margin: 14px 0 0; }
.status-bar { padding: 14px 0 0; }
.status-bar .status-line { margin: 0; font-size: 14px; color: var(--text-2, var(--text)); }
.status-bar + .hero { padding-top: 40px; }
.status-dot { display: inline-flex; align-items: center; gap: .5em; color: inherit; text-decoration: none; font: inherit; line-height: 1.2; }
.status-dot:hover .status-dot__label { text-decoration: underline; }
.status-dot__dot { position: relative; width: .6em; height: .6em; border-radius: 50%; background: var(--status-dot); flex: none; }
.status-dot__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--status-dot); opacity: .6; animation: status-dot-pulse 2s ease-out infinite; }
.status-dot[data-state=unknown] .status-dot__dot::after { animation: none; opacity: 0; }
@keyframes status-dot-pulse { 0% { transform: scale(1); opacity: .6; } 70% { transform: scale(2.6); opacity: 0; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .status-dot__dot::after { animation: none; opacity: 0; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 46px; } }

/* --- знімки --- */
figure { margin: 0; }
.phone img {
  width: 100%; max-width: 300px; height: auto; display: block; margin-inline: auto;
  border-radius: 34px; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -34px var(--shadow), 0 8px 24px -12px var(--shadow);
}
.phone.wide img { max-width: 340px; }
figcaption { font-size: 13px; color: var(--text-3); text-align: center; margin-top: 12px; }

/* --- секції --- */
section { padding: 86px 0; }
section + section { padding-top: 0; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 18px; }
h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
/* 52em, а не 40: рядок ламався десь посеред екрана, хоч праворуч було
   пусто, і це виглядало як помилка верстки, а не як турбота про око. */
.body { color: var(--text-2); margin: 0; max-width: 52em; font-size: 17px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
/* Приклад друкування - вужчою колонкою: два пузирі поруч із текстом читаються
   як переписка, а на всю ширину виглядали таблицею. */
.row.type-row { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
.row.type-row .type-demo { margin-top: 0; }
.row.flip .row-text { order: 2; }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; gap: 32px; } .row.flip .row-text { order: 0; } section { padding: 58px 0; } }

/* --- смуга готовності --- */
.bands { display: grid; gap: 10px; margin-top: 26px; }
.band {
  /* Середня колонка - 230, а не 150: «Постквантове установлення» при 150
     ламалося на два рядки, хоча місця в рядку вистачає з запасом. */
  display: grid; grid-template-columns: 108px 230px 1fr; gap: 18px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--c);
  border-radius: 14px; padding: 16px 20px;
}
.band-range { font-size: 19px; color: var(--c); font-variant-numeric: tabular-nums; }
.band-name { font-weight: 700; white-space: nowrap; }
.band-do { color: var(--text-2); font-size: 15px; }
@media (max-width: 980px) {
  .band { grid-template-columns: 92px 1fr; gap: 6px 16px; }
  .band-name { white-space: normal; }
  .band-do { grid-column: 2; }
}
.note { color: var(--text-3); font-size: 15px; margin-top: 20px; }

/* --- панелі --- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.panel.tint { background: var(--brand-tint); border-color: color-mix(in srgb, var(--brand) 28%, transparent); }
.watch-pair { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.watch-pair img { width: 190px; height: auto; border-radius: 32px; border: 1px solid var(--line); display: block; }
.tv img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); display: block; box-shadow: 0 30px 70px -40px var(--shadow); }

.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.grid4 .panel p { color: var(--text-2); margin: 0; font-size: 15.5px; }
@media (max-width: 760px) { .grid4 { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-2); }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px;
  border-radius: 3px; background: var(--brand);
}

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.price-tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }

.closing { text-align: center; padding-bottom: 96px; }
.closing .disclaimer { color: var(--text-3); font-size: 14px; max-width: 46em; margin: 26px auto 0; }

/* --- підвал --- */
footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--text-3); font-size: 14.5px; }
footer .cols { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .note { margin: 20px 0 0; max-width: 46em; }

/* --- юридичні й текстові сторінки --- */
.doc { padding: 56px 0 90px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 28px; }
.doc h2 { font-size: 23px; margin: 46px 0 14px; }
.doc h3 { font-size: 17.5px; margin: 30px 0 10px; color: var(--text); }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 7px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 38px 0; }
.doc blockquote {
  margin: 22px 0; padding: 16px 20px; border-left: 3px solid var(--brand);
  background: var(--panel); border-radius: 0 12px 12px 0;
}
.doc blockquote p { margin: 0; }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--panel-raised); padding: 2px 6px; border-radius: 6px; }
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
/* Заголовки переносяться: «Правова підстава (GDPR / ЗУ ...)» без переносу
   розпирала середню колонку і виштовхувала третю за екран (Kir 07.09). */
th { color: var(--text); font-weight: 700; background: var(--panel); }
/* Довгій колонці даємо стелю, вузьким - не даємо стискатись у стовпчик букв. */
table { table-layout: auto; }
th:first-child, td:first-child { width: 22%; }
th:last-child, td:last-child { width: 26%; }
td { color: var(--text-2); }
tbody tr:last-child td { border-bottom: 0; }
mark.todo { background: var(--mark); color: var(--text); border-radius: 4px; padding: 0 4px; }

.faq { display: grid; gap: 14px; margin-top: 30px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; gap: 14px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--brand); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-2); margin: 0 0 18px; }

@media (prefers-reduced-motion: no-preference) {
  a, .btn { transition: color .15s ease, border-color .15s ease, filter .15s ease; }
}

/* Помаранчевий на теплій підкладці читається гірше - беремо світлішу ланку. */
.panel.tint a { color: var(--brand-soft); }
@media (prefers-color-scheme: light) { .panel.tint a { color: var(--brand); } }

/* --- сторінки-відповіді (guides.py) --- */
.more { margin: 22px 0 0; font-weight: 600; }
.crumbs { font-size: 14px; color: var(--text-3); margin: 0 0 18px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { margin: 0 6px; }
.doc .lead { font-size: 19px; color: var(--text-2); margin: 0 0 34px; max-width: none; }
.doc .faq { margin-bottom: 10px; }
.guide-cta { margin-top: 46px; text-align: center; }
.guide-cta p { color: var(--text-2); margin: 0 0 20px; }
.guide-cta .cta-row { justify-content: center; }
.guide-cta .note { margin-top: 12px; }
.next-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.next-card { display: grid; gap: 6px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.next-card:hover { border-color: var(--line-strong); }
.next-t { font-weight: 700; color: var(--text); }
.next-d { font-size: 14px; color: var(--text-3); line-height: 1.5; }
@media (max-width: 700px) { .next-row { grid-template-columns: 1fr; } }

/* Довідник у підвалі: другий ряд посилань, тон тихіший за юридичний. */
footer .cols.guides { margin-top: 14px; gap: 0; font-size: 14px; color: var(--text-3); display: block; }
footer .cols.guides a { color: var(--text-3); }
footer .cols.guides a:hover { color: var(--text-2); }
.foot-h { color: var(--text-2); font-weight: 600; }


/* Ні якірний перехід, ні зупинка снапу не повинні ховати заголовок під липкою
   шапкою. Відступ задаємо один раз на всю сторінку через scroll-padding-top,
   а не через scroll-margin у кожного розділу: margin не спрацьовує там, де
   розділ вищий за вікно (браузер тоді має право зупинитись будь-де всередині),
   і саме через це «Як працює» та «Проти інших» ставали точно під шапку.
   Плавний скрол (scroll-behavior: smooth) свідомо не вмикаємо: на переході
   за якорем він дає ривок і зайву анімацію там, де потрібен точний стрибок. */
html { scroll-padding-top: 82px; }

/* Прокрутка блоками. Сторінка складається з окремих розділів, і зупинятися
   посеред розділу немає сенсу: колесо доводить до найближчого початку блоку,
   а заголовок стає під шапкою (це робить scroll-padding-top вище).
   Тип proximity, а не mandatory: якщо розділ вищий за екран, читання не
   смикається - снап спрацьовує лише поруч із межею. Вимкнено там, де людина
   просила менше руху, і на вузьких екранах, де блоки вищі за вікно. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html:has(.hero.home) { scroll-snap-type: y mandatory; }
  .hero.home, section.blk { scroll-snap-align: start; }
  /* `always` не дає прогортати межу розділу «повз» за один рух колеса. */
  .hero.home, section.blk { scroll-snap-stop: always; }
}

/* Розділ, у якому зараз сторінка. */
.nav-wide a[aria-current], .menu-panel a[aria-current] { color: var(--brand); }
.menu-panel a[aria-current] { background: var(--brand-tint); }

/* --- перемикач теми --- */
.theme {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 1px solid var(--line); color: var(--text-2);
  font: inherit; font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
  /* Напис «Як у системі» ніколи не ламається на два рядки: кнопка в шапці
     стоїть у ряд із навігацією, і перенос розсаджував їй висоту. */
  white-space: nowrap; flex: none;
}
.theme:hover { border-color: var(--line-strong); color: var(--text); }
.theme svg { width: 15px; height: 15px; fill: currentColor; }
/* Коли поруч повна навігація, місця на підпис уже немає - лишаємо саму
   позначку теми, а словами стан підписаний в aria-label і в меню. */
/* Саме `.top-in > .theme`, а не сусід `.nav-wide`: між ними стоїть перемикач
   мови, тож правило через `+` ніколи не спрацьовувало. */
@media (max-width: 1400px) {
  .top-in > .theme [data-theme-label] { display: none; }
  .top-in > .theme { padding: 7px; gap: 0; }
}
@media (max-width: 1080px) { .top-in > .theme { display: none; } }

/* --- підвал --- */
.bottom {
  border-top: 1px solid var(--line);
  margin-top: 72px;
  padding: 34px 0 56px;
}
/* Посилання йшли одним словом: у вихідній таблиці стилів підвалу не було
   зовсім, а самі по собі вбудовані посилання не розсуваються нічим. */
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-bottom: 18px;
}
.foot-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.foot-nav a:hover { color: var(--brand); }
.foot-note { color: var(--text-3); font-size: 14px; margin: 0; max-width: 46em; }
.foot-note a { color: var(--text-2); }

/* --- схема руху повідомлення (#flow) ---
   Малюємо своїм SVG, а не картинкою: схема мусить читатися в обох темах і на
   вузькому екрані, а картинка в темній темі виглядає плямою. */
.flow { margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; }
.flow svg { width: 100%; height: auto; display: block; }
.flow-legend { display: grid; gap: 10px; margin-top: 22px; }
.flow-legend div { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: baseline; font-size: 15.5px; color: var(--text-2); }
.flow-legend b { color: var(--text); font-weight: 700; }
@media (max-width: 620px) { .flow-legend div { grid-template-columns: 1fr; gap: 2px; } }

/* --- де лежать ключі --- */
/* Заголовок розділу стояв майже впритул до схеми: 44 зверху замість 26 -
   і видно, що це вже інша розмова. */
.keys { display: grid; gap: 12px; margin-top: 26px; }
.keys-title { margin-top: 52px !important; }
.keys-row { display: grid; grid-template-columns: 1fr 150px; gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.keys-row span:first-child { color: var(--text-2); font-size: 15.5px; }
.keys-where { font-weight: 700; text-align: right; }
.keys-where.device { color: var(--brand); }
.keys-where.server { color: var(--text-3); }
@media (max-width: 620px) { .keys-row { grid-template-columns: 1fr; } .keys-where { text-align: left; } }

/* --- галерея знімків: горизонтальна, з прилипанням --- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; margin-top: 26px; }
.gallery figure { scroll-snap-align: none center; margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line); display: block; }
.gallery figcaption { margin-top: 10px; font-size: 13.5px; color: var(--text-3); text-align: center; }

/* --- друкування тексту: показуємо саме те, що робить застосунок --- */
/* Вхідне зліва, своє справа - як у самому застосунку. Раніше обидва пузирі
   тулилися до лівого краю, і приклад показував не те, що є. */
.type-demo { display: grid; gap: 10px; margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.type-bubble { max-width: 88%; margin-right: auto; padding: 12px 16px; border-radius: 20px; background: var(--panel-raised); border: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.type-bubble.mine { margin-left: auto; margin-right: 0; background: var(--brand-tint); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.type-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; background: var(--brand); vertical-align: -2px; animation: type-blink 1s steps(1, end) infinite; }
@keyframes type-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .type-caret { animation: none; } }

/* Конверт повзе лінією - рівно стільки руху, щоб схема читалася як рух, а не
   як натюрморт. Тим, хто просив менше анімації, не показуємо нічого. */
/* Дріт «тече», конверт їде ним від телефона до сервера й далі. */
.flow .fl-wire { animation: fl-flow 2.6s linear infinite; }
@keyframes fl-flow { to { stroke-dashoffset: -32; } }
/* рух пунктиру збігається зі стрілкою: від вашого телефона до співрозмовника */
.flow .fl-call { animation: fl-flow 3.4s linear infinite; }
.flow .fl-pkt { animation: fl-go 4.6s cubic-bezier(.55,0,.45,1) infinite; }
.flow .fl-pkt-2 { animation-delay: .7s; }
@keyframes fl-go {
  0%, 6% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  74% { transform: translateX(150px); opacity: 1; }
  88%, 100% { transform: translateX(150px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flow .fl-wire, .flow .fl-call, .flow .fl-pkt { animation: none; }
}

/* --- блоки з горизонтальною стрічкою (перебудова 14.09.2026) ---
   Довга сторінка перестає бути простинею: людина бачить, скільки всього в
   блоці, і гортає те, що їй цікаво. Перелік ліворуч - кнопки, не декорація. */
.blk-grid {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.blk-list { display: grid; gap: 2px; position: sticky; top: 88px; }

.blk-link {
  appearance: none;
  text-align: left;
  font: inherit;
  font-size: 16px;
  color: var(--text-2);
  background: transparent;
  border: 0;
  border-left: 2px solid var(--line);
  padding: 9px 14px;
  cursor: pointer;
  border-radius: 0 10px 10px 0;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  /* Значок і назва - один рядок, значок не стискається й не переносить текст
     на себе (#253). */
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Значок живе кольором пункту, лише тихішим: активний пункт підсвічує і його.
   Обведення, а не заливка, - так значок не важчає за текст поруч. */
.blk-ico {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .55;
  transition: opacity .15s ease, color .15s ease;
}

.blk-link:hover .blk-ico { opacity: .8; }
.blk-link.on .blk-ico { opacity: 1; color: var(--brand); }

.blk-link:hover { color: var(--text); background: var(--panel); }
.blk-link.on { color: var(--text); border-left-color: var(--brand); background: var(--panel); font-weight: 600; }
.blk-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.blk-strip {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding: 2px 2px 14px;
  margin: -2px -2px 0;
}

.blk-strip:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 18px; }
.blk-track { display: flex; gap: 16px; width: max-content; }

.c2 {
  scroll-snap-align: none start;
  width: 312px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

/* Крупніше: у картках лишалося вільне місце, а дрібний текст на великому
   екрані читається як виноска, а не як обіцянка продукту. */
.c2 h3 { margin: 0; font-size: 19.5px; line-height: 1.25; }
.c2 p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.5; }
.c2-wide { width: auto; }

.flow-wrap { margin-top: 32px; }

/* Порівняння */
.cmp-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; font-size: 13.5px; color: var(--text-2); }
.cmp-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.cmp-legend .w { background: var(--brand); }
.cmp-legend .s { background: var(--line-strong); }
.cmp-legend .b { background: #FFAA2B; }

.cmp-scroll {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  scrollbar-width: thin;
}

.cmp-scroll:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.cmp { border-collapse: collapse; width: max-content; min-width: 100%; font-size: 13.5px; }
.cmp th, .cmp td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { position: sticky; top: 0; background: var(--panel); font-size: 12.5px; border-bottom: 1px solid var(--line-strong); }
.cmp thead th.us { color: var(--brand); }
.cmp tbody th { position: sticky; left: 0; background: var(--panel); min-width: 186px; max-width: 200px; font-weight: 600; border-right: 1px solid var(--line); }
.cmp td { min-width: 128px; max-width: 176px; color: var(--text-2); }
.cmp td.us { font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--brand) 6%, transparent); }
.cmp td.us.win { color: var(--brand); background: var(--brand-tint); }
.cmp td.us.behind { color: #FFAA2B; background: color-mix(in srgb, #FFAA2B 12%, transparent); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }

.cmp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 18px; }
.shots-note { color: var(--text-3); font-size: 13.5px; margin-top: -18px; }

@media (max-width: 900px) {
  .blk-grid { grid-template-columns: 1fr; gap: 16px; }
  .blk-list {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 6px;
  }
  .blk-link {
    border-left: 0;
    border-bottom: 2px solid var(--line);
    border-radius: 10px 10px 0 0;
    white-space: nowrap;
    padding: 8px 12px;
    align-items: center;
    gap: 8px;
  }
  /* Вузький екран: список стає рядком, тому значок теж меншає. */
  .blk-ico { width: 16px; height: 16px; margin-top: 0; }
  .blk-link.on { border-bottom-color: var(--brand); }
  .c2 { width: 262px; }
}

/* Рядок механізму під заголовком: заголовок тепер короткий і гучний, а те, як
   саме це влаштовано, читається одразу під ним - інакше «Вас тут не знайдуть»
   лишається обіцянкою без пояснення. */
.deck {
  margin: 14px 0 0;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.4;
  color: var(--text);
  font-weight: 600;
  /* Montserrat Alternates ширший за Manrope: 20ch ламало підзаголовок на
     шість коротких рядків */
  max-width: 26ch;
  text-wrap: balance;
}

@media (max-width: 900px) { .deck { max-width: none; } }

/* Обидва стовпці блоку - однакової висоти. Перелік ліворуч задає висоту, і
   картки тягнуться під нього: інакше блок виглядав як два різні прямокутники,
   що почалися в одному місці й закінчилися в різних. */
.blk-grid { align-items: stretch; }
.blk-list { align-content: start; }
.blk-strip { height: 100%; }
.blk-track { height: 100%; align-items: stretch; }
.c2 { height: auto; }

/* --- показ зі справжніх кадрів --- */
.demo { margin: 0; display: grid; justify-items: center; gap: 12px; }
.demo figcaption { color: var(--text-3); font-size: 13.5px; text-align: center; max-width: 40ch; }

.demo-phone {
  position: relative;
  width: 330px;
  max-width: 100%;
  border-radius: 46px;
  background: #0b0d10;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  padding: 10px;
}

.demo-screen { position: relative; border-radius: 38px; overflow: hidden; aspect-ratio: 660 / 1434; }

.reel-f {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity .5s ease;
}

.reel-f.on { opacity: 1; }

.reel-labels { position: relative; height: 1.5em; width: 100%; text-align: center; }
.reel-l {
  position: absolute; left: 0; right: 0;
  color: var(--brand); font-size: 14px; font-weight: 600;
  opacity: 0; transition: opacity .35s ease;
}
.reel-l.on { opacity: 1; }

.reel-dots { display: flex; gap: 8px; }
.reel-dot {
  appearance: none; border: 0; padding: 0; cursor: pointer;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-strong);
  transition: background .25s ease, transform .25s ease;
}
.reel-dot.on { background: var(--brand); transform: scale(1.35); }
.reel-dot:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

@media (max-width: 900px) { .demo-phone { width: 290px; } }

/* Знімки в стрічці: телефон цілком, підпис під ним. */
.c2-shot { width: 218px; padding: 12px; gap: 12px; }
.c2-shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: #0b1016; }
.c2-shot figcaption { color: var(--text-2); font-size: 13px; line-height: 1.45; }
.c2-shot figcaption b { display: block; color: var(--text); font-size: 14.5px; margin-bottom: 2px; }
@media (max-width: 900px) { .c2-shot { width: 190px; } }

/* Планшет і Mac у смузі: кадр ширший за телефонний, тому й картка ширша. */
.c2-shot-pad { width: 330px; }
.c2-shot-mac { width: 480px; }
.blk-strip-wide { margin-top: 26px; }
@media (max-width: 900px) { .c2-shot-pad { width: 270px; } .c2-shot-mac { width: 320px; } }


/* Один гучний заголовок вирівнюємо по рядках, решту - ні. */
h1 { text-wrap: balance; }

/* --------------------------------------------------------------------------
   Аудит (#312)
   --------------------------------------------------------------------------
   Таблиця «обіцянка - висновок - як перевірити» стоїть сіткою, а не таблицею:
   на телефоні справжня таблиця з трьох колонок або їде вбік, або тисне текст
   у стовпчик з двох слів. Тут на вузькому екрані рядок просто розкладається
   згори вниз, і порядок читання лишається тим самим.

   Позначка кольором - не прикраса: «тримається», «уточнено» і «полагоджено» -
   три різні речі, і читач мусить бачити співвідношення, не рахуючи рядки. */
.aud-table { display: grid; gap: 12px; margin-top: 26px; }
.aud-row {
  display: grid; grid-template-columns: 1fr 140px 1.35fr; gap: 18px; align-items: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
}
.aud-claim { color: var(--text); font-weight: 600; font-size: 16px; }
.aud-how { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.aud-mark {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.aud-mark.ok { color: var(--brand); background: var(--brand-tint); }
/* Бурштиновий - третій колір поруч з акцентом і нейтральним: «з обмовкою» не
   те саме, що «тримається», і не те саме, що «полагоджено». На темному тлі
   темний бурштин не читається, на світлому не читається світлий - тому їх два. */
.aud-mark.warn { color: #e0a92a; background: color-mix(in srgb, #d8a11a 16%, transparent); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .aud-mark.warn { color: #8a6200; }
}
:root[data-theme="light"] .aud-mark.warn { color: #8a6200; }
.aud-mark.fix { color: var(--text); background: var(--panel-raised); border: 1px solid var(--line-strong); }
@media (max-width: 760px) {
  .aud-row { grid-template-columns: 1fr; gap: 10px; }
}

.aud-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.aud-stat {
  display: grid; gap: 4px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px;
}
.aud-stat b { font-size: 30px; color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1; }
.aud-stat span { font-size: 14px; color: var(--text-3); }
@media (max-width: 760px) { .aud-stats { grid-template-columns: 1fr 1fr; } }

/* Друк - це той самий звіт файлом.
   PDF збирається з цієї ж сторінки, тому тут прибирається все, що на папері
   не має сенсу: шапка з навігацією, перемикач теми, кнопка завантаження
   самого себе. Кольори - світлі: темна тема на папері з'їдає картридж і
   читається гірше. */
@media print {
  .top, .bottom, .theme, .cta-row, .menu { display: none !important; }
  :root { color-scheme: light; }
  body { background: #fff; color: #10151b; }
  .hero { padding-top: 0; }
  section { break-inside: auto; }
  .aud-row, .aud-stat, .checks li { break-inside: avoid; }
  .aud-row { border-color: #d7dde5; }
  a { color: inherit; text-decoration: none; }
}

/* Картки «під шифром»: текст справжній, але до натискання кнопки його видно як
   шифротекст. Жарт у стилі продукту (КГ 18.09), а не захист - під ним те саме,
   що й у решті тексту. Без JS нічого не ховається. */
.sec-eye { display: none; }

html.js .c2-secret .sec-body {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px; line-height: 1.62; letter-spacing: .01em;
  color: var(--text-3); word-break: break-word; overflow-wrap: anywhere;
  transition: color .3s ease;
}
html.js .c2-secret.on .sec-body {
  font-family: inherit; font-size: 16px; line-height: 1.5; letter-spacing: normal;
  color: var(--text-2); word-break: normal;
}
html.js .c2-secret::after {
  content: ""; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--line-strong); opacity: .9; transition: opacity .3s ease;
}
html.js .c2-secret { position: relative; }
html.js .c2-secret.on::after { opacity: 0; }

html.js .sec-eye {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: auto; padding: 7px 13px 7px 11px; cursor: pointer;
  background: var(--brand-tint); color: var(--brand);
  border: 1px solid var(--line-strong); border-radius: 999px;
  font: inherit; font-size: 13.5px; font-weight: 600;
}
html.js .sec-eye:hover { border-color: var(--brand); }
html.js .sec-eye:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
html.js .sec-eye .blk-ico { width: 16px; height: 16px; stroke: currentColor; fill: none; }
html.js .c2-secret.on .sec-eye { background: transparent; color: var(--text-3); border-color: var(--line); }

/* Маленькі макети в картках «Що вміє»: пухирець, галочки, таймер - швидше
   зрозуміти очима, ніж прочитати (КГ 18.09). Це малюнок, а не знімок екрана. */
.mini { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.mini-bub {
  position: relative; align-self: flex-start; max-width: 100%;
  padding: 9px 12px; border-radius: 14px 14px 14px 4px;
  background: var(--panel-raised); border: 1px solid var(--line);
  color: var(--text); font-size: 14px; line-height: 1.4; text-align: left;
}
.mini-bub.out { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--brand-tint); border-color: var(--line-strong); }
.mini-bub mark { background: var(--mark); color: var(--text); border-radius: 4px; padding: 0 2px; }
.mini-tick { display: block; margin-top: 4px; font-size: 11.5px; color: var(--text-3); }
.mini-tick.ok { color: var(--brand); }
.mini-note { font-size: 12.5px; line-height: 1.4; color: var(--text-3); }

.mini-call { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-raised); }
.mini-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }
.mini-name { font-size: 14px; color: var(--text); }
.mini-sec { margin-left: auto; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.mini-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-chip { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-3); }
.mini-chip.on { color: var(--brand); border-color: var(--brand); }

.mini-fuse { display: block; margin-top: 7px; height: 3px; border-radius: 3px; background: var(--line-strong); overflow: hidden; }
.mini-fuse i { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: left; animation: mini-burn 6s linear infinite; }
@keyframes mini-burn { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.mini-once { cursor: pointer; font: inherit; font-size: 14px; }
.mini-once::before { content: "◉ "; color: var(--brand); }
.mini-once.gone { color: var(--text-3); text-decoration: line-through; cursor: default; }

.mini-voice { display: inline-flex; align-items: center; gap: 10px; }
.mini-wave { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.mini-wave i { width: 3px; border-radius: 2px; background: var(--brand); height: 40%; animation: mini-wave 1.1s ease-in-out infinite; }
.mini-wave i:nth-child(2n) { height: 75%; animation-delay: .12s; }
.mini-wave i:nth-child(3n) { height: 100%; animation-delay: .24s; }
.mini-wave i:nth-child(5n) { height: 55%; animation-delay: .36s; }
@keyframes mini-wave { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
.mini-file { font-size: 12.5px; color: var(--text-2); padding: 7px 10px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.mini-search { font-size: 13px; color: var(--text-2); padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 999px; }
.mini-search::before { content: "⌕ "; color: var(--text-3); }
.mini-server { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: var(--brand); padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 12px; }

@media (prefers-reduced-motion: reduce) {
  .mini-fuse i, .mini-wave i { animation: none; }
}

/* Макети без номера, без пошуку, запрошення й «так це бачить сервер» */
.mini-form { display: flex; align-items: center; gap: 8px; }
.mini-field { flex: 1; font-size: 13.5px; padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text-2); }
.mini-field.struck { text-decoration: line-through; color: var(--text-3); border-style: dashed; }
.mini-field.ok { color: var(--brand); border-color: var(--brand); }
.mini-x { color: var(--text-3); font-size: 16px; line-height: 1; }
.mini-ok { font-size: 11.5px; color: var(--text-3); }
.mini-search.off { color: var(--text-3); text-decoration: line-through; }
.mini-empty { font-size: 12.5px; color: var(--text-3); padding: 12px; border: 1px dashed var(--line-strong); border-radius: 12px; text-align: center; }
.mini-shot { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; }
.mini-bub.mini-warn { border-color: var(--line-strong); color: var(--text-2); }
.mini-bub.mini-warn::before { content: "◌ "; color: var(--brand); }
.mini-server-view {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; line-height: 1.7;
  color: var(--text-3); padding: 10px 12px; border-radius: 12px; background: var(--panel-raised);
  border: 1px solid var(--line); word-break: break-all;
}
.mini-server-view b { display: block; font-family: inherit; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }

/* «Один перегляд»: поки не натиснув - тільки кнопка; після - стерто */
html.js .c2-secret[data-mode="once"] .sec-eye { font-size: 15px; padding: 11px 18px 11px 15px; }
html.js .c2-secret[data-mode="once"] .sec-eye .blk-ico { width: 18px; height: 18px; }
html.js .c2-secret.once-gone .sec-body { font-family: inherit; color: var(--text-3); font-size: 14px; }
/* зникаюче: маленький відлік у кутку картки */
html.js .c2-secret[data-mode="timer"].on::before {
  content: attr(data-left) " с"; position: absolute; top: 14px; right: 16px;
  font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums;
}
html.js .sec-eye[hidden] { display: none; }
.mini[hidden] { display: none; }

/* Перелік того, чого немає: перекреслений, як у КГ */
.mini-no { font-size: 13.5px; color: var(--text-3); text-decoration: line-through; }
.mini-no::before { content: "×  "; color: var(--brand); text-decoration: none; display: inline-block; }

/* «Один перегляд»: саме повідомлення відкривається поверх сторінки */
.mini-once { cursor: pointer; text-align: left; font: inherit; font-size: 14px; }
.once-dead { font-size: 13px; color: var(--text-3); padding: 9px 12px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.once-view {
  border: none; background: transparent; color: var(--text);
  width: min(360px, 92vw); padding: 0;
  display: flex; flex-direction: column;
}
.once-view[open] { display: flex; }
.once-view:not([open]) { display: none; }
.once-view > * { flex: 0 0 auto; }   /* інакше вміст стискався й наїжджав на кнопку */
.once-view::backdrop { background: rgba(4, 6, 8, .82); backdrop-filter: blur(3px); }
.once-view > * { font-family: inherit; }
.once-doc {
  flex: 0 0 auto;
  position: relative; background: #F3F4F3; border-radius: 16px; padding: 26px 22px;
  display: flex; flex-direction: column; gap: 9px; min-height: 260px;
}
.once-doc i { display: block; height: 7px; border-radius: 4px; background: #CBD2CE; }
.once-doc i:nth-child(3) { width: 82%; } .once-doc i:nth-child(5) { width: 64%; }
.once-doc i:nth-child(6) { width: 88%; } .once-doc i:nth-child(7) { width: 46%; }
.once-stamp {
  position: absolute; left: 12%; top: 46%; transform: rotate(-11deg);
  border: 3px solid #D2483F; color: #D2483F; border-radius: 8px;
  padding: 6px 14px; font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase;
}
.once-name { text-align: center; font-weight: 600; font-size: 14px; margin: 18px 0 0; color: #F2F5F4; }
.once-note { font-size: 12.5px; line-height: 1.45; color: #A3ACAC; margin: 8px 0 20px; text-align: center; }
.once-note::before { content: "◌ "; color: var(--brand); }
.once-kill {
  width: 100%; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px;
  color: #241700; background: #FFAA2B; border: none; border-radius: 14px; padding: 13px;
}
.once-kill:hover { filter: brightness(1.06); }

/* Завантажити (#592): три прилади рядком, на телефоні - стовпчиком. Прилад,
   якого ще немає в магазині, лишається з пунктирною «скоро». */
/* Картка - це одна кнопка: позначка пристрою ліворуч, назва посередині,
   яблуко праворуч. Версія системи йде під кнопкою підписом, а не заголовком:
   людина спершу обирає пристрій, і лише потім перевіряє, чи підходить її ОС. */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 28px; }
.dl-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.dl-btn { align-self: stretch; justify-content: flex-start; gap: 10px; padding: 12px 16px; }
/* «Завантажити» тихіше за назву пристрою: вибирають пристрій, дію лише
   називають. Обидва слова в один рядок - перенос усередині кнопки заборонено. */
.dl-text { flex: 1; display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; }
.dl-verb { font-size: 13px; font-weight: 600; opacity: .78; }
.dl-name { font-size: 16.5px; }
.dl-ico { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dl-apple { width: 19px; height: 19px; flex: none; fill: currentColor; opacity: .82; }
.dl-card p { margin: 11px 2px 0; color: var(--text-2); font-size: 14.5px; }
/* Другий такий самий блок унизу сторінки - без підводки, лише заклик. */
.dl-again { margin: 0; }
@media (max-width: 1080px) { .dl-btn { padding: 12px 13px; gap: 8px; } .dl-verb { font-size: 12.5px; } .dl-name { font-size: 15.5px; } }
/* Від 700 до 960 три колонки вже вужчі за рядок «Завантажити iPhone» - стає дві. */
@media (max-width: 960px) { .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* На телефоні рамка картки обводить кнопку, яка й так виглядає карткою, -
   виходить коробка в коробці. Лишаємо саму кнопку й підпис під нею. */
@media (max-width: 700px) {
  .dl-grid { grid-template-columns: 1fr; gap: 20px; }
  .dl-card { background: none; border: 0; padding: 0; }
  .dl-card p { margin: 9px 4px 0; }
  .dl-btn { padding: 14px 18px; gap: 10px; }
  .dl-verb { font-size: 13px; }
  .dl-name { font-size: 16.5px; }
}
/* Нижче ~960px три колонки стають такі вузькі, що «Завантажити iPhone» уже не
   влізає в рядок. Замість того щоб різати слово, складаємо картки в стовпчик. */

/* --- сторінка стану (/status/): кожна перевірка - один рядок, усе на один екран (KG 22.10) --- */
.hero.slim.st-hero { padding: 34px 0 6px; }
.hero.slim.st-hero h1 { margin-bottom: 8px; }
.hero.slim.st-hero .lead { margin-bottom: 0; }
.st-sum { display: inline-flex; align-items: center; gap: .6em; font-size: 18px; font-weight: 600; margin: 14px 0 0; }
.st-sum::before { content: ''; width: .7em; height: .7em; border-radius: 50%; background: var(--c, #8a8f98); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #8a8f98) 25%, transparent); }
.st-when { font-size: 13px; color: var(--text-3); margin: 4px 0 0; }
section.blk.st-blk { padding-top: 14px; padding-bottom: 28px; }
.st-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.st-row { display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "dot name state up" "bars bars bars bars"; gap: 0 10px; align-items: center;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.st-dot { grid-area: dot; width: .65em; height: .65em; border-radius: 50%; background: var(--c); }
.st-name { grid-area: name; font-weight: 600; }
.st-state { grid-area: state; font-size: 14px; color: var(--text-3); }
.st-up { grid-area: up; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.st-up small { font-size: 12px; color: var(--text-3); }
.st-bars { grid-area: bars; display: flex; gap: 2px; margin-top: 8px; }
.st-bars i { flex: 1; height: 14px; border-radius: 3px; background: var(--c); opacity: .85; }

/* --- v2: окремі сторінки (KG 22.10.2026) --- */
.nav-wide .nav-cta, .menu-panel .nav-cta { background: var(--brand); color: var(--on-brand); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.aud:hover { border-color: var(--brand); transform: translateY(-2px); }
.aud-k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.aud b { font-size: 20px; }
.aud span:not(.aud-k):not(.aud-go) { color: var(--text-3); font-size: 15px; line-height: 1.5; }
.aud-go { margin-top: auto; padding-top: 8px; color: var(--brand); font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.two-col { padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.two-col h3 { margin: 0 0 10px; font-size: 17px; }
.two-col.yes h3 { color: var(--brand); }
.two-col.no h3 { color: #e5484d; }
.two-col ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--text-2, inherit); line-height: 1.5; }
.soon { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em;
  background: color-mix(in srgb, #e0a100 18%, transparent); color: #e0a100; white-space: nowrap; }
.req { width: 100%; border-collapse: collapse; }
.req th, .req td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.req th { font-size: 13px; color: var(--text-3); font-weight: 600; }
.muted { color: var(--text-3); }
@media (max-width: 900px) { .aud-grid, .two { grid-template-columns: 1fr; } }

/* кнопки завантаження на першому екрані */
.hero-dl-title { margin: 28px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.hero-dl { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 0; }
.hero-dl .dl-verb { display: none; }   /* дієслово лишається в aria-label; в одному рядку - лише прилад */
.hero-dl .dl-soon { font-size: 12.5px; font-weight: 600; opacity: .7; }
.hero-dl .dl-btn { align-self: auto; width: auto; display: inline-flex; align-items: center; flex-direction: row; }
.hero-dl .btn.soon { padding: 12px 16px; border-radius: 999px; }
@media (max-width: 640px) { .hero-dl { flex-wrap: wrap; } .hero-dl .dl-btn { flex: 1 1 100%; } }

/* точка стану в шапці перед «Тиша» (KG 22.10.2026): лише точка, підпис - підказкою при наведенні */
.top-in .hdr-status { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 13px; height: 22px; margin-right: 10px; padding: 0; }
/* поки віджет не завантажився - сіра точка того самого розміру: «Тиша» не зсувається (KG 22.10) */
.top-in .hdr-status:empty::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.top-in .hdr-status .status-dot__label { position: absolute; left: -6px; top: calc(100% + 8px); transform: none;
  white-space: nowrap; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; background: var(--panel-raised, var(--panel));
  border: 1px solid var(--line); color: var(--text); opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 20; }
.top-in .hdr-status:hover .status-dot__label, .top-in .hdr-status:focus-visible .status-dot__label { opacity: 1; text-decoration: none; }
.top-in .hdr-status .status-dot__dot { width: 9px; height: 9px; }

.dl-card .dl-verb { display: none; }   /* у блока свій заголовок - на кнопці лише прилад (KG 22.10) */

/* блок «Завантажити»: компактні кнопки за розміром тексту, «скоро» - в один рядок (KG 22.10) */
.dl-card .dl-btn { align-self: flex-start; display: inline-flex; flex-direction: row; align-items: center; gap: 10px; padding: 10px 16px; width: auto; }
.dl-card .dl-text { flex: none; }
.dl-card .btn.soon { border-radius: 999px; }
.dl-card p { margin-top: 12px; }

/* «Стан перевіряє Pult ↗» - widget.js, <a data-pult-by> (26.10.2026) */
a.pult-by.pult-by { display: inline-flex; align-items: center; gap: .35em; padding: .2em .65em; border: 1px solid rgba(127,127,127,.3); border-radius: 99px; color: inherit; text-decoration: none; font: inherit; font-size: .8em; line-height: 1.3; opacity: .75; }
a.pult-by.pult-by:hover { opacity: 1; border-color: currentColor; }
a.pult-by.pult-by b { font-weight: 700; }

/* --- переходи між розділами внизу сторінки (KG 26.10.2026): «Далі» з анонсом наступного розділу,
   «Назад» і рядок усіх розділів. Меню лишається, це - щоб не повертатися до нього після прочитання. --- */
.pager { padding: 8px 0 72px; }
.pager-next { display: grid; gap: 6px; padding: 26px 30px; border: 1px solid var(--line-strong); border-radius: 22px;
  background: linear-gradient(135deg, var(--brand-tint), var(--panel) 70%); color: var(--text); text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s; }
.pager-next:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 14px 36px var(--glow); }
.pager-next .pager-k { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.pager-next .pager-t { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.pager-next .pager-d { color: var(--text-2); max-width: 640px; }
.pager-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 18px; }
.pager-prev { display: inline-flex; align-items: baseline; gap: 10px; color: var(--text-2); text-decoration: none; }
.pager-prev .pager-k { font-size: 13px; color: var(--text-3); }
.pager-prev .pager-t { font-weight: 600; }
.pager-prev:hover .pager-t { color: var(--brand); }
.pager-all { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; }
.pager-all span { color: var(--text-3); margin-right: 4px; }
.pager-all a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--text-2); text-decoration: none; }
.pager-all a:hover { border-color: var(--line-strong); color: var(--text); }
.pager-all a[aria-current="page"] { border-color: var(--brand); color: var(--brand); }
@media (max-width: 640px) {
  .pager-next { padding: 22px 20px; }
  .pager-row { flex-direction: column; align-items: flex-start; }
  .pager-all { margin-left: 0; }
}
