@font-face { font-family: Jost; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jost-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Jost; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jost-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF; }
@font-face { font-family: Jost; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jost-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f3f3f2; --surface: #e6e6e3; --ink: #1c1c1a; --muted: #52524c; --frame: #d5d5d1;
  --accent: #2456d6; --accent-ink: #fff; --accent-hover: #1a44b3;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-title: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  --step-display: clamp(2.5rem, 1.2rem + 4.6vw, 5rem);
  --m: clamp(16px, 3vw, 40px);
  /* the program's own look, inside data-ui fragments */
  --ui-line: #e3e3e3; --ui-ink: #1b1b1b; --ui-muted: #616161; --ui-blue: #0067c0; --ui-sel: #cce4f7;
  --ui-red: #c42b1c; --ui-red-bg: #fde7e9; --ui-yellow: #8a5300; --ui-yellow-bg: #fff4ce; --ui-grey-bg: #f3f3f3;
  --ui-font: "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 Jost, system-ui, sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { padding-inline: var(--m); max-width: 1440px; margin-inline: auto; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--accent); color: var(--accent-ink); font: 500 var(--step-body)/1 Jost, sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--accent-hover); }
.link { font-weight: 500; }
.actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }

/* nav */
.nav { display: flex; align-items: center; gap: 32px; padding-block: 24px; position: relative; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--step-lead); text-decoration: none; margin-right: auto; }
.dm { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; shape-rendering: crispEdges; }
.menu { display: flex; gap: 28px; list-style: none; padding: 0; }
.menu a { text-decoration: none; }
.menu a:hover, .menu a[aria-current] { text-decoration: underline; }
.nav .btn { min-height: 44px; padding: 0 18px; }
.menu-m { display: none; }
.menu-m summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 4px; font-weight: 500; }
.menu-m summary::-webkit-details-marker { display: none; }
.menu-m ul { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; list-style: none; padding: 0 var(--m) 12px; background: var(--bg); border-bottom: 2px solid var(--ink); }
.menu-m .only-phone, .menu-m:not([open]) ul { display: none; }
.menu-m li a { display: block; padding: 12px 0; font-size: var(--step-lead); text-decoration: none; }

/* home hero */
.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-block: clamp(24px, 4vw, 56px) clamp(8px, 2vw, 32px); }
.hero h1 { font-size: var(--step-display); font-weight: 700; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.hero .lead { font-size: var(--step-lead); line-height: 1.4; margin-top: 24px; max-width: 30ch; }

/* report fragment (data-ui) */
.report { background: #fff; border: 1px solid var(--frame); color: var(--ui-ink); font: 400 14px/1.45 var(--ui-font); border-radius: 8px; padding: 28px 28px 20px; }
.report h2, .report h3 { font: 600 20px/1.3 var(--ui-font); }
.report .who { color: var(--ui-muted); margin-top: 2px; }
.report .status { display: inline-block; margin-top: 14px; padding: 2px 10px; border-radius: 4px; background: var(--ui-red-bg); color: var(--ui-red); font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 18px; container-type: inline-size; }
.tile { background: var(--ui-grey-bg); border-radius: 6px; padding: 10px; }
/* «20 000 ₽» stays on one line in a narrow report */
.tile b { display: block; font-size: clamp(13px, calc(4.4cqi - 6px), 22px); white-space: nowrap; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tile span { color: var(--ui-muted); font-size: 12.5px; line-height: 1.25; display: block; }
.tile.red { background: var(--ui-red-bg); } .tile.red b { color: var(--ui-red); }
.tile.yellow { background: var(--ui-yellow-bg); } .tile.yellow b { color: var(--ui-yellow); }
.findings { list-style: none; padding: 0; margin-top: 18px; border-top: 1px solid var(--ui-line); }
.findings > li { border-bottom: 1px solid var(--ui-line); }
.findings summary { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 11px 4px; cursor: pointer; list-style: none; }
.findings summary::-webkit-details-marker { display: none; }
.findings summary:hover { background: #f5f5f5; }
.findings summary:focus-visible { outline: 2px solid var(--ui-blue); }
.lvl { font-size: 12.5px; font-weight: 600; padding: 1px 8px; border-radius: 4px; justify-self: start; }
.lvl.c { background: var(--ui-red-bg); color: var(--ui-red); }
.lvl.w { background: var(--ui-yellow-bg); color: var(--ui-yellow); }
.findings .t { font-weight: 600; }
.findings .n { color: var(--ui-muted); font-variant-numeric: tabular-nums; }
.findings .more { padding: 0 4px 14px 100px; }
.findings .more p + p { margin-top: 6px; }
.findings .more b { font-weight: 600; }

/* sections */
section { padding-block: clamp(40px, 7vw, 112px); }
.sec-head { font-size: var(--step-head); font-weight: 700; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.sec-lead { margin-top: 20px; max-width: 46ch; }
.sec-next { margin-top: clamp(56px, 7vw, 112px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* withdrawal fragment, as the program's «Вывод просрочки» window */
.demo { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); margin-top: 32px; max-width: 1120px; }
.demo-main { background: #fff; border: 1px solid var(--frame); color: var(--ui-ink); font: 400 14px/1.4 var(--ui-font); padding: 24px; border-radius: 8px 0 0 8px; overflow-x: auto; }
.demo-main h3 { font: 600 20px/1.3 var(--ui-font); }
.demo-main .sum { color: var(--ui-muted); margin: 2px 0 12px; }
.ui-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ui-btn { min-height: 32px; padding: 0 12px; border: 1px solid #c8c8c8; border-radius: 4px; background: #fff; color: var(--ui-ink); font: 400 14px var(--ui-font); cursor: pointer; }
.ui-btn:hover { background: #f5f5f5; }
.demo-main table { width: 100%; border-collapse: collapse; min-width: 440px; user-select: none; }
.demo-main th, .demo-main td { text-align: left; padding: 8px; border-bottom: 1px solid var(--ui-line); white-space: nowrap; }
.demo-main th { font-weight: 600; }
.demo-main tbody tr { cursor: default; }
.demo-main tr.sel td { background: var(--ui-sel); }
.demo-main tr.out td { color: #9a9a9a; }
.demo-main td.num { font-variant-numeric: tabular-nums; }
.demo-main .code { display: block; font: 12px/1.3 ui-monospace, Consolas, monospace; color: var(--ui-muted); }
.demo-ctl { background: var(--surface); color: var(--ui-ink); font: 400 14px/1.4 var(--ui-font); padding: 24px; border-radius: 0 8px 8px 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.demo-ctl h3 { font: 600 16px/1.3 var(--ui-font); }
.demo-ctl label { display: grid; gap: 4px; color: var(--ui-muted); }
.demo-ctl input { min-width: 0; font: 14px var(--ui-font); color: var(--ui-ink); padding: 6px 8px; border: 1px solid #c8c8c8; border-radius: 4px; background: #fff; }
.send { margin-top: auto; min-height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--ui-blue); color: #fff; font: 600 14px var(--ui-font); }
.demo-ctl p { color: var(--ui-muted); }
.demo-main td:first-child, .demo-main th:first-child { width: 1px; padding-right: 0; }
.demo-main input { width: 16px; height: 16px; margin: 0; vertical-align: middle; }
.demo-note { margin-top: 20px; color: var(--muted); max-width: 60ch; }

/* features: proof beside text */
.feats { list-style: none; padding: 0; margin-top: 48px; display: grid; gap: clamp(40px, 5vw, 72px); }
.feat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.feat .panel { background: #fff; border: 1px solid var(--frame); overflow: hidden; }
.feat h3 { font-size: var(--step-lead); font-weight: 500; line-height: 1.2; }
.feat p { margin-top: 12px; }
.feat a { display: inline-block; margin-top: 14px; }
.vsd { color: var(--ui-ink); font: 400 14px/1.4 var(--ui-font); padding: 18px 20px; overflow-x: auto; }
.vsd .h { font-weight: 600; font-size: 16px; }
.vsd table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.vsd td { padding: 8px 6px; border-bottom: 1px solid var(--ui-line); white-space: nowrap; }
.vsd td:last-child { text-align: right; }
.vsd .go { border: 0; border-radius: 4px; background: var(--ui-blue); color: #fff; font: 600 13px var(--ui-font); padding: 5px 10px; cursor: pointer; }
.vsd .done { color: #0f7b0f; font-weight: 600; }
.vsd .go { display: inline-block; }
.vsd .st { font-size: 12.5px; font-weight: 600; padding: 1px 8px; border-radius: 4px; }
.vsd .st.ok { background: #dff6dd; color: #0f7b0f; }
.vsd .st.wait { background: var(--ui-yellow-bg); color: var(--ui-yellow); }
.vsd .meta { color: var(--ui-muted); margin-top: 2px; }
.vsd .right { text-align: right; margin-top: 12px; }
.article .actions { margin-top: clamp(40px, 5vw, 64px); }

/* handbook */
.hb { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.hb-side p { margin-top: 20px; max-width: 34ch; }
.hb-side .lead { margin-top: 0; font-size: var(--step-lead); line-height: 1.4; }
.hb-page { padding-top: 0; }
.hb-search { width: 100%; max-width: 720px; min-height: 52px; padding: 0 16px; font: 400 var(--step-body) Jost, sans-serif; color: var(--ink); background: var(--surface); border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; }
.hb-search::placeholder { color: var(--muted); }
.hb-who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hb-who button { min-height: 40px; padding: 0 14px; border: 0; background: var(--surface); color: var(--ink); font: 500 1rem Jost, sans-serif; cursor: pointer; }
.hb-who button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.hb-who span { align-self: center; color: var(--muted); margin-right: 4px; }
.crumb { margin-bottom: 16px; font-size: var(--step-small); }
.hb-list { list-style: none; padding: 0; margin-top: 16px; max-width: 720px; }
.hb-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 0; text-decoration: none; }
.hb-list a:hover .nm { text-decoration: underline; }
.hb-list .meta { color: var(--muted); font-size: var(--step-small); white-space: nowrap; align-self: baseline; text-align: right; }
.hb-list .fine { color: var(--accent); font-weight: 500; }
.hb-empty { color: var(--muted); padding-top: 12px; }
.hb-all { display: inline-block; margin-top: 16px; }
.hb-note { max-width: 62ch; margin-top: 32px; }

/* article pages: task pages, handbook pages, prices, download */
.page-head { padding-block: clamp(24px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.page-head h1 { max-width: 980px; font-size: var(--step-head); font-weight: 700; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.page-head.plain h1 { font-size: var(--step-title); line-height: 1.1; letter-spacing: -.02em; text-transform: none; }
.page-head .lead { font-size: var(--step-lead); line-height: 1.4; margin-top: 20px; max-width: 46ch; }
.page-head .facts { margin-top: 20px; color: var(--muted); max-width: 62ch; }
.page-head .facts b { color: var(--ink); font-weight: 500; }
.page-head.plain .facts { color: var(--ink); }
.article { padding-block: 0 clamp(56px, 7vw, 112px); }
.hb .article { padding-bottom: 0; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.doc .article { padding-top: clamp(24px, 4vw, 56px); }
.back { margin-top: 20px; }
.article > * + * { margin-top: 16px; }
.article h2 { font-size: var(--step-lead); font-weight: 700; line-height: 1.2; margin-top: clamp(40px, 5vw, 64px); max-width: 32ch; }
.article p, .article ul, .article ol { max-width: 62ch; }
.article ul, .article ol { padding-left: 1.2em; }
.article li + li { margin-top: 8px; }
.article .quiet { color: var(--muted); }
.article figure { max-width: 980px; margin-top: 24px; }
.article figure .panel { background: #fff; border: 1px solid var(--frame); overflow: hidden; }
.article .report { max-width: 720px; margin-top: 24px; }

/* autofine table: rows become cards on a phone */
.fines { width: 100%; max-width: 980px; border-collapse: collapse; margin-top: 24px; }
.fines th, .fines td { text-align: left; vertical-align: top; padding: 14px 16px; }
.fines thead th { font-weight: 700; }
.fines tbody tr:nth-child(odd) { background: var(--surface); }
.fines td:last-child { font-weight: 500; width: 38%; }
.src { color: var(--muted); font-size: var(--step-small); }

/* news */
.news { list-style: none; padding: 0; max-width: 62ch; }
.news > li + li { margin-top: 40px; }
.news h2 { font-size: var(--step-lead); font-weight: 700; margin-top: 0; }
.news h2 span { color: var(--muted); font-weight: 400; margin-left: 12px; }
.news p { margin-top: 8px; }

/* pricing: plans as a large table */
.price { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: var(--step-body); }
.price th, .price td { text-align: left; vertical-align: top; padding: 14px 20px; }
.price .btn { padding: 0 16px; }
.price thead th { font-weight: 700; font-size: var(--step-lead); line-height: 1.1; padding-bottom: 24px; }
.price thead th span { display: block; font-weight: 400; margin-top: 6px; font-variant-numeric: tabular-nums; }
.price thead th small { font-size: 1rem; font-weight: 400; }
.price tbody tr:nth-child(odd) { background: var(--surface); }
.price td:first-child, .price th:first-child { width: 34%; }
.price .rec { background: var(--accent); color: var(--accent-ink); }
.price tbody tr:nth-child(odd) .rec { background: #2050c7; }
.price .rec .btn { background: var(--accent-ink); color: var(--accent); }
.price .head-cell { font-size: var(--step-head); font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; vertical-align: bottom; }
.price-note { margin-top: 24px; color: var(--muted); max-width: 62ch; }

/* order form; partners write by e-mail */
.order { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.order-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: end; max-width: 760px; }
.order-form .plan { grid-column: 1 / -1; }
.order-form label { display: grid; gap: 6px; font-size: 1rem; color: var(--muted); }
.order-form select, .order-form input:not([type=checkbox]) { width: 100%; min-height: 52px; padding: 0 14px; font: 400 var(--step-body) Jost, sans-serif; color: var(--ink); background: var(--surface); border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; }
.order-form .agree { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; color: var(--ink); font-size: var(--step-body); cursor: pointer; }
.order-form .agree input { flex: none; width: 22px; height: 22px; accent-color: var(--ink); }
.order-form .btn { min-height: 52px; }
.order-form .policy { align-self: center; font-size: var(--step-small); }
.order-form .hp { position: absolute; left: -10000px; }
.order-mail { max-width: 46ch; }
.order-mail .lead { font-size: var(--step-lead); line-height: 1.4; }
.email { font-weight: 700; user-select: all; overflow-wrap: anywhere; }
.copy { margin-top: 24px; min-height: 48px; padding: 0 20px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 500 1rem Jost, sans-serif; cursor: pointer; }
.copy:hover { background: var(--surface); }

/* footer tiles */
.foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.foot > * { padding: 24px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: var(--surface); }
.foot .t1 { grid-column: 1 / 5; font-size: var(--step-lead); line-height: 1.3; }
.foot .t1 small { font-size: var(--step-small); color: var(--muted); }
.foot .t2 { grid-column: 5 / 8; }
.foot .t2 ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.foot .t3 { grid-column: 8 / 10; }
.foot .t4 { grid-column: 10 / 13; justify-content: flex-end; font-size: var(--step-lead); overflow-wrap: anywhere; }
.foot .t5 { grid-column: 1 / 9; min-height: 240px; flex-direction: row; gap: .25em; background: var(--ink); color: var(--bg); justify-content: center; align-items: center; font-size: clamp(2.25rem, 9vw, 9rem); font-weight: 700; letter-spacing: -.03em; text-transform: uppercase; }
.foot .t5 .dm { width: .8em; height: .8em; }
.foot .t6 { grid-column: 9 / 13; min-height: 240px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-size: var(--step-lead); font-weight: 500; }
.foot .t6:hover { background: var(--accent-hover); }
.foot .t6 svg { align-self: flex-end; }

@media (max-width: 900px) {
  .menu { display: none; }
  .menu-m { display: block; }
  .nav { gap: 16px; }
  .hero, .hb, .doc, .order, .order-form { grid-template-columns: minmax(0, 1fr); }
  .doc { gap: 0; }
  .doc .article { padding-top: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles .tile:last-child { grid-column: 1 / -1; }
  .findings summary { grid-template-columns: minmax(0, 1fr) auto; }
  .findings .lvl { grid-column: 1 / -1; }
  .findings .more { padding-left: 4px; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo-main { border-radius: 8px 8px 0 0; }
  .demo-ctl { border-radius: 0 0 8px 8px; }
  .feat { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .foot > * { min-height: 0; padding: 20px; }
  .foot .t5 { grid-column: 1 / -1; order: -2; min-height: 160px; }
  .foot .t6 { grid-column: 1 / -1; order: -1; min-height: 160px; }
  .foot .t1, .foot .t2, .foot .t3, .foot .t4 { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .price, .price thead, .price tbody { display: block; }
  .price tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price th, .price td { width: auto !important; padding: 10px 8px; font-size: .9375rem; }
  .price thead th { font-size: 1rem; padding-bottom: 12px; }
  .price thead th span { font-size: 1.0625rem; font-weight: 700; }
  .price thead th small { display: block; font-size: .8125rem; }
  .price .head-cell { grid-column: 1 / -1; font-size: var(--step-head); padding: 0 8px 16px; }
  .price td:first-child { grid-column: 1 / -1; font-weight: 500; padding-bottom: 0; }
  .price tbody tr:last-child td:first-child { display: none; }
  .price .btn { width: 100%; padding: 0 6px; font-size: .9375rem; }
  .fines thead { display: none; }
  .fines, .fines tbody, .fines tr, .fines td { display: block; width: auto !important; }
  .fines tr { padding: 12px 16px; }
  .fines td { padding: 4px 0; }
  .nav > .btn { display: none; }
  .menu-m .only-phone { display: list-item; }
  .hb-list a { grid-template-columns: minmax(0, 1fr); }
  .vsd .opt, .demo-main .opt { display: none; }
  .vsd td:not(:last-child), .demo-main td { white-space: normal; }
  .demo-main { padding: 16px 12px; }
  .demo-main table { min-width: 0; }
  /* the plan names stay in sight while the rows scroll by */
  .price thead { position: sticky; top: 0; z-index: 1; background: var(--bg); }
  .hb-list .meta { text-align: left; white-space: normal; }
}
