/* Лендинги сервиса «Личные карточки ЧОО» — палитра исходного сервиса
   (static/style.css): изумруд/графит, радиусы 12/7px, тени панелей. */

@font-face { font-family: "Liberation Serif"; font-weight: normal; font-style: normal;
  src: url("fonts/LiberationSerif-Regular.ttf") format("truetype"); }
@font-face { font-family: "Liberation Serif"; font-weight: bold; font-style: normal;
  src: url("fonts/LiberationSerif-Bold.ttf") format("truetype"); }
@font-face { font-family: "Liberation Serif"; font-weight: normal; font-style: italic;
  src: url("fonts/LiberationSerif-Italic.ttf") format("truetype"); }
@font-face { font-family: "Liberation Serif"; font-weight: bold; font-style: italic;
  src: url("fonts/LiberationSerif-BoldItalic.ttf") format("truetype"); }

:root {
  --bg: #f3f4f1;
  --surface: #ffffff;
  --ink: #1c2422;
  --muted: #5a6663;
  --line: #d9ddd8;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --accent-soft: #d9f0ea;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --radius-panel: 12px;
  --radius-ctrl: 7px;
  --shadow: 0 1px 2px rgba(28, 36, 34, .06), 0 10px 26px rgba(28, 36, 34, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "PT Sans", Ubuntu, sans-serif;
  --serif: "Liberation Serif", "PT Astra Serif", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
img, svg { vertical-align: middle; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
/* единая сетка страницы «Программа для ЛКО»: шапка, hero, секции и подвал
   идут по одним вертикалям */
.page-programma-lko .wrap { max-width: 1280px; }
.page-programma-lko .wrap-wide { max-width: 1280px; }
/* «Как заполнить» и «Печать карточек» — та же ширина сетки, что у
   «Программы для ЛКО»: шапка, секции и подвал идут по одним вертикалям */
.page-kak-zapolnit .wrap { max-width: 1280px; }
.page-pechat .wrap { max-width: 1280px; }

/* ---- шапка ---- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(28, 36, 34, .05);
}
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 58px; }
.brand {
  font-weight: 700; font-size: 15.5px; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
}
.brand svg { flex: none; }
.brand-logo { display: block; height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .01em; color: #232b3e; }
.brand-name em { font-style: normal; color: var(--accent); }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 14.5px;
  padding: 7px 12px; border-radius: var(--radius-ctrl);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: var(--bg); }
.nav a[aria-current="page"] { color: var(--accent-hover); background: var(--accent-soft); font-weight: 600; }
.topbar .btn { margin-left: 8px; }

/* ---- кнопки ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 11px 20px; border-radius: var(--radius-ctrl); border: 1px solid transparent;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(15, 118, 110, .4), 0 4px 12px rgba(15, 118, 110, .18); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 1px 2px rgba(17, 94, 89, .45), 0 6px 16px rgba(17, 94, 89, .22); }
.btn-ghost { background: var(--surface); color: var(--accent); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hover); }
.btn-lg { padding: 14px 26px; font-size: 16.5px; }

/* ---- герой ---- */
.section[id] { scroll-margin-top: 76px; }
.hero {
  padding: 48px 0 34px;
  background: linear-gradient(180deg, rgba(217, 240, 234, .65) 0%, rgba(217, 240, 234, 0) 78%);
}
.hero-split { overflow: hidden; }
.hero-split .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-split .wrap > * { min-width: 0; }
.hero-split .wrap > div:first-child { position: relative; z-index: 2; }
.hero-kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent-hover); background: var(--accent-soft);
  border-radius: 999px; padding: 5px 13px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 4vw, 44px); line-height: 1.13; letter-spacing: -.018em;
  margin: 0 0 18px; max-width: 22ch;
}
.hero h1 .nowrap { white-space: nowrap; }
.hero h1 .em { display: inline-block; color: var(--accent); border-bottom: 3px solid var(--accent); }
.hero h1.h1-key { max-width: none; font-size: clamp(26px, 2.7vw, 32px); }
.hero-key .hero-lead { max-width: 460px; }
.hero-key .hero-actions { max-width: 460px; }
.hero-key .hero-actions .btn { flex: 1 1 0; white-space: nowrap; }
.hero.hero-key .wrap-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
@media (max-width: 860px) { .hero.hero-key .wrap-hero { grid-template-columns: 1fr; } .hero h1 .em { display: inline; } }
.hero-lead { font-size: 18.5px; color: var(--muted); max-width: 56ch; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-actions .btn-lg { padding: 13px 18px; font-size: 15px; }

/* hero с монитором (programma-lko): корпус + настоящий скриншот в экране */
.wrap-hero { max-width: 1280px; }
.hero-split .wrap-hero { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); gap: 26px; }
.hero-monitor { position: relative; margin: -30px -34px -30px -42px; }
.hero-monitor-bg { display: block; width: 112%; height: auto; margin-left: -6%; }
.hero-monitor-screen {
  /* координаты экрана внутри hero-monitor-printer-transparent.png:
     x 64–1002 из 1448 (4.42–69.2%), y 193–723 из 1086 (17.8–66.6%);
     фон отображается 112% ширины со сдвигом −6% → пересчёт в % контейнера */
  position: absolute; left: -1.05%; top: 17.77%; width: 72.55%; height: 48.8%;
  object-fit: fill; object-position: center;
}
.hero-monitor-label {
  position: absolute; left: 8%; bottom: 7.5%;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border: 1px solid rgba(15, 118, 110, .24);
  border-radius: 999px; background: rgba(255, 255, 255, .94);
  color: var(--accent-hover); box-shadow: 0 4px 16px rgba(28, 36, 34, .10);
  font-size: 12.5px; font-weight: 700;
}
.hero-monitor-label i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .13);
}

/* ---- полоса доверия ---- */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-strip .wrap { max-width: 1280px; }
.trust-strip-in {
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between;
  padding-top: 15px; padding-bottom: 15px;
}
.trust-strip span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--muted);
}
.trust-strip svg { flex: none; color: var(--accent); }

/* ---- сценарий «как это работает» (programma-lko #how-it-works) ---- */
.flow {
  list-style: none; margin: 0; padding: 0; counter-reset: flow;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); box-shadow: var(--shadow);
}
.flow-step {
  counter-increment: flow; position: relative;
  padding: 20px 26px 22px; min-width: 0;
}
.flow-step + .flow-step { border-left: 1px solid var(--line); }
.flow-head { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; margin-bottom: 14px; }
.flow-head::before {
  content: counter(flow); flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
}
.flow-step .flow-head h3 { margin: 0; }
.flow-shot {
  display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: contain;
  background: var(--surface); border: 1px solid var(--line); padding: 8px;
}
.flow-shot-print {
  object-fit: contain; object-position: center; padding: 0;
}
.flow-mock {
  height: auto; aspect-ratio: 5 / 3; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
}
.flow-mock-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 10px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.flow-mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c3cac5; }
.flow-mock-bar span { margin-left: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.flow-mock-body { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.flow-mock-btn {
  background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 10px 18px; box-shadow: 0 1px 2px rgba(15, 118, 110, .4), 0 4px 10px rgba(15, 118, 110, .18);
}
.flow-mock-click {
  position: absolute; left: calc(50% + 31px); top: calc(50% + 4px);
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 2px solid var(--accent); border-radius: 50%; opacity: .55;
}
.flow-mock-cursor {
  position: absolute; left: calc(50% + 26px); top: calc(50% + 2px);
  filter: drop-shadow(0 2px 2px rgba(28, 36, 34, .35));
}
/* мок-панель шага «Настройте печать»: скруглённая карточка с кнопкой-пилюлей */
.flow-mock-card { border-radius: 14px; box-shadow: 0 12px 26px -14px rgba(28, 36, 34, .22); overflow: hidden; }
.flow-mock-card-head {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--line);
}
.flow-mock-card-head svg { color: var(--accent); }
.flow-mock-card-body { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.flow-mock-pill {
  background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 2px 4px rgba(15, 118, 110, .35), 0 6px 14px rgba(15, 118, 110, .2);
}
.flow-mock-card .flow-mock-click { left: calc(50% + 48px); top: calc(50% + 6px); }
.flow-mock-card .flow-mock-cursor { left: calc(50% + 42px); top: calc(50% + 4px); }
.flow-step:not(:last-child)::after {
  content: "\2192"; position: absolute; z-index: 2; top: 25px; right: -15px;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent);
  font-weight: 700; line-height: 1;
}
.flow-step h3 { margin: 0 0 8px; }
.flow-step p { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; }
#how-it-works { padding-top: 32px; padding-bottom: 34px; }
#how-it-works .section-sub { margin-bottom: 18px; }
.handoff-band {
  display: grid; grid-template-columns: minmax(280px, 4fr) minmax(0, 6fr);
  align-items: center; margin-top: 22px; overflow: hidden; position: relative;
  color: #fff; background: var(--ink); border-radius: var(--radius-panel);
  box-shadow: var(--shadow);
}
.handoff-copy { padding: 58px 30px 28px; }
.handoff-kicker {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  display: inline-flex; padding: 6px 10px; border-radius: 999px;
  color: #d5fff4; background: rgba(255, 255, 255, .1);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.handoff-copy h3 { margin: 13px 0 8px; color: #fff; font-size: 25px; line-height: 1.18; }
.handoff-copy p { margin: 0; color: #d5e3df; font-size: 15px; }
.handoff-photo { position: relative; margin: 0; min-width: 0; }
.handoff-photo img { display: block; width: 100%; height: auto; }
.handoff-photo figcaption {
  position: absolute; right: 12px; bottom: 10px; padding: 5px 8px;
  border-radius: 6px; color: rgba(255, 255, 255, .9); background: rgba(17, 31, 29, .72);
  font-size: 11px; line-height: 1.25; backdrop-filter: blur(4px);
}

/* ---- настройка печати: разовая калибровка и ежедневная работа (programma-lko #calibration) ---- */
.wrap-wide { max-width: 1180px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent-hover); background: var(--accent-soft);
  border-radius: 999px; padding: 5px 13px; margin-bottom: 14px;
}
.setup-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-auto-rows: auto;
  margin: 0; padding: 0; list-style: none;
}
.setup-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); box-shadow: var(--shadow); overflow: hidden;
}
.setup-media {
  height: auto; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.setup-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.setup-media img.setup-ready-print { object-fit: cover; object-position: center; }
.setup-card-preset {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.45fr);
  min-height: 250px;
}
.setup-preset-mock {
  display: flex; flex-direction: column; min-width: 0;
  padding: 22px; background: var(--bg); border-left: 1px solid var(--line);
}
.setup-preset-bar {
  display: flex; align-items: center; gap: 9px; margin-bottom: 16px;
  color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.setup-preset-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: var(--accent-soft);
}
.setup-preset-options {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; flex: 1;
}
.setup-preset-option {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 58px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); background: var(--surface); font-size: 13px; font-weight: 650;
  box-shadow: 0 2px 8px rgba(28, 36, 34, .04);
}
.setup-preset-option.is-active {
  color: var(--accent-hover); border-color: var(--accent); background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.setup-preset-option.is-active b {
  flex: none; width: 23px; height: 23px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: var(--accent); font-size: 13px;
}
.setup-preset-option.is-custom { border-style: dashed; color: var(--accent-hover); }
.setup-card-preset .setup-text { align-self: center; padding: 28px 30px; }
.setup-text { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px 20px; }
.section .setup-text h3 { margin: 0 0 6px; }
.setup-text p { margin: 0; color: var(--muted); font-size: 15px; }
.setup-match {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; padding: 5px 9px;
  border-radius: 999px; color: var(--accent-hover); background: var(--accent-soft);
  font-size: 12px; font-weight: 700;
}
.setup-match > span {
  width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; background: var(--accent); font-size: 10px;
}
.setup-num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.setup-done {
  margin-top: 22px; padding: 24px 28px;
  display: flex; align-items: center; gap: 18px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-panel); box-shadow: var(--shadow);
}
.setup-done-ic {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .16); color: #fff;
}
.setup-done-copy { flex: 1; min-width: 0; }
.section .setup-done h3 { margin: 0 0 6px; font-size: 20px; color: #fff; }
.setup-done p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 15px; }
.setup-done .btn { flex: none; background: #fff; color: var(--accent-hover); box-shadow: none; }
.setup-done .btn:hover { background: var(--accent-soft); color: var(--accent-hover); }

.daily { margin-top: 46px; padding-top: 38px; border-top: 1px solid var(--line); }
.daily-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-auto-rows: 1fr; margin-top: 22px; }
.daily-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); box-shadow: var(--shadow); overflow: hidden;
}
.daily-media { height: 240px; overflow: hidden; background: var(--bg); }
.daily-media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.daily-import-media img { object-fit: contain; object-position: center top; }
.daily-text { padding: 16px 18px 18px; }
.section .daily-text h3 { margin: 0 0 6px; font-size: 17px; }
.daily-text p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---- окно сервиса (programma-lko) ---- */
.window-list-cols { grid-template-columns: repeat(3, 1fr); }
.browser-shot {
  margin: 26px 0 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-panel);
  box-shadow: var(--shadow); overflow: hidden;
}
.browser-bar { background: #e8ebe8; border-bottom: 1px solid var(--line); }
.browser-tabs { display: flex; align-items: flex-end; gap: 16px; padding: 8px 14px 0; }
.browser-dots { display: inline-flex; gap: 6px; padding-bottom: 9px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #c3cac5; }
.browser-dots i:nth-child(1) { background: #e0a197; }
.browser-dots i:nth-child(2) { background: #e7cf96; }
.browser-dots i:nth-child(3) { background: #a7cdac; }
.browser-tab {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line); border-bottom: 0;
  padding: 6px 16px 8px; font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.browser-tab-fav { flex: none; }
.browser-addr { display: flex; align-items: center; gap: 8px; padding: 7px 14px 10px; }
.browser-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--muted); }
.browser-url {
  flex: 1 1 auto; min-width: 0;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  padding: 5px 12px; white-space: nowrap; overflow: hidden;
}
.browser-url svg { flex: none; color: var(--accent); }
.browser-shot img { display: block; width: 100%; height: auto; }
.browser-shot figcaption { padding: 10px 14px 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* простой монитор вокруг окна браузера */
.monitor { max-width: 940px; margin: 30px auto 0; }
.monitor-frame {
  position: relative; background: #242c29; border-radius: 18px; padding: 11px;
  box-shadow: 0 34px 60px -32px rgba(28, 36, 34, .42);
}
.monitor-frame .browser-shot { margin: 0; border: 0; border-radius: 8px; box-shadow: none; }
.monitor-stand {
  width: 140px; height: 34px; margin: 0 auto;
  background: #242c29; clip-path: polygon(10% 0, 90% 0, 78% 100%, 22% 100%);
}
.monitor-base { width: 250px; height: 11px; margin: 0 auto; border-radius: 0 0 12px 12px; background: #242c29; }
.window-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.window-list li { color: var(--muted); font-size: 15px; padding-left: 22px; position: relative; }
.window-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px;
  background: var(--accent);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.window-list strong { display: block; color: var(--ink); font-size: 15.5px; }
.window-list-cols li {
  position: static; margin-bottom: 0;
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 18px;
}
.window-list-cols li::before { content: none; }
.window-list-cols li > div { min-width: 0; }
.window-list-cols .icon-chip { flex: none; width: 38px; height: 38px; }
.window-list-cols li p { margin: 4px 0 0; font-size: 14.5px; }

/* ---- бланки ЛКО/ЛКР: единый блок типографий + «любые карточки» (programma-lko) ---- */
.vendors-panel {
  margin-top: 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); box-shadow: var(--shadow); overflow: hidden;
}
.vendors-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.vendor-tile {
  padding: 20px 18px 18px; min-width: 0; text-align: center;
  border-left: 1px solid var(--line);
}
.vendor-tile:first-child { border-left: 0; }
.vendor-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 32px; padding: 0 10px; margin-bottom: 12px;
  background: var(--accent-soft); color: var(--accent-hover);
  font-size: 12.5px; font-weight: 700; letter-spacing: .05em;
}
.vendor-tile h3 { margin: 0 0 4px; font-size: 15.5px; }
.vendor-tile p { margin: 0; font-size: 13px; color: var(--muted); }
.vendors-any {
  display: flex; gap: 13px; align-items: center;
  padding: 16px 20px; background: var(--accent-soft); border-top: 1px solid #b7e0d4;
}
.vendors-any-mark {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: var(--accent); font-size: 20px; font-weight: 800;
  box-shadow: 0 3px 10px rgba(15, 118, 110, .22);
}
.vendors-any > div { min-width: 0; }
.vendors-any strong { display: block; color: var(--accent-hover); font-size: 15.5px; }
.vendors-any p { margin: 2px 0 0; font-size: 14.5px; color: var(--ink); }

/* компактный перечень функций под макетом */
.mini-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mini-feats span {
  font-size: 13.5px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px;
}

/* ---- блок готовности сервиса (programma-lko #testing) ---- */
.check-list, .work-list { list-style: none; margin: 8px 0 0; padding: 0; }
.check-list-cols { grid-template-columns: 1fr 1fr; display: grid; gap: 8px 28px; }
.check-list-cols li { margin-bottom: 0; }
.check-list li, .work-list li {
  position: relative; padding-left: 26px; margin-bottom: 8px;
  color: var(--muted); font-size: 15px;
}
.check-list li:last-child, .work-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  background: var(--accent);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.work-list li::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px;
  border-radius: 50%; border: 2px solid var(--muted);
}
.test-cta { margin-top: 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.test-note { margin: 0; font-size: 14.5px; color: var(--muted); max-width: 46ch; }
#testing .card > h3 { margin-bottom: 16px; }

/* ---- секции ---- */
.section { padding: 40px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tint { background: var(--surface); }
.section h2 { font-size: 26px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -.01em; }
.section-sub { color: var(--muted); margin: 0 0 26px; max-width: 62ch; }
.section h3 { font-size: 18px; margin: 0 0 8px; }

/* ---- карточки ---- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); box-shadow: var(--shadow); padding: 22px;
}
.card h3 { display: flex; align-items: center; gap: 10px; }
.card p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.card p:last-child { margin-bottom: 0; }
.icon-chip {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---- шаги ---- */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  counter-increment: step; display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); padding: 18px 20px; box-shadow: var(--shadow);
}
.step::before {
  content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.step h3 { margin: 4px 0 4px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- плашки ---- */
.callout {
  border-radius: var(--radius-panel); padding: 18px 20px; font-size: 15px;
  border: 1px solid var(--line); background: var(--surface);
}
.callout-accent { background: var(--accent-soft); border-color: #b7e0d4; }
.callout-danger { background: var(--danger-soft); border-color: #f3c2c2; }
.callout strong { display: block; margin-bottom: 4px; }

/* ---- образец бланка ---- */
.blank-demo {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel);
  box-shadow: var(--shadow); padding: 26px; display: grid;
  grid-template-columns: minmax(0, 470px) 1fr; gap: 30px; align-items: start;
}
.blank-sheet {
  font-family: var(--serif); font-weight: bold; color: #111;
  background:
    repeating-radial-gradient(circle at 28% 38%, rgba(15, 118, 110, .05) 0 1.5px, transparent 1.5px 9px),
    repeating-radial-gradient(circle at 72% 64%, rgba(15, 118, 110, .045) 0 1.5px, transparent 1.5px 11px),
    #fff;
  border: 1px solid #b9b9b9; border-radius: 4px;
  aspect-ratio: 110 / 70; padding: 4.5% 5% 4.5% 9%; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px #e3e3e3;
}
/* красный 10-значный номер, как на настоящем бланке */
.blank-num {
  position: absolute; left: 2.2%; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-family: var(--serif); font-weight: bold;
  font-size: clamp(9px, 1.4vw, 13px); letter-spacing: .18em; color: #c2410c;
}
.blank-row { display: flex; gap: 4%; align-items: flex-start; }
.blank-photo {
  flex: none; width: 27%; aspect-ratio: 3 / 4; border: 1px dashed #8a8a8a;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 400; font-size: 11px; color: #8a8a8a;
  text-align: center; line-height: 1.3;
}
.blank-lines { flex: 1; display: flex; flex-direction: column; gap: .55em; padding-top: 2%; }
.blank-line {
  font-size: clamp(11px, 1.9vw, 15.5px); line-height: 1.25; text-align: center;
  border-bottom: 1px solid #6f6f6f; padding-bottom: 1px; min-height: 1.2em;
}
.blank-line.sm { font-size: clamp(9px, 1.5vw, 12.5px); }
.blank-caption { font-family: var(--font); font-weight: 400; font-size: 10.5px; color: #8a8a8a;
  text-align: center; border: 0; padding: 0; min-height: 0; }
.blank-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 5%; }
.blank-bottom .blank-line { flex: 1; }
.blank-demo-note h3 { margin-top: 0; }
.blank-demo-note ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.blank-demo-note li { margin-bottom: 7px; }

/* ---- таблица цен ---- */
.price-table { width: 100%; border-collapse: collapse; background: var(--surface);
  border-radius: var(--radius-panel); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); font-size: 15px; }
.price-table th, .price-table td { padding: 11px 16px; text-align: left; }
.price-table thead th { background: var(--accent); color: #fff; font-weight: 600; }
.price-table tbody tr + tr td { border-top: 1px solid var(--line); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }

/* ---- плейсхолдеры в юридических страницах (mark.ph) ---- */
.ph { background: var(--accent-soft); color: var(--accent-hover); border-radius: 4px; padding: 0 4px; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 20px; font-weight: 600; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-top: -4px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.faq details > div { padding: 0 20px 16px; color: var(--muted); font-size: 15px; }
.faq details > div p { margin: 0 0 8px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---- CTA-полоса ---- */
.cta-band {
  background: linear-gradient(115deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: var(--radius-panel); color: #fff;
  padding: 40px 38px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  box-shadow: 0 14px 34px rgba(15, 118, 110, .28), var(--shadow);
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #e9f7f3; max-width: 52ch; }
.cta-band .btn { margin-left: auto; background: #fff; color: var(--accent); }
.cta-band .btn:hover { background: var(--accent-soft); color: var(--accent-hover); }

/* ---- «читайте также» ---- */
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.related a {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel);
  box-shadow: var(--shadow); padding: 18px 20px;
  transition: border-color .2s, transform .2s;
}
.related a:hover { border-color: var(--accent); transform: translateY(-2px); }
.related a b { display: block; color: var(--accent); margin-bottom: 4px; font-size: 15.5px; }
.related a span { color: var(--muted); font-size: 14px; }

/* ---- служебное ---- */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 14px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--ink); }
.crumbs + .hero { padding-top: 30px; }
.meta-note { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line);
  padding-top: 12px; margin-top: 28px; }
.footer { border-top: 1px solid var(--line); margin-top: 46px; padding: 26px 0 40px;
  color: var(--muted); font-size: 14px; }
.footer-in { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer .foot-note { width: 100%; font-size: 13px; }

/* ---- адаптив ---- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .related { grid-template-columns: 1fr; }
  .blank-demo { grid-template-columns: 1fr; }
  .blank-sheet { max-width: 470px; }
  .hero-split .wrap { grid-template-columns: 1fr; }
  .hero-split .wrap-hero { grid-template-columns: 1fr; gap: 18px; }
  /* левый край картинки — ровно по левой вертикали колонки; заезд
     разрешён только вправо, на принтер. Под margin-left: 0 координаты
     экрана пересчитаны: 64/1448×112 = 4.95% */
  .hero-monitor { margin: 0 0 -12px; }
  .hero-monitor-bg { width: 112%; margin-left: 0; }
  .hero-monitor-screen { left: 4.95%; }
  .hero-monitor-label { left: 8%; bottom: 6%; font-size: 11px; padding: 6px 9px; }
  .topbar-in { min-height: 52px; gap: 12px; }
  .nav { display: none; }
  .topbar .btn { margin-left: auto; padding: 8px 14px; font-size: 14px; }
  .hero { padding: 28px 0 22px; }
  .cta-band .btn { margin-left: 0; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  /* моки шагов 1–2 в одну колонку: компактные — только шапка и кнопка */
  .flow-mock { aspect-ratio: auto; }
  .flow-mock-body, .flow-mock-card-body { min-height: 74px; }
  /* daily-карточки — как на ПК, только одна под другой: рамка 240px,
     скрин вписан с воздухом по бокам; у третьей рамка ниже — меньше
     пустого пояса под широким скрином */
  .daily-media { height: 240px; padding: 0 18px; }
  .daily-media img { height: 100%; object-fit: contain; }
  .daily-card:nth-child(3) .daily-media { height: 205px; }
  .flow-step + .flow-step { border-left: 0; border-top: 1px solid var(--line); }
  .flow-step:not(:last-child)::after {
    content: "\2193"; top: auto; bottom: -15px; right: auto; left: 28px;
  }
  .handoff-band { grid-template-columns: 1fr; }
  .handoff-copy { padding: 54px 22px 22px; }
  .handoff-photo img { height: auto; }
  .setup-grid { grid-template-columns: 1fr; }
  .setup-card-preset { grid-column: auto; grid-template-columns: 1fr; }
  .setup-preset-mock { border-left: 0; border-top: 1px solid var(--line); }
  .setup-preset-options { grid-template-columns: 1fr; }
  .daily-grid { grid-template-columns: 1fr; }
  .setup-done { flex-direction: column; align-items: flex-start; }
  .setup-done .btn { width: 100%; }
  .window-list-cols { grid-template-columns: 1fr; }
  .check-list-cols { grid-template-columns: 1fr; }
  .vendors-row { grid-template-columns: 1fr 1fr; }
  .vendor-tile:nth-child(3) { border-left: 0; }
  .vendor-tile:nth-child(n+3) { border-top: 1px solid var(--line); }
  .vendors-any { gap: 11px; align-items: flex-start; }
  .monitor { max-width: none; }
  .monitor-stand { width: 100px; height: 26px; }
  .monitor-base { width: 180px; }
  .hero-key .hero-actions .btn { flex: 1 1 100%; white-space: normal; }
  .test-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  /* галочки доверия — ровные 2 колонки; последняя на всю ширину по центру */
  .trust-strip-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; justify-content: stretch; }
  .trust-strip span { font-size: 13.5px; }
  .trust-strip-in span:last-child { grid-column: 1 / -1; justify-content: center; }
  /* типографии остаются сеткой 2×2 (наследуется от ≤860px) — только плотнее */
  .vendor-tile { padding: 16px 10px 14px; }
  .vendor-tile h3 { font-size: 14px; }
  .vendor-tile p { font-size: 12.5px; }
  .vendor-chip { min-width: 40px; height: 28px; margin-bottom: 9px; }
  /* монитор «Рабочее окно сервиса» на телефоне — без браузерного хрома:
     остаётся только скрин приложения в рамке + подпись */
  .monitor-frame { padding: 6px; border-radius: 12px; }
  .browser-bar { display: none; }
  .browser-shot figcaption { padding: 5px 8px 6px; font-size: 11px; line-height: 1.35; }
  .monitor-stand { width: 66px; height: 16px; }
  .monitor-base { width: 120px; height: 6px; }
}

@media (max-width: 380px) {
  /* очень узкие телефоны: в шапке остаётся логотип + «КарЧоо» + кнопка в один ряд */
  .brand-sub { display: none; }
  .topbar-in { gap: 10px; }
}

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

/* ---- «Острая» геометрия (эксперимент 26.09, прототип v5-sharp):
   нулевые скругления + волосяная сетка фона. Откат = удалить этот блок. ---- */
:root {
  --radius-panel: 0;
  --radius-ctrl: 0;
}
body {
  background:
    repeating-linear-gradient(0deg, rgba(15, 118, 110, .045) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(15, 118, 110, .045) 0 1px, transparent 1px 56px),
    var(--bg);
}
.hero-kicker,
.kicker,
.hero-monitor-label,
.handoff-kicker,
.mini-feats span,
.handoff-photo figcaption,
.icon-chip,
.blank-sheet,
.browser-url,
.pay-note {
  border-radius: 0;
}
